Function at 0x4098a0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x558d08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, dword [ebp + 0x414]
call fcn.004ccdc0
mov ecx, dword [ebp + 0x414]
lea eax, [esp + 0x28]
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 + 0x34]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x74], edx
mov edx, dword [esp + 0x30]
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 0x4099f1
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 0x409968
test dl, dl
je 0x409964
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x409968
add ecx, 2
add esi, 2
test dl, dl
jne 0x409944
xor ecx, ecx
jmp 0x40996d
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4099c0
mov esi, 0x5b6304
mov ecx, edi
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x40999c
test dl, dl
je 0x409998
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x40999c
add ecx, 2
add esi, 2
test dl, dl
jne 0x409978
xor ecx, ecx
jmp 0x4099a1
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4099c0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x40992e
mov ebx, dword [esp + 0x24]
jmp 0x4099f1
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 0x4099e5
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x30c], ecx
jne 0x4099f1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x30c]
cmp eax, ecx
jge 0x409acb
mov ecx, dword [ebp + 0x414]
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x409ab9
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 0x409a59
test dl, dl
je 0x409a55
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x409a59
add ecx, 2
add esi, 2
test dl, dl
jne 0x409a35
xor ecx, ecx
jmp 0x409a5e
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x409a83
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x10]
sub ecx, 6
cmp ecx, eax
jne 0x409a83
mov edx, dword [edi + 4]
mov eax, dword [ebx + 4]
cmp edx, eax
jne 0x409a83
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
je 0x409a94
mov eax, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x409a1d
jmp 0x409ab9
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x308]
inc eax
mov ebx, edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x409aad
mov dword [esp + 0x14], edi
cmp eax, dword [ebp + 0x30c]
jne 0x409ab9
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x30c]
cmp edx, eax
jl 0x409a03
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jg 0x40a86b
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 0x409b23
mov eax, dword [eax + 0x328]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x409b14
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [ebp + 0xc0]
inc esi
cmp esi, dword [eax + 0x32c]
jl 0x409b00
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 0x409c98
mov ecx, dword [ebp + 0x414]
push edi
call fcn.004cc960
mov edx, dword [eax + 8]
mov esi, dword [eax + 0x10]
cmp edx, esi
jne 0x409c25
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 8]
lea ecx, [ebx - 3]
cmp edx, ecx
jle 0x409bb1
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
add ecx, 3
cmp edx, ecx
jge 0x409bb1
mov ecx, dword [ebp + 0x108]
cmp edx, ecx
je 0x409bb1
cmp edx, dword [ebp + 0x7c]
je 0x409bb1
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 0x409c7a
cmp edx, esi
jne 0x409c25
mov ecx, dword [ebp + 0x108]
cmp edx, ecx
je 0x409c11
cmp edx, esi
jne 0x409c25
mov ebx, dword [ebp + 0x7c]
cmp edx, ebx
jne 0x409c08
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 0x409c7a
cmp edx, esi
jne 0x409c25
cmp edx, dword [ebp + 0x74]
jne 0x409c25
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 0x409c7a
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0xc]
cmp ecx, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
jne 0x409c85
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 8]
lea ecx, [ebx - 3]
cmp edx, ecx
jge 0x409c85
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
lea edi, [ecx + 3]
cmp esi, edi
jl 0x409c85
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 0x409b47
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 0x409cda
mov eax, dword [eax + 0x33c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x409ccb
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [ebp + 0xc0]
inc esi
cmp esi, dword [eax + 0x340]
jl 0x409cb7
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 0x40a006
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 0x409d3e
test al, al
je 0x409d3a
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x409d3e
add esi, 2
add edi, 2
test al, al
jne 0x409d1a
xor eax, eax
jmp 0x409d43
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x409f67
mov edi, 0x5b630c
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x409d76
test al, al
je 0x409d72
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x409d76
add esi, 2
add edi, 2
test al, al
jne 0x409d52
xor eax, eax
jmp 0x409d7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x409f67
mov edi, 0x5b6314
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x409dae
test al, al
je 0x409daa
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x409dae
add esi, 2
add edi, 2
test al, al
jne 0x409d8a
xor eax, eax
jmp 0x409db3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x409f67
mov edi, 0x5b62b4
mov esi, ecx
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x409dea
test al, al
je 0x409de6
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x409dea
add esi, 2
add edi, 2
test al, al
jne 0x409dc2
xor eax, eax
jmp 0x409def
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x409ea8
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 + 0xa8], 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 + 0xa4], 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 0x409fe8
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
cmp ecx, dword [edx + 8]
jl 0x409ff3
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
cmp eax, dword [ecx + 0x10]
jg 0x409ff3
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 + 0xa8], 2
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x78]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0xa4], 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 0x409fe8
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 + 0xa8], 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 + 0xb0], 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 0x409cfe
mov eax, dword [0x5c0450]
mov esi, dword [0x5c02c0]
mov ecx, dword [ebp + 0xc0]
sub eax, esi
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 [esp + 0x18], 0
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x40a37a
mov ecx, dword [ebp + 0xc0]
push eax
call fcn.004ccd90
mov edi, eax
mov esi, 0x5b6314
mov edx, dword [edi + 0x54]
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40a183
test cl, cl
je 0x40a17f
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40a183
add eax, 2
add esi, 2
test cl, cl
jne 0x40a15f
xor eax, eax
jmp 0x40a188
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a196
mov eax, dword [edi + 0x10]
add eax, 3
mov dword [esp + 0x14], eax
mov esi, 0x5b6224
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40a1c1
test cl, cl
je 0x40a1bd
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40a1c1
add eax, 2
add esi, 2
test cl, cl
jne 0x40a19d
xor eax, eax
jmp 0x40a1c6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a202
mov esi, 0x5b6304
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40a1f5
test cl, cl
je 0x40a1f1
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40a1f5
add eax, 2
add esi, 2
test cl, cl
jne 0x40a1d1
xor eax, eax
jmp 0x40a1fa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a29c
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x40a2a8
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffd
mov ebx, edi
mov dword [ebp + 0xf0], eax
sub eax, ecx
mov dword [ebp + 0x318], eax
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 8]
mov dword [esp + 0x18], ebx
sub edx, esi
lea eax, [edx + eax + 6]
mov edx, dword [ebp + 0x2f8]
add edx, eax
mov eax, dword [ebp + 0xc8]
mov ecx, edx
sub eax, 0xa
mov dword [esp + 0x24], ecx
mov dword [ebp + 0x2f8], edx
fild dword [esp + 0x24]
lea edx, [eax + eax*4]
shl edx, 1
fdiv qword [ebp + 0xd0]
mov dword [esp + 0x24], edx
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x40a35f
mov dword [ebp + 0xf4], edi
mov dword [ebp + 0xf8], edi
mov eax, dword [edi + 8]
sub eax, 3
mov dword [ebp + 0x108], eax
jmp 0x40a35f
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x40a35f
mov ecx, dword [ebx + 4]
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x40a35f
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x40a35f
mov eax, dword [ebx + 0x54]
mov esi, edx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40a2ed
test cl, cl
je 0x40a2e9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40a2ed
add eax, 2
add esi, 2
test cl, cl
jne 0x40a2c9
xor eax, eax
jmp 0x40a2f2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a35f
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x10]
cmp ecx, eax
jge 0x40a35f
mov ecx, dword [edi + 0x10]
mov esi, dword [ebp + 0x318]
add ecx, esi
mov esi, dword [ebp + 0x2f8]
sub ecx, eax
mov eax, dword [ebp + 0xc8]
add ecx, 0x10
sub eax, 0xa
add esi, ecx
mov ebx, edi
mov edx, esi
lea eax, [eax + eax*4]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebx
fild dword [esp + 0x24]
shl eax, 1
mov dword [esp + 0x24], eax
mov dword [ebp + 0x2f8], esi
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x40a35f
mov dword [ebp + 0xf4], edi
mov eax, dword [esp + 0x1c]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x40a147
test ebx, ebx
jne 0x40a58f
mov ecx, dword [ebp + 0xc0]
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.004ccdc0
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x40a58f
mov ecx, dword [ebp + 0xc0]
push esi
call fcn.004ccd90
mov ecx, eax
mov edi, 0x5b6314
mov edx, dword [ecx + 0x54]
mov esi, edx
mov bl, byte [esi]
mov al, bl
cmp bl, byte [edi]
jne 0x40a3d3
test al, al
je 0x40a3cf
mov bl, byte [esi + 1]
mov al, bl
cmp bl, byte [edi + 1]
jne 0x40a3d3
add esi, 2
add edi, 2
test al, al
jne 0x40a3af
xor eax, eax
jmp 0x40a3d8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a3e6
mov eax, dword [ecx + 0x10]
add eax, 3
mov dword [esp + 0x14], eax
mov edi, 0x5b62fc
mov esi, edx
mov bl, byte [esi]
mov al, bl
cmp bl, byte [edi]
jne 0x40a411
test al, al
je 0x40a40d
mov bl, byte [esi + 1]
mov al, bl
cmp bl, byte [edi + 1]
jne 0x40a411
add esi, 2
add edi, 2
test al, al
jne 0x40a3ed
xor eax, eax
jmp 0x40a416
sbb eax, eax
sbb eax, 0xffffffff
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x40a4b6
test ebx, ebx
jne 0x40a4be
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x14]
add eax, 0xfffffffd
mov edi, dword [ebp + 0x2f8]
mov dword [ebp + 0xf0], eax
sub eax, edx
mov dword [ebp + 0x318], eax
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x18], ecx
sub edx, ebx
lea eax, [edx + eax + 6]
add edi, eax
mov eax, dword [ebp + 0xc8]
mov edx, edi
sub eax, 0xa
mov dword [esp + 0x24], edx
mov dword [ebp + 0x2f8], edi
fild dword [esp + 0x24]
lea eax, [eax + eax*4]
shl eax, 1
fdiv qword [ebp + 0xd0]
mov dword [esp + 0x24], eax
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x40a57a
mov dword [ebp + 0xf4], ecx
mov dword [ebp + 0xf8], ecx
mov ecx, dword [ecx + 8]
sub ecx, 3
mov dword [ebp + 0x108], ecx
jmp 0x40a57a
test ebx, ebx
je 0x40a57a
mov eax, dword [ebx + 4]
mov esi, dword [ecx + 4]
cmp eax, esi
je 0x40a4d6
mov eax, dword [ebx + 0xc]
mov esi, dword [ecx + 0xc]
cmp eax, esi
jne 0x40a57a
mov edi, 0x5b62fc
mov esi, edx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x40a501
test al, al
je 0x40a4fd
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x40a501
add esi, 2
add edi, 2
test al, al
jne 0x40a4dd
xor eax, eax
jmp 0x40a506
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a57a
mov edx, dword [ebx + 0x10]
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x40a57a
mov esi, eax
sub esi, edx
cmp esi, 6
jne 0x40a57a
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x318]
add edx, esi
mov esi, dword [ebp + 0x2f8]
sub edx, eax
mov dword [esp + 0x18], ecx
add edx, 0x10
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]
sub eax, 0xa
fdiv qword [ebp + 0xd0]
lea edx, [eax + eax*4]
shl edx, 1
mov dword [esp + 0x24], edx
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x40a57a
mov dword [ebp + 0xf4], ecx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x40a397
mov eax, dword [ebp + 0xc8]
sub eax, 0xa
lea esi, [eax + eax*4]
shl esi, 1
test esi, esi
mov dword [esp + 0x20], esi
jle 0x40a618
fild dword [ebp + 0x2f8]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fld st(0)
call sub.MSVCRT.dll__ftol
cdq
idiv esi
test edx, edx
jne 0x40a5da
fild dword [esp + 0x20]
fdivr st(1)
call sub.MSVCRT.dll__ftol
fstp st(0)
mov dword [ebp + 0xe8], eax
jmp 0x40a618
test esi, esi
fstp st(0)
jle 0x40a618
fild dword [ebp + 0x2f8]
fdiv qword [ebp + 0xd0]
fmul qword [0x57f530]
fld st(0)
call sub.MSVCRT.dll__ftol
cdq
idiv esi
test edx, edx
je 0x40a616
fild dword [esp + 0x20]
fdivr st(1)
call sub.MSVCRT.dll__ftol
inc eax
fstp st(0)
mov dword [ebp + 0xe8], eax
jmp 0x40a618
fstp st(0)
mov eax, dword [ebp + 0xf8]
mov edx, dword [ebp + 0xf4]
mov ecx, dword [eax + 8]
sub ecx, 3
mov dword [ebp + 0x10c], ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp + 0xe8]
add eax, 3
mov dword [ebp + 0x1fc], eax
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x40a86b
lea ecx, [ebp + 0x110]
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0xf4]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 0xf8], eax
je 0x40a855
mov ecx, dword [ebp + 0xc0]
call fcn.004ccdc0
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
je 0x40a7eb
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc0]
push eax
call fcn.004ccd90
test ebx, ebx
mov ecx, eax
jne 0x40a72f
mov edx, dword [ebp + 0xf8]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x40a7d8
mov eax, dword [ecx + 0xc]
mov esi, dword [edx + 0xc]
cmp eax, esi
jne 0x40a7d8
mov eax, dword [ecx + 8]
mov edi, dword [edx + 0x10]
lea esi, [eax - 6]
cmp esi, edi
jne 0x40a7d8
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x318]
add edx, esi
mov ebx, ecx
sub edx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + edx + 0x10]
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x18], edx
sub eax, 0xa
fild dword [esp + 0x18]
lea eax, [eax + eax*4]
shl eax, 1
fdiv qword [ebp + 0xd0]
mov dword [esp + 0x24], eax
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 1
jne 0x40a7d8
jmp 0x40a7d2
mov edx, dword [ebx + 4]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40a7d8
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0xc]
cmp eax, edx
jne 0x40a7d8
mov edi, dword [ecx + 0x54]
mov esi, dword [ebx + 0x54]
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x40a775
test al, al
je 0x40a771
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x40a775
add esi, 2
add edi, 2
test al, al
jne 0x40a751
xor eax, eax
jmp 0x40a77a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a7d8
mov eax, dword [ecx + 8]
mov edx, dword [ebx + 0x10]
cmp edx, eax
jge 0x40a7d8
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x318]
add edx, esi
mov ebx, ecx
sub edx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + edx + 0x10]
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x18], edx
sub eax, 0xa
fild dword [esp + 0x18]
lea eax, [eax + eax*4]
shl eax, 1
fdiv qword [ebp + 0xd0]
mov dword [esp + 0x24], eax
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 1
jne 0x40a7d8
mov dword [ebp + 0xf4], ecx
mov eax, dword [esp + 0x1c]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x40a691
mov edx, dword [ebp + 0xf8]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
add ecx, 3
mov dword [eax], ecx
mov edx, dword [ebp + 0xf4]
mov ecx, dword [edx + 0x10]
add ecx, 3
mov dword [eax + 0xf0], ecx
mov edx, dword [ebp + 0xe8]
dec edx
cmp esi, edx
jne 0x40a828
cmp dword [eax], ecx
jne 0x40a828
mov dword [ebp + 0xe8], edx
add eax, 4
inc esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xe8]
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x40a65d
mov ecx, dword [esp + 0x38]
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 + 0x38]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret