joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41be15
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0041beca
test eax, eax
lea eax, [esi + 0x464]
push eax
jne 0x41be4e
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x458]
test ecx, ecx
je 0x41be3d
call fcn.0041b8ca
mov eax, dword [esi + 0x45c]
lea ecx, [esi + 0x45c]
call dword [eax + 0x1c]
jmp 0x41bec6
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call fcn.0041bff7
mov ecx, esi
call fcn.0041c08c
push 0
push 4
push 0
push 0
push 0x43d5e0
call sub.MFC42.DLL_AfxBeginThread
test eax, eax
mov dword [esi + 0x458], eax
je 0x41bea9
mov ecx, dword [esp + 8]
mov dword [eax + 0x74], esi
mov dword [eax + 0x6c], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x70], ecx
lea ecx, [esi + 0xc4]
mov dword [eax + 0x78], ecx
mov eax, dword [esi + 0x458]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41be3d
mov ecx, esi
call fcn.0041c0ef
mov eax, dword [esi + 0x45c]
lea ecx, [esi + 0x45c]
call dword [eax + 0x1c]
mov ecx, esi
call fcn.0041b89b
pop esi
ret 8

Function at 0x41cb01
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x974]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x968], edi
je 0x41cb2d
mov ecx, dword [esi + 0x964]
cmp ecx, edi
je 0x41cb95
call fcn.00419643
jmp 0x41cb95
mov ecx, esi
call fcn.0041fc03
mov dword [esi + 0x968], 1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp eax, edi
je 0x41cb51
mov ecx, eax
call fcn.0041c08c
push edi
push 4
push edi
push edi
push 0x43cb08
call sub.MFC42.DLL_AfxBeginThread
lea ecx, [esi + 0x964]
cmp eax, edi
mov dword [ecx], eax
je 0x41cb7c
mov dword [eax + 0x70], esi
mov eax, dword [ecx]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41cb95
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp eax, edi
je 0x41cb8f
mov ecx, eax
call fcn.0041c0ef
mov dword [esi + 0x968], edi
mov eax, dword [esi + 0x96c]
lea ecx, [esi + 0x96c]
call dword [eax + 0x1c]
pop edi
pop esi
ret
Function at 0x420370
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x436a5b
push eax
mov dword fs:[0], esp
sub esp, 0x114
lea eax, [esp]
push edi
xor edi, edi
push eax
push 0xf003f
push edi
push str.SYSTEMControlSet001ServicesPAR1284
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4203b4
xor eax, eax
jmp 0x420456
lea ecx, [esp + 0xc]
push esi
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push str.ImagePath
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x420453
cmp dword [esp + 0x14], 2
jne 0x420453
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
lea eax, [esp + 0x18]
push 0x5c
push eax
call esi
add esp, 8
cmp eax, edi
je 0x420453
inc eax
push 0x5c
push eax
call esi
mov esi, eax
add esp, 8
cmp esi, edi
je 0x420453
lea ecx, [esp + 0xc]
call fcn.0042c630
mov ecx, dword [esp + 0x12c]
inc esi
push ecx
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x12c], edi
call fcn.0042c650
lea ecx, [esp + 0xc]
mov edi, eax
mov dword [esp + 0x124], 0xffffffff
call fcn.0042c640
mov eax, edi
pop esi
mov ecx, dword [esp + 0x118]
pop edi
mov dword fs:[0], ecx
add esp, 0x120
ret 4

Function at 0x421448
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x436bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
push 0
lea edi, [esi + 0x138]
mov dword [esp + 0xc], esi
mov ecx, edi
call fcn.004317ca
mov dword [edi], 0x438f24
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x34]
mov dword [esp + 0x18], 0
push eax
push 0x104
mov dword [esi], 0x4469f8
mov dword [esi + 4], 0x449278
mov dword [esi + 8], 0x44d958
mov dword [esi + 0xc], 0x4501d8
mov dword [esi + 0x10], 0x451618
mov dword [esi + 0x14], 0x453478
mov dword [esi + 0x18], 0x465508
mov dword [esi + 0x1c], 0x467d88
mov dword [esi + 0x20], 0x469be8
mov dword [esi + 0x24], 0x46c468
mov dword [esi + 0x28], 0x46e2c8
mov dword [esi + 0x2c], 0x470638
mov dword [esi + 0x30], 0x474808
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 1
je 0x421509
push 0
push str.OSFENV_MUTEX
push 0
mov ecx, eax
call sub.MFC42.DLL_CMutex::CMutex
jmp 0x42150b
xor eax, eax
mov ecx, esi
mov byte [esp + 0x18], 0
mov dword [esi + 0x158], eax
call fcn.00421950
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4236a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x436cf6
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
mov ebp, dword [esp + 0x130]
xor ebx, ebx
push esi
cmp ebp, ebx
mov esi, ecx
je 0x423853
lea eax, [esp + 0x14]
push eax
push 3
push 1
call fcn.00422760
test eax, eax
je 0x423853
cmp ebp, dword [esp + 0x14]
ja 0x423853
mov ecx, dword [esi + 0x158]
cmp ecx, ebx
je 0x423702
mov edx, dword [ecx]
push 0xffffffffffffffff
call dword [edx + 0x14]
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x130], ebx
call sub.MFC42.DLL_CString::Empty
lea eax, [esi + 0x34]
lea ecx, [esp + 0x10]
push eax
call fcn.0043185a
push str.OSF.ini
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
push ebp
push str.File
lea ecx, [esp + 0x1c]
push str._s_lu
push ecx
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea edx, [esp + 0x28]
push 0x104
push edx
push 0x476d28
push ebx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.MainWindow
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [esp + 0x13c]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0043185a
mov ecx, dword [edi]
pop edi
mov eax, dword [ecx - 8]
test eax, eax
jle 0x42381b
push ebp
push str.Copies
lea edx, [esp + 0x18]
push str._s_lu
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0xc]
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 1
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.MainWindow
mov ecx, esi
call fcn.00423a10
test edx, edx
jl 0x423800
jg 0x4237f5
test eax, eax
jb 0x423800
test edx, edx
jl 0x42380d
jg 0x423800
cmp eax, 0xffffffff
jbe 0x42380d
mov eax, 1
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x13c]
mov ebx, 1
mov dword [ecx], eax
mov ecx, dword [esi + 0x158]
test ecx, ecx
je 0x42382a
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebx
jmp 0x423855
xor eax, eax
mov ecx, dword [esp + 0x124]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 0xc
Function at 0x423a10
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x436d3b
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x118]
push esi
push edi
test ebx, ebx
je 0x423ad0
mov edi, dword [esp + 0x124]
test edi, edi
je 0x423ad0
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x423ad0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x128]
lea ecx, [esp + 0xc]
push eax
push 0x446048
push ecx
mov dword [esp + 0x124], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push esi
push 0xff
push edx
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__atoi64]
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov edx, edi
jmp 0x423ad9
mov eax, dword [esp + 0x128]
xor edx, edx
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 0x10

Function at 0x423b00
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x436d5b
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x118]
push esi
push edi
test ebx, ebx
je 0x423bc0
mov edi, dword [esp + 0x124]
test edi, edi
je 0x423bc0
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x423bc0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x128]
lea ecx, [esp + 0xc]
push eax
push 0x475eb0
push ecx
mov dword [esp + 0x124], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push esi
push 0xff
push edx
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__atoi64]
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov edx, edi
jmp 0x423bc8
mov eax, dword [esp + 0x128]
cdq
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 0x10
Function at 0x4243b0
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x436eb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov dword [esp + 0x10], 0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xc]
mov byte [esp + 0x20], 3
push eax
call fcn.00424280
add esp, 4
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x20], 4
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42441e
mov esi, dword [esp + 0x28]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x4244f6
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x424489
mov edx, dword [esp + 0x2c]
push eax
push edx
lea eax, [esp + 0x10]
push str._s_SAN__s.csv
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push ecx
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [esp + 0x14]
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x424489
mov esi, dword [esp + 0x28]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push esi
call sub.MFC42.DLL_operator
jmp 0x4244ed
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 8]
push eax
push str._s_SAN.csv
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 8]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [esp + 0x14]
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4244e2
mov esi, dword [esp + 0x28]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push esi
call sub.MFC42.DLL_operator
jmp 0x4244ed
mov esi, dword [esp + 0x28]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x424cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436f96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push ebp
push esi
lea esi, [ebx + 4]
push edi
mov ecx, esi
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CString::CString_3
lea ebp, [ebx + 0x14]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebp], 0x43e01c
mov dword [ebp + 4], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0x20], 1
mov dword [ebx], eax
call fcn.0043185a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp ecx, 8
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
jl 0x424e8b
cmp ecx, 9
jg 0x424e8b
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp + 4]
cmp ecx, edi
jne 0x424d84
push 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
mov edx, eax
xor ecx, ecx
mov dword [ebp + 4], eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
cmp eax, edi
je 0x424d6a
mov dword [eax], 0xa
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
add eax, 0x10
mov edx, ecx
dec ecx
test edx, edx
jne 0x424d5a
mov eax, 1
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x424e9c
mov esi, dword [ebp + 0xc]
cmp esi, 1
jl 0x424de7
mov eax, dword [ebp + 8]
cmp eax, 1
jge 0x424db3
mov edx, 1
sub edx, eax
shl eax, 4
add eax, ecx
push edx
push eax
call fcn.00424c60
mov dword [ebp + 8], 1
jmp 0x424e9c
jle 0x424ddb
dec eax
lea esi, [ecx + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x424ddb
inc eax
mov dword [esp + 0x24], eax
push edi
mov ecx, esi
call fcn.004255c0
mov eax, dword [esp + 0x24]
add esi, 0x10
dec eax
mov dword [esp + 0x24], eax
jne 0x424dc5
mov dword [ebp + 8], 1
jmp 0x424e9c
mov eax, dword [ebp + 0x10]
cmp eax, edi
jne 0x424e12
mov eax, dword [ebp + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x424e06
mov eax, 4
jmp 0x424e12
cmp eax, 0x400
jle 0x424e12
mov eax, 0x400
add eax, esi
cmp eax, 1
mov dword [esp + 0x24], eax
jg 0x424e25
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x24]
shl edx, 4
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 1
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], eax
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.00424c60
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [ebp + 4], ecx
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], edx
jmp 0x424e9c
push 0xffffffffffffffff
push eax
mov ecx, ebp
mov dword [ebx + 0x10], 1
call fcn.004253f0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x427760
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4370fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 4]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ebx, [edi + 8]
mov dword [esp + 0x11c], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10]
push 0x104
push eax
mov byte [esp + 0x124], 1
mov dword [edi], fcn.00427880
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.PAR1284
mov ecx, ebx
call fcn.0043185a
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0043185a
push 0x476ad0
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
push ebx
mov ecx, esi
call sub.MFC42.DLL_CString::operator
push str..sys
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x114]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x4287e0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x437238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0xc], 0
cmp dword [esi + 0x194], 4
jne 0x428877
cmp dword [esi + 0x184], 0xe0070001
jne 0x428865
cmp edi, 0xa007000b
jne 0x428865
mov ebx, 1
mov eax, dword [esi + 0x1a4]
test eax, eax
jne 0x428976
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4288ea
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
push 1
push 9
push 1
push edi
push eax
mov eax, dword [esi + 0x1ac]
push 1
push eax
call dword [edx + 0x10]
mov edi, eax
jmp 0x42892c
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x428891
mov eax, dword [ecx]
push edi
call dword [eax + 0xb0]
jmp 0x428887
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x428891
mov edx, dword [ecx]
push edi
call dword [edx + 0xb0]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x42882b
sub esp, 0x10
mov ecx, 3
mov ebx, esp
mov edx, dword [esi]
xor eax, eax
mov dword [ebx], ecx
mov ecx, dword [esi + 0x1ac]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [edx + 0xb8]
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
push edi
push ecx
push 1
mov ecx, esi
call dword [eax + 0xac]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
lea ecx, [esp + 0x34]
call fcn.004298d0
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x1ac]
push 1
push 9
push 1
push edi
push ecx
push 1
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], 0
call fcn.00429b80
lea ecx, [esp + 0x34]
mov edi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00429900
cmp edi, 6
je 0x428976
sub esp, 0x10
mov ecx, dword [esi + 0x1ac]
mov ebx, esp
mov edx, 3
mov edi, dword [esi]
xor eax, eax
mov dword [ebx], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [edi + 0xb8]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
mov ecx, dword [esp + 0x20]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x429330
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, ecx
push edi
push ebp
xor edi, edi
mov eax, dword [esi]
xor ebx, ebx
call dword [eax + 0x70]
lea ecx, [esi + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
cmp dword [esi + 4], 0xffffffff
jne 0x429363
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4293a3
mov eax, dword [esi + 8]
test eax, eax
je 0x429377
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x74]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi]
push ebp
mov ecx, esi
mov edi, eax
call dword [edx + 0x78]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esi + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
test edi, edi
jne 0x4293f1
cmp dword [esp + 0x28], 0x3e5
jne 0x4293f1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4293f1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push 1
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, eax
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x78]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4293ff
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x1c
Function at 0x429410
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, ecx
push edi
push ebp
xor edi, edi
mov eax, dword [esi]
xor ebx, ebx
call dword [eax + 0x70]
lea ecx, [esi + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
cmp dword [esi + 4], 0xffffffff
jne 0x429443
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x429483
mov eax, dword [esi + 8]
test eax, eax
je 0x429457
mov eax, dword [esi + 0x48]
lea ebx, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x74]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esi]
push ebp
mov ecx, esi
mov edi, eax
call dword [edx + 0x78]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esi + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
test edi, edi
jne 0x4294d1
cmp dword [esp + 0x28], 0x3e5
jne 0x4294d1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4294d1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push 1
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, eax
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x78]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4294df
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x1c
Function at 0x429d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4373bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 8]
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0xc]
push edx
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x30], 2
call dword [eax]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
lea eax, [esp + 0x10]
mov byte [esp + 0x20], 3
push eax
push ecx
mov ecx, esi
call dword [edx + 0x24]
mov edx, dword [esp + 8]
test eax, eax
mov eax, dword [esp + 0x30]
push edx
push edi
push eax
jne 0x429dff
lea ecx, [esp + 0x18]
push str.Result0x_08X_nLastError0x_08X_n_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x429e16
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push str._s_nResult0x_08X_nLastError0x_08X_n_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004317fa
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x18