Function at 0x4072b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4208f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push edi
mov edi, ecx
call fcn.004079c0
mov eax, dword [edi + 0x20]
xor ebx, ebx
push 0x40a
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call dword [0x422554]
push eax
lea ecx, [esp + 0x60]
call fcn.00407800
cmp dword [esp + 0x60], ebx
je 0x407656
mov al, byte [esp + 0xb]
push ebx
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.004084a0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov cl, byte [esp + 0xb]
push ebx
mov byte [esp + 0x48], cl
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], ebx
call fcn.004084a0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dl, byte [esp + 0xb]
push ebx
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x7c], 1
mov byte [esp + 0x40], dl
call fcn.004084a0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x30]
mov byte [esp + 0x74], 2
push eax
call fcn.00406d60
mov ecx, dword [0x42b998]
add esp, 4
cmp ecx, ebx
jne 0x407390
mov ecx, 0x42b998
call fcn.00407670
mov ecx, dword [0x42b998]
cmp ecx, ebx
je 0x4073b1
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
je 0x4073b1
mov ecx, dword [0x42b998]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x42b998]
mov edx, dword [ecx]
call dword [edx + 0x28]
jmp 0x4073b3
xor eax, eax
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x40749f
lea ecx, [esp + 0x30]
add eax, 0x288
push ecx
push eax
call fcn.00406db0
add esp, 8
test eax, eax
je 0x407407
mov edx, dword [esp + 0xc]
cmp dword [edx + 0x2a0], ebx
jne 0x407480
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.004083e0
mov edx, dword [eax]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x5c]
jmp 0x40747b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x30]
add edx, 0x288
push ecx
push edx
call fcn.00406dd0
add esp, 8
test eax, eax
je 0x407450
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x2a0], ebx
jne 0x407480
lea ecx, [esp + 0xc]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.004083e0
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x50]
jmp 0x40747b
mov edx, dword [esp + 0xc]
cmp dword [edx + 0x2a0], ebx
jne 0x407480
lea eax, [esp + 0xc]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004083e0
mov edx, dword [eax]
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.004083f0
mov ecx, dword [0x42b998]
cmp ecx, ebx
jne 0x40748e
xor eax, eax
jmp 0x407493
mov edx, dword [ecx]
call dword [edx + 0x2c]
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4073bf
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x4074c1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x17b
mov ecx, edi
call fcn.00407080
cmp dword [esp + 0x4c], ebx
je 0x4074dd
lea edx, [esp + 0x10]
lea eax, [esp + 0x44]
push edx
push eax
push 0x17c
mov ecx, edi
call fcn.00407080
cmp dword [esp + 0x40], ebx
je 0x4074f9
lea ecx, [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
push edx
push 0x186
mov ecx, edi
call fcn.00407080
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x58]
add eax, ecx
jne 0x407543
push 0x187
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
push ebx
push 0x28
mov edx, dword [eax]
push ebx
push ecx
push ebx
push eax
mov byte [esp + 0x8c], 3
call dword [edx + 0x40]
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x60]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x3f8
mov ecx, edi
mov dword [esp + 0x20], ebx
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x422568]
test eax, eax
je 0x407588
mov eax, dword [esp + 0x18]
xor edx, edx
cmp esi, 1
setg dl
push edx
push eax
call dword [0x422570]
mov eax, dword [esp + 0x40]
mov byte [esp + 0x78], 1
mov esi, eax
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x1c], ecx
je 0x4075c7
lea ecx, [esp + 0x30]
push ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.00408510
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.004084d0
cmp dword [esp + 0x1c], esi
jne 0x40759d
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
add esp, 4
mov ecx, dword [eax]
mov byte [esp + 0x78], bl
cmp ecx, eax
mov esi, eax
mov dword [esp + 0x1c], ecx
je 0x407616
lea ecx, [esp + 0x30]
push ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.00408510
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.004084d0
cmp dword [esp + 0x1c], esi
jne 0x4075ec
mov eax, dword [esp + 0x4c]
push eax
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x84], 0xffffffff
call fcn.00408450
mov edx, dword [esp + 0x58]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
pop esi
mov ecx, dword [esp + 0x6c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret