joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002af29
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002af7e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 1
mov eax, dword [ebp - 0x14]
push dword [eax]
push 0x6dc2
push 0x5df
mov eax, dword [ebp - 0x18]
push dword [eax]
call fcn.1002a8be
add esp, 0x18
jmp 0x1002af9c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002af9c
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esp, ebp
pop ebp
ret

Function at 0x1002afef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002b019
push 0
push 0x345
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
jmp 0x1002b036
push 0
push 0
push 0
push 0
push 0x373
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop ebp
ret

Function at 0x1002b31c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002b333
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1002b348
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x643cdf98
mov esp, ebp
pop ebp
ret

Function at 0x1002be5e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002beb9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002be9a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x1002beb7
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.10018dda
mov dword [eax], 0x7903899
jmp 0x1002be8f
jmp 0x1002bede
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002bede
push 0x2561
push 0x1023
push 0
push 0x20dc
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x1002bfe2
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002c10c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1002c030
xor eax, eax
je 0x1002c041
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002c041
mov dword [ebp - 0xc], 1
jmp 0x1002c045
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jg 0x1002c058
mov dword [ebp - 0x10], 1
jmp 0x1002c05c
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
je 0x1002c06f
mov dword [ebp - 0x14], 1
jmp 0x1002c073
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 7
jg 0x1002c082
mov dword [ebp - 0x18], 1
jmp 0x1002c086
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x18]
cmp dword [eax], ecx
je 0x1002c09e
mov dword [ebp - 0x1c], 1
jmp 0x1002c0a2
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
neg eax
cmp eax, 0xa5b7
jne 0x1002c0b7
mov dword [ebp - 0x20], 1
jmp 0x1002c0bb
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jl 0x1002c0ce
mov dword [ebp - 0x24], 1
jmp 0x1002c0d2
and dword [ebp - 0x24], 0
push 2
mov ecx, dword [ebp - 0x28]
call fcn.10018dda
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x1002c0ec
mov dword [ebp - 0x2c], 1
jmp 0x1002c0f0
and dword [ebp - 0x2c], 0
push 2
mov ecx, dword [ebp - 0x28]
call fcn.10018dda
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [eax]
mov eax, dword [ebp - 8]
sub ecx, dword [eax]
mov eax, dword [ebp - 8]
mov dword [eax], ecx
jmp 0x1002c11c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov esp, ebp
pop ebp
ret
Function at 0x1002da96
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002dab2
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1002dc26
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
push 3
mov ecx, dword [ebp - 0xc]
call fcn.10018dda
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1002dbce
push 3
mov ecx, dword [ebp - 0xc]
call fcn.10018dda
push 1
mov ecx, dword [ebp - 0x28]
call fcn.10018dda
mov eax, dword [eax]
neg eax
cmp eax, 0x6721f7d
jne 0x1002db3a
mov dword [ebp - 0x10], 1
jmp 0x1002db3e
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
je 0x1002db5d
push 0
mov ecx, dword [ebp - 4]
call fcn.10018dda
cmp dword [eax], 0
jne 0x1002db5d
and dword [ebp - 0x14], 0
jmp 0x1002db64
mov dword [ebp - 0x14], 1
push 0
mov ecx, dword [ebp - 4]
call fcn.10018dda
mov ecx, dword [ebp - 0x14]
imul ecx, dword [eax]
test ecx, ecx
je 0x1002db8a
mov eax, 0xfffb
test eax, eax
je 0x1002db8a
mov dword [ebp - 0x18], 1
jmp 0x1002db8e
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10018dda
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jge 0x1002dba8
mov dword [ebp - 0x1c], 1
jmp 0x1002dbac
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xa9d9e177
ja 0x1002dbbe
mov dword [ebp - 0x20], 1
jmp 0x1002dbc2
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xfffffffb
jne 0x1002dbce
and dword [ebp - 0x24], 0
jmp 0x1002dbd5
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 1
je 0x1002dbe4
mov dword [ebp - 0x48], 1
jmp 0x1002dbe8
and dword [ebp - 0x48], 0
push 1
mov ecx, dword [ebp - 0x28]
call fcn.10018dda
mov esi, eax
push 2
mov ecx, dword [ebp - 4]
call fcn.10018dda
mov esi, dword [esi]
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 4]
call fcn.10018dda
cmp esi, dword [eax]
jle 0x1002dc1a
mov dword [ebp - 0x2c], 1
jmp 0x1002dc1e
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002f86d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002f8b4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x1002f8e2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002f8e2
push 0
push 0x911
push 0
push 0
push 0xfcc
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x100322f2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.100300cb
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10032322
xor eax, eax
jmp 0x10032468
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10032340
xor eax, eax
jmp 0x10032468
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.10030113
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1003235f
xor eax, eax
jmp 0x10032468
lea eax, [ebp - 8]
push eax
push 1
push 0x26ee
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10030168
add esp, 0x1c
push 0x276c
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 4]
push 0
call fcn.1002e65a
add esp, 0x14
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1003221d
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x100323c6
push dword [ebp - 0x14]
push 1
push dword [ebp - 4]
call fcn.1002ddf3
add esp, 0xc
push dword [ebp - 4]
call fcn.1002fc69
pop ecx
test eax, eax
jne 0x100323da
xor eax, eax
jmp 0x10032468
push 0x4235
push 0
push dword [ebp - 4]
push 0x4ece
push 0x769e
push 0x1234
push 0x2797
call fcn.10030168
add esp, 0x1c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10032450
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 0x1003241f
xor eax, eax
jmp 0x10032468
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10032438
xor eax, eax
jmp 0x10032468
push 1
push 0x6928
lea eax, [ebp - 4]
push eax
push 0x29e1
call fcn.1003227b
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10032461
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10032465
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1003246c
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100324b1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x100324cc
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100324cc
push 0
push 0x241f
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esp, ebp
pop ebp
ret
Function at 0x1004b6c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004b6d9
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1004b71a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.10018dda
mov esi, eax
push 1
mov ecx, dword [ebp - 0x18]
call fcn.10018dda
mov ecx, dword [esi]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004b803
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004b81e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
jmp 0x1004b837
push 0x2561
push 0x1023
push 0
push 0x20dc
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x1004bd39
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004bd82
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x18], 0
jbe 0x1004bd80
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 0x18]
push 0
call fcn.100476d3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x1004bd9a
push 0
push 0x911
push 0
push 0
push 0xfcc
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x10067b50
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 0x10067b6e
mov ecx, dword [ebp - 8]
call fcn.100694a0
jmp 0x10067b81
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x10067b81
mov ecx, dword [ebp - 8]
call fcn.10069320
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 0x10069320
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x1006933b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x100693a7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1006937f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x10069386
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 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10069332
jmp 0x100693b2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jge 0x1006941e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x100693f6
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x100693fd
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
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 0x100693a9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x1006945c
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x10069463
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x100694a0
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 0x100694bb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x10069527
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 0x100694ff
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x10069506
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 0x100694b2
mov esp, ebp
pop ebp
ret
Function at 0x1007edcd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10091330]
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.10075f5c
mov dword [ebp - 0x14], eax
cmp dword [0x1067e678], esi
jne 0x1007eec0
push 0x800
push esi
push 0x100069a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007ee4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007efa0
push esi
push esi
push 0x100069a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007efa0
push 0x100069bc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007efa0
push eax
call ebx
push 0x100069c8
push edi
mov dword [0x1067e678], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100069d8
push edi
mov dword [0x1067e67c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100069ec
push edi
mov dword [0x1067e680], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067e688], eax
test eax, eax
je 0x1007eebd
push 0x10006a08
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067e684], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007eee5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007eed8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007eefa
push 4
pop eax
jmp 0x1007efa2
cmp dword [ebp - 0x14], esi
je 0x1007eefa
push dword [0x1067e678]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007eedf
mov eax, dword [0x1067e684]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007ef58
cmp dword [0x1067e688], edi
je 0x1007ef58
push eax
call ebx
push dword [0x1067e688]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007ef58
test eax, eax
je 0x1007ef58
call ecx
test eax, eax
je 0x1007ef4d
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 0x1007ef4d
test byte [ebp - 8], 1
jne 0x1007ef58
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007ef88
mov eax, dword [0x1067e67c]
cmp eax, edi
je 0x1007ef85
push eax
call ebx
test eax, eax
je 0x1007ef85
call eax
mov esi, eax
test esi, esi
je 0x1007ef85
mov eax, dword [0x1067e680]
cmp eax, edi
je 0x1007ef85
push eax
call ebx
test eax, eax
je 0x1007ef85
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067e678]
call ebx
test eax, eax
je 0x1007efa0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007efa2
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 0x414750
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46fd6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00464773
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4147d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046268a
mov eax, dword [eax]
push 0x4881f0
push eax
call fcn.004553e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004649fe
test bl, bl
je 0x4147d2
push 0x4881f0
lea ecx, [esp + 0xc]
call fcn.00464d8e
push 0x48bd6c
lea ecx, [esp + 0xc]
call fcn.00464d8e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41480e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004649fe
jmp 0x4148d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x414892
lea edx, [esp + 0x7c]
push 0x48bd68
push edx
call fcn.004553e4
add esp, 8
test eax, eax
je 0x414892
lea eax, [esp + 0x7c]
push 0x48bd64
push eax
call fcn.004553e4
add esp, 8
test eax, eax
je 0x414892
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414822
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004649fe
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4150d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x415132
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc