joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410fc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 0
push 0x40
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.005796b0
add esp, 0xc
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov cx, word [ebp + 0x20]
mov word [ebp - 0x18], cx
movzx edx, word [ebp + 0x20]
test edx, edx
jne 0x411010
mov eax, dword [ebp + 0x24]
or eax, 0x8000000
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 0x28]
call fcn.00405570
movzx ecx, al
test ecx, ecx
je 0x411028
mov dword [ebp - 0x60], 0
jmp 0x411033
mov ecx, dword [ebp + 0x28]
call fcn.00405580
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp + 0x24]
push edx
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00405580
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x41108d
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x411079
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x64], 1
jne 0x41109c
mov dword [ebp - 0x68], 1
jmp 0x4110a3
mov dword [ebp - 0x68], 0
mov cl, byte [ebp - 0x68]
mov byte [ebp - 0x59], cl
lea ecx, [ebp + 8]
call fcn.00405650
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret

Function at 0x4112c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73553b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x438]
call fcn.00405770
mov dword [ebp - 4], 0
push 0x410
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.005796b0
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x411378
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x438]
call fcn.00405600
lea ecx, [ebp - 0x438]
call fcn.00414500
movzx eax, word [eax]
cmp eax, 0x5c
je 0x411378
lea ecx, [ebp - 0x438]
call fcn.00414500
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x411378
push 0x5c
lea ecx, [ebp - 0x438]
call fcn.00414530
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408a10
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00405650
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.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x412020
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x412066
jmp 0x4120dd
push 0xf01ff
mov ecx, dword [ebp + 8]
call fcn.00405580
push eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x412089
jmp 0x4120dd
mov dword [ebp - 0x2c], 0
jmp 0x41209b
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 2
jge 0x4120cb
lea edx, [ebp - 0x20]
push edx
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4120be
mov dword [ebp - 0x30], 1
jmp 0x4120cb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x412092
cmp dword [ebp - 0x30], 0
jne 0x4120d3
jmp 0x4120dd
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
cmp dword [ebp - 0x24], 0
je 0x4120ed
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x28], 0
je 0x4120fd
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x38], 0
je 0x41210c
mov dword [ebp - 0x34], 1
jmp 0x412113
mov dword [ebp - 0x34], 0
mov al, byte [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x412130
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735758
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2a9], 1
lea ecx, [ebp - 0x28]
call fcn.00405770
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00405770
mov byte [ebp - 4], 1
mov dword [ebp - 0x2b0], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.004147c0
lea ecx, [ebp - 0x28]
call fcn.00405570
movzx ecx, al
test ecx, ecx
jne 0x4121cd
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x28]
call fcn.00414650
mov ecx, eax
call fcn.004142c0
movzx eax, word [eax]
cmp eax, 0x5c
je 0x4121cd
push 0x7ed1b0
lea ecx, [ebp - 0x28]
call fcn.004055b0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004147c0
push 0x7ed1b4
lea ecx, [ebp - 0x58]
call fcn.004055b0
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x58]
call fcn.00405580
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2a8]
and eax, 0x10
je 0x4122b5
push 0x7ed1bc
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x41223d
push 0x7ed1c0
lea edx, [ebp - 0x27c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x41223f
jmp 0x4122be
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x412253
mov byte [ebp - 0x2a9], 0
jmp 0x4122da
lea ecx, [ebp - 0x40]
call fcn.00405770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004147c0
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x40]
call fcn.004055b0
movzx eax, byte [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00412130
add esp, 8
movzx edx, al
test edx, edx
jne 0x4122a7
mov byte [ebp - 0x2a9], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00405650
jmp 0x4122da
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00405650
jmp 0x4122be
mov byte [ebp - 0x2a9], 0
jmp 0x4122da
lea eax, [ebp - 0x2a8]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x412202
mov edx, dword [ebp - 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x2a9]
mov byte [ebp - 0x2aa], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405650
mov al, byte [ebp - 0x2aa]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x4125e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00405580
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41260f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41260f
xor al, al
jmp 0x412611
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x413200
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735910
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
push 0x7ed34c
lea ecx, [ebp - 0x2c]
call fcn.00405710
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0x34
push 0
lea ecx, [ebp + 0xc]
call fcn.00405580
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41336c
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
jne 0x4132a0
xor ecx, ecx
mov eax, dword [ebp - 0x38]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fb7d7
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
jmp 0x413273
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.00405580
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41333c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0x7ed350
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41333c
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x7ed354
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00405600
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
push 2
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004fb533
add esp, 8
cmp dword [ebp - 0x3c], 0
jne 0x41335f
mov dword [ebp - 0x48], 0
jmp 0x41336c
mov dword [ebp - 0x34], 0x8123
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408a10
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405650
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.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x416c20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x208], 0x100
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.005796b0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0xff
lea eax, [ebp - 0x204]
push eax
call fcn.00417a60
add esp, 0x14
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret

Function at 0x416ca0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0x100
push 0x100
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.005796b0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
call fcn.00417a90
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret

Function at 0x416d10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x208], 0x100
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.005796b0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0xff
lea edx, [ebp - 0x204]
push edx
call fcn.00417a60
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x4189b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735fae
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x7ed3f0
call fcn.00405710
mov dword [ebp - 0x70], eax
push 0
mov ecx, dword [ebp - 0x60]
call fcn.00419870
mov byte [ebp - 0x59], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallYeBaoJiaSu
lea ecx, [ebp - 0x40]
call fcn.00405710
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405770
mov byte [ebp - 4], 1
push str.InstallLocation
lea ecx, [ebp - 0x88]
call fcn.00405710
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040f4e0
add esp, 0xc
mov byte [ebp - 0x59], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00405650
movzx eax, byte [ebp - 0x59]
test eax, eax
jne 0x418a8d
mov byte [ebp - 0x5a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405650
mov al, byte [ebp - 0x5a]
jmp 0x418b5d
push 0x7ed4a8
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.00416fc0
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
push 0x7ed414
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00417080
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.00405650
lea ecx, [ebp - 0x58]
call fcn.00405580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418b19
mov byte [ebp - 0x5b], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00405650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405650
mov al, byte [ebp - 0x5b]
jmp 0x418b5d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040f6a0
add esp, 0xc
mov al, byte [ebp - 0x59]
mov byte [ebp - 0x5c], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00405650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405650
mov al, byte [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret 8
Function at 0x418bc0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00411520
add esp, 8
mov dword [ebp - 4], 0
push 0x7ed4ac
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00416fc0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00405580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418c50
push 0
lea ecx, [ebp - 0x40]
call fcn.00405580
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x418c50
push 0x7ed4bc
call fcn.00416ca0
add esp, 4
push str.configcache.json
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.00416fc0
add esp, 0xc
mov byte [ebp - 4], 2
push 0x7ed4f8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00416fc0
add esp, 0xc
push 0
lea ecx, [ebp - 0x70]
call fcn.00405580
push eax
push str..configcache.json
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea ecx, [ebp - 0x58]
call fcn.00405580
push eax
push str..configclient.json
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x58]
call fcn.00405650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00405650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x41a920
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x208], 0x100
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.005796b0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xff
lea ecx, [ebp - 0x204]
push ecx
call fcn.00417a60
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x454820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73ada8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x454860
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x45486c
mov al, 1
jmp 0x454a0f
mov dword [ebp - 0x48], 8
call fcn.00423830
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.00423830
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.004237b0
add esp, 8
movzx eax, al
test eax, eax
je 0x4548af
xor al, al
jmp 0x454a0f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0043c140
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00415d40
mov ecx, eax
call fcn.0041b1f0
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004149f0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.00415d40
mov ecx, eax
call fcn.0041b1f0
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x38]
call fcn.00454ec0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45492a
cmp dword [ebp - 0x3c], 1
je 0x454931
cmp dword [ebp - 0x3c], 3
je 0x4549cb
jmp 0x4549e3
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00415d40
mov ecx, eax
call fcn.0041b1f0
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x454994
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00415d40
mov ecx, eax
call fcn.0041b1f0
push eax
call fcn.005a9a03
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x454994
mov byte [ebp - 0x31], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040c9b0
mov al, byte [ebp - 0x31]
jmp 0x454a0f
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x4549b7
mov byte [ebp - 0x32], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040c9b0
mov al, byte [ebp - 0x32]
jmp 0x454a0f
cmp dword [ebp - 0x38], 0
jne 0x4549c9
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00416710
jmp 0x4549fb
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040c9b0
mov al, byte [ebp - 0x33]
jmp 0x454a0f
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040c9b0
mov al, byte [ebp - 0x34]
jmp 0x454a0f
jmp 0x4548c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x455ec0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x208], 0x100
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.005796b0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xff
lea ecx, [ebp - 0x204]
push ecx
call fcn.00417a60
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x45a730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x98], 0
je 0x45a75b
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x9c], 0
ja 0x45a75f
xor al, al
jmp 0x45a7c3
mov dword [ebp - 8], 0
push 0x7efb9c
mov ecx, dword [ebp + 8]
call fcn.00405580
push eax
lea edx, [ebp - 8]
push edx
call fcn.005a843e
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45a7c1
cmp dword [ebp - 8], 0
je 0x45a7c1
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x9c]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x98]
push ecx
call fcn.005a9a03
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call fcn.005a8570
add esp, 4
mov al, 1
jmp 0x45a7c3
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret 4