joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4addf8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4ade0a
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043eb04
mov eax, dword [0x4bd154]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ae254
mov eax, dword [0x4bd160]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ae260
mov eax, ebx
call fcn.004ae26c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x428008]
call fcn.00404d78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x428008]
call fcn.00404d78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x428008]
call fcn.00404d78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x428008]
call fcn.00404d78
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x428008]
call fcn.00404d78
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4a8aec
push eax
push 0
push 0
mov eax, dword [0x4bd314]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x449468]
call fcn.0044f73c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x449468]
call fcn.0044f73c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x449468]
call fcn.0044f73c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x449468]
call fcn.0044f73c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x449468]
call fcn.0044f73c
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004ae7cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ae63c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ae63c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ae63c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ae63c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ae63c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4adf85
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4ae3dc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ae589
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4ae56a
mov dl, 1
mov eax, dword [0x42a708]
call fcn.0043657c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.0040686c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4ae559
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.00490a70
test al, al
je 0x4ae54c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4ae598
lea eax, [ebp - 0x394]
call fcn.004132cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4ae54c
xor eax, eax
push ebp
push 0x4ae545
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4ae608
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4ae52e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a54
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4ae52e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae54c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4ae44f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004364b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae590
lea eax, [ebp - 0x3a0]
call fcn.0040685c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c32c0]
cmp byte [eax + 0xad], 0
jne 0x4af15a
cmp dword [0x4c32d8], 0
jne 0x4af11a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4bcfcc]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4c32d8], eax
cmp dword [0x4c32d4], 0
jne 0x4af135
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4c32d4], eax
cmp dword [0x4c32dc], 0
jne 0x4af15a
push esp
push 0
push 0
mov eax, dword [0x4bcfc8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c32dc], eax
pop edx
ret
Function at 0x4af480
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4af497
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043eb04
mov eax, dword [0x4bd068]
cmp byte [eax], 0
jne 0x4af4c4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4bd2ec]
cmp word [eax + 2], 0
jne 0x4af4de
mov eax, dword [0x4bd2ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b1578
mov eax, dword [0x4bd3e0]
cmp word [eax + 2], 0
jne 0x4af4f8
mov eax, dword [0x4bd3e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b1788
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x449468]
call fcn.0044f73c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b1d38
mov dl, 1
mov eax, dword [0x428008]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x428008]
call fcn.00404d78
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44d900]
call fcn.00458bac
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4af6d8
mov eax, dword [0x4bd1d4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00459040
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b2020
mov dl, 1
mov eax, dword [0x428008]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4bd1d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00413118
test eax, eax
je 0x4af609
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00412efc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004130fc
test eax, eax
je 0x4af621
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406a54
push ebx
push 0x4b0f48
call fcn.004a50d4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4bd068]
cmp byte [eax], 0
jne 0x4af672
mov eax, ebx
call fcn.004af84c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b224c
mov eax, ebx
call fcn.004b2e80
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4af6cf
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4afb20
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4afbc2
cmp dword [ebx + 0x94], 0
jne 0x4afbbc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4afa6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4afbbc
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_GetWindowLongW
test al, 8
je 0x4afb82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4afbbc
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.00432f10
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4afb91
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4afde0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c32c0]
cmp dword [eax + 0x170], 0
je 0x4aff45
test bl, bl
jne 0x4afe93
cmp dword [esi + 0x9c], 0
jne 0x4afe88
mov eax, esi
call fcn.004b2cd0
push eax
push 0x4afcec
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4afe59
mov eax, dword [0x4c32c0]
cmp byte [eax + 0xd3], 0
je 0x4afe59
mov eax, dword [esi + 0xd8]
call fcn.00407f28
mov edi, eax
cmp edi, 0
jl 0x4afe59
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4afe42
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4afe88
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00432f10
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4afe68
inc dword [esi + 0x9c]
jmp 0x4aff45
cmp dword [esi + 0x9c], 0
jle 0x4aff45
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4aff45
cmp dword [esi + 0x44], 0
je 0x4afef0
mov eax, dword [0x4c32c0]
cmp byte [eax + 0xd3], 0
je 0x4afef0
mov eax, dword [esi + 0xd8]
call fcn.00407f28
mov edi, eax
cmp edi, 0
jl 0x4afef0
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4afed9
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aff1f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00432f10
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4afeff
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a2fac]
call fcn.004080e8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b0b94
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b0bff
cmp byte [ebx + 0xd3], 0
jne 0x4b0bff
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069a8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b0bec
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b0c0c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040686c
jmp 0x4b0c0c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040686c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b2434
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b24a2
mov eax, esi
call fcn.0048aaf0
test al, al
je 0x4b24a2
mov eax, dword [ebx + 0x84]
call fcn.0048a770
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b24a2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b2496
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048a770
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00481748
jmp 0x4b24a2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b226c
pop esi
pop ebx
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x405b57
Capabilities:
Encode data using xor

Disassembly:
add byte [esi - 0x39], ah
inc edx
scasb al, byte es:[edi]
inc esp
add al, byte [ecx + 7]
mov eax, dword [ebx]
push ecx
push esi
mov dword [eax + 0x18], edi
call fcn.00404a60
mov esi, dword [ebp + 0x14]
lea ecx, [ebx + esi*8]
add byte [eax], al
sti
add byte [ebp - 0x74], al
or al, 0xd6
ror dword [ebx + 0x2e9c1f8], 1
rep movsd dword es:[edi], dword [esi]
mov esi, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
sbb al, 0xb
pop edi
pop esi
mov eax, eax
sbb al, 0x58
adc ecx, dword [ebx + 0x42210c4d]
sbb al, 0xc7
add al, 1
rol byte [eax], cl
add byte [eax], al
mov edx, dword [ebx]
mov eax, 0x40000001
mov dword [edx + 1], 0
add byte [eax], al
add byte [eax], al
mov ecx, dword [ebx]
cmpsd dword [esi], dword es:[edi]
inc ecx
or al, 0x8b
adc ecx, dword [ecx - 0x6d74a5be]
xor al, 0x89
push esp
cmpsd dword [esi], dword es:[edi]
xor esi, edi
pop ebp
rcl dword [eax], cl
xchg dword [eax + 0x56ec8b60], edx
sbb eax, dword [ebp + 0x46215708]
test byte [ebp - 0x74f78aaa], al
pop edi
ja 0x405b03
cmp byte [eax], al
jne 0x405bd6
mov ecx, dword [esi - 0x5d]
mov eax, dword [esi + 0x18]
cmp ecx, eax
mov dword [esi + 0x14], 0
jge 0x405bbc
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + ecx*4]
jmp 0x38c07be9
pop eax
inc esi
and ah, dl
add al, byte [ecx]
mov ecx, dword [ebp + 0x10]
mov al, byte [esi - 9]
pop edi
mov esi, 0x7eb80188
adc dword [ecx], eax
add byte [esi - 0x4effef3e], ch
push esi
mov cl, 0x56
stosb byte es:[edi], al
lahf
iretd

Function at 0x40a340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test byte [esi + 0x1b], bh
rcl byte [eax + 0x3f9c0deb]
aaa
loopne 0x40a35d
lds eax, [ecx]
add dword [eax + 0x3d], eax
add byte [eax - 0x70], ah
push edx
xor bl, ch
or eax, dword [esi + edx]
sub ah, byte [ebp - 0x47]
xor al, 0x96
out 0x47, al
inc ebx
ror byte [ebx - 0x146ff3ae], 1
or al, byte [esi - 0x3f]
insb byte es:[edi], dx
sal dword [ecx + 0x5d76ad2e], 0xe6
Function at 0x2322700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x1410015
lea edi, [esi - 0x100f015]
push edi
jmp 0x232271a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x2322721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2322710
mov eax, 1
add ebx, ebx
jne 0x2322733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x2322744
jne 0x2322763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2322763
dec eax
add ebx, ebx
jne 0x2322750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x2322728
add ebx, ebx
jne 0x232275f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x23227b5
xor ecx, ecx
sub eax, 3
jb 0x232277b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x23227ea
sar eax, 1
mov ebp, eax
jmp 0x2322786
add ebx, ebx
jne 0x2322786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2322754
inc ecx
add ebx, ebx
jne 0x2322794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2322754
add ebx, ebx
jne 0x23227a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x2322796
jne 0x23227b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x2322796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x23227d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x23227c6
jmp 0x2322716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x23227d4
add edi, ecx
jmp 0x2322716
pop esi
mov edi, esi
mov ecx, 0x7db5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x23227f2
cmp byte [edi], 0x31
jne 0x23227f2
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 0x23227f7
lea edi, [esi + 0x1f1e000]
mov eax, dword [edi]
or eax, eax
je 0x232286f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f36cc8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f36ef4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x2322824
mov ecx, edi
jns 0x2322853
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 + 0x1f36efc]
or eax, eax
je 0x2322869
mov dword [ebx], eax
add ebx, 4
jmp 0x2322841
call dword [esi + 0x1f36ef8]
mov ebp, dword [esi + 0x1f36f00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x23228a3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x638477d5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x79cb011f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4036b0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
call fcn.004015fb
mov edi, eax
pop ecx
test edi, edi
je 0x403773
push esi
push ebx
call sub.MSVCRT.dll_strlen
mov esi, eax
lea eax, [ebp - 0x400]
push esi
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov al, byte [ebp + esi - 0x401]
add esp, 0x10
cmp al, 0x2f
je 0x403702
cmp al, 0x5c
je 0x403702
mov byte [ebp + esi - 0x400], 0x2f
inc esi
push edi
call fcn.004016f1
test eax, eax
pop ecx
je 0x40376b
cmp byte [eax + 0x10], 0x2e
lea ecx, [eax + 0x10]
jne 0x403728
mov dl, byte [eax + 0x11]
test dl, dl
je 0x403702
cmp dl, 0x2e
jne 0x403728
cmp byte [eax + 0x12], 0
je 0x403702
lea eax, [ebp + esi - 0x400]
push ecx
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x400]
push 0x1ff
push eax
call dword [sym.imp.MSVCRT.dll__chmod]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 0x14
test eax, eax
je 0x403702
lea eax, [ebp - 0x400]
push eax
call fcn.004036b0
pop ecx
jmp 0x403702
push edi
call fcn.004017b0
pop ecx
pop esi
push ebx
call dword [sym.imp.MSVCRT.dll__rmdir]
pop ecx
pop edi
pop ebx
leave
ret

Function at 0x4049d8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a190
push 0x404b22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40d4ac], 0xffffffff
or dword [0x40d4b0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40d41c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x40d418]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40d4b4], eax
call fcn.00404b21
cmp dword [0x40bd50], 0
jne 0x404a5b
push 0x404b1e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00404b0c
push 0x40b00c
push 0x40b008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x40d414]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d410]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x40b004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401000
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x4017f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40408e], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Monster
push str.Uhhh
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401838
xor eax, eax
jmp 0x401853
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x401a7d
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401aa6
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401a9e
cmp al, 0x22
jne 0x401a92
cmp byte [esi], 0x22
jne 0x401ab0
inc esi
jmp 0x401ab0
cmp al, 0x20
jle 0x401ab0
inc esi
cmp byte [esi], 0x20
jg 0x401aaa
mov al, byte [esi]
test al, al
je 0x401aba
cmp al, 0x20
jle 0x401aa3
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00402e16
push 0x404004
push section..data
call fcn.00402dfc
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x401aea
movzx eax, word [ebp - 0x14]
jmp 0x401aed
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00401130
mov esi, eax
call fcn.00402e2e
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]