joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003aff2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003b016
push 0
push 0xbe3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1003b1bf
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], 0xd76c
mov eax, dword [ebp - 4]
cmp dword [eax], 0xd76c
jle 0x1003b06f
mov dword [ebp - 0x18], 1
jmp 0x1003b073
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0x3d5943e2
jne 0x1003b087
mov dword [ebp - 0xc], 1
jmp 0x1003b08b
and dword [ebp - 0xc], 0
imul eax, dword [ebp - 0xc], 0x4c6a
test eax, eax
jg 0x1003b09f
mov dword [ebp - 0x54], 1
jmp 0x1003b0a3
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0x9229
jne 0x1003b0b7
mov dword [ebp - 0x10], 1
jmp 0x1003b0bb
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x44262821
je 0x1003b0ca
mov eax, dword [ebp - 4]
cmp dword [eax], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jne 0x1003b0e4
mov dword [ebp - 0x14], 1
jmp 0x1003b0e8
and dword [ebp - 0x14], 0
imul eax, dword [ebp - 0x14], 0xfffffffb
cmp eax, 0xffffffff
jge 0x1003b0fa
mov dword [ebp - 0x1c], 1
jmp 0x1003b0fe
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jl 0x1003b10f
mov dword [ebp - 0x20], 1
jmp 0x1003b113
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x6337
jle 0x1003b125
mov dword [ebp - 8], 1
jmp 0x1003b129
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
imul eax, dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx], eax
jg 0x1003b14d
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
je 0x1003b14d
mov dword [ebp - 0x24], 1
jmp 0x1003b151
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 2
jge 0x1003b160
mov dword [ebp - 0x28], 1
jmp 0x1003b164
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xa81d68c2
jae 0x1003b176
mov dword [ebp - 0x2c], 1
jmp 0x1003b17a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jle 0x1003b192
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1003b192
and dword [ebp - 0x30], 0
jmp 0x1003b199
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
add eax, dword [ebp - 0x30]
neg eax
cmp eax, 0x3222c7e1
jg 0x1003b1b3
mov dword [ebp - 0x38], 1
jmp 0x1003b1b7
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003e1c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003e2ec
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1003e213
mov dword [ebp - 8], 1
jmp 0x1003e217
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1003e241
mov dword [ebp - 0x10], 1
jmp 0x1003e245
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1003e25e
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1003e25e
mov dword [ebp - 0x14], 1
jmp 0x1003e262
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
cmp eax, 1
jl 0x1003e276
mov dword [ebp - 0x18], 1
jmp 0x1003e27a
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jge 0x1003e28d
mov dword [ebp - 0x1c], 1
jmp 0x1003e291
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jg 0x1003e2a4
mov dword [ebp - 0x20], 1
jmp 0x1003e2a8
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x1003e2bb
mov dword [ebp - 0x24], 1
jmp 0x1003e2bf
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ebp - 0x24]
cmp eax, 0xf3e76e5b
jae 0x1003e2d7
mov dword [ebp - 0x28], 1
jmp 0x1003e2db
and dword [ebp - 0x28], 0
push 0
mov ecx, dword [ebp - 0x40]
call fcn.1000e93c
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x1003e2f6
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esp, ebp
pop ebp
ret
Function at 0x100467eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10046804
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
jmp 0x1004681e
push 0x455
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret
Function at 0x1004d939
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1004d16d
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004d969
xor eax, eax
jmp 0x1004daaa
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.1004d1af
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1004d991
xor eax, eax
jmp 0x1004daaa
push 0x5a89
push 1
push 0x218b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1004d20b
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1004d9ba
xor eax, eax
jmp 0x1004daaa
lea eax, [ebp - 4]
push eax
push 0x8f5
push 1
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5744
push dword [ebp - 0x10]
call fcn.1004cff6
add esp, 0x20
push 0x39cb
push dword [ebp - 4]
push dword [ebp + 8]
push 0x7bf2
push 0
push dword [ebp - 8]
call fcn.10045bd5
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1004da1d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1004d29e
add esp, 0xc
push dword [ebp - 4]
call fcn.1004cd64
pop ecx
test eax, eax
jne 0x1004da2e
xor eax, eax
jmp 0x1004daaa
lea eax, [ebp - 4]
push eax
push 0x6ce5
push 1
push 0x577b
push 0x6de
push 0x1d38
call fcn.1004d2f7
add esp, 0x18
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1004da92
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1004da6f
xor eax, eax
jmp 0x1004daaa
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1004da88
xor eax, eax
jmp 0x1004daaa
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1004daa3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1004daa7
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1007caa6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10087330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006b814
mov dword [ebp - 0x14], eax
cmp dword [0x12674460], esi
jne 0x1007cb99
push 0x800
push esi
push 0x1000a868
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007cb26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007cc79
push esi
push esi
push 0x1000a868
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007cc79
push 0x1000a880
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007cc79
push eax
call ebx
push 0x1000a88c
push edi
mov dword [0x12674460], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000a89c
push edi
mov dword [0x12674464], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000a8b0
push edi
mov dword [0x12674468], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x12674470], eax
test eax, eax
je 0x1007cb96
push 0x1000a8cc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1267446c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007cbbe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007cbb1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007cbd3
push 4
pop eax
jmp 0x1007cc7b
cmp dword [ebp - 0x14], esi
je 0x1007cbd3
push dword [0x12674460]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007cbb8
mov eax, dword [0x1267446c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007cc31
cmp dword [0x12674470], edi
je 0x1007cc31
push eax
call ebx
push dword [0x12674470]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007cc31
test eax, eax
je 0x1007cc31
call ecx
test eax, eax
je 0x1007cc26
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007cc26
test byte [ebp - 8], 1
jne 0x1007cc31
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007cc61
mov eax, dword [0x12674464]
cmp eax, edi
je 0x1007cc5e
push eax
call ebx
test eax, eax
je 0x1007cc5e
call eax
mov esi, eax
test esi, esi
je 0x1007cc5e
mov eax, dword [0x12674468]
cmp eax, edi
je 0x1007cc5e
push eax
call ebx
test eax, eax
je 0x1007cc5e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x12674460]
call ebx
test eax, eax
je 0x1007cc79
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007cc7b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x43b651
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
pop eax
push ebx
pop ebx
call fcn.0043b681
add edx, 0x3ea9debc
add ebx, 0x56db4b74
xor dword [edi], eax
add ebx, edx
inc ebx
inc edi
and ebx, ebx
cmp edi, ecx
jne fcn.0043b651
mov edx, ebx
sub ebx, edx
ret
Function at 0x402290
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f32b
mov eax, dword fs:[0]
push eax
mov eax, 0x11e0
call fcn.0041d250
mov eax, dword [0x44f100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x113c], 0
push 1
lea ecx, [ebp - 0x11ec]
call fcn.0040b7a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1134]
push eax
push 0x1000
lea ecx, [ebp - 0x1114]
push ecx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x4023c8
mov edx, dword [ebp - 0x1134]
shr edx, 2
mov dword [ebp - 0x1134], edx
mov dword [ebp - 0x1130], 0
jmp 0x402327
mov eax, dword [ebp - 0x1130]
add eax, 1
mov dword [ebp - 0x1130], eax
mov ecx, dword [ebp - 0x1130]
cmp ecx, dword [ebp - 0x1134]
jae 0x4023c8
mov edx, dword [ebp - 0x1130]
cmp dword [ebp + edx*4 - 0x1114], 0
je 0x4023c3
mov eax, dword [ebp - 0x1130]
mov ecx, dword [ebp + eax*4 - 0x1114]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1138], eax
cmp dword [ebp - 0x1138], 0
je 0x4023c3
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0
mov eax, dword [ebp - 0x1138]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExA
test eax, eax
je 0x4023b5
push 0x4417b0
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x11dc]
push edx
call fcn.00403e30
add esp, 8
push eax
call fcn.004041a0
add esp, 8
mov eax, dword [ebp - 0x1138]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x402318
lea ecx, [ebp - 0x112c]
push ecx
lea ecx, [ebp - 0x11ec]
call fcn.00419680
nop
lea ecx, [ebp - 0x112c]
call fcn.004162c0
movzx edx, al
test edx, edx
jne 0x40240c
lea ecx, [ebp - 0x112c]
call fcn.00414300
movzx eax, word [eax]
cmp eax, 0x26
jne 0x40240c
lea ecx, [ebp - 0x112c]
call fcn.00417ee0
nop
lea ecx, [ebp - 0x112c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040b420
mov edx, dword [ebp - 0x113c]
or edx, 1
mov dword [ebp - 0x113c], edx
lea ecx, [ebp - 0x112c]
call fcn.0040d270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11ec]
call fcn.0040eed0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041cffe
mov esp, ebp
pop ebp
ret
Function at 0x409060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f8dd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x44f100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00405600
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00409830
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.004039e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00403260
nop
mov dword [ebp - 0x20], 0x407d50
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.004032b0
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.0042892d
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x409101
lea ecx, [ebp - 0x14]
call fcn.004032c0
nop
jmp 0x409113
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.0041afb6
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403260
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ec80
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x40ec9f
mov ecx, dword [ebp - 8]
call fcn.00412cd0
nop
jmp 0x40ecb3
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x40ecb3
mov ecx, dword [ebp - 8]
call fcn.00412b30
nop
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x412b30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0x26f
mov dword [ebp - 0x2c], 0xe3
mov dword [ebp - 8], 0
jmp 0x412b59
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x412bc5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x412b9d
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x412ba4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x412b50
mov dword [ebp - 0xc], 0xe3
jmp 0x412bd7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x412c43
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x412c1b
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x412c22
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
shr eax, 1
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x412bce
mov dword [ebp - 0x30], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x412c8c
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x412c93
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0x24]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret
Function at 0x412cd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x412ceb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x412d57
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x412d2f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x412d36
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x412ce2
mov esp, ebp
pop ebp
ret
Function at 0x41a070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x41a090
jl 0x41a087
cmp dword [ebp + 0xc], 0
ja 0x41a090
xor eax, eax
xor edx, edx
jmp 0x41a1c8
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x41a0b2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0041a1d0
jmp 0x41a1c8
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00410ef0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x41a122
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00409910
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00416860
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00414650
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.00416770
nop
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x41a1b9
mov ecx, dword [ebp - 8]
call fcn.00412e50
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x41a192
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0042346b
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x41a190
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x41a1c8
jmp 0x41a13e
cmp dword [ebp - 4], 0
jbe 0x41a1b9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0042346b
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41db74
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41dbb3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41dbb3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41dbb3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41dbb3
cmp dword [ecx + 0x74], 0xe
jbe 0x41dbb3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret