joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e63c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004049b0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45e694
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x497f70]
mov dl, 1
mov eax, dword [0x45e110]
call fcn.0040b68c
call fcn.00403edc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045e248
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x460964
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x412a28]
call fcn.00404f58
xor eax, eax
push ebp
push 0x460aa8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x496d98], 0
jne 0x4609b7
mov ecx, dword [0x497a18]
mov dl, 1
mov eax, dword [0x4079e4]
call fcn.0040b650
call fcn.00403edc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403008
mov eax, ebx
call fcn.00404d78
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x460ab8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004062c0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d88
test eax, eax
jle 0x460a4f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x460a48
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404780
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404768
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408890
test eax, eax
jne 0x460a48
mov ebx, 0x15
jmp 0x460a54
mov ebx, 0x10
jmp 0x460a54
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x496d98]
call fcn.004608bc
mov eax, dword [ebp - 8]
call fcn.004608bc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004062d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460aaf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404524
lea eax, [ebp - 0x10]
mov edx, dword [0x412a28]
call fcn.00405028
ret
Function at 0x46aa80
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46aaae
mov eax, ebx
call fcn.0046b538
cmp dword [ebx + 0x3c], 0
je 0x46aaa7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46ab1f
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x46ab11
cmp dword [ebx + 8], 0
je 0x46aad0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46aae2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46ab11
cmp dword [ebx + 8], 0
je 0x46aac3
cmp eax, 3
je 0x46aaf5
dec eax
jne 0x46aac3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46aac3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46aac3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46ab3d
cmp dword [ebx + 0x10], 0xcc
je 0x46ab3d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046ab48
pop ebx
ret

Function at 0x47c10c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x47c15d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x47c144
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x47c134
jmp 0x47c15d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x47c145
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48eefc
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x48ef3c
mov eax, dword [esp]
call fcn.0048ee64
test al, al
je 0x48ef26
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x48ef50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049a0
lea esi, [ebp - 0x130]
xor eax, eax
push ebp
push 0x48f0c6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404598
xor edx, edx
mov eax, 2
call fcn.0045ba3c
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0045ba5c
jmp 0x48f093
lea eax, [ebp - 0x13c]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404768
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00408e7c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004086b0
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 8]
call fcn.004086b0
mov edx, dword [ebp - 0x140]
pop eax
call fcn.004048fc
je 0x48f075
lea eax, [ebp - 0x148]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404768
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004086b0
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 8]
call fcn.004086b0
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.004048fc
jne 0x48f08a
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.0045ba7c
test eax, eax
jne 0x48efd6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f0cd
lea eax, [ebp - 0x14c]
mov edx, 7
call fcn.00404524
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404524
ret

Function at 0x48f0d4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.00404500
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x48f130
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x48f124
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebp
call fcn.004046f0
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x48f113
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404840
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x4f4]
mov ecx, dword [ecx + 0x4f0]
push ebx
push ebp
push esi
push edi
add eax, 5
push eax
add ecx, 5
push ecx
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push ebx
push esi
mov dword [esp + 0x1c], ebx
call ebp
mov ecx, dword [esp + 0x24]
push 0xff0062
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x404919
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x34]
mov ebx, eax
push edx
push ebx
call ebp
mov ecx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push ebx
call ebp
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push esi
call ebp
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x30]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1c
ret 8
Function at 0x405f80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x410
push esi
push edi
mov esi, ecx
xor eax, eax
push eax
mov ecx, 0x82
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push str.INTRO_SCREEN
push str._ConfigInfo_
call fcn.0040af50
mov ecx, eax
call fcn.0040bcf0
test al, al
je 0x406005
lea ecx, [esp + 0x210]
push str..AutoPlayResData_
push ecx
call fcn.00410e7c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x21c]
push eax
call fcn.00410e52
add esp, 0x10
push 0xa010
push 0
push 0
push 0
lea ecx, [esp + 0x220]
push ecx
push 0
call dword [0x425cc0]
mov dword [esi + 0xe98], eax
mov edx, dword [esi + 0xe98]
mov eax, dword [esi + 0xe94]
push edx
push eax
mov ecx, esi
call fcn.00404840
test eax, eax
mov dword [esi + 0xe98], eax
je 0x406048
mov ecx, dword [esi + 0xe94]
push eax
push 0
push 0xf7
push ecx
call dword [0x425cd0]
mov edx, dword [esi + 0xe94]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a250
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xe7c]
test eax, eax
jne 0x409a92
call fcn.00402f60
cmp dword [esi + 0xe7c], 1
jne 0x409aa9
mov ecx, esi
call fcn.00403070
mov byte [esi + 0x80da8], 1
mov al, byte [esi + 0xe80]
test al, al
je 0x409ae3
mov eax, dword [0x423050]
test eax, eax
jne 0x409ad5
call fcn.00409b30
mov ecx, 0x4a7018
call fcn.0040b920
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x409ae3
mov eax, dword [esi + 0xf18]
push eax
mov ecx, esi
call fcn.00406050
cmp dword [esi + 0xe74], 0xffffffff
je 0x409b14
push edi
mov edi, dword [0x423050]
call fcn.00409b30
mov ecx, dword [eax]
lea edx, [edi + edi*8 + 0x3cc]
add edx, dword [esi + 0xe74]
mov eax, dword [esi + edx*4]
push ecx
push eax
mov ecx, esi
call fcn.00409550
pop edi
pop esi
ret
mov eax, dword [0x4260fc]
test eax, eax
jne 0x40a263
mov ecx, 0x426108
jmp fcn.004011f0
mov eax, dword [esp + 8]
add eax, 0xfffffff7
cmp eax, 0x17
ja case.0x40a276.10
movzx eax, byte [eax + 0x40a2cc]
jmp dword [eax*4 + 0x40a2bc]
push 0
mov ecx, 0x426108
call fcn.00403210
ret
mov ecx, 0x426108
jmp 0x409a80
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x426108
push 9
and eax, 0xffff8000
test ax, ax
jne 0x40a2b3
call fcn.004080c0
ret
call fcn.00408950
ret
Function at 0x41250a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x420cb8
call fcn.00417b80
mov edi, 0x94
mov eax, edi
call fcn.00410d90
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4a7fa0], ecx
mov eax, dword [esi + 4]
mov dword [0x4a7fac], eax
mov edx, dword [esi + 8]
mov dword [0x4a7fb0], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4a7fa4], esi
cmp ecx, 2
je 0x41256a
or esi, 0x8000
mov dword [0x4a7fa4], esi
shl eax, 8
add eax, edx
mov dword [0x4a7fa8], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4125a5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4125a5
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4125bd
cmp eax, 0x20b
je 0x4125aa
mov dword [ebp - 0x1c], esi
jmp 0x4125d1
cmp dword [ecx + 0x84], 0xe
jbe 0x4125a5
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4125cb
cmp dword [ecx + 0x74], 0xe
jbe 0x4125a5
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00417b2c
pop ecx
test eax, eax
jne 0x4125fd
cmp dword [0x4a7fec], 1
jne 0x4125ea
call fcn.00417450
push 0x1c
call fcn.004172d9
push 0xff
call fcn.004122d3
pop ecx
pop ecx
call fcn.00417251
mov dword [ebp - 4], esi
call fcn.00416b6f
test eax, eax
jge 0x412616
push 0x1b
call fcn.004124e5
pop ecx
call fcn.00417a73
mov dword [0x4a9840], eax
call fcn.00417909
mov dword [0x4a7fe8], eax
call fcn.00417873
test eax, eax
jge 0x41263b
push 8
call fcn.004124e5
pop ecx
call fcn.00417640
test eax, eax
jge 0x41264c
push 9
call fcn.004124e5
pop ecx
push 1
call fcn.00412303
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x412662
push eax
call fcn.004124e5
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x425c6c]
call fcn.004175fa
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x412683
movzx eax, word [ebp - 0x40]
jmp 0x412686
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040a640
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4126a4
push edi
call fcn.0041242e
call fcn.00412450
jmp 0x4126d6
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00417bbb
ret
Function at 0x4b7a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x75000]
push edi
jmp 0x4b7a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b7aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7a90
mov eax, 1
add ebx, ebx
jne 0x4b7ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b7ac4
jne 0x4b7ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ae3
dec eax
add ebx, ebx
jne 0x4b7ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b7aa8
add ebx, ebx
jne 0x4b7adf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b7b35
xor ecx, ecx
sub eax, 3
jb 0x4b7afb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b7b6a
sar eax, 1
mov ebp, eax
jmp 0x4b7b06
add ebx, ebx
jne 0x4b7b06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ad4
inc ecx
add ebx, ebx
jne 0x4b7b14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ad4
add ebx, ebx
jne 0x4b7b21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b7b16
jne 0x4b7b32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b7b16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b7b54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b7b46
jmp 0x4b7a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b7b54
add edi, ecx
jmp 0x4b7a96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b7b72
cmp byte [edi], 0x11
jne 0x4b7b72
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 0x4b7b77
lea edi, [esi + 0xb3000]
mov eax, dword [edi]
or eax, eax
je 0x4b7bef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbe110]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbe264]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b7ba4
mov ecx, edi
jns 0x4b7bd3
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 + 0xbe268]
or eax, eax
je 0x4b7be9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b7bc1
call dword [esi + 0xbe278]
mov ebp, dword [esi + 0xbe26c]
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 0x4b7c23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x401576
Capabilities:
Terminate process

Disassembly:
call fcn.00401a38
jmp 0x401585
push 0x58
push 0x401ce0
call fcn.00401b04
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
mov esi, ebx
mov edx, 0x402410
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4015d4
cmp eax, edi
jne 0x4015e7
xor esi, esi
inc esi
cmp dword [0x402414], 1
jne 0x4015f4
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x40162a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4015bc
cmp dword [0x402414], ebx
jne 0x401620
mov dword [0x402414], 1
push 0x40101c
push 0x401010
call fcn.0040176e
pop ecx
pop ecx
test eax, eax
je 0x40162a
jmp 0x401757
mov dword [0x402014], 1
cmp dword [0x402414], 1
jne 0x40164e
push 0x40100c
push 0x401004
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x402414], 2
test esi, esi
jne 0x40165b
xor eax, eax
mov ecx, 0x402410
xchg dword [ecx], eax
cmp dword [0x402418], 0
je 0x40167d
push 0x402418
call fcn.00401930
pop ecx
test eax, eax
je 0x40167d
push ebx
push 2
push ebx
call dword [0x402418]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x4016da
test cl, cl
je 0x401699
test edi, edi
jne 0x4016da
mov al, byte [esi]
test al, al
je 0x4016a9
cmp al, 0x20
ja 0x4016a9
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x401699
test byte [ebp - 0x3c], 1
je 0x4016b5
movzx eax, word [ebp - 0x38]
jmp 0x4016b8
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x402010], eax
cmp dword [0x402028], 0
jne 0x401733
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x4016eb
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x4016fe
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40168a
cmp dword [0x402014], 0
jne 0x401747
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x402010]
mov dword [ebp - 4], 0xfffffffe
jmp 0x401763
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00401b49
ret

Function at 0x401813
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401d08
call fcn.00401b04
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401873
cmp eax, 0xffffffff
je 0x401873
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40186c
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40186c
cmp edx, 0x10000000
jae 0x40186c
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x401869
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00401b49
ret 4
Function at 0x4018e0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40191e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401916
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401920
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401906
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401a00
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x401a16
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x401a31
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x69e540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ac000]
push edi
or ebp, 0xffffffff
jmp 0x69e562
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x69e569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69e558
mov eax, 1
add ebx, ebx
jne 0x69e57b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x69e58c
jne 0x69e5ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69e5ab
dec eax
add ebx, ebx
jne 0x69e598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x69e570
add ebx, ebx
jne 0x69e5a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x69e5fd
xor ecx, ecx
sub eax, 3
jb 0x69e5c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x69e632
sar eax, 1
mov ebp, eax
jmp 0x69e5ce
add ebx, ebx
jne 0x69e5ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69e59c
inc ecx
add ebx, ebx
jne 0x69e5dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69e59c
add ebx, ebx
jne 0x69e5e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x69e5de
jne 0x69e5fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x69e5de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x69e61c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x69e60e
jmp 0x69e55e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x69e61c
add edi, ecx
jmp 0x69e55e
pop esi
mov edi, esi
mov ecx, 0xddc1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x69e63a
cmp byte [edi], 0x22
jne 0x69e63a
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 0x69e63f
lea edi, [esi + 0x286000]
mov eax, dword [edi]
or eax, eax
je 0x69e6b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a0640]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a0814]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x69e66c
mov ecx, edi
jns 0x69e69b
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 + 0x2a081c]
or eax, eax
je 0x69e6b1
mov dword [ebx], eax
add ebx, 4
jmp 0x69e689
call dword [esi + 0x2a0818]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x69e6e8
cmp al, 0xef
ja 0x69e6db
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x69e6bd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x69e6ca
mov ebp, dword [esi + 0x2a0820]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x69e71c
sub esp, 0xffffff80
jmp 0x586d16