joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x473ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp byte [edi + 0x1c], 0
jne 0x40b948
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, 1
mov byte [esp + 0x20], bl
mov dword [esp + 0x30], 0
cmp byte [edi + 0x1c], 0
je 0x40b7e1
push esi
jmp 0x40b942
lea esi, [esp + 0x14]
call fcn.00421b00
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x34], bl
push eax
mov ebx, str.UtilsFileAbap.dll
call fcn.004061e0
add esp, 8
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b863
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b93d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b93d
mov eax, dword [esp + 0x10]
mov esi, eax
call fcn.00405d80
test eax, eax
je 0x40b879
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x2c], eax
test eax, eax
je 0x40b835
push str.NsCreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b894
call eax
mov dword [edi], eax
mov ecx, dword [edi]
test ecx, ecx
jne 0x40b8ad
lea ecx, [esp + 0x10]
call fcn.00406e50
mov edx, dword [esp + 0x1c]
push edx
jmp 0x40b942
mov eax, dword [ecx]
mov edx, dword [eax + 0x54]
call edx
push str.bksystem
mov ecx, str.SYSTEMCurrentControlSetServicesFileAbap
lea ebx, [esp + 0x1c]
mov dword [edi + 0x30], eax
call fcn.004223f0
add esp, 4
add edi, 0x20
mov byte [esp + 0x30], 4
call fcn.00406a50
mov ecx, ebx
mov byte [esp + 0x30], 3
call fcn.00406e50
mov eax, str.___
mov ebx, edi
call fcn.004026a0
lea eax, [esp + 0x18]
push edi
push eax
mov ebx, str._setting.ini
call fcn.004061e0
add esp, 8
mov esi, dword [ebp + 8]
lea edi, [esi + 0x24]
mov byte [esp + 0x30], 5
call fcn.00406a50
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.00406e50
lea edi, [esi + 0x28]
mov edx, str..doc_.docx_.xls_.xlsx_.ppt_.pptx_.pdf
call fcn.00406910
lea ecx, [esp + 0x10]
mov byte [esi + 0x1c], 1
call fcn.00406e50
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b980
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax - 0xc], 0
je 0x40b9a2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b9a2
mov eax, dword [esp + 4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b9c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
ret 4

Function at 0x40bf60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x204
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x208]
push esi
mov esi, dword [eax + 0x24]
push 0x1fe
lea eax, [esp + 8]
push 0
push eax
call fcn.004560e0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0x40bfa0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40bfa0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 8]
push esi
push edx
call fcn.00459290
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0
push str.MAKESELF
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0x204]
cmp eax, 1
sete al
pop esi
xor ecx, esp
call fcn.0045300b
add esp, 0x204
ret 4

Function at 0x40c000
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x204
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x208]
push esi
mov esi, dword [eax + 0x24]
push 0x1fe
lea eax, [esp + 8]
push 0
push eax
call fcn.004560e0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0x40c040
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c040
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 8]
push esi
push edx
call fcn.00459290
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0x1e
push str.AUTODAYS
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0x204]
pop esi
xor ecx, esp
call fcn.0045300b
add esp, 0x204
ret 4
Function at 0x40fd80
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x470f73
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [0x48c7fc]
mov esi, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x48c7fc
mov dword [esp + 0x1c], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov eax, dword [0x48c7fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x48c7fc
lea ebp, [esi + 0x1c]
call edx
add eax, 0x10
mov dword [ebp], eax
mov eax, edi
mov edi, esi
mov byte [esp + 0x6c], 1
call fcn.00406a50
push 0x40
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
mov word [esp + 0x2c], ax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
jmp 0x40fe30
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40fe30
sub eax, edx
sar eax, 1
lea edx, [esp + 0x20]
mov ebx, eax
push edx
mov eax, ebp
call fcn.004069b0
mov ecx, 0x47abf8
lea eax, [esp + 0x20]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40fe7c
test dx, dx
je 0x40fe78
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40fe7c
add eax, 4
add ecx, 4
test dx, dx
jne 0x40fe56
xor eax, eax
jmp 0x40fe81
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [esi + 4], al
mov ecx, str.FAT32
lea eax, [esp + 0x20]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40feb8
test dx, dx
je 0x40feb4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40feb8
add eax, 4
add ecx, 4
test dx, dx
jne 0x40fe92
xor eax, eax
jmp 0x40febd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
mov byte [esi + 5], cl
call fcn.0040fef0
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0045300b
add esp, 0x5c
ret

Function at 0x40fef0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov esp, ebp
pop ebp
ret
Function at 0x411350
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x2b4], eax
push edi
xor edi, edi
push 0x2b0
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x10], edi
call fcn.004560e0
mov ecx, dword [esp + 0x2cc]
add esp, 0xc
push 0x4110
push 0x2b4
lea edx, [esp + 0xc]
push edx
push 0x80
push esi
mov dword [esp + 0x1c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
mov eax, dword [esp + 4]
jne 0x4113ae
mov eax, edi
mov ecx, dword [esp + 0x2b8]
pop edi
xor ecx, esp
call fcn.0045300b
add esp, 0x2b8
ret 4
Function at 0x412100
Capabilities:
Check if file exists

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x30]
mov dword [esp + 4], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push eax
call edx
test eax, eax
je 0x41212c
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
je 0x412158
mov esi, dword [esi + 0x30]
mov edx, dword [esp + 8]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x14]
push edx
push esi
call eax
mov eax, edi
pop edi
pop esi
pop ecx
ret 4

Function at 0x412d30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x204], eax
push ebp
mov ebp, dword [esp + 0x210]
push esi
push 0x1fe
lea eax, [esp + 0x10]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.004560e0
add esp, 0xc
push edi
push 0xff
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebx
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
lea eax, [esp + 0xc]
mov word [esi + 4], dx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412da0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x10]
call fcn.00404fd0
mov ecx, dword [esp + 0x20c]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0045300b
add esp, 0x208
ret 4

Function at 0x413900
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41394e
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push ebx
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x10]
xor eax, eax
cmp ecx, dword [esp + 8]
pop esi
sete al
pop ebx
pop ecx
ret
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x414160
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x30
push esi
lea eax, [esp + 8]
push eax
push 0
push 0x28
mov dword [esp + 0x18], 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4141ad
call esi
cmp eax, 0x3f0
jne 0x414207
lea ecx, [esp + 8]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x414207
lea edx, [esp + 0x14]
push edx
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x24]
push ecx
push 0x10
lea edx, [esp + 0x1c]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x41420e
call esi
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
add esp, 0x30
ret
call esi
cmp eax, 0x514
jne 0x414231
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
add esp, 0x30
ret
mov eax, 1
pop esi
add esp, 0x30
ret

Function at 0x414b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f930
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x414c7c
lea esi, [esp + 0x18]
call fcn.00416cb0
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x18]
test esi, esi
sete al
test al, al
sete al
test al, al
je 0x414c68
mov edx, dword [esp + 0x14]
mov edi, dword [edi]
push edx
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040adf0
mov byte [esp + 0x40], 1
test esi, esi
jne 0x414c3f
push 0x80004003
call fcn.00452d50
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, esi
mov byte [esp + 0x54], 0
call fcn.00416bb0
mov dword [esp + 0x38], 0xffffffff
test esi, esi
je 0x414c7c
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0045300b
add esp, 0x28
ret 0x20
Function at 0x416f30
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x808], eax
test esi, esi
jne 0x416f5f
xor eax, eax
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045300b
add esp, 0x80c
ret
push 0x808
lea eax, [esp + 4]
push 0
push eax
call fcn.004560e0
push esi
lea ecx, [esp + 0x10]
push 0x404
push ecx
call fcn.004552f8
lea edx, [esp + 0x18]
push 0x404
push edx
call fcn.00454ac0
lea eax, [esp + 0x20]
push str.THEMES_
push eax
call fcn.00453111
add esp, 0x28
test eax, eax
je 0x416fbf
mov eax, 1
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045300b
add esp, 0x80c
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045300b
add esp, 0x80c
ret

Function at 0x417480
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4748a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push str.sites.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x41758c
lea esi, [esp + 0x1c]
call fcn.00421b00
push eax
lea eax, [esp + 0x1c]
push eax
mov ebx, 0x4799b8
mov dword [esp + 0x30], 0
call fcn.004061e0
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.sites.dll
mov byte [esp + 0x38], 1
call fcn.004061e0
add esp, 0x10
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417519
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41753e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ebx, eax
call fcn.00405d80
push ebx
test eax, eax
jne 0x41755c
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4175a1
xor esi, esi
jmp 0x417564
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41758c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
mov edi, 0x48ab88
call fcn.00405f10
int3
Function at 0x41b740
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46f48b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00451e00
push 4
mov dword [esp + 0x20], 0
call fcn.00453daf
mov edi, eax
add esp, 4
test edi, edi
je 0x41b7be
call fcn.004521ac
mov dword [edi], eax
call fcn.00451fda
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00451ea2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41b7b3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00451eca
jmp 0x41b7c0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x420eb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x410
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x40c], eax
mov eax, dword [esp + 0x418]
push ebx
push ebp
mov ebp, dword [esp + 0x41c]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebp
push 0x200
mov ebx, ecx
lea ecx, [esp + 0x24]
push ecx
push 0x47b260
push ebx
push str.DataProc
mov dword [esp + 0x2c], eax
call edi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00405380
mov eax, dword [eax]
mov ecx, 0x47b260
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x420f37
test dx, dx
je 0x420f33
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x420f37
add eax, 4
add ecx, 4
test dx, dx
jne 0x420f11
xor eax, eax
jmp 0x420f3c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x13]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420f63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], 0
je 0x420f6e
xor eax, eax
jmp 0x420fe4
cmp esi, 0x1f8
jbe 0x420fb4
push 0x48c840
push 0x2000
call fcn.00454ee4
add esp, 8
push ebp
push 0x1000
mov esi, eax
push esi
push 0x47b260
push ebx
push str.DataProc
call edi
mov edi, dword [esp + 0x14]
mov edx, esi
call fcn.00406910
push esi
call fcn.0045486f
add esp, 4
jmp 0x420fdf
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
jmp 0x420fc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420fc0
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x14]
push ecx
call fcn.004069b0
mov eax, 1
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045300b
add esp, 0x410
ret
Function at 0x421be0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1068
call fcn.0046a4b0
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x1060], eax
push esi
push 0x40
lea eax, [esp + 0x20]
push 0
push eax
mov esi, ecx
call fcn.004560e0
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dx, word [esp + 0x1070]
xor eax, eax
push 0xffe
push eax
lea ecx, [esp + 0x6a]
push ecx
mov dword [esp + 0x50], 1
mov word [esp + 0x54], dx
mov word [esp + 0x6c], ax
call fcn.004560e0
push edi
push str.__s_
lea edx, [esp + 0x74]
call fcn.00424220
add esp, 0x14
test esi, esi
je 0x421c8a
push esi
lea edx, [esp + 0x64]
push 0x800
push edx
call fcn.00455561
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x421d06
cmp dword [esp + 0x1074], 0
push ebx
je 0x421ccc
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x421cd7
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x1060]
xor ecx, esp
call fcn.0045300b
add esp, 0x1068
ret
mov ecx, dword [esp + 0x1064]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0045300b
add esp, 0x1068
ret

Function at 0x421ef0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4014
call fcn.0046a4b0
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x4010], eax
push ebx
push esi
xor eax, eax
push 0x3ffe
mov esi, ecx
push eax
lea ecx, [esp + 0x22]
push ecx
mov ebx, edx
mov word [esp + 0x24], ax
call fcn.004560e0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x14], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x421fd9
cmp eax, 0x3fff
ja 0x421fd9
lea ecx, [esp + 0x18]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x421fd9
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xc]
push eax
push 0x4799b8
lea ecx, [esp + 0x24]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x421fd9
push 0x400
push 0
push ebx
call fcn.004560e0
mov eax, dword [esp + 0x14]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
mov ecx, 0x1ff
call fcn.0040aee0
add esp, 0x20
lea esi, [esp + 0xc]
call fcn.004097d0
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x4010]
xor ecx, esp
call fcn.0045300b
add esp, 0x4014
ret
mov ecx, dword [esp + 0x4018]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0045300b
add esp, 0x4014
ret