joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d410
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494e88
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
cmp dword [ebp + 8], 0
je 0x41d451
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x41d458
xor al, al
jmp 0x41d5df
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.004733e0
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x41d47c
xor al, al
jmp 0x41d5df
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404650
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x90]
sub ecx, dword [ebp + 8]
add ecx, 1
push ecx
push 0
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402650
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402940
lea ecx, [ebp - 0x70]
call fcn.00403f90
lea ecx, [ebp - 0x28]
call fcn.00403d00
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
je 0x41d4ee
cmp dword [ebp - 0x94], 5
jne 0x41d50f
mov byte [ebp - 0x89], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f90
mov al, byte [ebp - 0x89]
jmp 0x41d5df
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00404650
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp + 8]
add edx, 1
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402650
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402940
lea ecx, [ebp - 0x88]
call fcn.00403f90
push str._:____
lea ecx, [ebp - 0x58]
call fcn.00404650
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xa4]
call fcn.0041ca80
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x41d59c
mov dword [ebp - 0x98], 1
jmp 0x41d5a6
mov dword [ebp - 0x98], 0
mov cl, byte [ebp - 0x98]
mov byte [ebp - 0x8a], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00403f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f90
mov al, byte [ebp - 0x8a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret 4
Function at 0x41d600
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
push 1
push 0x64
push 0
push str.http_shellopencommand
push SysReAllocString
lea eax, [ebp - 0x230]
push eax
call fcn.00401fc0
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push 0x499c3c
lea ecx, [ebp - 0x230]
call fcn.004026b0
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x230]
call sym.Install.exe_public_virtual:_class_DuiLib::IListOwnerUI____thiscall_DuiLib::CListContainerElementUI::GetOwner_void_
sub eax, dword [ebp - 0x268]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x268]
add ecx, 1
push ecx
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x230]
call fcn.00402650
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402940
lea ecx, [ebp - 0x248]
call fcn.00403f90
push 0
push 0x499c40
lea ecx, [ebp - 0x230]
call fcn.004026b0
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
push 0
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x230]
call fcn.00402650
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402940
lea ecx, [ebp - 0x260]
call fcn.00403f90
mov byte [ebp - 0x261], 0
lea ecx, [ebp - 0x230]
call fcn.00403d00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41d787
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x499c44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x41d771
cmp dword [ebp - 0x26c], 0x20
ja 0x41d771
mov dword [ebp - 0x270], 0
jmp 0x41d77b
mov dword [ebp - 0x270], 1
mov dl, byte [ebp - 0x270]
mov byte [ebp - 0x261], dl
movzx eax, byte [ebp - 0x261]
test eax, eax
jne 0x41d84b
push 0x44
push 0
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.004726b0
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x2d0], 0x44
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004726b0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
lea eax, [ebp - 0x218]
push eax
call fcn.0041df80
add esp, 0xc
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x2d0]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41d84b
mov ecx, dword [ebp - 0x288]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00403f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret 4
Function at 0x41d880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], 0
push 0x499cd4
mov eax, dword [ebp + 0xc]
push eax
call fcn.00479d8a
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41d8cf
push 0x499a7f
mov ecx, dword [ebp + 8]
call fcn.00404650
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
jmp 0x41d928
mov byte [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov eax, dword [ebp - 0x30]
push eax
push 0x20
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.00479f6d
add esp, 0x10
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x30]
push edx
call fcn.00479b52
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404650
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret 8

Function at 0x423070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x422e20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
mov esp, ebp
pop ebp
ret

Function at 0x426b50
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 0x426b6e
mov ecx, dword [ebp - 8]
call fcn.0042bad0
jmp 0x426b81
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x426b81
mov ecx, dword [ebp - 8]
call fcn.0042b950
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 0x428610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x428460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov esp, ebp
pop ebp
ret
Function at 0x4289e0
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00403570
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
jmp 0x428a11
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x428a46
push 0
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00403570
push eax
mov ecx, dword [ebp + 8]
call fcn.00403570
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jne 0x428a44
mov byte [ebp - 1], 1
jmp 0x428a46
jmp 0x428a08
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x428a69
movzx edx, byte [ebp - 1]
test edx, edx
je 0x428ab9
mov eax, dword [ebp + 8]
push eax
call fcn.00428480
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x428ab9
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.0042c320
movzx edx, al
test edx, edx
jne 0x428ab9
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.00403570
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042aad0
add esp, 8
push 0
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00403570
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.00403570
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00403570
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428ad8
mov byte [ebp - 2], 1
jmp 0x428adc
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret

Function at 0x428b00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x260], 0
push 0x40
push 0
lea eax, [ebp - 0x25c]
push eax
call fcn.004726b0
add esp, 0xc
mov dword [ebp - 0x21c], 0
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x260], 0x44
xor edx, edx
mov word [ebp - 0x230], dx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.004726b0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x49aa20
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0041df80
add esp, 0x10
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x428bf6
push 0xffffffffffffffff
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x428c09
cmp dword [ebp + 0x10], 0
je 0x428c07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret
Function at 0x428c20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428c5d
xor al, al
jmp 0x428cee
mov ecx, dword [ebp + 0xc]
push ecx
push str._image
lea edx, [ebp - 0x28]
push edx
call fcn.004234d0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
call fcn.0042c320
movzx eax, al
test eax, eax
jne 0x428cc2
mov ecx, dword [ebp + 0x10]
push ecx
push str.__args
lea edx, [ebp - 0x40]
push edx
call fcn.004234d0
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426bf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403bd0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403570
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00428b00
add esp, 0xc
mov byte [ebp - 0x41], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403bd0
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret
Function at 0x429310
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495ccb
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x439], 0
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00403570
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00401820
add esp, 8
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.004726b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0xc0
call fcn.00403570
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
lea ecx, [ebp - 0x438]
call fcn.00403d00
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040b650
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.004726b0
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x44c], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x44c]
mov cx, word [eax]
mov word [ebp - 0x43c], cx
mov edx, dword [ebp - 0x440]
mov ax, word [ebp - 0x43c]
mov word [edx], ax
mov ecx, dword [ebp - 0x44c]
add ecx, 2
mov dword [ebp - 0x44c], ecx
mov edx, dword [ebp - 0x440]
add edx, 2
mov dword [ebp - 0x440], edx
cmp word [ebp - 0x43c], 0
jne 0x429422
mov ecx, dword [ebp + 8]
add ecx, 0xc0
call fcn.00403570
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x420]
add ecx, 0xfffffffe
mov dword [ebp - 0x444], ecx
mov edx, dword [ebp - 0x444]
mov ax, word [edx + 2]
mov word [ebp - 0x446], ax
add dword [ebp - 0x444], 2
cmp word [ebp - 0x446], 0
jne 0x429495
mov edi, dword [ebp - 0x444]
mov ecx, dword [str..dll]
mov dword [edi], ecx
mov edx, dword [0x49a92c]
mov dword [edi + 4], edx
mov ax, word [0x49a930]
mov word [edi + 8], ax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42953f
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x429532
push str.Install_7z
mov eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0
je 0x429532
call dword [ebp - 0x454]
mov byte [ebp - 0x439], al
mov ecx, dword [ebp - 0x450]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dl, byte [ebp - 0x439]
mov byte [ebp - 0x43a], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00403f90
mov al, byte [ebp - 0x43a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret
Function at 0x429cb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495e00
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x26d], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
add ecx, 2
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x274]
mov ax, word [edx]
mov word [ebp - 0x27a], ax
add dword [ebp - 0x274], 2
cmp word [ebp - 0x27a], 0
jne 0x429cfa
mov ecx, dword [ebp - 0x274]
sub ecx, dword [ebp - 0x280]
sar ecx, 1
mov dword [ebp - 0x284], ecx
cmp dword [ebp - 0x284], 4
jbe 0x429ee4
mov dword [ebp - 0x26c], 0
push 0x228
push 0
lea edx, [ebp - 0x268]
push edx
call fcn.004726b0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0xffffffff
je 0x429ee4
mov dword [ebp - 0x26c], 0x22c
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x278]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x429ed7
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00401730
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00401820
add esp, 8
mov byte [ebp - 4], 1
push 0x47c571
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x40]
call fcn.004027d0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x40]
call fcn.004027a0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x290]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004027d0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
call fcn.00425910
add esp, 0x14
push 0x47c571
lea ecx, [ebp - 0x298]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004027d0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004027a0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea ecx, [ebp - 0x28]
call fcn.004027d0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.00425910
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.00403d00
push eax
lea ecx, [ebp - 0x28]
call fcn.00403d00
push eax
call fcn.00474c90
add esp, 8
test eax, eax
je 0x429ea1
mov byte [ebp - 0x26d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403f90
jmp 0x429ed7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403f90
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x278]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x429d9d
mov ecx, dword [ebp - 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x26d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret
Function at 0x42a2c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
add ecx, 2
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x210]
mov ax, word [edx]
mov word [ebp - 0x212], ax
add dword [ebp - 0x210], 2
cmp word [ebp - 0x212], 0
jne 0x42a2eb
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp - 0x218]
sar ecx, 1
mov dword [ebp - 0x21c], ecx
je 0x42a37c
xor edx, edx
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004726b0
add esp, 0xc
push 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a37c
mov al, 1
jmp 0x42a37e
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret
Function at 0x42aad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004726b0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x228]
call fcn.004025d0
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00426510
lea ecx, [ebp - 0x228]
call fcn.00403bd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret
Function at 0x42b950
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 0x42b96b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x42b9d7
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 0x42b9af
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x42b9b6
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 0x42b962
jmp 0x42b9e2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jge 0x42ba4e
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 0x42ba26
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x42ba2d
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 0x42b9d9
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 0x42ba8c
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x42ba93
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 0x42bad0
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 0x42baeb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x42bb57
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 0x42bb2f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x42bb36
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 0x42bae2
mov esp, ebp
pop ebp
ret