Function at 0x404e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40ba18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::CString_1
mov bl, 4
push 0x4111dc
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x18]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 5
call fcn.0040ae78
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.0040adee
push 0x41121c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
cmp edi, 0xffffffff
je 0x405216
lea eax, [esi + 0x1b0]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], eax
push edi
lea ecx, [esp + 0x24]
push 0
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 6
call fcn.0040ae78
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.0040adee
push 0x404
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push edx
call ebp
cmp eax, 1
jne 0x404fe2
lea eax, [esp + 0x18]
push 0x4111dc
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 7
call fcn.0040ae78
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], bl
call fcn.0040adee
push 0x4111f4
jmp 0x40508e
push 0x406
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push edx
call ebp
cmp eax, 1
jne 0x405039
lea eax, [esp + 0x18]
push 0x4111dc
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 8
call fcn.0040ae78
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.0040adee
push 0x4111e8
jmp 0x40508e
push 0x405
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push edx
call ebp
cmp eax, 1
jne 0x405097
lea eax, [esp + 0x18]
push 0x4111dc
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 9
call fcn.0040ae78
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call fcn.0040adee
push 0x4111e0
lea ecx, [esp + 0x14]
call fcn.0040ae8a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x5c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
sub eax, edi
dec eax
push eax
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0xa
call fcn.0040ae78
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.0040adee
push 0x41121c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
cmp edi, 0xffffffff
jne 0x404f5b
push 0x404
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push eax
call ebp
cmp eax, 1
jne 0x40514d
lea ecx, [esp + 0x14]
push 0x4111dc
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0xb
call fcn.0040ae78
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.0040adee
push 0x4111f4
jmp 0x4051f9
push 0x406
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push eax
call ebp
cmp eax, 1
jne 0x4051a4
lea ecx, [esp + 0x14]
push 0x4111dc
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0xc
call fcn.0040ae78
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.0040adee
push 0x4111e8
jmp 0x4051f9
push 0x405
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push eax
call ebp
cmp eax, 1
jne 0x405202
lea ecx, [esp + 0x14]
push 0x4111dc
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0xd
call fcn.0040ae78
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.0040adee
push 0x4111e0
lea ecx, [esp + 0x14]
call fcn.0040ae8a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x5c]
pop ebp
jmp 0x40533f
push 0x404
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push pe_nt_image_headers32
push eax
call edi
cmp eax, 1
jne 0x405276
lea ecx, [esp + 0x10]
push 0x4111dc
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0xe
call fcn.0040ae78
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], bl
call fcn.0040adee
push 0x4111f4
jmp 0x405322
push 0x406
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push eax
call edi
cmp eax, 1
jne 0x4052cd
lea ecx, [esp + 0x10]
push 0x4111dc
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0xf
call fcn.0040ae78
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], bl
call fcn.0040adee
push 0x4111e8
jmp 0x405322
push 0x405
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push eax
call edi
cmp eax, 1
jne 0x40532b
lea ecx, [esp + 0x10]
push 0x4111dc
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0x10
call fcn.0040ae78
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], bl
call fcn.0040adee
push 0x4111e0
lea ecx, [esp + 0x10]
call fcn.0040ae8a
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x1b0]
lea ecx, [esi + 0x1b0]
push edx
call dword [eax + 0x5c]
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 3
call fcn.0040adee
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 2
call fcn.0040adee
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.0040adee
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.0040adee
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040adee
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4