joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be7e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x801c
call fcn.00532860
push ebx
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.WINSPOOL.DRV_OpenPrinterA
test eax, eax
je 0x4be910
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
lea eax, [0x6a7552]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
call sub.WINSPOOL.DRV_StartDocPrinterA
test eax, eax
je 0x4be900
mov eax, dword [ebp - 4]
push eax
call sub.WINSPOOL.DRV_StartPagePrinter
test eax, eax
je 0x4be8f0
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push Ordinal_1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x8018], eax
cmp eax, 0xffffffff
je 0x4be8e0
jmp 0x4be8a2
mov eax, dword [ebp - 8]
dec eax
movzx eax, byte [ebp + eax - 0x8014]
cmp eax, 0x1a
jne 0x4be887
sub dword [ebp - 8], 1
lea eax, [ebp - 0x801c]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x8014]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.WINSPOOL.DRV_WritePrinter
push 0
lea eax, [ebp - 8]
push eax
push 0x8000
lea eax, [ebp - 0x8014]
push eax
mov eax, dword [ebp - 0x8018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4be8cc
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4be872
mov ebx, 1
mov eax, dword [ebp - 0x8018]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4be8e5
mov ebx, 0xfffffffa
mov eax, dword [ebp - 4]
push eax
call sub.WINSPOOL.DRV_EndPagePrinter
jmp 0x4be8f5
mov ebx, 0xfffffffc
mov eax, dword [ebp - 4]
push eax
call sub.WINSPOOL.DRV_EndDocPrinter
jmp 0x4be905
mov ebx, 0xfffffffd
mov eax, dword [ebp - 4]
push eax
call sub.WINSPOOL.DRV_ClosePrinter
jmp 0x4be915
mov ebx, 0xfffffffe
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4befe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
mov eax, dword [ebp + 0xc]
mov edx, eax
test edx, edx
je 0x4bf014
movzx eax, byte [eax]
test eax, eax
je 0x4bf014
push 0xff
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00532800
add esp, 0xc
jmp 0x4bf03a
lea eax, [ebp - 0x100]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4bf03a
push 0
push 0
call fcn.004be070
add esp, 8
xor eax, eax
jmp 0x4bf074
mov byte [ebp - 1], 0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4bf04e
lea eax, [0x6a75b8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
push eax
push 0
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ebx, eax
push 0
push ebx
call fcn.004be070
add esp, 8
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c04b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
lea edi, [ebp - 0x148]
lea esi, [0x6a8600]
mov ecx, 8
rep movsb byte es:[edi], byte [esi]
push 7
call fcn.0049b580
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00531ba0
add esp, 8
push 0x6a8688
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00532090
add esp, 8
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp eax, 0xffffffff
je 0x4c0571
mov eax, dword [ebp - 0x140]
and eax, 0x10
je 0x4c0558
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x4c0558
lea edi, [ebp - 0x148]
lea esi, [ebp - 0x12c]
mov ecx, 8
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4c0521
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0049b640
pop ecx
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x148]
mov ecx, 8
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d3250
Capabilities:
Authenticate hmac
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x70], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x50], esi
xor edi, edi
mov dword [ebp - 0x80], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 8]
and eax, 0x800
je 0x4d32ce
mov dword [ebp - 0xa0], 1
jmp 0x4d32d8
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
and eax, 0x200
je 0x4d32f7
mov dword [ebp - 0xa4], 1
jmp 0x4d3301
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
xor eax, 1
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x68], 0xfffffffe
mov dword [ebp - 0x6c], 0xfffffffe
mov dword [ebp - 0x54], 0xfffffffe
mov dword [ebp - 0x40], 0xfffffffe
mov eax, dword [ebp - 8]
and eax, 1
je 0x4d3343
mov dword [ebp - 0xa8], 0x100
jmp 0x4d334d
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x74], eax
Function at 0x5285f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0xffffffffffffffff
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00526ec0
add esp, 0xc
mov ebx, eax
cmp dword [ebp + 8], 0
je 0x52861d
lea eax, [ebx + 0x1b]
movzx edx, byte [eax]
or edx, 0x80
mov byte [eax], dl
movzx eax, byte [ebp + 0x1c]
cmp eax, 0x43
jne 0x528633
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax + 0xc]
push eax
call fcn.00521030
pop ecx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x528674
push 0x100
call fcn.0049b580
pop ecx
mov dword [ebx + 4], eax
push 0xff
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.004aa8d0
add esp, 0xc
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax + 0xc]
push eax
call fcn.004f1709
add esp, 8
mov word [ebx + 0x18], ax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x5286a4
push 0x100
call fcn.0049b580
pop ecx
mov dword [ebx + 8], eax
push 0xff
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebx + 8]
push eax
call fcn.004aa8d0
add esp, 0xc
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x40], 0
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
movzx eax, byte [ebp + 0x1c]
mov word [ebx + 0x14], ax
movzx eax, word [ebx + 0x14]
cmp eax, 0x43
jne 0x5286f2
mov esi, 0x20
jmp 0x5286f4
xor esi, esi
mov eax, esi
mov byte [ebx + 0x1a], al
mov ax, word [ebp + 0x20]
mov word [ebx + 0x16], ax
mov eax, 0x1f4
movzx ecx, word [ebp + 0x20]
lea ecx, [ecx + 8]
cdq
idiv ecx
mov word [ebx + 0x78], ax
mov dword [ebx + 0x44], 1
mov eax, dword [ebp + 0x38]
push eax
push ebx
call fcn.00531170
add esp, 8
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x5349d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, esi
push 0x3c
call fcn.00533970
pop ecx
mov ebx, eax
test eax, eax
je 0x534a30
push ebx
call fcn.00536ae0
pop ecx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x38], eax
mov dword [ebx + 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
push ebx
push 0x534920
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test eax, eax
jne 0x534a2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x534a30
mov eax, edi
jmp 0x534a44
push ebx
call fcn.00533210
pop ecx
test esi, esi
je 0x534a42
push esi
call fcn.00535140
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x534fd0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 1
jl 0x534fe4
cmp ebx, 0x1f
jle 0x534ff4
call fcn.005352c0
mov dword [eax], 0xd
or eax, 0xffffffff
jmp 0x535025
lea eax, [ebx + 0x41]
dec eax
mov byte [ebp - 3], al
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
lea eax, [ebp - 3]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x535023
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00535140
pop ecx
or eax, 0xffffffff
jmp 0x535025
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x535480
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x6bcb68
push ebx
call fcn.00534ab0
pop ecx
pop ecx
test eax, eax
je 0x5354b6
call fcn.005352c0
mov dword [eax], 2
or eax, 0xffffffff
jmp 0x535650
movsx eax, byte [ebx + 1]
cmp eax, 0x3a
jne 0x5354f4
cmp byte [ebx], 0
je 0x5354df
movsx eax, byte [ebx + 2]
test eax, eax
jne 0x5354df
call fcn.005352c0
mov dword [eax], 2
or eax, 0xffffffff
jmp 0x535650
movsx eax, byte [ebx]
mov edx, dword [0x7c5bf4]
movsx eax, word [edx + eax*2]
sub eax, 0x61
lea edi, [eax + 1]
jmp 0x5354fb
call fcn.00534f80
mov edi, eax
lea eax, [ebp - 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x148], eax
cmp eax, 0xffffffff
jne 0x5355d3
push 0x6bcb64
push ebx
call fcn.00534ab0
pop ecx
pop ecx
test eax, eax
je 0x535584
push 0x104
push ebx
lea eax, [ebp - 0x24c]
push eax
call fcn.00539480
add esp, 0xc
mov dword [ebp - 0x144], eax
test eax, eax
je 0x535584
mov eax, dword [ebp - 0x144]
mov edx, eax
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x535555
cmp eax, 3
je 0x535572
mov eax, dword [ebp - 0x144]
push eax
call fcn.005352d0
pop ecx
test eax, eax
je 0x535584
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
ja 0x535597
call fcn.005352c0
mov dword [eax], 2
or eax, 0xffffffff
jmp 0x535650
mov dword [ebp - 0x140], 0x10
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x114], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x20], 0xffffffff
jmp 0x535610
lea eax, [ebp - 0x12c]
push eax
call fcn.00539550
pop ecx
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x134]
push eax
call fcn.00539550
pop ecx
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00539550
pop ecx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
mov eax, dword [ebp - 0x140]
push eax
call fcn.00535370
pop ecx
pop ecx
mov word [esi + 6], ax
mov word [esi + 8], 1
mov eax, dword [ebp - 0x120]
mov dword [esi + 0x14], eax
xor ax, ax
mov word [esi + 4], 0
movzx eax, ax
mov word [esi + 0xc], ax
mov word [esi + 0xa], ax
mov eax, edi
dec eax
mov dword [esi], eax
mov dword [esi + 0x10], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5370d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
movsx eax, byte [esi]
test eax, eax
jne 0x537104
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.00536ee0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00533970
pop ecx
mov ebx, eax
test eax, eax
jne 0x537137
push 1
call fcn.00536a40
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [ebx + eax*4]
push eax
push ebx
push esi
call fcn.00536ee0
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x7da274], eax
mov dword [0x7da278], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x537170
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 8]
jmp 0x5371a8
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x537191
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x5371a6
add dword [ebp - 4], esi
add ebx, esi
cmp byte [ebx], 0
jne 0x53718e
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00533970
pop ecx
mov edi, eax
mov dword [0x7da16c], eax
test eax, eax
jne 0x5371cb
push 1
call fcn.00536a40
pop ecx
mov ebx, dword [ebp - 8]
jmp 0x5371f2
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x5371d3
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x5371f0
push ebx
push edi
call fcn.00531ba0
pop ecx
pop ecx
add edi, esi
add ebx, esi
movsx eax, byte [ebx]
test eax, eax
jne 0x5371d0
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53f230
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00532860
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, ebx
mov edx, dword [0x7da170]
cmp eax, edx
jae 0x53f274
mov eax, ebx
and eax, 0x1f
imul eax, eax, 0x24
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x7da174]
movsx eax, byte [edx + eax + 4]
and eax, 1
jne 0x53f287
call fcn.005352c0
mov dword [eax], 9
or eax, 0xffffffff
jmp 0x53f3db
push 1
push 0
push ebx
call fcn.00539380
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x53f2b1
push 2
push 0
push ebx
call fcn.00539380
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x53f2b9
or eax, 0xffffffff
jmp 0x53f3db
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x53f381
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x14], eax
push 0x1000
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00531d50
add esp, 0xc
push 0x8000
push ebx
call fcn.00534e90
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp esi, 0x1000
jl 0x53f309
mov dword [ebp - 0x1018], 0x1000
jmp 0x53f30f
mov dword [ebp - 0x1018], esi
mov edi, dword [ebp - 0x1018]
cmp esi, 0x1000
jl 0x53f329
mov dword [ebp - 0x101c], 0x1000
jmp 0x53f32f
mov dword [ebp - 0x101c], esi
mov eax, dword [ebp - 0x101c]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ebx
call fcn.005379c0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x53f365
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x53f360
call fcn.005352c0
mov dword [eax], 0xd
mov dword [ebp - 4], edi
jmp 0x53f373
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x53f2f5
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.00534e90
pop ecx
pop ecx
jmp 0x53f3c9
test esi, esi
jge 0x53f3c9
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00539380
add esp, 0xc
push ebx
call fcn.00539280
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x53f3af
mov dword [ebp - 0x14], 0
jmp 0x53f3b3
or dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x53f3c9
call fcn.005352c0
mov dword [eax], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00539380
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10003b09
push eax
push eax
push eax
push 0x10001f90
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10003b20
Capabilities:
Get geographical location
Set file attributes

Disassembly:
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_Heap32First]
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
call dword [sym.imp.USER32.dll_BroadcastSystemMessageW]
call dword [sym.imp.USER32.dll_ChildWindowFromPointEx]
call dword [sym.imp.USER32.dll_BroadcastSystemMessageA]
call dword [sym.imp.ole32.dll_OleRun]
call dword [sym.imp.ole32.dll_GetRunningObjectTable]
jmp dword [sym.imp.ole32.dll_GetHGlobalFromILockBytes]

Function at 0x10003b62
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10003b6c
repz ret
jmp fcn.10003fe2
Function at 0x10009dc1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000514b
and dword [ebp - 0x14], 0
cmp dword [0x1000fa4c], 0
mov dword [ebp - 0x18], eax
jne 0x10009e74
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10009f1c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10009f1c
mov esi, dword [0x1000edb4]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000fa4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000fa50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000fa54], eax
call edi
push eax
call esi
mov dword [0x1000fa5c], eax
test eax, eax
je 0x10009e74
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000fa58], eax
mov eax, dword [0x1000fa58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x1000edb0]
cmp eax, ecx
je 0x10009ecd
cmp dword [0x1000fa5c], ecx
je 0x10009ecd
push eax
call esi
push dword [0x1000fa5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10009ecd
test ebx, ebx
je 0x10009ecd
call edi
test eax, eax
je 0x10009ec4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10009ec4
test byte [ebp - 8], 1
jne 0x10009ecd
or dword [ebp + 0x10], 0x200000
jmp 0x10009f00
mov eax, dword [0x1000fa50]
cmp eax, dword [ebp - 0x18]
je 0x10009f00
push eax
call esi
test eax, eax
je 0x10009f00
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10009f00
mov eax, dword [0x1000fa54]
cmp eax, dword [ebp - 0x18]
je 0x10009f00
push eax
call esi
test eax, eax
je 0x10009f00
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000fa4c]
call esi
test eax, eax
je 0x10009f1c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10009f1e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003b62
leave
ret
Function at 0x59bf60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x178000]
push edi
or ebp, 0xffffffff
jmp 0x59bf82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59bf89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59bf78
mov eax, 1
add ebx, ebx
jne 0x59bf9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59bf90
jne 0x59bfac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59bf90
xor ecx, ecx
sub eax, 3
jb 0x59bfc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59c032
mov ebp, eax
add ebx, ebx
jne 0x59bfcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x59bfd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x59bffc
inc ecx
add ebx, ebx
jne 0x59bfe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59bfdd
jne 0x59bff9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59bfdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59c01c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59c00d
jmp 0x59bf7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59c01c
add edi, ecx
jmp 0x59bf7e
pop esi
mov edi, esi
mov ecx, 0x1e6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59c03a
cmp byte [edi], 9
jne 0x59c03a
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 0x59c03f
lea edi, [esi + 0x199000]
mov eax, dword [edi]
or eax, eax
je 0x59c0ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19ed1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19eda4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59c06c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19edac]
or eax, eax
je 0x59c0a8
mov dword [ebx], eax
add ebx, 4
jmp 0x59c089
call dword [esi + 0x19eda8]
mov ebp, dword [esi + 0x19edb0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x59c0e2
sub esp, 0xffffff80
jmp 0x401c46

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx