joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a6b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a6cb
add esp, 0xfffffff0
call fcn.0040364c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004201dc
mov eax, dword [0x469bc0]
cmp word [eax + 2], 0
jne 0x45a6f3
mov eax, dword [0x469bc0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bda4
mov eax, dword [0x469c94]
cmp word [eax + 2], 0
jne 0x45a70d
mov eax, dword [0x469c94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bf9c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418440]
call fcn.004032f8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418440]
call fcn.004032f8
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], 0xff000018
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 [0x422718]
call fcn.00429ac8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a894
mov eax, dword [0x469a8c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429e98
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c53c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x469a8c]
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]
mov dl, 0x5c
call fcn.0040d0c8
test eax, eax
je 0x45a802
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409024
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0f0
test eax, eax
je 0x45a816
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404324
mov eax, dword [0x4698e8]
cmp byte [eax], 0
jne 0x45a84a
mov eax, ebx
call fcn.0045a9bc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045c718
mov eax, ebx
call fcn.0045d0dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a88a
call fcn.004036a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ac3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46abe0]
cmp dword [eax + 0x30], 0
je 0x45ace6
cmp dword [ebx + 0x94], 0
jne 0x45ace0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45abcc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ace0
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 0x45aca6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ace0
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.0041a7a8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45acb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b848
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 0x45b87d
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.004041a4
jmp 0x45b88a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404108
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c8f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c935
mov eax, esi
call fcn.004430a4
test al, al
je 0x45c935
mov eax, dword [ebx + 0x84]
call fcn.00442da0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c935
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442da0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d754
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebp, dword [esp + 0x14]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor edi, edi
mov ebx, dword [esp + 0xc]
shr ebx, 0x10
mov eax, ebx
shl eax, 0x10
mov ebx, eax
mov eax, edi
shl eax, 0x10
sub ebx, eax
mov eax, ebx
xor edx, edx
div ebp
imul ebp
mov ebx, eax
push 4
push 0x3000
push ebp
push ebx
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
je 0x45d7d2
cmp esi, ebx
je 0x45d7d2
push 0x8000
push 0
push esi
call sub.kernel32.dll_VirtualFree_1
inc edi
jmp 0x45d84b
test esi, esi
jne 0x45d854
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x40], 0x118
jb 0x45d848
mov eax, dword [esp + 0x48]
and eax, 4
cmp eax, 4
jne 0x45d848
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
cmp edx, dword [ebx + 4]
jne 0x45d848
cmp eax, dword [ebx]
jne 0x45d848
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
cmp edx, dword [ebx + 0x114]
jne 0x45d848
cmp eax, dword [ebx + 0x110]
jne 0x45d848
lea eax, [ebx + 8]
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402ccc
je 0x45d854
inc edi
xor ebx, ebx
cmp edi, 0x14
jle 0x45d78b
xor eax, eax
test esi, esi
je 0x45d8ba
cmp esi, ebx
jne 0x45d8d6
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebx + 8]
mov edx, dword [esp]
call fcn.00402c20
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov dword [edx], 1
jmp 0x45d8d6
test ebx, ebx
je 0x45d8d6
inc dword [ebx + 0x108]
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov ecx, dword [ebx + 0x108]
mov dword [edx], ecx
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4600ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x460153
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404574
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x46013d
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404700
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404574
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46013d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x460164
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46013d
cmp dword [ebp - 8], 0x34
jne 0x46013d
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46015a
lea eax, [ebp - 0x10]
call fcn.004040b4
ret

Function at 0x460db0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460f70
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00402d3c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x46978c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x469790], eax
mov eax, dword [ebp - 0x24]
mov dword [0x469794], eax
mov eax, dword [0x469e80]
cmp dword [eax], 2
sete byte [0x469244]
push 0x460f7c
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0046007c
cmp byte [0x469244], 0
jne 0x460e3c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004600ac
test al, al
je 0x460e3c
mov eax, dword [ebp - 0x4c]
mov dword [0x46b184], eax
jmp 0x460e43
xor eax, eax
mov dword [0x46b184], eax
call fcn.00460b28
and eax, 0x7f
cmp eax, 0x10
ja case.0x460e54.0
jmp dword [eax*4 + 0x460e5b]
mov byte [0x469230], 1
jmp case.0x460e54.0
mov byte [0x469234], 1
jmp case.0x460e54.0
mov byte [0x469238], 1
jmp case.0x460e54.0
mov byte [0x46923c], 1
jmp case.0x460e54.0
mov byte [0x469240], 1
jmp case.0x460e54.0
mov byte [0x469248], 1
mov byte [0x46924c], 1
jmp case.0x460e54.0
mov byte [0x469248], 1
mov byte [0x469250], 1
jmp case.0x460e54.0
mov byte [0x469248], 1
mov byte [0x469250], 1
mov byte [0x469254], 1
jmp case.0x460e54.0
mov byte [0x469258], 1
jmp case.0x460e54.0
mov byte [0x46925c], 1
jmp case.0x460e54.0
mov byte [0x469260], 1
jmp case.0x460e54.0
mov byte [0x469264], 1
jmp case.0x460e54.0
mov byte [0x469268], 1
jmp case.0x460e54.0
mov byte [0x46926c], 1
jmp case.0x460e54.0
mov byte [0x469270], 1
jmp case.0x460e54.0
mov byte [0x469274], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460f77
lea eax, [ebp - 4]
call fcn.004040b4
ret
Function at 0x4662fc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46648a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46645b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4664a4
lea eax, [ebp - 0x160]
mov edx, ebx
call fcn.00404318
push dword [ebp - 0x160]
push 0x4664b0
lea eax, [ebp - 0x164]
mov edx, edi
call fcn.00404318
push dword [ebp - 0x164]
lea eax, [ebp - 0x15c]
mov edx, 4
call fcn.00404434
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
mov ecx, 0xff
call fcn.00404350
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d3c
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], si
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x158]
call fcn.00404318
mov eax, dword [ebp - 0x168]
call fcn.00404574
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4663fb
xor ebx, ebx
jmp 0x466402
call sub.kernel32.dll_GetLastError
mov ebx, eax
test ebx, ebx
jne 0x46644a
push 0xa
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
mov eax, dword [0x469c74]
mov eax, dword [eax]
call fcn.0045baf8
cmp ebx, 0x102
je 0x466406
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor ebx, ebx
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x466451
call sub.kernel32.dll_GetLastError
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46646c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466491
lea eax, [ebp - 0x168]
mov edx, 4
call fcn.004040d8
ret
Function at 0x258d86a
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x2236b78
mov esi, dword [ebp + 0xc]
jmp 0x24986b2
push ebp
mov ebp, esp
add cx, dx
shr ecx, 0x64
mov ecx, dword [ebp + 8]
lea esp, [esp - 0x114]
cmp bp, di
clc
cmp bx, 0x26b7
push esi
test ecx, ecx
jmp 0x2247d27

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x401443
pop dword [ebp - 0x14]
mov eax, 0x401443
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xa95bb836
add dword [ebp - 0x24], 0xa4f68d15
mov dword [ebp - 0x20], 0x107da122
add dword [ebp - 0x20], 0x21b5ab23
mov dword [ebp - 0x1c], 0x8c12944f
add dword [ebp - 0x1c], 0xc039afdf
mov dword [ebp - 0x18], 0x98bfdaa0
add dword [ebp - 0x18], 0x67402560
lea eax, [ebp - 0x24]
push eax
mov eax, 0x7f1fe9e9
add eax, 0x8120971b
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xc7080aa8
add dword [ebp - 0x24], 0xad6a5eae
mov dword [ebp - 0x20], 0x5b30c91c
add dword [ebp - 0x20], 0xe63b9859
mov dword [ebp - 0x1c], 0xd7db7163
add dword [ebp - 0x1c], 0x8b93fb09
mov dword [ebp - 0x18], 0xffb28085
sub dword [ebp - 0x18], 0xffb28085
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x5028dd22
sub eax, 0x4fe85c22
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3b4ba
push 0
call eax
mov ecx, 0xbd481ea6
sub ecx, 0xbd47caa1
xor esi, esi
add esi, eax
mov edx, 0x46e400
add edx, dword [ebp - 0x14]
mov edi, 0x93d2d893
sub edi, 0xeac5d1c4
xor dword [ebp - 0x10], ecx
mov ebx, dword [edx]
sub dword [ebp - 4], eax
xor ebx, edi
sub dword [ebp - 4], 0x247e7795
mov dword [esi], ebx
xor dword [ebp - 4], 0xa0cfc693
add esi, 0xa456c233
add esi, 0x5ba93dd1
add edx, 4
loop 0x40155c
add eax, 0x142e7
mov ebx, eax
add eax, 0xfd0b40ab
add eax, 0x2f4bf5a
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x10003420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000342f
pop dword [ebp - 0x34]
mov eax, 0x7410b1e4
add eax, 0x9bef824b
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x350b0
push 0
mov eax, 0x64b9a938
add eax, 0xab46a6d0
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x4238
mov esi, eax
mov edx, 0x2cc24c2b
sub edx, 0x1cc1d82b
add edx, dword [ebp - 0x34]
mov edi, 0xaf860c01
add edi, 0x9878cb42
add dword [ebp - 0x18], ecx
mov ebx, dword [edx]
xor dword [ebp - 0xc], ebx
sub ebx, edi
xor dword [ebp - 0x10], edx
mov dword [esi], ebx
xor dword [ebp - 0x24], 0x41475ce3
add esi, 0x90bf5f1
sub esi, 0x90bf5ed
add edx, 0x4769fb23
add edx, 0xb89604e1
loop 0x10003488
add eax, 0xfbb3
xor ebx, ebx
add ebx, eax
add eax, 0xa6a097dc
sub eax, 0xa6a097d7
mov ecx, 0x6deee5b3
add ecx, 0xa2111a4d
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x10003ae0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
sub ecx, 1
js 0x10003b0b
mov eax, dword [esi + 8]
lea edx, [eax + ecx*4]
mov eax, dword [edx]
movzx eax, word [eax + 6]
cmp eax, 4
je 0x10003b1e
cmp eax, 0xd
je 0x10003b1e
sub edx, 4
sub ecx, 1
jns 0x10003af3
mov eax, dword [esi]
sub eax, 1
je 0x10003b2c
sub eax, 2
je 0x10003b25
mov eax, 2
pop esi
ret
mov eax, 1
pop esi
ret
mov edx, 0x100040e0
jmp 0x10003b31
mov edx, 0x10004020
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x18]
sub edx, eax
sub edx, 0xa
mov dword [ecx + 1], eax
mov eax, dword [esp + 0x10]
mov byte [ecx], 0xb8
mov byte [ecx + 5], 0xe9
mov dword [ecx + 6], edx
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x14], eax
xor eax, eax
pop esi
ret
Function at 0x401ea2
Capabilities:
Terminate process

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

Function at 0x40a60b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40a61a
pop dword [ebp - 0x48]
mov eax, 0x40a61a
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x83635a13
sub dword [ebp - 0x58], 0x351114c8
mov dword [ebp - 0x54], 0x25f4fdd3
sub dword [ebp - 0x54], 0xf3c1b18e
mov dword [ebp - 0x50], 0x22a56f20
sub dword [ebp - 0x50], 0xd6592af2
mov dword [ebp - 0x4c], 0xe0b93351
add dword [ebp - 0x4c], 0x1f46ccaf
lea eax, [ebp - 0x58]
push eax
mov eax, 0x53cbe590
sub eax, 0x538b153c
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x7b248117
add dword [ebp - 0x58], 0xf94de83f
mov dword [ebp - 0x54], 0xc9c52708
add dword [ebp - 0x54], 0x77a73a6d
mov dword [ebp - 0x50], 0xa666bc75
add dword [ebp - 0x50], 0xbd08aff7
mov dword [ebp - 0x4c], 0x18e95a39
add dword [ebp - 0x4c], 0xe716a5c7
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x1b2de2bd
sub eax, 0x1aed1271
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x36568
push 0
call eax
mov ecx, 0xcbe2d046
add ecx, 0x341d6999
mov ebx, eax
mov esi, 0x41b000
add esi, dword [ebp - 0x48]
mov edx, 0xa140af73
add edx, 0x9f8e90ac
add dword [ebp - 0x40], 0x14a1728b
mov edi, dword [esi]
sub dword [ebp - 0x3c], 0xb984f1ab
xor edi, edx
sub dword [ebp - 0x3c], edi
mov dword [ebx], edi
xor dword [ebp - 8], 0xab1fcce5
add ebx, 0x5efce1c6
sub ebx, 0x5efce1c2
add esi, 0x48ecc0f8
sub esi, 0x48ecc0f4
loop 0x40a731
add eax, 0xda4f
xor ebx, ebx
add ebx, eax
add eax, 0x5adb642c
add eax, 0xa5249bd9
mov ecx, 0xb39ec5d8
sub ecx, 0xb35ec5d8
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x403020
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440680
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x2c
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call sub.VCRUNTIME140.dll_memset
lea edi, [esi + 0x3c]
add esp, 0xc
lea eax, [edi + 0x10]
mov dword [ebp - 0x10], edi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x403118
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.0041d360
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
movups xmmword [esi + 0x74], xmm0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4058d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x405931
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x405914
cmp edi, 2
jb 0x405914
cmp byte [esi], cl
jne 0x405914
cmp byte [esi + 1], cl
jne 0x405914
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x441718]
jmp 0x4058e5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x441718]
test edi, edi
jne 0x4058e5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x405960
cmp cl, 0x23
jne 0x405947
cmp byte [esi], cl
jne 0x405947
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x441718]
test cl, cl
jne 0x405938
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x405af0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x405b03
mov dword [ebx], 0
mov edx, 0x446a14
call fcn.00405970
mov esi, eax
test esi, esi
je 0x405c22
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x405c18
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x405c18
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x405c18
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x405c18
mov ecx, edi
call fcn.00409630
mov dword [ebp + 8], eax
test eax, eax
je 0x405c18
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x405c01
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x44a520]
add esp, 4
test ecx, ecx
je 0x405bee
movsx edx, word [ecx + 0x5ee4]
lea eax, [ecx + 0x5ee8]
mov esi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x405be4
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x5ee4], ax
cwde
add eax, 0xbdd
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5ee0]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x405c10
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret