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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x558ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x2c]
push edi
mov ecx, dword [ebp + 0x414]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
call fcn.004c56f0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [ebp + 0x74], edx
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x78], ecx
mov ecx, dword [ebp + 0x414]
add esp, 8
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x70], edx
call fcn.004ccdc0
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jle 0x407a46
push ecx
mov ecx, dword [ebp + 0x414]
call fcn.004ccd90
mov edi, dword [eax + 0x54]
mov esi, 0x5b6224
mov ecx, edi
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x4079bd
test dl, dl
je 0x4079b9
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x4079bd
add ecx, 2
add esi, 2
test dl, dl
jne 0x407999
xor ecx, ecx
jmp 0x4079c2
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x407a15
mov esi, 0x5b6304
mov ecx, edi
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x4079f1
test dl, dl
je 0x4079ed
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x4079f1
add ecx, 2
add esi, 2
test dl, dl
jne 0x4079cd
xor ecx, ecx
jmp 0x4079f6
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x407a15
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x407983
mov ebx, dword [esp + 0x24]
jmp 0x407a46
mov edx, dword [eax + 8]
mov ecx, 1
sub edx, 3
mov dword [esp + 0x1c], ecx
mov dword [ebp + 0x108], edx
mov edx, dword [ebp + 0x308]
cmp edx, ecx
mov ebx, eax
jne 0x407a3a
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x30c], ecx
jne 0x407a46
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x30c]
cmp eax, ecx
jge 0x407b20
mov ecx, dword [ebp + 0x414]
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x407b0e
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x414]
push edx
call fcn.004ccd90
mov esi, dword [ebx + 0x54]
mov edi, eax
mov ecx, dword [edi + 0x54]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x407aae
test dl, dl
je 0x407aaa
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x407aae
add ecx, 2
add esi, 2
test dl, dl
jne 0x407a8a
xor ecx, ecx
jmp 0x407ab3
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x407ad8
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x10]
sub ecx, 6
cmp ecx, eax
jne 0x407ad8
mov edx, dword [edi + 4]
mov eax, dword [ebx + 4]
cmp edx, eax
jne 0x407ad8
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
je 0x407ae9
mov eax, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x407a72
jmp 0x407b0e
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x308]
inc eax
mov ebx, edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x407b02
mov dword [esp + 0x14], edi
cmp eax, dword [ebp + 0x30c]
jne 0x407b0e
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x30c]
cmp edx, eax
jl 0x407a58
mov ecx, dword [ebp + 0x414]
call fcn.004cc990
mov edi, eax
mov eax, dword [ebp + 0xc0]
xor esi, esi
mov ecx, dword [eax + 0x32c]
test ecx, ecx
jle 0x407b62
mov eax, dword [eax + 0x328]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x407b53
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [ebp + 0xc0]
inc esi
cmp esi, dword [eax + 0x32c]
jl 0x407b3f
mov ecx, dword [ebp + 0xc0]
push 0xffffffffffffffff
add ecx, 0x324
push 0
call sub.MFC42.DLL_CObArray::SetSize
mov eax, edi
dec edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x407cd7
mov ecx, dword [ebp + 0x414]
push edi
call fcn.004cc960
mov edx, dword [eax + 8]
mov esi, dword [eax + 0x10]
cmp edx, esi
jne 0x407c64
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 8]
lea ecx, [ebx - 3]
cmp edx, ecx
jle 0x407bf0
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
add ecx, 3
cmp edx, ecx
jge 0x407bf0
mov ecx, dword [ebp + 0x108]
cmp edx, ecx
je 0x407bf0
cmp edx, dword [ebp + 0x7c]
je 0x407bf0
mov edi, dword [eax + 0x18]
push edi
mov edi, dword [eax + 0x14]
push edi
mov edi, ecx
sub edi, ebx
sub ecx, ebx
lea esi, [edi + esi + 3]
lea edx, [ecx + edx + 3]
push esi
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 4]
push esi
push edx
push eax
jmp 0x407cb9
cmp edx, esi
jne 0x407c64
mov ecx, dword [ebp + 0x108]
cmp edx, ecx
je 0x407c50
cmp edx, esi
jne 0x407c64
mov ebx, dword [ebp + 0x7c]
cmp edx, ebx
jne 0x407c47
mov edi, dword [eax + 0x18]
push edi
mov edi, dword [eax + 0x14]
push edi
mov edi, ecx
sub edi, ebx
mov ebx, dword [esp + 0x1c]
sub edi, dword [ebx + 8]
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + 0x10]
add edi, ebx
lea esi, [edi + esi + 6]
push esi
mov esi, dword [eax + 0xc]
push esi
mov esi, dword [ebp + 0x7c]
sub ecx, esi
mov esi, dword [esp + 0x24]
sub ecx, dword [esi + 8]
add ecx, ebx
lea ecx, [ecx + edx + 6]
mov edx, dword [eax + 4]
push ecx
push edx
jmp 0x407cb9
cmp edx, esi
jne 0x407c64
cmp edx, dword [ebp + 0x74]
jne 0x407c64
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
push esi
push ecx
push edx
mov edx, dword [eax + 4]
push edx
jmp 0x407cb9
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0xc]
cmp ecx, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
jne 0x407cc4
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 8]
lea ecx, [ebx - 3]
cmp edx, ecx
jge 0x407cc4
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
lea edi, [ecx + 3]
cmp esi, edi
jl 0x407cc4
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push edi
mov edi, dword [ebp + 0x7c]
push eax
mov eax, dword [ebp + 0x108]
sub eax, ebx
sub eax, edi
add eax, ecx
lea ecx, [eax + esi + 6]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc0]
call fcn.004cc8d0
mov edi, dword [esp + 0x10]
mov edx, edi
dec edi
test edx, edx
mov dword [esp + 0x10], edi
jne 0x407b86
mov ecx, dword [ebp + 0x414]
call fcn.004ccdc0
mov edi, eax
mov eax, dword [ebp + 0xc0]
xor esi, esi
mov ecx, dword [eax + 0x340]
test ecx, ecx
jle 0x407d19
mov eax, dword [eax + 0x33c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x407d0a
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [ebp + 0xc0]
inc esi
cmp esi, dword [eax + 0x340]
jl 0x407cf6
mov ecx, dword [ebp + 0xc0]
push 0xffffffffffffffff
add ecx, 0x338
push 0
call sub.MFC42.DLL_CObArray::SetSize
mov eax, edi
dec edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x408045
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [ebp + 0x414]
call fcn.004ccd90
mov ebx, eax
mov edi, 0x5b62bc
mov ecx, dword [ebx + 0x54]
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x407d7d
test al, al
je 0x407d79
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x407d7d
add esi, 2
add edi, 2
test al, al
jne 0x407d59
xor eax, eax
jmp 0x407d82
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407fa6
mov edi, 0x5b630c
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x407db5
test al, al
je 0x407db1
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x407db5
add esi, 2
add edi, 2
test al, al
jne 0x407d91
xor eax, eax
jmp 0x407dba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407fa6
mov edi, 0x5b6314
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x407ded
test al, al
je 0x407de9
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x407ded
add esi, 2
add edi, 2
test al, al
jne 0x407dc9
xor eax, eax
jmp 0x407df2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407fa6
mov edi, 0x5b62b4
mov esi, ecx
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x407e29
test al, al
je 0x407e25
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x407e29
add esi, 2
add edi, 2
test al, al
jne 0x407e01
xor eax, eax
jmp 0x407e2e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407ee7
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x64]
push eax
push ecx
mov eax, dword [ebx + 0x68]
push edx
mov edx, dword [ebx + 0x58]
sub esp, 0x3c
lea esi, [ebx + 0x14]
mov ecx, 0xf
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x5c]
push eax
mov eax, dword [ebx + 0x7c]
push ecx
mov ecx, dword [ebx + 0x78]
push edx
push eax
push ecx
push ecx
lea eax, [ebx + 0x54]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [ebx + 0x50]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
mov dword [esp + 0xb0], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x78]
mov eax, dword [ebp + 0x7c]
mov edi, dword [ebx + 0x10]
mov esi, dword [esp + 0x7c]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp + 0x108]
mov esi, dword [esi + 0x10]
sub edi, eax
sub edi, ecx
mov dword [esp + 0xac], 0xffffffff
add edi, edx
lea edi, [edi + esi + 6]
push edi
mov edi, dword [ebx + 0xc]
push edi
mov edi, dword [ebx + 8]
sub edi, eax
mov eax, dword [ebx + 4]
sub edi, ecx
add edi, edx
lea edx, [edi + esi + 6]
push edx
push eax
jmp 0x408027
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
cmp ecx, dword [edx + 8]
jl 0x408032
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
cmp eax, dword [ecx + 0x10]
jg 0x408032
mov edx, dword [ebx + 0x84]
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x64]
push edx
mov edx, dword [ebx + 0x68]
push eax
mov eax, dword [ebx + 0x5c]
push ecx
sub esp, 0x3c
lea esi, [ebx + 0x14]
mov ecx, 0xf
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x58]
push edx
mov edx, dword [ebx + 0x7c]
push eax
mov eax, dword [ebx + 0x78]
push ecx
push edx
push eax
push ecx
lea eax, [ebx + 0x54]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [ebx + 0x50]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
mov dword [esp + 0xb0], 2
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x78]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0xac], 0xffffffff
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x108]
sub edx, ecx
lea edx, [edx + eax + 3]
sub eax, ecx
mov ecx, dword [ebx + 8]
push edx
mov edx, dword [ebx + 0xc]
push edx
lea edx, [eax + ecx + 3]
mov eax, dword [ebx + 4]
push edx
push eax
jmp 0x408027
mov ecx, dword [ebx + 0x84]
mov edx, dword [ebx + 0x80]
mov eax, dword [ebx + 0x64]
push ecx
push edx
push eax
mov edx, dword [ebx + 0x5c]
sub esp, 0x3c
mov eax, dword [ebx + 0x58]
lea esi, [ebx + 0x14]
mov ecx, 0xf
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x68]
push ecx
mov ecx, dword [ebx + 0x7c]
push edx
mov edx, dword [ebx + 0x78]
push eax
push ecx
push edx
push ecx
lea eax, [ebx + 0x54]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebx + 0x50]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
mov dword [esp + 0xb0], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
mov dword [esp + 0xb8], 0xffffffff
push ecx
mov ecx, dword [ebp + 0xc0]
call fcn.004ccc50
mov eax, dword [esp + 0x10]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x10], eax
jne 0x407d3d
mov eax, dword [0x5c0450]
mov edx, dword [0x5c02c0]
mov ecx, dword [ebp + 0xc0]
sub eax, edx
inc eax
mov dword [ecx + 0x360], eax
mov edx, dword [ebp + 0x414]
mov eax, dword [ebp + 0xc0]
mov ecx, dword [edx + 0x364]
mov dword [eax + 0x364], ecx
mov edx, dword [ebp + 0x414]
mov ecx, dword [ebp + 0xc0]
add edx, 0x368
push edx
add ecx, 0x368
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 0x414]
mov ecx, dword [ebp + 0xc0]
add eax, 0x36c
add ecx, 0x36c
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 0x414]
add ecx, 0x370
push ecx
mov ecx, dword [ebp + 0xc0]
add ecx, 0x370
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp + 0x414]
mov ecx, dword [ebp + 0xc0]
add edx, 0x374
add ecx, 0x374
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 0x414]
mov ecx, dword [ebp + 0xc0]
add eax, 0x378
add ecx, 0x378
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 0x414]
add ecx, 0x37c
push ecx
mov ecx, dword [ebp + 0xc0]
add ecx, 0x37c
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp + 0x414]
mov ecx, dword [ebp + 0xc0]
add edx, 0x380
add ecx, 0x380
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 0x414]
mov ecx, dword [ebp + 0xc0]
add eax, 0x384
add ecx, 0x384
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 0xc0]
mov dword [ebp + 0x108], 0xffffffff
call fcn.004ccdc0
xor ebx, ebx
mov ecx, eax
dec eax
mov dword [esp + 0x1c], ebx
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x4083ca
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc0]
push edx
call fcn.004ccd90
mov ecx, eax
mov edi, 0x5b6224
mov esi, dword [ecx + 0x54]
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4081cc
test al, al
je 0x4081c8
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4081cc
add esi, 2
add edi, 2
test al, al
jne 0x4081a8
xor eax, eax
jmp 0x4081d1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40820e
mov esi, dword [ecx + 0x54]
mov edi, 0x5b6304
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x408201
test al, al
je 0x4081fd
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x408201
add esi, 2
add edi, 2
test al, al
jne 0x4081dd
xor eax, eax
jmp 0x408206
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4082c0
test ebx, ebx
jne 0x4082c8
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov edx, dword [ebp + 0x2f8]
sub eax, edi
add eax, 6
mov ebx, ecx
add edx, eax
mov dword [ebp + 0x2f8], edx
mov eax, dword [ecx + 8]
fild dword [ebp + 0x2f8]
add eax, 0xfffffffd
mov dword [esp + 0x20], eax
mov dword [ebp + 0xf0], eax
fdiv qword [ebp + 0xd0]
mov eax, dword [ebp + 0xc8]
lea edx, [eax + eax*4]
mov eax, dword [0x5c01a4]
shl edx, 1
mov dword [esp + 0x24], edx
add eax, 0x23
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [esp + 0x20]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4083ab
mov dword [ebp + 0xf4], ecx
mov dword [ebp + 0xf8], ecx
mov ecx, dword [ecx + 8]
sub ecx, 3
mov dword [ebp + 0x108], ecx
jmp 0x4083ab
test ebx, ebx
je 0x4083ab
mov edx, dword [ebx + 4]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x4083ab
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0xc]
cmp eax, edx
jne 0x4083ab
mov edi, dword [ecx + 0x54]
mov esi, dword [ebx + 0x54]
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x40830e
test al, al
je 0x40830a
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x40830e
add esi, 2
add edi, 2
test al, al
jne 0x4082ea
xor eax, eax
jmp 0x408313
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4083ab
mov eax, dword [ecx + 8]
mov edx, dword [ebx + 0x10]
cmp edx, eax
jge 0x4083ab
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x2f8]
sub edx, eax
mov ebx, ecx
add edx, 6
add esi, edx
mov eax, esi
mov dword [ebp + 0x2f8], esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc8]
fild dword [esp + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [0x5c01a4]
shl edx, 1
fdiv qword [ebp + 0xd0]
mov dword [esp + 0x24], edx
add eax, 0x23
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [ebp + 0xf0]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4083ab
mov dword [ebp + 0xf4], ecx
mov eax, dword [esp + 0x18]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x40818e
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x4085ee
mov ecx, dword [ebp + 0xc0]
call fcn.004ccdc0
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], eax
je 0x4085ee
mov ecx, dword [ebp + 0xc0]
push eax
call fcn.004ccd90
mov ecx, eax
mov edi, 0x5b62fc
mov edx, dword [ecx + 0x54]
mov esi, edx
mov bl, byte [esi]
mov al, bl
cmp bl, byte [edi]
jne 0x408420
test al, al
je 0x40841c
mov bl, byte [esi + 1]
mov al, bl
cmp bl, byte [edi + 1]
jne 0x408420
add esi, 2
add edi, 2
test al, al
jne 0x4083fc
xor eax, eax
jmp 0x408425
sbb eax, eax
sbb eax, 0xffffffff
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4084e5
test ebx, ebx
jne 0x4084ed
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov edx, dword [ebp + 0x2f8]
sub eax, edi
add eax, 6
mov dword [esp + 0x1c], ecx
add edx, eax
mov dword [ebp + 0x2f8], edx
mov eax, dword [ecx + 8]
fild dword [ebp + 0x2f8]
add eax, 0xfffffffd
mov dword [esp + 0x20], eax
mov dword [ebp + 0xf0], eax
fdiv qword [ebp + 0xd0]
mov eax, dword [ebp + 0xc8]
lea edx, [eax + eax*4]
mov eax, dword [0x5c01a4]
shl edx, 1
mov dword [esp + 0x24], edx
add eax, 0x23
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [esp + 0x20]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4085db
mov dword [ebp + 0xf4], ecx
mov dword [ebp + 0xf8], ecx
mov ecx, dword [ecx + 8]
sub ecx, 3
mov dword [ebp + 0x108], ecx
jmp 0x4085db
test ebx, ebx
je 0x4085db
mov eax, dword [ebx + 4]
mov esi, dword [ecx + 4]
cmp eax, esi
je 0x408505
mov eax, dword [ebx + 0xc]
mov esi, dword [ecx + 0xc]
cmp eax, esi
jne 0x4085db
mov edi, 0x5b62fc
mov esi, edx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x408530
test al, al
je 0x40852c
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x408530
add esi, 2
add edi, 2
test al, al
jne 0x40850c
xor eax, eax
jmp 0x408535
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4085db
mov edx, dword [ebx + 0x10]
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x4085db
mov esi, eax
sub esi, edx
cmp esi, 6
jne 0x4085db
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x1c], ecx
sub edx, eax
add edx, esi
mov esi, dword [ebp + 0x2f8]
add esi, edx
mov eax, esi
mov dword [ebp + 0x2f8], esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc8]
fild dword [esp + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [0x5c01a4]
shl edx, 1
fdiv qword [ebp + 0xd0]
mov dword [esp + 0x24], edx
add eax, 0x23
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [ebp + 0xf0]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4085db
mov dword [ebp + 0xf4], ecx
mov eax, dword [esp + 0x18]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x4083e4
mov eax, dword [ebp + 0xc8]
lea edx, [eax + eax*4]
mov eax, dword [0x5c01a4]
shl edx, 1
mov dword [esp + 0x24], edx
add eax, 6
fild dword [esp + 0x24]
fild dword [ebp + 0xf0]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fsub qword [0x57f528]
fild dword [esp + 0x24]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fst qword [esp + 0x24]
fcomp qword [0x57f4f0]
fnstsw ax
test ah, 0x41
jne 0x408688
fild dword [ebp + 0x2f8]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fld qword [esp + 0x24]
call sub.MSVCRT.dll__ftol
fld st(0)
mov esi, eax
call sub.MSVCRT.dll__ftol
cdq
idiv esi
test edx, edx
jne 0x408686
fdiv qword [esp + 0x24]
call sub.MSVCRT.dll__ftol
mov dword [ebp + 0xe8], eax
jmp 0x4086d8
fstp st(0)
fld qword [esp + 0x24]
fcomp qword [0x57f4f0]
fnstsw ax
test ah, 0x41
jne 0x4086d8
fild dword [ebp + 0x2f8]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fld qword [esp + 0x24]
call sub.MSVCRT.dll__ftol
fld st(0)
mov esi, eax
call sub.MSVCRT.dll__ftol
cdq
idiv esi
test edx, edx
je 0x4086d6
fdiv qword [esp + 0x24]
call sub.MSVCRT.dll__ftol
inc eax
mov dword [ebp + 0xe8], eax
jmp 0x4086d8
fstp st(0)
mov ecx, dword [ebp + 0xf8]
mov eax, dword [ebp + 0xf4]
mov ebx, 1
mov edx, dword [ecx + 8]
sub edx, 3
mov dword [ebp + 0x10c], edx
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0xe8]
add ecx, 3
cmp eax, ebx
mov dword [ebp + 0x1fc], ecx
jle 0x40889f
lea edi, [ebp + 0x110]
mov eax, dword [ebp + 0xf4]
test eax, eax
mov dword [ebp + 0xf8], eax
je 0x408889
mov ecx, dword [ebp + 0xc0]
call fcn.004ccdc0
fld qword [0x57f4f0]
fdiv qword [ebp + 0xd0]
mov eax, dword [ebp + 0xc8]
mov ecx, dword [ebp + 0xf8]
xor esi, esi
lea edx, [eax + eax*4]
mov eax, dword [0x5c01a4]
shl edx, 1
mov dword [esp + 0x24], edx
add eax, 0x23
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [ebp + 0xf0]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x40882f
push ecx
mov ecx, dword [ebp + 0xc0]
push ecx
call fcn.004c56a0
add esp, 8
test eax, eax
je 0x40882f
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 8]
sub edx, ecx
mov dword [ebp + 0xf4], eax
mov ecx, eax
mov eax, dword [ebp + 0xc8]
lea esi, [esi + edx + 6]
mov edx, dword [0x5c01a4]
mov dword [esp + 0x24], esi
lea eax, [eax + eax*4]
fild dword [esp + 0x24]
shl eax, 1
mov dword [esp + 0x24], eax
add edx, 0x23
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [ebp + 0xf0]
mov dword [esp + 0x24], edx
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4087a0
mov eax, dword [ebp + 0xf8]
mov ecx, dword [eax + 0x10]
add ecx, 3
mov dword [edi], ecx
mov edx, dword [ebp + 0xf4]
mov eax, dword [edx + 0x10]
add eax, 3
mov dword [edi + 0xf0], eax
mov ecx, dword [ebp + 0xe8]
dec ecx
cmp ebx, ecx
jne 0x408864
cmp dword [edi], eax
jne 0x408864
mov dword [ebp + 0xe8], ecx
mov eax, dword [ebp + 0xe8]
inc ebx
add edi, 4
cmp ebx, eax
jl 0x408715
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2010
push 0x5b6164
push 0x5b6338
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MessageBoxA
mov ecx, dword [esp + 0x40]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret