joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4471f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44720c
cmp dword [esi + 4], 0
je 0x447239
test byte [ebx + 0x55], 1
jne 0x44722b
mov eax, ebx
call fcn.00445d90
test eax, eax
jne 0x44722b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x447349
mov edx, esi
mov eax, ebx
call fcn.00446d14
jmp 0x447349
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x447342
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00449060
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00443a2c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004471f0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00449060
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447349
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44da60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x476428]
cmp byte [eax + 0xc], 0
je 0x44dbcd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44dbc6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [fcn.00477b6c], 0
jne 0x44dab4
push 0x44dbd4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44dbdc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [fcn.00477b6c], eax
cmp dword [0x475d98], 0
jne 0x44dbaf
push 0x44dbec
call sub.kernel32.dll_LoadLibraryA
mov dword [0x475d98], eax
cmp dword [0x475d98], 0
je 0x44dbaf
push 0x44dbf8
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b70], eax
push 0x44dc08
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b74], eax
push 0x44dc1c
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b78], eax
push 0x44dc34
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b7c], eax
push 0x44dc4c
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b80], eax
push 0x44dc60
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b84], eax
push 0x44dc78
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b88], eax
push 0x44dc90
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b8c], eax
push 0x44dcac
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [fcn.00477b90], eax
push 0x44dcb8
mov eax, dword [0x475d98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dbcd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x451f2c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403fb0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x451f7b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404220
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4596c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459710]
test si, 4
je 0x4596d4
or bl, 1
test si, 8
je 0x4596de
or bl, 4
test si, 1
je 0x4596e8
or bl, 8
test si, 2
je 0x4596f2
or bl, 0x10
test si, 0x10
je 0x4596fc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45970b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459714
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45974c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45972d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45973c
or bl, 4
test esi, 0x20000000
je 0x459747
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45fdf4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45fe06
add esp, 0xfffffff0
call fcn.00403584
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419a2c
mov eax, dword [0x4760b4]
mov dword [eax + 4], ebx
mov dword [eax], 0x460198
mov eax, dword [0x4760c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4601a4
mov eax, ebx
call fcn.004601b0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411a04]
call fcn.00403230
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411a04]
call fcn.00403230
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411a04]
call fcn.00403230
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411a04]
call fcn.00403230
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411a04]
call fcn.00403230
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45c5cc
push eax
push 0
push 0
mov eax, dword [0x476224]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b4b8]
call fcn.0041cc2c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b4b8]
call fcn.0041cc2c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b4b8]
call fcn.0041cc2c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004605d0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4604ac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4604ac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4604ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ff43
call fcn.004035dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460290
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46043b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46041c
mov dl, 1
mov eax, dword [0x411e20]
call fcn.00403230
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403fb0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46040b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044ddc0
test al, al
je 0x4603fe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46044c
lea eax, [ebp - 0x254]
call fcn.00408cec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4603fe
xor eax, eax
push ebp
push 0x4603f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x460484
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4603e0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404220
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4603e0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404220
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4603fe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460301
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415b34
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460442
lea eax, [ebp - 0x260]
call fcn.00403fb0
ret

