joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a458
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 0x44a603
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a5e4
mov dl, 1
mov eax, dword [0x411698]
call fcn.00403474
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a5d3
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.0043807c
test al, al
je 0x44a5c6
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, 0x44a614
lea eax, [ebp - 0x254]
call fcn.00408ce0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a5c6
xor eax, eax
push ebp
push 0x44a5bf
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 0x44a64c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a5a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404460
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 0x44a5a8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a5c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a4c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004157e0
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 0x44a60a
lea eax, [ebp - 0x260]
call fcn.004041f8
ret

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

Disassembly:
push ecx
mov eax, dword [0x44fbfc]
cmp byte [eax + 0xa5], 0
jne 0x44afa9
cmp dword [0x44fc14], 0
jne 0x44af6a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44aef4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fc14], eax
cmp dword [0x44fc10], 0
jne 0x44af85
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x44fc10], eax
cmp dword [0x44fc18], 0
jne 0x44afa9
push esp
push 0
push 0
push 0x44ae98
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x44fc18], eax
pop edx
ret
Function at 0x44b0a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44b0b7
add esp, 0xfffffff0
call fcn.004037f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b148
mov eax, dword [0x44ed6c]
cmp word [eax + 2], 0
jne 0x44b0df
mov eax, dword [0x44ed6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c764
mov eax, dword [0x44edf0]
cmp word [eax + 2], 0
jne 0x44b0f9
mov eax, dword [0x44edf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c95c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4111a8]
call fcn.00403474
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4111a8]
call fcn.00403474
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], 0x80000018
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 [0x41d288]
call fcn.00422e94
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b280
mov eax, dword [0x44ecb0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423264
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44cecc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44ecb0]
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]

Function at 0x44b61c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbfc]
cmp dword [eax + 0x30], 0
je 0x44b6c6
cmp dword [ebx + 0x94], 0
jne 0x44b6c0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b5ac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b6c0
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 0x44b686
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b6c0
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.00413848
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b695
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c1a4
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 0x44c1d9
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.004042e8
jmp 0x44c1e6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040424c
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x44d284
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d2c5
mov eax, esi
call fcn.00433940
test al, al
je 0x44d2c5
mov eax, dword [ebx + 0x84]
call fcn.0043363c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d2c5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043363c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401ebc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp esi, 1
jl 0x401ecd
cmp esi, 9
jle 0x401ed8
push 0x42b0c8
call fcn.00405eab
pop ecx
mov edi, 0x10000
xor ebx, ebx
push edi
push ebx
push 0x44aa60
mov dword [0x42e098], esi
call fcn.00425100
mov eax, esi
add esp, 0xc
shl eax, 3
cmp esi, 1
movzx ecx, word [eax + 0x42b07a]
mov dword [0x42e084], ecx
movzx ecx, word [eax + 0x42b078]
mov dword [0x42e09c], ecx
movzx ecx, word [eax + 0x42b07c]
movzx eax, word [eax + 0x42b07e]
mov dword [str.File_size_mismatch:_This_file_is_corrupted__If_you_downloaded_this_file_from_the_internet__try_downloading_it_again], ecx
mov dword [0x42e094], eax
jne 0x401f3a
mov eax, dword [esp + 0x14]
or byte [eax], 4
jmp 0x401f46
cmp esi, 9
jne 0x401f46
mov eax, dword [esp + 0x14]
or byte [eax], 2
push edi
push 0x45aa60
mov dword [0x42e080], ebx
mov dword [0x42e0a4], ebx
call dword [0x42e078]
pop ecx
cmp eax, ebx
pop ecx
mov dword [0x42e0a8], eax
je 0x401fba
cmp eax, 0xffffffff
je 0x401fba
mov esi, 0x106
mov dword [0x42e08c], ebx
cmp eax, esi
jae 0x401f92
cmp dword [0x42e08c], ebx
jne 0x401f92
call fcn.0040210b
cmp dword [0x42e0a8], esi
jb 0x401f7d
xor eax, eax
xor ecx, ecx
movzx edx, byte [ecx + 0x45aa60]
and eax, 0x3ff
and edx, 0x7fff
shl eax, 5
xor eax, edx
inc ecx
cmp ecx, 2
jb 0x401f96
mov dword [0x42e088], eax
jmp 0x401fca
mov dword [0x42e08c], 1
mov dword [0x42e0a8], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4021e9
Capabilities:
Encode data using xor

Disassembly:
push ecx
and dword [esp], 0
cmp dword [0x42e098], 3
push edi
push 2
pop edi
jg 0x402206
call fcn.0040246b
jmp 0x402468
cmp dword [0x42e0a8], 0
je 0x402440
mov ecx, dword [0x42e080]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebp, 0x3ff
movzx eax, byte [ecx + 0x45aa62]
mov edx, dword [0x42e088]
and eax, esi
and edx, ebp
mov ebx, ecx
shl edx, 5
xor eax, edx
and ebx, esi
movzx edx, word [eax*2 + 0x44aa60]
mov dword [0x42e088], eax
lea eax, [eax*2 + 0x44aa60]
mov word [ebx*2 + 0x43aa60], dx
mov ebx, dword [0x42e0a0]
mov word [eax], cx
mov eax, edi
push 2
mov dword [0x42e07c], eax
test edx, edx
pop edi
je 0x4022b7
cmp eax, dword [0x42e084]
jae 0x4022b7
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x4022b7
push edx
call fcn.00401fce
mov edi, eax
mov eax, dword [0x42e0a8]
cmp edi, eax
pop ecx
jbe 0x40229a
mov edi, eax
mov ecx, dword [0x42e080]
cmp edi, 3
jne 0x4022b7
mov eax, ecx
sub eax, dword [0x42e0a0]
cmp eax, 0x1000
jbe 0x4022b7
push 2
pop edi
mov eax, dword [0x42e07c]
cmp eax, 3
jb 0x402381
cmp edi, eax
ja 0x402381
sub ecx, ebx
add eax, 0xfffffffd
dec ecx
push eax
push ecx
call fcn.004046ef
pop ecx
pop ecx
push 1
pop ecx
sub ecx, dword [0x42e07c]
add dword [0x42e0a8], ecx
sub dword [0x42e07c], 2
mov ecx, dword [0x42e080]
movzx edx, byte [ecx + 0x45aa63]
mov edi, dword [0x42e088]
inc ecx
and edi, ebp
and edx, esi
shl edi, 5
xor edx, edi
mov edi, ecx
mov dword [0x42e088], edx
and edi, esi
mov bx, word [edx*2 + 0x44aa60]
dec dword [0x42e07c]
lea edx, [edx*2 + 0x44aa60]
mov word [edi*2 + 0x43aa60], bx
mov word [edx], cx
jne 0x4022f8
and dword [esp + 0x10], 0
push 2
inc ecx
pop edi
test eax, eax
mov dword [0x42e080], ecx
je 0x4023ef
mov eax, dword [0x42e0a4]
test eax, eax
jl 0x402363
lea edx, [eax + 0x45aa60]
jmp 0x402365
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.00403ef6
mov ecx, dword [0x42e080]
add esp, 0xc
mov dword [0x42e0a4], ecx
jmp 0x4023ef
cmp dword [esp + 0x10], 0
je 0x4023da
movzx eax, byte [ecx + 0x45aa5f]
push eax
push 0
call fcn.004046ef
pop ecx
test eax, eax
pop ecx
je 0x4023d2
mov eax, dword [0x42e0a4]
test eax, eax
jl 0x4023ae
lea ecx, [eax + 0x45aa60]
jmp 0x4023b0
xor ecx, ecx
mov edx, dword [0x42e080]
push 0
sub edx, eax
push edx
push ecx
call fcn.00403ef6
mov ecx, dword [0x42e080]
add esp, 0xc
mov dword [0x42e0a4], ecx
jmp 0x4023e2
mov ecx, dword [0x42e080]
jmp 0x4023e2
mov dword [esp + 0x10], 1
inc ecx
dec dword [0x42e0a8]
mov dword [0x42e080], ecx
mov ebx, 0x106
cmp dword [0x42e0a8], ebx
jae 0x402418
cmp dword [0x42e08c], 0
jne 0x402418
call fcn.0040210b
cmp dword [0x42e0a8], ebx
mov ecx, dword [0x42e080]
jb 0x4023fc
cmp dword [0x42e0a8], 0
jne 0x402226
cmp dword [esp + 0x10], 0
pop esi
pop ebp
pop ebx
je 0x402446
movzx eax, byte [ecx + 0x45aa5f]
push eax
push 0
call fcn.004046ef
pop ecx
pop ecx
mov ecx, dword [0x42e080]
mov edx, dword [0x42e0a4]
test edx, edx
jl 0x402458
lea eax, [edx + 0x45aa60]
jmp 0x40245a
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.00403ef6
add esp, 0xc
pop edi
pop ecx
ret
Function at 0x40246b
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x42e0a8], edi
mov dword [0x42e07c], 2
je 0x402632
mov ecx, dword [0x42e080]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebx, 0x3ff
movzx eax, byte [ecx + 0x45aa62]
mov edx, dword [0x42e088]
and eax, esi
and edx, ebx
mov ebp, ecx
shl edx, 5
xor eax, edx
and ebp, esi
movzx edx, word [eax*2 + 0x44aa60]
mov dword [0x42e088], eax
lea eax, [eax*2 + 0x44aa60]
mov word [ebp*2 + 0x43aa60], dx
test edx, edx
mov word [eax], cx
je 0x4024fa
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x4024fa
push edx
call fcn.00401fce
mov edi, eax
mov eax, dword [0x42e0a8]
cmp edi, eax
pop ecx
jbe 0x4024f4
mov edi, eax
mov ecx, dword [0x42e080]
cmp edi, 3
jb 0x40259b
sub ecx, dword [0x42e0a0]
lea eax, [edi - 3]
push eax
push ecx
call fcn.004046ef
sub dword [0x42e0a8], edi
cmp edi, dword [0x42e084]
pop ecx
mov dword [esp + 0x14], eax
pop ecx
ja 0x40256d
mov ecx, dword [0x42e080]
dec edi
movzx eax, byte [ecx + 0x45aa63]
mov edx, dword [0x42e088]
inc ecx
and edx, ebx
and eax, esi
shl edx, 5
xor eax, edx
mov dword [0x42e088], eax
mov bp, word [eax*2 + 0x44aa60]
lea edx, [eax*2 + 0x44aa60]
mov eax, ecx
and eax, esi
dec edi
mov word [eax*2 + 0x43aa60], bp
mov word [edx], cx
jne 0x40252e
jmp 0x4025bc
mov ecx, dword [0x42e080]
add ecx, edi
xor edi, edi
mov dword [0x42e080], ecx
movzx eax, byte [ecx + 0x45aa60]
movzx edx, byte [ecx + 0x45aa61]
and eax, ebx
and edx, esi
shl eax, 5
xor eax, edx
mov dword [0x42e088], eax
jmp 0x4025c3
movzx eax, byte [ecx + 0x45aa60]
push eax
push 0
call fcn.004046ef
dec dword [0x42e0a8]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, dword [0x42e080]
inc ecx
mov dword [0x42e080], ecx
cmp dword [esp + 0x10], 0
je 0x4025f7
mov eax, dword [0x42e0a4]
test eax, eax
jl 0x4025db
lea edx, [eax + 0x45aa60]
jmp 0x4025dd
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.00403ef6
mov ecx, dword [0x42e080]
add esp, 0xc
mov dword [0x42e0a4], ecx
mov ebp, 0x106
cmp dword [0x42e0a8], ebp
jae 0x402620
cmp dword [0x42e08c], 0
jne 0x402620
call fcn.0040210b
cmp dword [0x42e0a8], ebp
mov ecx, dword [0x42e080]
jb 0x402604
cmp dword [0x42e0a8], 0
jne 0x402498
pop esi
pop ebp
pop ebx
jmp 0x402638
mov ecx, dword [0x42e080]
mov edx, dword [0x42e0a4]
pop edi
test edx, edx
jl 0x40264b
lea eax, [edx + 0x45aa60]
jmp 0x40264d
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.00403ef6
add esp, 0x10
ret

