joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463c40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x463c73
push esi
call fcn.00472010
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x463c6c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x463cf9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x463ce2
mov eax, dword [esi + 8]
test eax, eax
je 0x463c97
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x463cde
cmp eax, 2
je 0x463ce2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x463c8a
cmp eax, 3
je 0x463cbd
cmp eax, 1
jne 0x463c8a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x463c8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x463c8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00463d20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x463d08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00463d20
add esp, 4
pop esi
ret

Function at 0x464590
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4645b1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4645b1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4645b1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4871e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xe3b398]
xor edx, edx
cmp eax, edx
jne 0x487206
xor eax, eax
mov byte [eax + 0xe3b298], al
inc eax
cmp eax, 0x100
jl 0x4871ee
mov dword [0xe3b398], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xe3b298
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x487297
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48726a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x487238
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4872a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4872f3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4872da
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48dca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba47e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0048e5c0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xdfc6fc
call fcn.004abeee
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x48dd33
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004abeee
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x48dd2c
push 0
mov ecx, eax
call fcn.00484e10
mov dword [esi + 0xc], eax
jmp 0x48dd35
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x48dd35
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4ae57b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ae5b3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ac608
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ac5e0
jmp 0x4ae5bf
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4afc6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4afcae
call fcn.004b5725
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4afcae
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4afca5
xor eax, eax
jmp 0x4afcb6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004afcbc
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b5c55
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b5c83
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b5ca1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b5bbb
jmp 0x4b5ca1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b5ca1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b5bbb
test edi, edi
mov eax, edi
jne 0x4b5c8b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4066a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4066d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040398c
jmp 0x4066e2
mov eax, ebx
mov edx, esi
call fcn.004038f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4066ec
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40670d
mov al, byte [esp]
jmp 0x40670f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x407830
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407894
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403aec
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004059b8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40789b
lea eax, [ebp - 0xc]
call fcn.0040389c
ret

Function at 0x408924
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x40896a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00408888
mov eax, dword [ebp - 4]
call fcn.00403c6c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408971
lea eax, [ebp - 4]
call fcn.0040389c
ret

Function at 0x408b64
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408bf1
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x408bae
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.0040398c
jmp 0x408bdb
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x408bc2
lea eax, [ebp - 4]
call fcn.0040389c
jmp 0x408bd1
lea edx, [ebp - 4]
call fcn.00408a34
test ebx, ebx
je 0x408bd1
dec ebx
jmp 0x408bb3
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004038f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408bf8
lea eax, [ebp - 4]
call fcn.0040389c
ret

Function at 0x408c00
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00405ba4
add esp, 0x104
pop ebx
ret
Function at 0x408d44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x408e65
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x408e4f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x408d9d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x408e4f
cmp dword [ebp - 0xc], 0
jne 0x408db2
mov eax, dword [ebp - 4]
call fcn.0040389c
mov bl, 1
jmp 0x408e4f
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.0040398c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00403cbc
push eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x408d69
test eax, eax
jne 0x408e4f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x408df9
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x408e4f
jmp 0x408df9
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
je 0x408e0c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0
je 0x408df6
cmp dword [ebp - 8], 7
jne 0x408e1b
cmp dword [ebp - 0xc], 0
je 0x408e1b
inc dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00403d60
cmp dword [ebp - 8], 7
jne 0x408e42
cmp dword [ebp - 0xc], 0
je 0x408e42
lea eax, [ebp - 0x10]
call fcn.00403cbc
mov edx, dword [ebp - 0xc]
mov byte [eax + edx - 1], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.004038f0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e6c
lea eax, [ebp - 0x10]
call fcn.0040389c
ret

Function at 0x409804
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40e884
mov eax, esi
mov edx, 8
test al, 1
je 0x409820
shr eax, 1
xor eax, 0xedb88320
jmp 0x409822
shr eax, 1
dec edx
jne 0x409813
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40980c
pop esi
ret

Function at 0x409838
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40e880], 0
jne 0x40985b
call fcn.00409804
push 1
push 0x40e880
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x409887
mov edx, ebx
and edx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40e884]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x409861
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40b1b8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040b16c
test al, al
jne 0x40b1d9
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x40b225
xor eax, eax
push ebp
push 0x40b215
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403c6c
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b21c
lea eax, [ebp - 0xc]
call fcn.0040b1a8
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b564
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x40b56c
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x40b659
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00408c2c
mov edx, dword [ebp - 8]
mov ecx, 0x40b670
xor eax, eax
call fcn.0040b454
push 0
mov eax, dword [ebp - 4]
call fcn.00403c6c
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x40b627
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x40b586
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.0040af64
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00405984
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00409100
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x60
call fcn.0040af34
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x404ea4]
call fcn.00406eb4
call fcn.004032fc
jmp 0x40b586
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004038f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b660
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004038c0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004038c0
ret

Function at 0x40b680
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
mov eax, dword [0x40d4ec]
cmp dword [eax], 2
jne 0x40b6e8
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x40b6a3
xor eax, eax
jmp 0x40b6f7
lea eax, [esp + 8]
push eax
push 0x40b6fc
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x40b6e8
xor eax, eax
jmp 0x40b6f7
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret
Function at 0x40b710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x40b76a
inc esi
xor edi, edi
cmp edi, 1
jne 0x40b736
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x40b744
cmp edi, 1
jle 0x40b744
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0040b1b8
test eax, eax
jne 0x40b76a
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x40b76a
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x40b76a
inc edi
dec esi
jne 0x40b726
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x40bbd8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bcad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40bcc4
push ebx
push 0x40bcd0
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403bd8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004027e4
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403c6c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40bc58
mov al, 0x62
call fcn.0040b7ac
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.0040bbac
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40bc61
call fcn.0040bbac
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcb4
lea eax, [ebp - 4]
call fcn.0040389c
ret
Function at 0x1313610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f8000]
push edi
jmp 0x131362a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1313631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1313620
mov eax, 1
add ebx, ebx
jne 0x1313643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1313654
jne 0x1313673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1313673
dec eax
add ebx, ebx
jne 0x1313660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1313638
add ebx, ebx
jne 0x131366f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x13136c5
xor ecx, ecx
sub eax, 3
jb 0x131368b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x13136fa
sar eax, 1
mov ebp, eax
jmp 0x1313696
add ebx, ebx
jne 0x1313696
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1313664
inc ecx
add ebx, ebx
jne 0x13136a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1313664
add ebx, ebx
jne 0x13136b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x13136a6
jne 0x13136c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x13136a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x13136e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x13136d6
jmp 0x1313626
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x13136e4
add edi, ecx
jmp 0x1313626
pop esi
mov edi, esi
mov ecx, 0x44c04f
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x131371f
cmp byte [edi], 0x82
jne 0x1313704
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1313702
lea edi, [esi + 0x9e2000]
mov eax, dword [edi]
or eax, eax
je 0x1313770
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1d764]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa1d7a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1313725
mov ecx, edi
jns 0x1313754
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 + 0xa1d7a4]
or eax, eax
je 0x131376a
mov dword [ebx], eax
add ebx, 4
jmp 0x1313742
call dword [esi + 0xa1d7b4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x13137a1
cmp al, 0xef
ja 0x1313794
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1313776
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1313783
mov ebp, dword [esi + 0xa1d7a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x13137d5
sub esp, 0xffffff80
jmp 0xcfc3e7
Function at 0x421530
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x421552
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421548
mov eax, 1
add ebx, ebx
jne 0x42156b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421560
jne 0x42157c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421560
xor ecx, ecx
sub eax, 3
jb 0x421590
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421602
mov ebp, eax
add ebx, ebx
jne 0x42159b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4215a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4215cc
inc ecx
add ebx, ebx
jne 0x4215b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4215ad
jne 0x4215c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4215ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4215ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4215dd
jmp 0x42154e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4215ec
add edi, ecx
jmp 0x42154e
pop esi
mov edi, esi
mov ecx, 0xc3c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42160a
cmp byte [edi], 2
jne 0x42160a
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 eax, ebx
loop 0x42160f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421687
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24c0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42163c
mov ecx, edi
jns 0x42166b
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 + 0x24c10]
or eax, eax
je 0x421681
mov dword [ebx], eax
add ebx, 4
jmp 0x421659
call dword [esi + 0x24c14]
popal
jmp 0x41215f