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

Disassembly:
push 0xffffffffffffffff
push 0x42b988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CString::CString
push 0x435438
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0
call sub.mfc42.dll_CString::CString_2
push 0x435428
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call sub.mfc42.dll_CString::CString_2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x54], 2
call sub.mfc42.dll_CWinApp::GetProfileStringA
push eax
lea ecx, [ebp + 0xc4]
mov byte [esp + 0x48], 3
call sub.mfc42.dll_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.0042a3b0
push str.CChildFrame
lea ecx, [esp + 0x18]
call fcn.0042a470
push 0x435410
lea ecx, [esp + 0x14]
call fcn.0042a470
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileStringA
lea ebx, [ebp + 0xc8]
push eax
mov ecx, ebx
mov byte [esp + 0x48], 4
call sub.mfc42.dll_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.0042a3b0
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40eec7
push 0x104
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::GetBuffer
push eax
push 0x104
mov dword [esp + 0x24], eax
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov edi, 0x435408
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, dword [esp + 0x20]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::ReleaseBuffer
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call sub.mfc42.dll_CString::operator_1
push 0x4353f4
lea ecx, [esp + 0x14]
call fcn.0042a470
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileStringA
lea ebx, [ebp + 0xcc]
push eax
mov ecx, ebx
mov byte [esp + 0x48], 5
call sub.mfc42.dll_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.0042a3b0
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
jne 0x40ef60
push 0x104
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::GetBuffer
mov edx, eax
mov edi, 0x4353f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffffffffffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::ReleaseBuffer
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call sub.mfc42.dll_CString::operator_1
push 0x4353dc
lea ecx, [esp + 0x14]
call fcn.0042a470
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileStringA
lea esi, [ebp + 0xd0]
push eax
mov ecx, esi
mov byte [esp + 0x48], 6
call sub.mfc42.dll_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.0042a3b0
mov edx, dword [esi]
mov eax, dword [edx - 8]
test eax, eax
jne 0x40f019
push 0x104
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::GetBuffer
mov ebx, eax
push ebx
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov edi, 0x4353d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::ReleaseBuffer
lea eax, [esp + 0x18]
lea ecx, [ebp + 0xd0]
push eax
call sub.mfc42.dll_CString::operator_1
push 0x4353c0
lea ecx, [esp + 0x14]
call fcn.0042a470
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileStringA
lea esi, [ebp + 0xd4]
push eax
mov ecx, esi
mov byte [esp + 0x48], 7
call sub.mfc42.dll_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.0042a3b0
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f09a
push 0x104
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::GetBuffer
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::ReleaseBuffer
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call sub.mfc42.dll_CString::operator_1
push 0x4353b8
lea ecx, [esp + 0x18]
call fcn.0042a470
push 0x4353ac
lea ecx, [esp + 0x14]
call fcn.0042a470
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 1
push eax
push ecx
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileIntA
push 0x4353a4
lea ecx, [esp + 0x14]
mov dword [ebp + 0xd8], eax
call fcn.0042a470
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 1
push edx
push eax
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileIntA
push 0x43539c
lea ecx, [esp + 0x14]
mov dword [ebp + 0xdc], eax
call fcn.0042a470
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileIntA
push 0x435394
lea ecx, [esp + 0x14]
mov dword [ebp + 0xe0], eax
call fcn.0042a470
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileIntA
push 0x435388
lea ecx, [esp + 0x14]
mov dword [ebp + 0xe4], eax
call fcn.0042a470
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileStringA
mov eax, dword [esp + 0x20]
mov byte [esp + 0x44], 8
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f186
mov dword [ebp + 0xe8], 0x41200000
jmp 0x40f196
push eax
call dword [sym.imp.msvcrt.dll_atof]
fstp dword [ebp + 0xe8]
add esp, 4
push 0x435380
lea ecx, [esp + 0x18]
call fcn.0042a470
xor ebx, ebx
mov edi, 0x4352ed
lea esi, [ebp + 0xfd]
push ebx
lea edx, [esp + 0x34]
push 0x435378
push edx
call dword [sym.imp.user32.dll_wsprintfA]
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x30]
lea edx, [esp + 0x1c]
push 0
push eax
push ecx
push edx
mov ecx, ebp
call sub.mfc42.dll_CWinApp::GetProfileStringA
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40f219
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
push edx
push ecx
push 0x4352d4
push eax
call dword [sym.imp.msvcrt.dll_sscanf]
mov dl, byte [esp + 0x38]
mov al, byte [esp + 0x3c]
mov cl, byte [esp + 0x40]
mov byte [esi + 1], dl
add esp, 0x14
mov byte [esi], al
jmp 0x40f226
mov dl, byte [edi - 1]
mov byte [esi + 1], dl
mov al, byte [edi]
mov byte [esi], al
mov cl, byte [edi + 1]
mov byte [esi - 1], cl
lea ecx, [esp + 0x1c]
call fcn.0042a3b0
add edi, 3
inc ebx
add esi, 4
cmp edi, 0x435335
jle 0x40f1b1
lea ecx, [esp + 0x20]
mov dword [ebp + 0xf0], 0x40
mov dword [ebp + 0xf4], 0x64
mov dword [ebp + 0xf8], 0
mov byte [esp + 0x44], 2
call fcn.0042a3b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 1
call fcn.0042a3b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call fcn.0042a3b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
call fcn.0042a3b0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret