joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bd80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43d348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x41bdbd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x41bdbf
xor eax, eax
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call sub.MFC42.DLL_CMenu::FromHandle
mov ecx, dword [eax + 4]
push 8
push 0x8007
push ecx
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, ebx
jne 0x41bf5b
push ebp
push edi
push 2
lea ecx, [esi + 0x50ec]
call fcn.00425120
mov edx, dword [esi + 0x20]
push edx
call fcn.004254c0
mov eax, dword [esi + 0x20]
push 0x66
push eax
call fcn.004253a0
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
mov edi, 0x44bf74
push ebx
lea ecx, [esp + 0x14]
push 0x448be8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
push 0x44931c
push 0x44ee44
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push 0x64
push edi
push 0x4492c0
push eax
push 0x4492b8
call ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
add edi, 0x64
inc ebx
cmp edi, 0x44de50
jl 0x41be19
mov eax, dword [esi + 0x2bc]
push eax
push 0x449028
push 0x449188
push 0x448aa8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, esi
mov dword [esi + 0x4020], 2
call fcn.0041a7d0
mov ecx, esi
call fcn.0041a6f0
lea edi, [esi + 0x180]
push 0x44930c
push 0x478
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x449300
push 0xffffffffffffffff
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x4492f8
push 0x475
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, esi
call fcn.0041cd40
mov ecx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_GetMenu]
push ecx
call ebp
push eax
call sub.MFC42.DLL_CMenu::FromHandle
mov edx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push 2
push edx
call edi
push eax
call sub.MFC42.DLL_CMenu::FromHandle
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
push 8
push 0x8007
push eax
call ebx
mov ecx, dword [esi + 0x20]
push ecx
call ebp
push eax
call sub.MFC42.DLL_CMenu::FromHandle
mov edx, dword [eax + 4]
push 2
push edx
call edi
push eax
call sub.MFC42.DLL_CMenu::FromHandle
mov eax, dword [eax + 4]
push 0
push 0x8006
push eax
call ebx
mov ecx, esi
call fcn.0041ab00
pop edi
pop ebp
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41cfe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esp + 0x40]
push 0x449424
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 2
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x41d100
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x14]
mov edi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x41d0f8
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x18]
call dword [edx + 0x40]
test eax, eax
jne 0x41d0f8
mov eax, dword [esp + 0x14]
push 2
lea ecx, [esp + 0x18]
call dword [eax + 0x40]
test eax, eax
jne 0x41d0f8
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
call dword [edx + 0x40]
test eax, eax
je 0x41d0bb
push ecx
lea ecx, [esp + 0x18]
mov eax, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
mov ecx, ebp
call fcn.00418190
jmp 0x41d0f8
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::GetFileName
mov edx, dword [esp + 0xc]
push 0x448da0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
mov esi, dword [edx - 8]
call sub.MFC42.DLL_CString::Find
sub esi, eax
cmp esi, 5
je 0x41d13e
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
test edi, edi
jne 0x41d052
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0043ae52
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x44]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0043ae52
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x30
ret 8
Function at 0x41d280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d527
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov dword [esp + 0x14], 0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 4]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString_2
push 0x44a754
lea ecx, [esp + 8]
mov byte [esp + 0x24], 4
call fcn.0043ac24
push 0x5c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x41d334
mov eax, dword [esp + 0x2c]
push 0x5c
lea ecx, [esp + 0x30]
mov esi, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea ecx, [esp + 0x10]
dec esi
push esi
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString
jmp 0x41d342
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x10]
push 2
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x4489b8
push ecx
call esi
add esp, 8
test eax, eax
jne 0x41d38f
push 0x44895c
jmp 0x41d3c8
mov edx, dword [esp + 8]
push 0x4489b4
push edx
call esi
add esp, 8
test eax, eax
jne 0x41d3a9
push 0x448970
jmp 0x41d3c8
mov eax, dword [esp + 8]
push 0x4489b0
push eax
call esi
add esp, 8
test eax, eax
jne 0x41d3c3
push 0x448968
jmp 0x41d3c8
push 0x448948
lea ecx, [esp + 8]
call fcn.0043ac24
mov esi, dword [esp + 0x28]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
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 + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4200c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43d933
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x1c], esi
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x8c], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 2
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x94]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push ebx
push 0x449108
push 0x449584
mov byte [esp + 0x9c], 3
call ebp
cmp eax, ebx
mov dword [esi + 0x4140], eax
jne 0x42014d
mov dword [esi + 0x413c], ebx
jmp 0x4202a4
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x4202a4
push edi
add esi, 0x4144
jmp 0x420168
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x44957c
lea ecx, [esp + 0x14]
call fcn.0043ac24
push ebx
lea ecx, [esp + 0x18]
push 0x448be8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x24]
push eax
push 0x64
push ecx
push 0x44a754
push 0x4490a8
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x24]
lea ecx, [esi + 4]
push eax
call fcn.0043ac24
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x10]
push ecx
push 0
push 0x449108
push edx
call ebp
mov ecx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x98]
push eax
push 0
push 0x448eec
push ecx
call ebp
mov dword [esi + 8], eax
mov eax, dword [esi]
xor ebp, ebp
test eax, eax
jle 0x42028b
lea ebx, [esi + 0xc]
push 0x4490f4
lea ecx, [esp + 0x1c]
call fcn.0043ac24
push ebp
lea edx, [esp + 0x18]
push 0x448be8
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push 0x64
push edx
push 0x44a754
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x24]
mov ecx, ebx
push edx
call fcn.0043ac24
mov eax, dword [esi]
inc ebp
add ebx, 4
cmp ebp, eax
jl 0x420211
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc ebx
add esi, 0x5c
mov dword [esp + 0x1c], ebx
cmp ebx, dword [eax + 0x4140]
jl 0x420162
pop edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x8c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov dword [esp + 0x8c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x84]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 4
Function at 0x422600
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x108
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push ebp
push esi
push edi
push eax
push ecx
push SysReAllocString
call ebx
mov esi, dword [esp + 0x124]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
not ecx
push ecx
push esi
push 1
push 0x44a754
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
push esi
push SysReAllocString
call ebx
mov edx, dword [esp + 0x12c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push 0x44a754
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [esp + 0x18]
push 0x449624
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push SysReAllocString
call ebx
mov edx, dword [esp + 0x128]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 1
push 0x44a754
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 0x449618
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
call ebx
mov edi, 0x449610
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
push ecx
push 0x449610
push 1
push 0x44a754
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x18]
push 0x4495f8
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push SysReAllocString
call ebx
mov edx, dword [esp + 0x120]
lea eax, [esp + 0x14]
push edx
push 0x4495ec
push eax
call esi
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push 0x44a754
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x422fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43da16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esi + 8]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x20], al
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi], fcn.00423220
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x423230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43daa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov eax, dword [ecx + 0xc]
lea esi, [ecx + 0xc]
push 0
push 0
mov ecx, esi
mov dword [esp + 0x1c], 0
call dword [eax + 0x30]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x14], 1
xor edi, edi
mov edx, dword [esi]
lea eax, [esp + 8]
push eax
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x423296
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x42326f
mov edi, 1
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x425120
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43de28
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 8]
test eax, eax
jne 0x4251c0
mov eax, dword [esp + 0x34]
sub eax, 0
je 0x42519d
dec eax
je 0x42517a
dec eax
jne 0x4252d9
push 0x409
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
cmp eax, 1
pop esi
sete al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push 0x404
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
cmp eax, 1
pop esi
sete al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push 0x804
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
cmp eax, 1
pop esi
sete al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push ebp
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::CFileFind
add esi, 4
push 0x44965c
lea eax, [esp + 0x10]
push esi
push eax
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
mov ecx, 0x4507cc
call sub.MFC42.DLL_CString::Empty
test esi, esi
je 0x4252a9
mov esi, dword [esp + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x10]
mov ebp, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x425286
mov edx, dword [esp + 0x10]
push 0x10
lea ecx, [esp + 0x14]
call dword [edx + 0x40]
test eax, eax
jne 0x425286
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x34], 2
push ecx
push 0xffffffffffffffff
push 0x449650
push 0x449648
call edi
cmp eax, esi
je 0x42528c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
test ebp, ebp
jne 0x425225
jmp 0x4252a9
lea edx, [esp + 0x3c]
mov ecx, 0x4507cc
push edx
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0043ae52
pop edi
pop ebp
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov al, cl
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x425310
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43de5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 8]
mov dword [esp + 4], 0
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x4507cc]
mov ecx, dword [esp + 0x20]
push eax
push 0x400
push 0x4503cc
push 0x44966c
push ecx
push 0x449664
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1c]
push 0x4503cc
mov ecx, esi
call fcn.0043abe8
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4253a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43de88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_2
push 0x44a754
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.0043abe8
mov eax, dword [esp + 0x20]
push 5
push eax
mov byte [esp + 0x20], 2
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42547a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push edi
mov edi, dword [esp + 0x30]
push esi
call ebp
push eax
push edi
lea ecx, [esp + 0x18]
push 0x449678
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [0x4507cc]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 0x10
push edx
push 0x400
push 0x4503cc
push eax
push ecx
push 0x449664
call ebx
test eax, eax
je 0x425461
push 0x4503cc
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x425418
pop edi
pop ebp
pop ebx
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x425ec8
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, ecx
lea eax, [esp + 0x10]
push edi
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x38]
lea eax, [esp + 0x10]
push edi
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x425f24
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x425f31
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x28]
push 1
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret 8
Function at 0x427bd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43e319
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x38]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esi + 0x3c]
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::CString_2
mov ebx, 1
lea ecx, [esi + 0x54]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CFile::CFile
mov al, byte [esp + 0xf]
mov byte [esi + 0xe8], al
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
mov cl, byte [esp + 0xf]
mov byte [esi + 0x118], cl
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x138], edi
mov dword [esi + 0x13c], edi
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], edi
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x148]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CEvent::CEvent
lea ecx, [esi + 0x164]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x16c]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CFile::CFile
mov dword [esi], 0x441814
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret