joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437b70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.004176a0
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x437bb1
xor eax, eax
jmp 0x437c28
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x437c0b
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.004412b0
mov ecx, eax
call fcn.0040e570
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x240], eax
jmp 0x437bca
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
call fcn.0053ad00
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret

Function at 0x437c40
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437cdf
lea eax, [ebp - 0x218]
push eax
push 4
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x437cd5
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x438600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x438624
xor eax, eax
jmp 0x438695
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x438692
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push 0
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4390d0
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 1
test eax, eax
je 0x439161
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.005b4de0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439131
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43914c
jmp 0x439161
cmp dword [ebp - 8], 0xa
jl 0x439156
xor eax, eax
jmp 0x439166
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x4390f1
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x43b070
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jb 0x43b0c9
cmp dword [ebp - 0x120], 2
jb 0x43b0c9
mov eax, 1
jmp 0x43b0db
cmp dword [ebp - 0x124], 0xa
jb 0x43b0d9
mov eax, 1
jmp 0x43b0db
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret

Function at 0x43b0f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 0xa
jb 0x43b140
mov eax, 1
jmp 0x43b142
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret

Function at 0x43b150
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], 5
jg 0x43b1bf
cmp dword [ebp - 8], 2
jg 0x43b1bf
mov eax, 1
jmp 0x43b1c1
xor eax, eax
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x43bd70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x11c
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x43be5d
cmp dword [ebp - 0x12c], 6
jb 0x43be5d
mov byte [ebp - 0x131], 0
mov dword [ebp - 0x13c], 0
lea edx, [ebp - 0x13c]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43be02
mov al, 1
jmp 0x43be5f
mov dword [ebp - 0x138], 0
lea eax, [ebp - 0x138]
push eax
push 4
lea ecx, [ebp - 0x140]
push ecx
push 0x14
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43be48
cmp dword [ebp - 0x138], 4
jne 0x43be48
cmp dword [ebp - 0x140], 0
setne al
mov byte [ebp - 0x131], al
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x131]
jmp 0x43be5f
mov al, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x43c4b0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1410
call fcn.005b5230
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push 0x643678
lea ecx, [ebp - 0x7d8]
push ecx
call fcn.005b50ec
add esp, 0xc
lea edx, [ebp - 0xa30]
push edx
lea eax, [ebp - 0x7d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa34], eax
cmp dword [ebp - 0xa34], 0xffffffff
je 0x43c665
lea ecx, [ebp - 0xa30]
push ecx
mov edx, dword [ebp - 0xa34]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x7dc], eax
cmp dword [ebp - 0x7dc], 0
jne 0x43c52e
jmp 0x43c665
movzx eax, word [ebp - 0xa04]
cmp eax, 0x2e
jne 0x43c53c
jmp 0x43c4f9
movzx ecx, word [ebp - 0xa02]
test ecx, ecx
jne 0x43c549
jmp 0x43c4f9
movzx edx, word [ebp - 0xa02]
cmp edx, 0x2e
jne 0x43c562
movzx eax, word [ebp - 0xa00]
test eax, eax
jne 0x43c562
jmp 0x43c4f9
mov ecx, dword [ebp - 0xa30]
and ecx, 0x10
je 0x43c5f5
xor edx, edx
mov word [ebp - 0x1410], dx
push 0x206
push 0
lea eax, [ebp - 0x140e]
push eax
call fcn.005b4de0
add esp, 0xc
lea ecx, [ebp - 0xa04]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x643684
lea eax, [ebp - 0x1410]
push eax
call fcn.005b50ec
add esp, 0x10
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1410]
push edx
call fcn.0043c4b0
add esp, 8
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43c5f5
lea ecx, [ebp - 0x1410]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c5f5
push 4
push 0
lea edx, [ebp - 0x1410]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0xa04]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x643690
lea edx, [ebp - 0x1208]
push edx
call fcn.005b50ec
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x43c62d
push 5
push 0
lea eax, [ebp - 0x1208]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x43c660
lea ecx, [ebp - 0x1208]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43c660
lea edx, [ebp - 0x1208]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c660
push 5
push 0
lea eax, [ebp - 0x1208]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x43c4f9
mov ecx, dword [ebp - 0xa34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x43d1e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x43d32a
lea eax, [ebp - 0xc]
push eax
push 0x661144
push 1
push 0
push 0x661154
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x43d324
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0x10], 0
je 0x43d251
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
cmp dword [ebp + 0x18], 0
je 0x43d269
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x3c]
call eax
movzx ecx, word [ebp + 0x1c]
test ecx, ecx
je 0x43d284
movzx edx, word [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x34]
call eax
cmp dword [ebp + 0x14], 0
je 0x43d29e
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x44]
call edx
cmp dword [ebp + 0x20], 0
je 0x43d2b6
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x24]
call ecx
cmp dword [ebp + 0x24], 0
je 0x43d2ce
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x2c]
call eax
lea ecx, [ebp - 0x10]
push ecx
push 0x661124
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x43d316
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x18]
call ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43e5b0
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e5cb
xor al, al
jmp 0x43e6c8
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43e5ef
xor al, al
jmp 0x43e6c8
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 8]
push eax
call fcn.005b5429
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43e668
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43e668
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 0x644308
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43e668
push 0x34
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.005b5620
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x44], 0xfeef04bd
sete al
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 4]
push ecx
call fcn.005b525b
add esp, 4
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x43e680
xor al, al
jmp 0x43e6c8
mov eax, dword [ebp - 0x3c]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0x3c]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 0x38]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 0x38]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x441bd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0x20
xor eax, eax
je 0x441bf3
or edx, 0xffffffff
mov ecx, dword [ebp - 8]
shl edx, cl
not edx
mov dword [ebp - 0x18], edx
jmp 0x441bfa
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
and ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
jmp 0x441c27
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x270
jge 0x441c5e
mov eax, dword [ebp - 4]
shr eax, 0x1e
xor eax, dword [ebp - 4]
imul eax, eax, 0x6c078965
add eax, dword [ebp - 0x10]
and eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
jmp 0x441c1e
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x270
mov esp, ebp
pop ebp
ret 4

Function at 0x4436c0
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 0x4436de
mov ecx, dword [ebp - 8]
call fcn.004438a0
jmp 0x4436f1
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x4436f1
mov ecx, dword [ebp - 8]
call fcn.00443750
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
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shl edx, 0xf
and edx, 0xefc60000
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 0x12
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x443750
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
jmp 0x44376b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x4437cd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp - 0xc]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 4], edx
jmp 0x443762
jmp 0x4437d8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x26f
jge 0x44383c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + edx*4 + 0x9c8]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
shr eax, 1
mov ecx, dword [ebp - 0x10]
and ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor eax, ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + edx*4 - 0x388]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 4], eax
jmp 0x4437cf
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
and eax, 0x7fffffff
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp - 8]
and edx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
mov eax, dword [ebp - 0x14]
xor ecx, dword [eax + 0x634]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x270
jmp 0x4438bb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x44391d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp - 8]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor edx, dword [eax + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [eax + ecx*4 + 4], edx
jmp 0x4438b2
mov esp, ebp
pop ebp
ret
Function at 0x445f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62a438
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x445fa0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x445fac
mov al, 1
jmp 0x44614f
mov dword [ebp - 0x10], 8
call fcn.004436b0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004436b0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004441d0
add esp, 8
movzx eax, al
test eax, eax
je 0x445fef
xor al, al
jmp 0x44614f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00446170
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00440ea0
mov ecx, eax
call fcn.00441170
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0040ee50
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00440ea0
mov ecx, eax
call fcn.00441170
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00446a40
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x44606a
cmp dword [ebp - 0x6c], 1
je 0x446071
cmp dword [ebp - 0x6c], 3
je 0x44610b
jmp 0x446123
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00440ea0
mov ecx, eax
call fcn.00441170
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x4460d4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00440ea0
mov ecx, eax
call fcn.00441170
push eax
call fcn.005b7f37
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4460d4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e3e0
mov al, byte [ebp - 0x61]
jmp 0x44614f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x4460f7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e3e0
mov al, byte [ebp - 0x62]
jmp 0x44614f
cmp dword [ebp - 0x38], 0
jne 0x446109
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00441470
jmp 0x44613b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e3e0
mov al, byte [ebp - 0x63]
jmp 0x44614f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e3e0
mov al, byte [ebp - 0x64]
jmp 0x44614f
jmp 0x446002
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret