joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10075bb6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007c38c]
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.100654ac
mov dword [ebp - 0x14], eax
cmp dword [0x106691cc], esi
jne 0x10075ca9
push 0x800
push esi
push 0x1000797c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10075c36
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10075d89
push esi
push esi
push 0x1000797c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10075d89
push 0x10007994
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10075d89
push eax
call ebx
push 0x100079a0
push edi
mov dword [0x106691cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100079b0
push edi
mov dword [0x106691d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100079c4
push edi
mov dword [0x106691d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106691dc], eax
test eax, eax
je 0x10075ca6
push 0x100079e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106691d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10075cce
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10075cc1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10075ce3
push 4
pop eax
jmp 0x10075d8b
cmp dword [ebp - 0x14], esi
je 0x10075ce3
push dword [0x106691cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10075cc8
mov eax, dword [0x106691d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10075d41
cmp dword [0x106691dc], edi
je 0x10075d41
push eax
call ebx
push dword [0x106691dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10075d41
test eax, eax
je 0x10075d41
call ecx
test eax, eax
je 0x10075d36
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 0x10075d36
test byte [ebp - 8], 1
jne 0x10075d41
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10075d71
mov eax, dword [0x106691d0]
cmp eax, edi
je 0x10075d6e
push eax
call ebx
test eax, eax
je 0x10075d6e
call eax
mov esi, eax
test esi, esi
je 0x10075d6e
mov eax, dword [0x106691d4]
cmp eax, edi
je 0x10075d6e
push eax
call ebx
test eax, eax
je 0x10075d6e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x106691cc]
call ebx
test eax, eax
je 0x10075d89
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10075d8b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100619f5
mov esp, ebp
pop ebp
ret
Function at 0x40b0e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x40b0fc
jmp 0x40b12a
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b123
jmp 0x40b12a
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x410f80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x1c
call fcn.0044c480
movzx eax, al
test eax, eax
je 0x4110a9
lea ecx, [ebp - 0x10]
call fcn.004070d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00411900
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
call fcn.00477060
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00406830
push eax
push str.1.01.21.51.72.02.22.52.73.0
push str.supportrate
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070b0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d520
mov dword [ebp - 0x14], 0
mov eax, 1
test eax, eax
je 0x41109a
lea ecx, [ebp - 0x14]
push ecx
push 0x541568
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.0044bdc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0040b3b0
movzx eax, al
test eax, eax
je 0x411069
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004070b0
jmp 0x41109a
lea ecx, [ebp - 0x18]
call fcn.00477060
push eax
call fcn.004a203e
add esp, 4
fstp qword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x1c
call fcn.0044c4a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004070b0
jmp 0x41102a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov eax, dword [ebp - 0x28]
add eax, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4114a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x4114ea
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00411900
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00477060
push eax
push 2
push 0x54157c
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
lea ecx, [ebp - 4]
call fcn.004070b0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x411a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
jne 0x411aba
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00411900
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00477060
push eax
push 0
push str.debug
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
lea ecx, [ebp - 4]
call fcn.004070b0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov esp, ebp
pop ebp
ret

Function at 0x411ad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.0040b3b0
movzx eax, al
test eax, eax
je 0x411b73
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00411900
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.00477060
push eax
push 0x104
push 0x104
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.00406830
push eax
push str.kxetray
push str.supportprocess
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.0040d520
mov eax, dword [ebp - 0x18]
add eax, 0x14
push eax
mov ecx, dword [ebp + 8]
call fcn.00406750
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4121f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5285e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.004070d0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x41223b
mov eax, dword [ebp - 0x30]
add eax, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00404380
jmp 0x412247
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404380
lea ecx, [ebp - 0x10]
call fcn.0040b3b0
movzx edx, al
test edx, edx
jne 0x412363
lea ecx, [ebp - 0x1c]
call fcn.004070d0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push str._s_d._s
lea eax, [ebp - 0x1c]
push eax
call fcn.00407e40
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x412357
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41234d
mov dword [ebp - 0x24], 0
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xa
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040a400
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x412343
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jne 0x412343
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040b3d0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov eax, dword [ebp - 0x28]
jmp 0x41237b
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0040b3d0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4129d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.00412970
mov ecx, dword [ebp - 0x38]
call fcn.00477060
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00412be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040b3b0
movzx ecx, al
test ecx, ecx
jne 0x412a34
lea ecx, [ebp - 0x1c]
call fcn.00477060
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412a48
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
jmp 0x412bc6
lea ecx, [ebp - 0x28]
call fcn.004103f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00477060
push eax
lea ecx, [ebp - 0x28]
call fcn.00410490
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
call fcn.004102b0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x412aa4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
jmp 0x412bc6
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0040edb0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0
je 0x412b0e
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
push fcn.004104c0
push fcn.0045b770
mov eax, dword [ebp - 0x2c]
push eax
push 8
mov ecx, dword [ebp - 0x34]
add ecx, 4
push ecx
call fcn.004a29b1
mov edx, dword [ebp - 0x34]
add edx, 4
mov dword [ebp - 0x3c], edx
jmp 0x412b15
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jne 0x412b4e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
jmp 0x412bc6
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004102e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x412b74
cmp dword [ebp - 0x18], 0
jg 0x412b99
mov ecx, dword [ebp - 0x38]
call fcn.00412970
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
jmp 0x412bc6
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0xc], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x412d40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0
push 0x20e
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e730
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406b50
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x4161a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5280b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00413c40
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.BkWin::BkLayoutParam.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004070d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], SysReAllocString
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], SysReAllocString
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0xffffffff
push str.layout_
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00408790
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x417010
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528ad4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00413c40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0041ae70
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CBkWindow.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CBkWindow.1.0
mov edx, dword [ebp - 0x10]
push edx
call fcn.00416e40
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0045b970
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004070d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.004070d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004070d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.004070d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x10]
mov word [eax + 0x60], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x64], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x68], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.00467c60
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xa8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xac], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xb0], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xb8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbc], 0
cmp dword [ebp - 0x10], 0
je 0x4171d4
mov edx, dword [ebp - 0x10]
add edx, 4
mov dword [ebp - 0x14], edx
jmp 0x4171db
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.004161a0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x100], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x104], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc0], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0045b880
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43c510
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5285b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406b50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0xe]
push edx
movzx eax, word [ebp - 0x10]
push eax
movzx ecx, word [ebp - 0x12]
push ecx
movzx edx, word [ebp - 0x14]
push edx
push str.__02d__02d__02d__03d__n
lea eax, [ebp - 0x20]
push eax
call fcn.0040d910
add esp, 0x18
lea ecx, [ebp - 0x20]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004070b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x43f350
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 0
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.0049e730
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x43f3c3
mov dword [ebp - 0x128], 0x114
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x43f3d6
jmp 0x43f509
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 1
je 0x43f4d9
cmp dword [ebp - 0x130], 2
je 0x43f3fd
jmp 0x43f502
cmp dword [ebp - 0x124], 6
jne 0x43f427
cmp dword [ebp - 0x120], 1
jne 0x43f427
movzx ecx, byte [ebp - 0xe]
sub ecx, 1
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 8
mov dword [ebp - 4], ecx
jmp 0x43f4d7
cmp dword [ebp - 0x124], 6
jne 0x43f452
cmp dword [ebp - 0x120], 0
jne 0x43f452
movzx edx, byte [ebp - 0xe]
sub edx, 1
neg edx
sbb edx, edx
and edx, 2
add edx, 7
mov dword [ebp - 4], edx
jmp 0x43f4d7
cmp dword [ebp - 0x124], 5
jne 0x43f46d
cmp dword [ebp - 0x120], 2
jne 0x43f46d
mov dword [ebp - 4], 5
jmp 0x43f4d7
cmp dword [ebp - 0x124], 5
jne 0x43f488
cmp dword [ebp - 0x120], 1
jne 0x43f488
mov dword [ebp - 4], 6
jmp 0x43f4d7
cmp dword [ebp - 0x124], 5
jne 0x43f4a3
cmp dword [ebp - 0x120], 0
jne 0x43f4a3
mov dword [ebp - 4], 3
jmp 0x43f4d7
cmp dword [ebp - 0x124], 4
ja 0x43f4b5
mov dword [ebp - 4], 4
jmp 0x43f4d7
cmp dword [ebp - 0x124], 6
jne 0x43f4d7
cmp dword [ebp - 0x120], 2
jne 0x43f4d7
movzx eax, byte [ebp - 0xe]
cmp eax, 1
jne 0x43f4d7
mov dword [ebp - 4], 0xa
jmp 0x43f509
mov ecx, dword [ebp - 0x11c]
shr ecx, 0x10
and ecx, 0xffff
cmp ecx, 0x45a
jae 0x43f4f9
mov dword [ebp - 4], 1
jmp 0x43f500
mov dword [ebp - 4], 2
jmp 0x43f509
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x453bd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov dword [ebp - 0x98], ecx
lea ecx, [ebp - 0x84]
call fcn.00512240
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x408], 0
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x3fc], 0
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x3e8], 0x80090000
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x3ec], 0x10000
mov ecx, dword [ebp - 0x98]
call fcn.0044f400
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x3f0], 0
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x3f4], 0
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x3f8], 0
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x84]
call fcn.0050f440
lea ecx, [ebp - 0x84]
call fcn.004025f0
movzx edx, al
test edx, edx
je 0x453d4d
lea ecx, [ebp - 0x84]
call fcn.0045a2f0
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040b340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0045a2d0
push eax
lea ecx, [ebp - 0x84]
call fcn.0045a2b0
push eax
lea ecx, [ebp - 0x84]
call fcn.0045a290
push eax
push str.__errorid_d__errorrow_d__errorcolom_d_n
lea eax, [ebp - 0x8c]
push eax
call fcn.00455ed0
add esp, 0x14
lea ecx, [ebp - 0x8c]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x98]
call fcn.004555c0
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.004025c0
mov eax, dword [ebp - 0x90]
jmp 0x453d8e
lea ecx, [ebp - 0x84]
call fcn.0040bc70
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.00454cb0
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.004025c0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4