Function at 0x405cea
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x405cf7
or eax, 0xffffffff
jmp 0x405d25
cmp dword [esp + 8], 0
mov eax, dword [str.GetWindowLongA]
je 0x405d25
push esi
movzx esi, byte [ecx]
mov edx, eax
and edx, 0xff
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x42b4a8]
xor eax, edx
inc ecx
dec dword [esp + 0xc]
jne 0x405d04
pop esi
mov dword [str.GetWindowLongA], eax
not eax
ret
Function at 0x4077a4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4285c0
push 0x424ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [0x428240]
mov ebx, eax
mov dword [ebp - 0x30], ebx
push ebx
call dword [0x42824c]
mov dword [ebp - 0x24], eax
push 0xf
push ebx
mov edi, dword [0x428250]
call edi
mov esi, dword [0x428238]
call esi
mov dword [ebp - 0x20], eax
call esi
sub eax, dword [ebp - 0x20]
je 0x4077f5
call esi
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
rdtsc
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x24]
push ebx
call edi
push 0x3c
call dword [0x42823c]
push 0xf
push ebx
call edi
call esi
mov dword [ebp - 0x2c], eax
call esi
sub eax, dword [ebp - 0x2c]
je 0x407826
call esi
mov esi, eax
rdtsc
mov dword [ebp - 0x34], eax
push dword [ebp - 0x24]
push ebx
call edi
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x20]
xor edx, edx
div esi
mov esi, eax
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ecx, eax
mov eax, esi
xor edx, edx
push 0x64
pop esi
div esi
lea edx, [ecx + ecx*4]
shl edx, 1
sub eax, edx
cmp eax, 5
jb 0x40786c
inc ecx
mov eax, ecx
jmp 0x407889
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40fbe7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
cmp byte [0x47e114], al
je 0x40fdb0
push ebx
push esi
push edi
push 0x42c074
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x2bc
push 0x5a
push 0x5a
push eax
push 0x1e
call dword [0x4280a0]
push eax
mov dword [ebp - 4], eax
push dword [0x47e184]
call dword [0x42809c]
mov esi, dword [0x4280c0]
push 0xa0a0a
push dword [0x47e184]
call esi
push dword [0x47df68]
mov ecx, 0x47df68
call fcn.0041d91e
mov edi, dword [0x428094]
push eax
push 0x6f
push 0xc
push dword [0x47e184]
call edi
mov ebx, 0xff
push ebx
push dword [0x47e184]
call esi
push dword [0x47df68]
mov ecx, 0x47df68
call fcn.0041d91e
push eax
push 0x6e
push 0xa
push dword [0x47e184]
call edi
mov byte [ebp - 0x38], 0x61
mov byte [ebp - 0x37], 0x84
mov byte [ebp - 0x36], 0x6a
mov byte [ebp - 0x35], 0xb7
mov byte [ebp - 0x34], 0x15
mov byte [ebp - 0x33], 0x42
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x9b
mov byte [ebp - 0x30], 0xbf
mov byte [ebp - 0x2f], 0x9e
mov byte [ebp - 0x2e], 0xf3
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0x75
mov byte [ebp - 0x2b], 0xa2
mov byte [ebp - 0x2a], 0xbb
mov byte [ebp - 0x29], 0xf2
mov byte [ebp - 0x28], 0x1e
mov byte [ebp - 0x27], 0x43
mov byte [ebp - 0x26], 0x7c
mov byte [ebp - 0x25], 0x31
mov byte [ebp - 0x24], 0x94
mov byte [ebp - 0x23], 0xa
mov byte [ebp - 0x22], 5
mov byte [ebp - 0x21], 0x4d
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x3a
mov byte [ebp - 0x1e], 0x1b
mov byte [ebp - 0x1d], 0x48
mov byte [ebp - 0x1c], 0x98
mov byte [ebp - 0x1b], 0x16
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0xb2
mov byte [ebp - 0x18], 0x9f
mov byte [ebp - 0x17], 0xf4
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0xb6
mov byte [ebp - 0x14], 4
mov byte [ebp - 0x13], 0x8f
mov byte [ebp - 0x12], 0xda
call fcn.0041c9c5
lea eax, [ebp - 0x38]
push 0x27
push eax
lea ecx, [ebp - 0x10]
call fcn.0041cc47
lea ecx, [ebp - 0x10]
call fcn.0041cee0
lea ecx, [ebp - 0x10]
call fcn.0041cee0
push 0xa0a0a
push dword [0x47e184]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0041d91e
push eax
push 0x8d
push 0x13
push dword [0x47e184]
call edi
push ebx
push dword [0x47e184]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0041d91e
push eax
push 0x8c
push 0x11
push dword [0x47e184]
call edi
push dword [ebp - 4]
call dword [0x4280b0]
lea ecx, [ebp - 0x10]
call fcn.0041cafb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4137a7
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x4137b4
mov al, 1
pop esi
ret
mov edx, dword [esi]
push 1
pop eax
test al, dl
jne 0x41383b
mov ecx, dword [0x47e1ec]
test edx, 0x40000000
je 0x4137cf
cmp ecx, eax
je 0x41383b
test edx, 0x20000000
je 0x4137dc
cmp ecx, 2
je 0x41383b
cmp ecx, eax
jne 0x413804
mov ecx, dword [0x47e1e4]
cmp ecx, 0x5a
je 0x4137ff
cmp dword [0x47e1e0], 4
jne 0x4137ff
neg ecx
sbb ecx, ecx
and ecx, 2
inc ecx
inc ecx
jmp 0x413833
push 8
pop ecx
jmp 0x413833
mov ecx, dword [0x47e1e0]
cmp ecx, 4
ja 0x413813
push 0x10
jmp 0x413801
cmp ecx, 5
jne 0x41382e
mov ecx, dword [0x47e1e4]
test ecx, ecx
jne 0x413826
push 0x20
jmp 0x413801
cmp ecx, eax
jne 0x41382e
push 0x40
jmp 0x413801
mov ecx, 0x80
test ecx, edx
jne 0x41383b
xor al, al
pop esi
ret
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x413856
shr edx, 0x1f
and dl, al
push edx
push 0
push dword [esi + 4]
push ecx
call fcn.0041345d
add esp, 0x10
pop esi
ret
Function at 0x403ba2
Capabilities:
Terminate process

Disassembly:
jmp 0x46a733
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x46a744
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004064ba
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403d0f
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a7f7b
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a7f8c
pop esi
ret
push ebx
push edi
push esi
call fcn.004a7e62
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00404764
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a7fb4
push ebx
push esi
push edi
call fcn.00406267
add esp, 0xc
push 0
call fcn.00406fbe
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x40633e
Capabilities:
Parse pe header

Disassembly:
jmp 0x42ab9d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42abdc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42abdc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42abdc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42abdc
cmp dword [ecx + 0x74], 0xe
jbe 0x42abdc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4a6150
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x59a534]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a619b
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a6612
test al, al
jne 0x4a6195
sub edx, 2
cmp edx, edi
jne 0x4a617b
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a61bd
lea eax, [edi + 2]
cmp edx, eax
je 0x4a61bd
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a5d49
add esp, 0x10
jmp 0x4a62b7
push esi
lea ecx, [ebp - 0x255]
call fcn.004a6612
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a6200
push dword [ebp - 0x25c]
jmp 0x4a61ad
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a623d
cmp word [ebp - 0x226], 0
je 0x4a625e
cmp word [ebp - 0x226], ax
jne 0x4a623d
cmp word [ebp - 0x224], 0
je 0x4a625e
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a5d49
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a62aa
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a6217
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a6292
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a62b7
push 0x4a5731
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040606e
add esp, 0x10
jmp 0x4a6287
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403526
leave
ret