joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a17e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x68], 0
jne 0x4a17f8
mov eax, ebx
call fcn.004a15a4
cmp dword [ebx + 0x60], 0
jne 0x4a1805
mov eax, ebx
call fcn.004a14d8
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x4a199f
cmp dword [ebx + 0x60], 0
je 0x4a199f
mov edx, esp
mov eax, esi
call fcn.00506070
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004a145c
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4a186b
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4a1854
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4a1860
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4a1881
call fcn.0045fda0
mov esi, eax
jmp 0x4a1884
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4a1899
or esi, 0xffffffff
jmp 0x4a18a3
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
call fcn.00458bc4
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.00458be8
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.00458c10
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.00458c34
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.005060bc
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x68]
call fcn.004280e0
call fcn.00423730
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.0045fda0
push eax
mov eax, dword [0x522f78]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x60]
call fcn.0045fda0
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4be71c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004be708
test eax, eax
jne 0x4be73d
mov eax, esi
call fcn.00404300
jmp 0x4be7ce
mov eax, ebx
call fcn.004be854
test al, al
je 0x4be783
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.004043f0
test edi, edi
je 0x4be77a
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4be7ce
mov eax, esi
call fcn.00404300
jmp 0x4be7ce
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4be7c7
mov eax, dword [ebp + 0x208]
call fcn.00419b78
test eax, eax
jle 0x4be7b5
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.004348cc
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404354
jmp 0x4be7ce
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.00404354
jmp 0x4be7ce
mov eax, esi
call fcn.00404300
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c03d8
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0
push esi
xor ecx, ecx
mov edx, 1
mov eax, 1
call fcn.00505fe4
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret
Function at 0x4d7a88
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047b0
xor eax, eax
push ebp
push 0x4d7c8f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
push eax
push 2
lea ecx, [ebp - 0x18]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004d7448
lea eax, [ebp - 0x18]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 4]
call fcn.004d73d8
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 4]
call fcn.004d73d8
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 4]
call fcn.004d73d8
push eax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004de3f4
mov esi, eax
mov edi, esi
shl edi, 4
sub edi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x7894]
lea ebx, [eax + edi*4]
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004d73d8
mov word [ebx + 0x2c], ax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 4]
call fcn.004d73d8
mov word [ebx + 0x2e], ax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.004d73d8
mov word [ebx + 0x30], ax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.004d73d8
mov word [ebx + 0x32], ax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 4]
call fcn.004d73d8
mov word [ebx + 0x20], ax
movsx eax, word [ebx + 0x2c]
movsx edx, word [ebx + 0x2e]
add eax, edx
movsx edx, word [ebx + 0x30]
add eax, edx
movsx edx, word [ebx + 0x32]
add eax, edx
test eax, eax
jne 0x4d7c4f
cmp word [ebx + 0x20], 0
je 0x4d7c0a
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2c], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x32], ax
jmp 0x4d7c4f
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.005060d8
movsx edx, word [ebx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2c], ax
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.005060ec
movsx edx, word [ebx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x2c]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x2e]
mov word [ebx + 0x32], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x7894]
lea edx, [eax + edi*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d3fc8
mov dword [ebx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7c96
lea eax, [ebp - 0x1c]
call fcn.00404300
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404324
ret
Function at 0x502648
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x502660
mov eax, ebx
call fcn.00501f34
cmp dword [ebx + 0x68], 0
jne 0x50266d
mov eax, ebx
call fcn.00501e68
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x502813
cmp dword [ebx + 0x68], 0
je 0x502813
mov edx, esp
mov eax, esi
call fcn.00506070
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00501ce0
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005060d8
cmp eax, dword [esp]
je 0x5026e2
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005060ec
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5026be
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.005060d8
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5026d7
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x5026f5
mov eax, dword [eax + 0x20]
call fcn.0045fda0
mov esi, eax
jmp 0x5026f8
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x50270d
or esi, 0xffffffff
jmp 0x502717
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.00458bc4
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.00458be8
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.00458c10
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.00458c34
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.005060bc
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.004280e0
call fcn.00423730
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0045fda0
push eax
mov eax, dword [0x522f78]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.0045fda0
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x502ae8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ef4
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x502cd4
push 0
push 0x502cdc
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x502cd4
push 0
push 0x502cec
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x502cd4
push 0
push 0x502cfc
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x502cd4
push 0
push 0x502d0c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x502cd4
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x502cd4
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x502cd4
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x502cd4
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x502cd4
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x502cc0
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x502cb6
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x502cb6
test byte [esp + 0x1d], 0xd
jne 0x502cb6
mov al, byte [esp + 0x1c]
and al, 8
cmp al, 8
je 0x502cb6
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x502cb6
cmp dword [esp + 0xc], 0
je 0x502cb6
mov eax, dword [0x523280]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0x10]
jne 0x502cb6
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x502c92
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x502cc0
lea eax, [esp + 0x28]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
call fcn.00406760
jmp 0x502cc0
cmp ebx, dword [esp + 4]
jl 0x502bf6
push 0x8000
push 0
push esi
push edi
call sub.kernel32.dll_VirtualFreeEx
push edi
call sub.kernel32.dll_CloseHandle
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x504e84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x504ef5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x522d24]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x504edf
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00504e74
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x504c7c]
call fcn.00504f1c
mov dword [0x522d88], eax
mov eax, dword [ebp - 4]
call fcn.00504e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504efc
lea eax, [ebp - 8]
call fcn.00405e7c
ret

Function at 0x5050d4
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
mov eax, esp
xor ecx, ecx
mov edx, 0x160
call fcn.00402ef4
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x50516c
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x522d1c], eax
cmp dword [0x522d1c], 0
je 0x505164
cmp dword [0x522d20], 0
jne 0x505164
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48e540]
call fcn.0048eddc
mov dword [0x522d20], eax
mov edx, dword [0x522d1c]
mov eax, dword [0x522d20]
call fcn.0044bd70
mov eax, dword [0x522d20]
mov byte [eax + 0x42], 1
mov dl, 1
mov eax, dword [0x522d20]
call fcn.0049048c
push 0xffffffffffffffff
mov eax, dword [0x522d20]
call fcn.0044bdac
push eax
call sub.comctl32.dll_ImageList_SetBkColor
add esp, 0x160
ret

Function at 0x506a70
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00408f80
test al, al
je 0x506af7
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00402ef4
or esi, 0x100
test esi, esi
jns 0x506aab
call fcn.00403460
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.004047c0
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x506af7
mov dl, 1
mov eax, dword [0x4217f0]
call fcn.00429704
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00429b10
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x506af7
mov eax, esp
call fcn.0040e16c
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x512dac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x525078
test esi, esi
jne 0x512dc6
xor eax, eax
jmp 0x512ec8
cmp dword [ebp], 0
jne 0x512dd1
call fcn.00512d3c
xor ebx, 0xffffffff
cmp edi, 8
jb 0x512ea1
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x512ddd
test edi, edi
jbe 0x512ec3
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x512ea5
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x51df38
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
mov eax, 0x51db08
call fcn.00406680
push 0x51dfa8
push 0x51dfb4
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
push 0x5250b4
push 4
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
push 0x5250b0
mov eax, dword [0x5250b0]
push eax
push 0
push 0x51dab8
mov eax, dword [0x5250b0]
push eax
push 0
call sub.kernel32.dll_CreateThread
push 0x5250b4
mov eax, dword [0x5250b4]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
pop ebx
call fcn.00404210
add byte [esp + 0x72], cl
dec esp
outsd dx, dword [esi]
popal
inc esp
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
outsb dx, byte [esi]
je 0x51e01b
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add cl, byte [ebp + 0x40]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor dl, byte [ebx]
mov eax, eax
add al, byte [eax]
mov eax, eax
add byte [ebp - 0x72ffffc0], cl
inc eax
add byte [eax], al
lea eax, [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], dh
adc ecx, dword [ebx - 0x74fffd40]
rol byte [eax], 0x8d
inc eax
add byte [eax], al
lea eax, [eax]
add byte [ebp + 0x40], cl
add byte [eax], al
add byte [eax], al
add byte [eax], al
push esp
and dword [eax], eax
in al, 0x22
inc eax
add byte [esi + 0x40], ah
add byte [eax], al
retf
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x144221c5
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4808769d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x472c50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6d000]
push edi
jmp 0x472c6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x472c71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x472c60
mov eax, 1
add ebx, ebx
jne 0x472c83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x472c78
jne 0x472c94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x472c78
xor ecx, ecx
sub eax, 3
jb 0x472ca8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x472d1a
mov ebp, eax
add ebx, ebx
jne 0x472cb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x472cc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x472ce4
inc ecx
add ebx, ebx
jne 0x472cd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x472cc5
jne 0x472ce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x472cc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x472d04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x472cf5
jmp 0x472c66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x472d04
add edi, ecx
jmp 0x472c66
pop esi
mov edi, esi
mov ecx, 0x6600
jmp 0x472d55
mov al, byte [edi]
inc edi
cmp al, 0x80
jb 0x472d35
cmp al, 0x8f
ja 0x472d35
cmp byte [edi - 2], 0xf
je 0x472d3b
sub al, 0xe8
cmp al, 1
ja 0x472d5f
cmp ecx, 4
jb 0x472d64
mov eax, dword [edi]
sub al, 1
jne 0x472d5f
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jb 0x472d64
mov al, byte [edi]
inc edi
jmp 0x472d35
sub ecx, 1
jae 0x472d24
lea edi, [esi + 0x70000]
mov eax, dword [edi]
or eax, eax
je 0x472db5
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x98214]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x982cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x472d6a
mov ecx, edi
jns 0x472d99
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x982d4]
or eax, eax
je 0x472daf
mov dword [ebx], eax
add ebx, 4
jmp 0x472d87
call dword [esi + 0x982d0]
mov ebp, dword [esi + 0x982d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x472de9
sub esp, 0xffffff80
jmp 0x4034a5