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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c52e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xefc
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov ecx, 0x626e68
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
call fcn.00470c00
test al, al
je 0x421347
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x14], 2
mov ecx, 0x17
lea eax, [edx + 0x5c]
cmp dword [eax], esi
jne 0x42067a
dec ecx
sub eax, 4
cmp ecx, 2
jge 0x420355
cmp dword [ebp + 0x18], esi
je 0x4203b0
mov ecx, 0x18
mov esi, edx
lea edi, [esp + 0xb4]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov ecx, 0x18
mov edi, edx
cmp esi, 2
rep stosd dword es:[edi], eax
jl 0x4203a9
lea ecx, [edx + esi*8]
lea eax, [esp + esi*4 + 0xb4]
lea edx, [esi - 1]
mov edi, dword [eax]
sub eax, 4
mov dword [ecx], edi
sub ecx, 8
dec edx
jne 0x42039c
lea eax, [esi + esi]
mov dword [esp + 0x14], eax
mov ecx, dword [ebx + 0x1c0]
push 0
push 0
push 0x147
push ecx
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, dword [ebx + 0x494]
mov ecx, eax
shl ecx, 5
mov esi, dword [edx + 0x98]
add ecx, eax
shl ecx, 4
add esi, ecx
mov ecx, esi
call fcn.00501d40
lea ecx, [esp + 0x40]
mov edi, eax
call sub.mfc42u.dll_CString::CString_3
lea edx, [esi + edi*4]
lea ecx, [esp + 0x40]
push edx
mov dword [esp + 0xf14], 0
call sub.mfc42u.dll_CString::operator_2
mov eax, dword [ebx + 0x494]
mov ecx, dword [eax + 0xec]
mov eax, dword [ebx + 0x2d4]
mov edx, dword [ecx + edi*4]
lea edi, [eax - 1]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], edi
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esp + 0x368]
mov byte [esp + 0xf10], 1
call fcn.00467440
lea eax, [esp + 0x1c]
lea ecx, [ebx + 0x160]
push eax
mov byte [esp + 0xf14], 2
call sub.mfc42u.dll_CWnd::GetWindowTextW_1
lea ecx, [esp + 0x1c]
push ecx
call fcn.004aab90
fstp qword [esp + 0x374]
add esp, 4
lea edx, [esp + 0x1c]
lea ecx, [ebx + 0xe0]
push edx
call sub.mfc42u.dll_CWnd::GetWindowTextW_1
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.msvcrt.dll_wcstod]
fmul qword [0x5e2640]
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, ebx
fsubr qword [0x5e2858]
push edx
push 0x527
fmul qword [esp + 0x378]
fstp qword [esp + 0x378]
call sub.mfc42u.dll_CWnd::GetDlgItemTextW
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.msvcrt.dll_wcstod]
fmul qword [0x5e2640]
add esp, 8
lea edx, [esp + 0x1c]
push edx
fstp qword [esp + 0x3ac]
push 0x526
mov ecx, ebx
call sub.mfc42u.dll_CWnd::GetDlgItemTextW
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.msvcrt.dll_wcstod]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
fadd st(0), st(0)
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x3a4], eax
mov eax, dword [ebx + 0x2d8]
add esp, 8
sub eax, edi
mov dword [esp + 0x398], edx
fstp qword [esp + 0x3a0]
fild dword [ebp + 0x30]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x390], ecx
dec eax
lea ecx, [esp + 0x84]
fmul qword [0x5e2640]
mov dword [esp + 0x394], edx
mov dword [esp + 0x38c], eax
fstp qword [esp + 0x3b0]
call fcn.005c0f92
mov dword [esp + 0x84], 0x5e4670
mov eax, dword [esp + 0x38c]
mov byte [esp + 0xf10], 3
test eax, eax
jle 0x4205e8
add ebx, 0x220
mov dword [esp + 0x10], ebx
lea ebx, [edi + 1]
mov edi, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x14]
push 0
push eax
mov ecx, edi
call fcn.004c4290
mov ecx, dword [esp + 0x8c]
push eax
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf18], 4
call sub.mfc42u.dll_CStringArray::SetAtGrow
lea ecx, [esp + 0x10]
mov byte [esp + 0xf10], 3
call sub.mfc42u.dll_CString::CString
mov eax, dword [esp + 0x38c]
inc esi
inc ebx
cmp esi, eax
jl 0x42059e
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0x98]
cmp eax, ecx
jle 0x420702
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 0x94]
mov edi, dword [ecx + edx*4]
mov dword [esp + 0x10], edi
add edi, 0x980
mov ecx, edi
call fcn.004b0c20
mov ecx, dword [esp + 0x40]
mov edx, dword [eax]
push ecx
push edx
call dword [sym.imp.msvcrt.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4206df
mov ecx, edi
call fcn.004b09f0
mov ebx, eax
mov eax, dword [esp + 0x8c]
lea esi, [eax - 1]
test esi, esi
jl 0x4206df
mov ecx, dword [esp + 0x88]
mov eax, dword [ebx]
push eax
mov edx, dword [ecx + esi*4]
push edx
call dword [sym.imp.msvcrt.dll_wcscmp]
add esp, 8
test eax, eax
je 0x42068f
dec esi
jns 0x42065a
jmp 0x4206df
cmp ecx, 0xa
mov dword [esp + 0x14], ecx
jle 0x420366
mov dword [ebp + 0x18], esi
jmp 0x4203b0
cmp esi, 0xffffffff
je 0x4206df
mov eax, dword [esp + 0x20]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4206a4
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 0xab8]
mov edx, dword [eax + 0xabc]
mov dword [esp + 0xac], ecx
mov ecx, edi
mov dword [esp + 0xb0], edx
lea esi, [esp + esi*8 + 0x3b8]
call fcn.004b0c10
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esp + 0xac]
fadd qword [esi]
fstp qword [esi]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0x98]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x420604
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x420713
push 1
push 0
push 0
push 0
push 0
push 0x618f30
jmp 0x420739
fld qword [esp + 0x370]
fcomp qword [0x5e46c8]
fnstsw ax
test ah, 1
je 0x42074f
push 1
push 0
push 0
push 0
push 0x6182b8
push 0x6182a4
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c690
add esp, 0x18
jmp 0x4212ef
mov eax, dword [esp + 0x38c]
xor ecx, ecx
test eax, eax
jle 0x42077c
lea eax, [esp + 0x3b8]
fld qword [eax]
fdiv qword [esp + 0x370]
inc ecx
add eax, 8
fstp qword [eax - 8]
cmp ecx, dword [esp + 0x38c]
jl 0x420763
lea ecx, [esp + 0x160]
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esp + 0x164]
mov byte [esp + 0xf10], 5
call sub.mfc42u.dll_CString::CString_3
mov edx, 0x618e10
mov byte [esp + 0xf10], 6
test edx, edx
mov dword [esp + 0x15c], 0x5e2a70
jne 0x4207c0
call fcn.004328a0
push eax
jmp 0x4207c5
push 0x618e10
lea ecx, [esp + 0x168]
call fcn.005c0e66
call fcn.00432890
push eax
lea ecx, [esp + 0x164]
call fcn.005c0e66
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x15c]
push eax
push 0x618f14
mov byte [esp + 0xf18], 7
call fcn.004b5a40
mov eax, dword [esp + 0x158]
xor esi, esi
cmp eax, esi
jne 0x42087a
mov dword [esp + 0xd58], 0x66666666
mov dword [esp + 0xd5c], 0x3fe66666
mov dword [esp + 0xd60], 0x66666666
mov dword [esp + 0xd64], 0x3fe66666
mov dword [esp + 0xd68], esi
mov dword [esp + 0xd6c], 0x3fe80000
mov eax, 3
lea ecx, [esp + 0xd70]
lea edx, [eax + 0x4d]
inc eax
mov dword [esp + 0x10], edx
add ecx, 8
fild dword [esp + 0x10]
cmp eax, 0xc
fmul qword [0x5e2640]
fstp qword [ecx - 8]
jl 0x42085b
jmp 0x4208b6
lea eax, [esp + 0xd58]
lea ecx, [esp + 0x12c]
mov edi, 0xc
mov ebx, 0x50
mov edx, dword [ecx]
cmp edx, ebx
mov dword [esp + 0x10], edx
jg 0x4208a0
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
add ecx, 4
add eax, 8
dec edi
fmul qword [0x5e2640]
fstp qword [eax - 8]
jne 0x420892
cmp dword [ebp + 0x10], esi
je 0x420949
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x98], esi
jle 0x420949
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x94]
mov eax, dword [edx + esi*4]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x988]
mov edi, dword [edx + 0x988]
cmp ecx, edi
jne 0x42093a
push 0
push 0
push eax
call fcn.0041fe80
mov ebx, eax
mov eax, dword [esp + 0x38c]
add esp, 0xc
mov edi, eax
inc eax
lea ecx, [esp + 0x378]
push 0xffffffffffffffff
push eax
call fcn.0046d900
mov eax, dword [esp + 0x37c]
mov ecx, ebx
mov dword [eax + edi*4], ebx
call fcn.0050b020
fld qword [eax + 0x28]
fcomp qword [esp + 0x370]
fnstsw ax
test ah, 0x41
je 0x420a4e
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, dword [ecx + 0x98]
jl 0x4208cb
xor esi, esi
cmp dword [ebp + 0x18], esi
je 0x42096b
lea eax, [esp + 0x3b8]
mov ecx, 0x134
fld qword [eax]
fmul qword [0x5e2790]
add eax, 8
dec ecx
fstp qword [eax - 8]
jne 0x42095a
mov dword [esp + 0x98], 0x5e2984
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], esi
lea ecx, [esp + 0x98]
push esi
push ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0xf18], 8
call fcn.0041caa0
mov eax, 0x5e27fc
mov dword [esp + 0x28], esi
fstp st(0)
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], esi
cmp ecx, esi
mov dword [esp + 0x14], esi
jle 0x420d11
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x34]
cmp byte [edx + eax], 0
je 0x420ce3
mov al, byte [esp + 0x3c]
mov dword [esp + 0xf10], 0xa
test al, 1
je 0x420a2f
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xac]
and al, 0xfe
mov dword [esp + 0x3c], eax
call sub.mfc42u.dll_CString::CString
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
jle 0x420b8a
mov edi, dword [esp + 0x20]
jmp 0x420aa8
mov eax, dword [esp + 0x380]
xor esi, esi
test eax, eax
jle 0x420a7c
mov edx, dword [esp + 0x37c]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x420a70
mov eax, dword [ecx]
push 1
call dword [eax + 0x28]
mov eax, dword [esp + 0x380]
inc esi
cmp esi, eax
jl 0x420a5b
push 1
push 0
push 0
push 0
push 0x6182b8
push 0x6182a4
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c690
add esp, 0x18
jmp 0x4212db
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x9c]
mov eax, dword [ebp + 0x18]
test eax, eax
fld qword [ecx + edi*8]
fcomp qword [0x5e2798]
fnstsw ax
je 0x420b13
test ah, 0x41
jne 0x420af7
fld qword [ecx + edi*8]
fmul qword [0x5e46b8]
call sub.msvcrt.dll__ftol
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x2c]
mov ebx, eax
call fcn.0046d900
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
inc eax
mov dword [edx + esi*4], ebx
mov dword [esp + 0x18], eax
jmp 0x420b5d
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x2c]
call fcn.0046d900
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi*4], 0
jmp 0x420b5d
test ah, 0x41
jne 0x420b43
fld qword [ecx + edi*8]
call sub.msvcrt.dll__ftol
lea edx, [esi + 1]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x2c]
mov ebx, eax
call fcn.0046d900
mov eax, dword [esp + 0x28]
mov dword [eax + esi*4], ebx
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x420b5d
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x2c]
call fcn.0046d900
mov edx, dword [esp + 0x28]
mov dword [edx + esi*4], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38c]
inc edi
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x420aa4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edi
test eax, eax
jne 0x420cbf
mov esi, dword [esp + 0x2c]
mov ebx, esi
sub ebx, ecx
jne 0x420bb4
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
je 0x420ba7
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
jmp 0x420cf4
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x420bf3
lea esi, [ebx*4]
push esi
call sub.mfc42u.dll_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x2c], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
mov esi, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
jmp 0x420cf4
mov ecx, dword [esp + 0x30]
cmp ebx, ecx
jg 0x420c2b
cmp esi, ebx
jge 0x420c18
mov ecx, ebx
lea edx, [eax + esi*4]
sub ecx, esi
push ecx
push edx
call fcn.005463a0
mov esi, ebx
mov dword [esp + 0x2c], esi
jmp 0x420cf4
jle 0x420c20
sub esi, ebx
mov dword [esp + 0x10], esi
mov esi, ebx
mov dword [esp + 0x2c], esi
jmp 0x420cf4
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x420c56
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x420c4a
mov eax, 4
jmp 0x420c56
cmp eax, 0x400
jle 0x420c56
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x18], eax
jl 0x420c64
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
lea ecx, [eax*4]
push ecx
call sub.mfc42u.dll_operatornew
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edi, eax
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x10], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.005463a0
mov ecx, dword [esp + 0x28]
push ecx
call sub.mfc42u.dll_operatordelete
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, ebx
add esp, 4
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
jmp 0x420cf4
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.0046d900
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [ecx + esi*4], edx
mov esi, dword [esp + 0x2c]
jmp 0x420cf4
mov eax, dword [esp + 0x38c]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4209f1
test esi, esi
jne 0x420d80
mov eax, dword [esp + 0x4c]
mov edi, 0x5e27fc
mov dword [esp + 0x48], edi
test eax, eax
mov byte [esp + 0xf10], 0xc
je 0x420d2f
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x24], edi
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x28]
mov byte [esp + 0xf10], 0xd
test eax, eax
je 0x420d55
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x98], 0x5e2984
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xf10], 0xe
test eax, eax
je 0x4212d4
jmp 0x4212cb
xor ecx, ecx
xor edi, edi
cmp esi, ecx
jle 0x420d96
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
add eax, 4
add edi, edx
dec esi
jne 0x420d8c
mov eax, 0x5e27fc
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ecx
mov al, byte [ebp + 8]
mov byte [esp + 0xf10], 0x10
test al, al
je 0x420efb
mov esi, dword [esp + 0x38c]
lea ebx, [esi*4]
imul esi, ebx
cmp esi, ecx
jne 0x420df8
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], ecx
jmp 0x420e2c
lea edi, [esi*4]
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, edi
mov dword [esp + 0x64], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x68], esi
rep stosb byte es:[edi], al
mov dword [esp + 0x64], esi
xor ecx, ecx
mov esi, dword [esp + 0x50]
imul esi, ebx
cmp esi, ecx
jne 0x420e41
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ecx
jmp 0x420e64
lea eax, [esi*4]
push eax
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x74], eax
push esi
push eax
call fcn.005463a0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push esi
push ecx
mov ecx, dword [esp + 0x39c]
push edx
mov edx, dword [esp + 0x5c]
push ebx
mov ebx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x3a0]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00421540
mov edi, eax
test edi, edi
mov dword [ebp + 0xc], edi
je 0x421217
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::BeginWaitCursor
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38c]
push esi
push edx
mov edx, dword [esp + 0x58]
push edi
push eax
push ecx
push edx
push 0
mov byte [esp + 0xf2c], 0x11
call fcn.005b3290
add esp, 0x1c
mov byte [esp + 0xf10], 0x10
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::EndWaitCursor
jmp 0x4210c3
push 0
lea ecx, [esp + 0xb8]
call fcn.0042c150
imul edi, dword [ebp + 0x30]
lea eax, [esp + 0x114]
lea ecx, [esp + 0x368]
push eax
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
push ecx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp + 0x14]
cmp eax, 1
mov eax, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x2c]
sete cl
push ecx
mov ecx, dword [esp + 0x3a4]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3a8]
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
push edx
mov byte [esp + 0xf3c], 0x12
call fcn.005b27d0
mov ebx, eax
add esp, 0x2c
test ebx, ebx
mov dword [ebp + 0xc], ebx
je 0x421062
lea ecx, [esp + 0xb4]
call sub.mfc42u.dll_CDialog::DoModal
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::BeginWaitCursor
mov esi, dword [esp + 0x38c]
xor eax, eax
imul esi, ebx
cmp esi, eax
mov byte [esp + 0xf10], 0x13
jne 0x420fb7
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
jmp 0x420feb
lea edi, [esi*4]
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, edi
mov dword [esp + 0x64], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x68], esi
rep stosb byte es:[edi], al
mov dword [esp + 0x64], esi
xor eax, eax
mov esi, dword [esp + 0x50]
imul esi, ebx
cmp esi, eax
jne 0x421000
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
jmp 0x421023
lea eax, [esi*4]
push eax
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x74], eax
push esi
push eax
call fcn.005463a0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x36c]
push edx
push eax
lea edx, [esp + 0x120]
push ecx
push edx
call fcn.005b2f20
add esp, 0x14
mov dword [ebp + 0xc], eax
mov byte [esp + 0xf10], 0x12
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::EndWaitCursor
mov eax, dword [esp + 0x380]
xor esi, esi
test eax, eax
jle 0x421090
mov eax, dword [esp + 0x37c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x421084
mov edx, dword [ecx]
push 1
call dword [edx + 0x28]
mov eax, dword [esp + 0x380]
inc esi
cmp esi, eax
jl 0x42106f
lea ecx, [esp + 0x114]
mov byte [esp + 0xf10], 0x14
call fcn.00422fa0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xf10], 0x10
call fcn.005c0d94
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x74]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x421217
mov eax, dword [ebx + 0x2d0]
lea ecx, [ebx + 0x220]
mov dword [esp + 0x10], eax
add eax, edi
push eax
call fcn.004bf4b0
test edi, edi
mov dword [esp + 0x14], 0
jle 0x4211f5
mov edi, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x42116b
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
test eax, eax
je 0x421152
mov edx, dword [esp + 0x4c]
push eax
push 0
push 0x617dbc
mov eax, dword [edx + esi*4]
inc eax
push eax
lea eax, [ebx + 0x220]
push edi
push eax
call fcn.004c06e0
mov ecx, dword [esp + 0x64]
add esp, 0x18
mov edx, dword [ecx + esi*4]
push 0xe0ffff
inc edx
lea ecx, [ebx + 0x220]
push edx
push edi
call fcn.004c0c30
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x38]
shl eax, 2
add ecx, eax
mov eax, dword [esp + 0x50]
inc esi
mov dword [esp + 0x38], ecx
cmp esi, eax
jl 0x42110d
mov ecx, dword [esp + 0x44]
mov eax, dword [ebx + 0x2d8]
lea esi, [ecx + 1]
cmp esi, eax
jge 0x4211c9
mov edx, dword [esp + 0x38c]
mov eax, dword [esp + 0x44]
imul edx, dword [esp + 0x14]
sub edx, eax
mov eax, dword [esp + 0x60]
add edx, esi
push 0
mov ecx, dword [eax + edx*4 - 4]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
test eax, eax
je 0x4211af
fmul qword [0x5e2790]
sub esp, 8
mov ecx, ebx
fstp qword [esp]
push esi
push edi
call fcn.0041b5a0
mov eax, dword [ebx + 0x2d8]
inc esi
cmp esi, eax
jl 0x42117c
push edi
mov ecx, ebx
call fcn.0041e520
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
mov ecx, dword [ebp + 0xc]
inc eax
add esi, 4
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], esi
jl 0x4210fb
mov esi, dword [esp + 0x74]
lea edx, [esp + 0x98]
push 1
push edx
mov ecx, ebx
call fcn.0041caa0
lea eax, [esp + 0x98]
mov ecx, ebx
push eax
fstp st(0)
call fcn.0041bb70
add ebx, 0x220
mov ecx, ebx
call fcn.004c1160
mov ecx, ebx
call fcn.004c1420
mov edi, 0x5e27fc
mov dword [esp + 0x70], edi
test esi, esi
mov byte [esp + 0xf10], 0x15
je 0x421249
push esi
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x60]
mov byte [esp + 0xf10], 0x16
test eax, eax
je 0x421266
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xf10], 0x17
test eax, eax
je 0x421283
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x24], edi
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x28]
mov byte [esp + 0xf10], 0x18
test eax, eax
je 0x4212a9
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x98], 0x5e2984
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xf10], 0x19
test eax, eax
je 0x4212d4
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x98], esi
lea ecx, [esp + 0x15c]
mov byte [esp + 0xf10], 3
call fcn.004b5690
lea ecx, [esp + 0x84]
mov byte [esp + 0xf10], 2
mov dword [esp + 0x84], 0x5e4670
call sub.mfc42u.dll_CStringArray::CStringArray
lea ecx, [esp + 0x368]
mov byte [esp + 0xf10], 1
call fcn.00467d60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf10], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0xf10], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0xf08]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30