Function at 0x460d70
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x477bb8]
cmp byte [eax + 0xa5], 0
jne 0x460de1
cmp dword [0x477bd0], 0
jne 0x460da2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x460d2c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x477bd0], eax
cmp dword [0x477bcc], 0
jne 0x460dbd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x477bcc], eax
cmp dword [0x477bd4], 0
jne 0x460de1
push esp
push 0
push 0
push 0x460cd0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x477bd4], eax
pop edx
ret
Function at 0x460ed8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460eef
add esp, 0xfffffff0
call fcn.00403584
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419a2c
mov eax, dword [0x476208]
cmp word [eax + 2], 0
jne 0x460f17
mov eax, dword [0x476208]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462640
mov eax, dword [0x4762c8]
cmp word [eax + 2], 0
jne 0x460f31
mov eax, dword [0x4762c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462838
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411a04]
call fcn.00403230
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411a04]
call fcn.00403230
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.0042349c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4610b8
mov eax, dword [0x476120]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042386c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x462dd8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x476120]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c568
test eax, eax
je 0x461026
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004086cc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c590
test eax, eax
je 0x46103a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404220
mov eax, dword [0x475ff0]
cmp byte [eax], 0
jne 0x46106e
mov eax, ebx
call fcn.004611e0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00462fb4
mov eax, ebx
call fcn.00463978
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4610ae
call fcn.004035dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461460
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x477bb8]
cmp dword [eax + 0x30], 0
je 0x46150a
cmp dword [ebx + 0x94], 0
jne 0x461504
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4613f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461504
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4614ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461504
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413d6c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4614d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46206c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4620a1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004040a0
jmp 0x4620ae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404004
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463190
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4631d1
mov eax, esi
call fcn.00449364
test al, al
je 0x4631d1
mov eax, dword [ebx + 0x84]
call fcn.00449060
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4631d1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449060
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4681f8
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404460
xor eax, eax
push ebp
push 0x468257
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x46821e
jmp fcn.004e931b
Function at 0x100b6017
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b5e96
Function at 0x401100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edx, 0x36
mov edi, 0x6a3c
mov esi, 0x7e3c
test ebx, ebx
je 0x401186
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x401186
cmp ebx, eax
jae 0x401186
lea ecx, [edx - 0x36]
sub eax, ebx
je 0x401143
mov esi, eax
mov al, byte [ecx + ebx + 1]
sub al, 0x68
xor byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jb 0x401130
mov esi, 0x7e3c
mov eax, 0x2570
mov ecx, 0x13
lea ecx, [ecx]
cmp edx, ecx
cmovg edx, ecx
dec eax
jne 0x401150
jmp 0x401160
mov eax, 0x51eb851f
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401160
mov eax, 0x7e07e07f
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401173
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, 0x63da
xor ecx, ecx
mov esi, 0x6a3c
mov eax, 0x15390949
imul esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402dc3
mov edi, 0x5480
jmp 0x402de0
mov eax, 0x78787879
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402de0
mov eax, 0x38e38e39
imul ebx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402df3
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x13]
mov dword [ebp - 4], eax
nop
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x402e1f
dec eax
or eax, 0xfffffffe
inc eax
jne 0x402e24
add ecx, 2
cmp ecx, 0x468a
jl 0x402e10
inc byte [ebx + 0x11d]
mov cl, byte [ebx + 0x11d]
mov esi, 0x5e43
lea ecx, [ecx]
mov eax, 0x67b23a55
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402e40
movzx eax, byte [ebx + 0x125]
movzx edx, cl
lea esi, [ebx + 0x13]
add edx, esi
mov dword [ebp + 8], edx
movzx ecx, byte [edx]
add eax, ecx
movzx ecx, al
mov byte [ebx + 0x125], al
mov al, byte [ecx + esi]
mov bl, byte [edx]
mov byte [edx], al
mov byte [ecx + esi], bl
xor esi, esi
mov edi, 0x17f4
mov eax, 0x94f2095
imul edi
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402e84
mov edi, 0x3a
jmp 0x402ea0
inc esi
mov eax, esi
and eax, 0x80000001
jns 0x402eaf
dec eax
or eax, 0xfffffffe
inc eax
jne 0x402eb2
inc esi
cmp esi, 0x156d
jl 0x402ea0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov al, byte [eax]
add al, bl
movzx eax, al
mov edx, 0x35
mov cl, byte [eax + ecx]
mov eax, 0x1419
cmp edi, edx
cmovg edi, edx
dec eax
jne 0x402ed4
movzx eax, cl
movzx ecx, byte [ebp + 0xc]
pop edi
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408b98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x408ba7
pop dword [ebp - 0x10]
mov eax, 0x408ba7
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3ea1b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x6ad2a26b
add ecx, 0x952daa91
mov edx, eax
mov ebx, 0x7a792838
sub ebx, 0x7a35c838
add ebx, dword [ebp - 0x10]
mov esi, 0xf272b8ff
add esi, 0x97265131
add dword [ebp - 8], 0xd7aeca41
mov edi, dword [ebx]
sub dword [ebp - 0xc], 0xd6b338fc
xor edi, esi
sub dword [ebp - 0xc], edi
mov dword [edx], edi
add edx, 0x267f7cf7
add edx, 0xd980830d
add ebx, 0x8de7e328
add ebx, 0x72181cdc
loop 0x408bfc
add eax, 0x7555ce3b
sub eax, 0x7554a778
xor ebx, ebx
add ebx, eax
add eax, 0xc842c8c8
sub eax, 0xc842c8c3
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x428290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
jmp 0x4282aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282a0
mov eax, 1
add ebx, ebx
jne 0x4282c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282b8
jne 0x4282d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282b8
xor ecx, ecx
sub eax, 3
jb 0x4282e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42835a
mov ebp, eax
add ebx, ebx
jne 0x4282f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428324
inc ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428305
jne 0x428321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428305
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428335
jmp 0x4282a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428344
add edi, ecx
jmp 0x4282a6
pop esi
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2dc28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2dc64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428361
mov ecx, edi
jns 0x428390
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 + 0x2dc6c]
or eax, eax
je 0x4283a6
mov dword [ebx], eax
add ebx, 4
jmp 0x42837e
call dword [esi + 0x2dc68]
mov ebp, dword [esi + 0x2dc70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4283e0
sub esp, 0xffffff80
jmp 0x401e60
Function at 0x497ad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x60000]
push edi
jmp 0x497aea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x497af1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497ae0
mov eax, 1
add ebx, ebx
jne 0x497b03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x497b14
jne 0x497b33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497b33
dec eax
add ebx, ebx
jne 0x497b20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x497af8
add ebx, ebx
jne 0x497b2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x497b85
xor ecx, ecx
sub eax, 3
jb 0x497b4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x497bba
sar eax, 1
mov ebp, eax
jmp 0x497b56
add ebx, ebx
jne 0x497b56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497b24
inc ecx
add ebx, ebx
jne 0x497b64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497b24
add ebx, ebx
jne 0x497b71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x497b66
jne 0x497b82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x497b66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x497ba4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x497b96
jmp 0x497ae6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x497ba4
add edi, ecx
jmp 0x497ae6
pop esi
mov edi, esi
mov ecx, 0x318d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x497bc2
cmp byte [edi], 0x1b
jne 0x497bc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x497bc7
lea edi, [esi + 0x94000]
mov eax, dword [edi]
or eax, eax
je 0x497c3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9a234]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9a34c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x497bf4
mov ecx, edi
jns 0x497c23
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 + 0x9a350]
or eax, eax
je 0x497c39
mov dword [ebx], eax
add ebx, 4
jmp 0x497c11
call dword [esi + 0x9a360]
mov ebp, dword [esi + 0x9a354]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x497c73
sub esp, 0xffffff80
jmp 0x453e3d
Function at 0x405911
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405950
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x405950
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405950
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x405950
cmp dword [ecx + 0x74], 0xe
jbe 0x405950
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret