joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431b70
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 0x431b8c
cmp dword [esi + 4], 0
je 0x431bb9
test byte [ebx + 0x55], 1
jne 0x431bab
mov eax, ebx
call fcn.00430710
test eax, eax
jne 0x431bab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431cc9
mov edx, esi
mov eax, ebx
call fcn.00431694
jmp 0x431cc9
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 0x431cc2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004339e0
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.0042e3ec
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431b70
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.004339e0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431cc9
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 0x438150
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x450124]
cmp byte [eax + 0xc], 0
je 0x4382bd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4382b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x451b64], 0
jne 0x4381a4
push 0x4382c4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4382cc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b64], eax
cmp dword [0x44fb08], 0
jne 0x43829f
push 0x4382dc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44fb08], eax
cmp dword [0x44fb08], 0
je 0x43829f
push 0x4382e8
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b68], eax
push 0x4382f8
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b6c], eax
push 0x43830c
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b70], eax
push 0x438324
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b74], eax
push 0x43833c
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b78], eax
push 0x438350
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b7c], eax
push 0x438368
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b80], eax
push 0x438380
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b84], eax
push 0x43839c
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b88], eax
push 0x4383a8
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4382bd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43c148
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.00403e10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c197
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.00404080
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4438ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4438fc]
test si, 4
je 0x4438c0
or bl, 1
test si, 8
je 0x4438ca
or bl, 4
test si, 1
je 0x4438d4
or bl, 8
test si, 2
je 0x4438de
or bl, 0x10
test si, 0x10
je 0x4438e8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4438f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x443900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443938]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443919
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443928
or bl, 4
test esi, 0x20000000
je 0x443933
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449fe0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449ff2
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418eec
mov eax, dword [0x44fdfc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a384
mov eax, dword [0x44fe08]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a390
mov eax, ebx
call fcn.0044a39c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.004030a8
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, 0x4467b8
push eax
push 0
push 0
mov eax, dword [0x44ff48]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a910]
call fcn.0041bd54
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a910]
call fcn.0041bd54
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a910]
call fcn.0041bd54
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044a7bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a698
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a698
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a698
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a12f
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44a47c
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 0x44a627
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a608
mov dl, 1
mov eax, dword [0x411600]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a5f7
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.004384b0
test al, al
je 0x44a5ea
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, 0x44a638
lea eax, [ebp - 0x254]
call fcn.00408790
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a5ea
xor eax, eax
push ebp
push 0x44a5e3
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 0x44a670
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a5cc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
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 0x44a5cc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a5ea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a4ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004150dc
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 0x44a62e
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x451bb0]
cmp byte [eax + 0xa5], 0
jne 0x44afcd
cmp dword [0x451bc8], 0
jne 0x44af8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44af18
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bc8], eax
cmp dword [0x451bc4], 0
jne 0x44afa9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bc4], eax
cmp dword [0x451bcc], 0
jne 0x44afcd
push esp
push 0
push 0
push 0x44aebc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bcc], eax
pop edx
ret
Function at 0x44b0c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44b0db
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418eec
mov eax, dword [0x44ff34]
cmp word [eax + 2], 0
jne 0x44b103
mov eax, dword [0x44ff34]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c82c
mov eax, dword [0x44ffe0]
cmp word [eax + 2], 0
jne 0x44b11d
mov eax, dword [0x44ffe0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044ca24
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.004030a8
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 [0x41b0c0]
call fcn.00420d08
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b2a4
mov eax, dword [0x44fe5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004210d8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44cfc4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44fe5c]
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.0040bdcc
test eax, eax
je 0x44b212
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408184
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bdf4
test eax, eax
je 0x44b226
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.00404080
mov eax, dword [0x44fd60]
cmp byte [eax], 0
jne 0x44b25a
mov eax, ebx
call fcn.0044b3cc
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.0044d1a0
mov eax, ebx
call fcn.0044db64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b29a
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b64c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451bb0]
cmp dword [eax + 0x30], 0
je 0x44b6f6
cmp dword [ebx + 0x94], 0
jne 0x44b6f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b5dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b6f0
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 0x44b6b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b6f0
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.0041354c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b6c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c258
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 0x44c28d
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.00403f00
jmp 0x44c29a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d37c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d3bd
mov eax, esi
call fcn.00433cb8
test al, al
je 0x44d3bd
mov eax, dword [ebx + 0x84]
call fcn.004339e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d3bd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004339e0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x405e70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x40606b
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipCursor]
push edi
mov edi, dword [sym.imp.USER32.dll_CloseDesktop]
nop
push 0
call edi
push 0
call esi
mov ecx, dword [esp + 0x14]
push 0
xor byte [ebx + ecx], 0x7d
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xd8
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xad
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x7e
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x65
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x55
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x3d
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x4b
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x2b
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x72
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x1e
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x2a
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x6b
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xc
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xab
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x97
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xc
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x25
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xc7
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xe2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xca
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x99
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x2d
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xce
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x26
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
xor byte [ebx + eax], 0x26
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x6c
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
add byte [ebx + eax], 0xe3
inc ebx
cmp ebx, ebp
jb 0x405e90
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x875ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e3000]
push edi
or ebp, 0xffffffff
jmp 0x875f02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x875f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x875ef8
mov eax, 1
add ebx, ebx
jne 0x875f1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x875f2c
jne 0x875f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x875f4b
dec eax
add ebx, ebx
jne 0x875f38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x875f10
add ebx, ebx
jne 0x875f47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x875f9d
xor ecx, ecx
sub eax, 3
jb 0x875f63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x875fd2
sar eax, 1
mov ebp, eax
jmp 0x875f6e
add ebx, ebx
jne 0x875f6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x875f3c
inc ecx
add ebx, ebx
jne 0x875f7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x875f3c
add ebx, ebx
jne 0x875f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x875f7e
jne 0x875f9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x875f7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x875fbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x875fae
jmp 0x875efe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x875fbc
add edi, ecx
jmp 0x875efe
pop esi
mov edi, esi
mov ecx, 0x7165
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x875fda
cmp byte [edi], 0x1e
jne 0x875fda
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 0x875fdf
lea edi, [esi + 0x471000]
mov eax, dword [edi]
or eax, eax
je 0x876057
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x478ac8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x478c08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x87600c
mov ecx, edi
jns 0x87603b
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 + 0x478c0c]
or eax, eax
je 0x876051
mov dword [ebx], eax
add ebx, 4
jmp 0x876029
call dword [esi + 0x478c1c]
mov ebp, dword [esi + 0x478c10]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x87608b
sub esp, 0xffffff80
jmp 0x4dd357
Function at 0x401140
Capabilities:
Delete directory
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0
push 0x1d
push 0x4a
push 0x15
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x4011a9
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x143
jge 0x4011bd
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4011a0
cmp dword [ebp - 4], 0
jbe 0x40120a
push 0
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x4010e0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x2c], 0
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x4011f5
push 0
call fcn.00401617
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
pop dword [0x41d588]
mov dword [ebp + 8], 0x27
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4038bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41cbf0
cmp edx, dword [eax]
je 0x4038df
add eax, 8
inc ecx
cmp eax, 0x41cc80
jl 0x4038d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41cbf0]
jne 0x403a0d
mov eax, dword [0x41d59c]
cmp eax, 1
je 0x4039e7
test eax, eax
jne 0x403910
cmp dword [0x41c86c], 1
je 0x4039e7
cmp edx, 0xfc
je 0x403a0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403947
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404680
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403b50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40398a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403b50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b9ec
push edi
call fcn.00406020
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404680
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404690
lea eax, [ebp - 0xa0]
push 0x40b9cc
push eax
call fcn.00404690
push dword [esi + 0x41cbf4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404690
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405f96
add esp, 0x2c
pop edi
jmp 0x403a0d
lea eax, [ebp + 8]
lea esi, [esi + 0x41cbf4]
push 0
push eax
push dword [esi]
call fcn.00403b50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret