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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x569b18
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 + 0x438]
call fcn.004ccdc0
mov ecx, dword [ebp + 0x438]
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 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 + 0x350], edx
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x354], ecx
mov ecx, dword [ebp + 0x438]
add esp, 8
mov dword [ebp + 0x358], eax
mov dword [ebp + 0x34c], edx
call fcn.004ccdc0
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jle 0x4a4dcd
push ecx
mov ecx, dword [ebp + 0x438]
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 0x4a4d44
test dl, dl
je 0x4a4d40
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x4a4d44
add ecx, 2
add esi, 2
test dl, dl
jne 0x4a4d20
xor ecx, ecx
jmp 0x4a4d49
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4a4d9c
mov esi, 0x5b6304
mov ecx, edi
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x4a4d78
test dl, dl
je 0x4a4d74
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x4a4d78
add ecx, 2
add esi, 2
test dl, dl
jne 0x4a4d54
xor ecx, ecx
jmp 0x4a4d7d
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4a4d9c
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x4a4d0a
mov ebx, dword [esp + 0x24]
jmp 0x4a4dcd
mov edx, dword [eax + 8]
mov ecx, 1
sub edx, 3
mov dword [esp + 0x1c], ecx
mov dword [ebp + 0x138], edx
mov edx, dword [ebp + 0x338]
cmp edx, ecx
mov ebx, eax
jne 0x4a4dc1
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x33c], ecx
jne 0x4a4dcd
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x33c]
cmp eax, ecx
jge 0x4a4ea7
mov ecx, dword [ebp + 0x438]
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x4a4e95
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x438]
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 0x4a4e35
test dl, dl
je 0x4a4e31
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x4a4e35
add ecx, 2
add esi, 2
test dl, dl
jne 0x4a4e11
xor ecx, ecx
jmp 0x4a4e3a
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4a4e5f
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x10]
sub ecx, 6
cmp ecx, eax
jne 0x4a4e5f
mov edx, dword [edi + 4]
mov eax, dword [ebx + 4]
cmp edx, eax
jne 0x4a4e5f
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
je 0x4a4e70
mov eax, dword [esp + 0x18]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x4a4df9
jmp 0x4a4e95
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x338]
inc eax
mov ebx, edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x4a4e89
mov dword [esp + 0x10], edi
cmp eax, dword [ebp + 0x33c]
jne 0x4a4e95
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x33c]
cmp edx, eax
jl 0x4a4ddf
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jg 0x4a5dd8
mov ecx, dword [ebp + 0x438]
call fcn.004cc990
mov edi, eax
mov eax, dword [ebp + 0x430]
xor esi, esi
mov ecx, dword [eax + 0x32c]
test ecx, ecx
jle 0x4a4eff
mov eax, dword [eax + 0x328]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4a4ef0
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [ebp + 0x430]
inc esi
cmp esi, dword [eax + 0x32c]
jl 0x4a4edc
mov ecx, dword [ebp + 0x430]
push 0xffffffffffffffff
add ecx, 0x324
push 0
call sub.MFC42.DLL_CObArray::SetSize
mov eax, edi
dec edi
test eax, eax
mov dword [esp + 0x18], edi
je 0x4a5200
jmp 0x4a4f29
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x438]
push edi
call fcn.004cc960
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jne 0x4a5027
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 8]
lea esi, [edi - 3]
cmp ecx, esi
jle 0x4a4f96
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp ecx, esi
jge 0x4a4f96
mov esi, dword [ebp + 0x138]
cmp ecx, esi
je 0x4a4f96
cmp ecx, dword [ebp + 0x358]
je 0x4a4f96
mov ebx, dword [eax + 0x18]
push ebx
mov ebx, dword [eax + 0x14]
push ebx
mov ebx, esi
sub ebx, edi
sub esi, edi
lea edx, [ebx + edx + 3]
lea ecx, [esi + ecx + 3]
push edx
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
jmp 0x4a51e2
cmp ecx, edx
jne 0x4a5027
mov esi, dword [ebp + 0x138]
cmp ecx, esi
je 0x4a5010
cmp ecx, edx
jne 0x4a5027
cmp ecx, esi
jl 0x4a5010
cmp ecx, edx
jne 0x4a5027
mov ebx, dword [ebp + 0x358]
cmp ecx, ebx
jne 0x4a5004
mov edi, dword [eax + 0x18]
push edi
mov edi, dword [eax + 0x14]
push edi
mov edi, esi
sub edi, ebx
mov ebx, dword [esp + 0x18]
sub edi, dword [ebx + 8]
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + 0x10]
add edi, ebx
lea edx, [edi + edx + 6]
push edx
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [ebp + 0x358]
sub esi, edx
mov edx, dword [esp + 0x20]
mov edi, dword [edx + 8]
mov edx, dword [eax + 4]
sub esi, edi
add esi, ebx
lea ecx, [esi + ecx + 6]
push ecx
push edx
jmp 0x4a51e2
cmp ecx, edx
jne 0x4a5027
cmp ecx, dword [ebp + 0x350]
jne 0x4a5027
mov esi, dword [eax + 0x18]
push esi
mov esi, dword [eax + 0x14]
push esi
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
push edx
push ecx
push eax
jmp 0x4a51e2
mov ebx, dword [eax + 4]
mov edi, dword [eax + 0xc]
cmp ebx, edi
mov dword [esp + 0x20], edi
jne 0x4a51ed
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jg 0x4a507e
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jl 0x4a507e
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push edx
mov edx, dword [ebp + 0x138]
push eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x1c]
sub edx, esi
mov eax, dword [eax + 0x10]
lea edx, [edx + eax + 6]
push edx
push edi
jmp 0x4a51e0
cmp ebx, edi
jne 0x4a51ed
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jg 0x4a50ed
cmp edx, esi
jle 0x4a50ed
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jge 0x4a50ed
mov esi, dword [ebp + 0x138]
cmp ecx, esi
jl 0x4a50cd
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x18]
mov ecx, esi
sub ecx, dword [eax + 8]
lea ecx, [ecx + edx + 3]
push ecx
push edi
push esi
jmp 0x4a51e1
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push edi
push eax
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x28]
sub esi, edi
lea edx, [esi + edx + 3]
push edx
push eax
jmp 0x4a51e0
cmp ebx, edi
jne 0x4a51ed
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jg 0x4a513d
cmp edx, esi
jg 0x4a513d
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jge 0x4a513d
mov esi, dword [ebp + 0x138]
cmp edx, esi
jge 0x4a512e
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push esi
push eax
push edx
push edi
jmp 0x4a51e0
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push edx
push eax
push esi
push edi
jmp 0x4a51e0
cmp ebx, edi
jne 0x4a51ed
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jle 0x4a518d
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jge 0x4a518d
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
mov esi, dword [ebp + 0x138]
push edi
push eax
mov eax, dword [esp + 0x18]
mov edi, esi
mov eax, dword [eax + 8]
sub edi, eax
sub esi, eax
lea edx, [edi + edx + 3]
lea eax, [esi + ecx + 3]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
jmp 0x4a51e1
cmp ebx, edi
jne 0x4a51ed
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jle 0x4a51ed
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jl 0x4a51ed
cmp ecx, esi
jge 0x4a51ed
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp + 0x138]
push esi
push eax
mov eax, dword [esp + 0x18]
mov esi, edx
sub esi, dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
lea eax, [esi + eax + 6]
push eax
mov eax, dword [esp + 0x1c]
push edi
sub edx, dword [eax + 8]
lea ecx, [edx + ecx + 3]
push ecx
push ebx
mov ecx, dword [ebp + 0x430]
call fcn.004cc8d0
mov eax, dword [esp + 0x18]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], eax
jne 0x4a4f25
mov ecx, dword [ebp + 0x438]
call fcn.004ccdc0
mov edi, eax
mov eax, dword [ebp + 0x430]
xor esi, esi
mov ecx, dword [eax + 0x340]
test ecx, ecx
jle 0x4a5242
mov eax, dword [eax + 0x33c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4a5233
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [ebp + 0x430]
inc esi
cmp esi, dword [eax + 0x340]
jl 0x4a521f
mov ecx, dword [ebp + 0x430]
push 0xffffffffffffffff
add ecx, 0x338
push 0
call sub.MFC42.DLL_CObArray::SetSize
mov eax, edi
dec edi
test eax, eax
mov dword [esp + 0x18], edi
je 0x4a5573
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0x438]
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 0x4a52a6
test al, al
je 0x4a52a2
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a52a6
add esi, 2
add edi, 2
test al, al
jne 0x4a5282
xor eax, eax
jmp 0x4a52ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a54d4
mov edi, 0x5b630c
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a52de
test al, al
je 0x4a52da
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a52de
add esi, 2
add edi, 2
test al, al
jne 0x4a52ba
xor eax, eax
jmp 0x4a52e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a54d4
mov edi, 0x5b6314
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a5316
test al, al
je 0x4a5312
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a5316
add esi, 2
add edi, 2
test al, al
jne 0x4a52f2
xor eax, eax
jmp 0x4a531b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a54d4
mov edi, 0x5b62b4
mov esi, ecx
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x4a5352
test al, al
je 0x4a534e
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x4a5352
add esi, 2
add edi, 2
test al, al
jne 0x4a532a
xor eax, eax
jmp 0x4a5357
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a5413
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 + 0x74]
mov eax, dword [ebp + 0x358]
mov edi, dword [ebx + 0x10]
mov esi, dword [esp + 0x78]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp + 0x138]
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 0x4a5555
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
cmp ecx, dword [edx + 8]
jl 0x4a5560
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
cmp eax, dword [ecx + 0x10]
jg 0x4a5560
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 + 0x74]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0xa4], 0xffffffff
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x138]
mov edx, eax
sub edx, ecx
sub eax, ecx
mov ecx, dword [ebx + 8]
lea edx, [edx + esi + 3]
push edx
mov edx, dword [ebx + 0xc]
push edx
lea edx, [eax + ecx + 3]
mov eax, dword [ebx + 4]
push edx
push eax
jmp 0x4a5555
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 + 0x430]
call fcn.004ccc50
mov eax, dword [esp + 0x18]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], eax
jne 0x4a5266
mov eax, dword [0x5c0450]
mov esi, dword [0x5c02c0]
mov ecx, dword [ebp + 0x430]
sub eax, esi
inc eax
mov dword [ecx + 0x360], eax
mov edx, dword [ebp + 0x438]
mov eax, dword [ebp + 0x430]
mov ecx, dword [edx + 0x364]
mov dword [eax + 0x364], ecx
mov edx, dword [ebp + 0x438]
mov ecx, dword [ebp + 0x430]
add edx, 0x368
push edx
add ecx, 0x368
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 0x438]
mov ecx, dword [ebp + 0x430]
add eax, 0x36c
add ecx, 0x36c
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 0x438]
add ecx, 0x370
push ecx
mov ecx, dword [ebp + 0x430]
add ecx, 0x370
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp + 0x438]
mov ecx, dword [ebp + 0x430]
add edx, 0x374
add ecx, 0x374
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 0x438]
mov ecx, dword [ebp + 0x430]
add eax, 0x378
add ecx, 0x378
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 0x438]
add ecx, 0x37c
push ecx
mov ecx, dword [ebp + 0x430]
add ecx, 0x37c
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp + 0x438]
mov ecx, dword [ebp + 0x430]
add edx, 0x380
add ecx, 0x380
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 0x438]
mov ecx, dword [ebp + 0x430]
add eax, 0x384
add ecx, 0x384
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 0x430]
mov dword [esp + 0x18], 0
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x4a58e7
mov ecx, dword [ebp + 0x430]
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 0x4a56f0
test cl, cl
je 0x4a56ec
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4a56f0
add eax, 2
add esi, 2
test cl, cl
jne 0x4a56cc
xor eax, eax
jmp 0x4a56f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a5703
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 0x4a572e
test cl, cl
je 0x4a572a
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4a572e
add eax, 2
add esi, 2
test cl, cl
jne 0x4a570a
xor eax, eax
jmp 0x4a5733
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a576f
mov esi, 0x5b6304
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4a5762
test cl, cl
je 0x4a575e
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4a5762
add eax, 2
add esi, 2
test cl, cl
jne 0x4a573e
xor eax, eax
jmp 0x4a5767
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a5809
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4a5815
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffd
mov ebx, edi
mov dword [ebp + 0x120], eax
sub eax, ecx
mov dword [ebp + 0x348], 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 + 0x328]
add edx, eax
mov eax, dword [ebp + 0xf4]
mov ecx, edx
sub eax, 0xa
mov dword [esp + 0x24], ecx
mov dword [ebp + 0x328], edx
fild dword [esp + 0x24]
lea edx, [eax + eax*4]
shl edx, 1
fdiv qword [ebp + 0x100]
mov dword [esp + 0x24], edx
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a58cc
mov dword [ebp + 0x124], edi
mov dword [ebp + 0x128], edi
mov eax, dword [edi + 8]
sub eax, 3
mov dword [ebp + 0x138], eax
jmp 0x4a58cc
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4a58cc
mov ecx, dword [ebx + 4]
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x4a58cc
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x4a58cc
mov eax, dword [ebx + 0x54]
mov esi, edx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4a585a
test cl, cl
je 0x4a5856
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4a585a
add eax, 2
add esi, 2
test cl, cl
jne 0x4a5836
xor eax, eax
jmp 0x4a585f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a58cc
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x10]
cmp ecx, eax
jge 0x4a58cc
mov ecx, dword [edi + 0x10]
mov esi, dword [ebp + 0x348]
add ecx, esi
mov esi, dword [ebp + 0x328]
sub ecx, eax
mov eax, dword [ebp + 0xf4]
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 + 0x328], esi
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a58cc
mov dword [ebp + 0x124], edi
mov eax, dword [esp + 0x1c]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x4a56b4
test ebx, ebx
jne 0x4a5afc
mov ecx, dword [ebp + 0x430]
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.004ccdc0
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x4a5afc
mov ecx, dword [ebp + 0x430]
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 0x4a5940
test al, al
je 0x4a593c
mov bl, byte [esi + 1]
mov al, bl
cmp bl, byte [edi + 1]
jne 0x4a5940
add esi, 2
add edi, 2
test al, al
jne 0x4a591c
xor eax, eax
jmp 0x4a5945
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a5953
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 0x4a597e
test al, al
je 0x4a597a
mov bl, byte [esi + 1]
mov al, bl
cmp bl, byte [edi + 1]
jne 0x4a597e
add esi, 2
add edi, 2
test al, al
jne 0x4a595a
xor eax, eax
jmp 0x4a5983
sbb eax, eax
sbb eax, 0xffffffff
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x4a5a23
test ebx, ebx
jne 0x4a5a2b
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x14]
add eax, 0xfffffffd
mov edi, dword [ebp + 0x328]
mov dword [ebp + 0x120], eax
sub eax, edx
mov dword [ebp + 0x348], 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 + 0xf4]
mov edx, edi
sub eax, 0xa
mov dword [esp + 0x24], edx
mov dword [ebp + 0x328], edi
fild dword [esp + 0x24]
lea eax, [eax + eax*4]
shl eax, 1
fdiv qword [ebp + 0x100]
mov dword [esp + 0x24], eax
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a5ae7
mov dword [ebp + 0x124], ecx
mov dword [ebp + 0x128], ecx
mov ecx, dword [ecx + 8]
sub ecx, 3
mov dword [ebp + 0x138], ecx
jmp 0x4a5ae7
test ebx, ebx
je 0x4a5ae7
mov eax, dword [ebx + 4]
mov esi, dword [ecx + 4]
cmp eax, esi
je 0x4a5a43
mov eax, dword [ebx + 0xc]
mov esi, dword [ecx + 0xc]
cmp eax, esi
jne 0x4a5ae7
mov edi, 0x5b62fc
mov esi, edx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a5a6e
test al, al
je 0x4a5a6a
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a5a6e
add esi, 2
add edi, 2
test al, al
jne 0x4a5a4a
xor eax, eax
jmp 0x4a5a73
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a5ae7
mov edx, dword [ebx + 0x10]
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x4a5ae7
mov esi, eax
sub esi, edx
cmp esi, 6
jne 0x4a5ae7
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x348]
add edx, esi
mov esi, dword [ebp + 0x328]
sub edx, eax
mov dword [esp + 0x18], ecx
add edx, 0x10
add esi, edx
mov eax, esi
mov dword [ebp + 0x328], esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xf4]
fild dword [esp + 0x24]
sub eax, 0xa
fdiv qword [ebp + 0x100]
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 0x4a5ae7
mov dword [ebp + 0x124], ecx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x4a5904
mov eax, dword [ebp + 0xf4]
sub eax, 0xa
lea esi, [eax + eax*4]
shl esi, 1
test esi, esi
mov dword [esp + 0x20], esi
jle 0x4a5b85
fild dword [ebp + 0x328]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fld st(0)
call sub.MSVCRT.dll__ftol
cdq
idiv esi
test edx, edx
jne 0x4a5b47
fild dword [esp + 0x20]
fdivr st(1)
call sub.MSVCRT.dll__ftol
fstp st(0)
mov dword [ebp + 0x118], eax
jmp 0x4a5b85
test esi, esi
fstp st(0)
jle 0x4a5b85
fild dword [ebp + 0x328]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fld st(0)
call sub.MSVCRT.dll__ftol
cdq
idiv esi
test edx, edx
je 0x4a5b83
fild dword [esp + 0x20]
fdivr st(1)
call sub.MSVCRT.dll__ftol
inc eax
fstp st(0)
mov dword [ebp + 0x118], eax
jmp 0x4a5b85
fstp st(0)
mov eax, dword [ebp + 0x128]
mov edx, dword [ebp + 0x124]
mov ecx, dword [eax + 8]
sub ecx, 3
mov dword [ebp + 0x13c], ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp + 0x118]
add eax, 3
mov dword [ebp + 0x22c], eax
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x4a5dd8
lea ecx, [ebp + 0x140]
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x124]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 0x128], eax
je 0x4a5dc2
mov ecx, dword [ebp + 0x430]
call fcn.004ccdc0
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
je 0x4a5d58
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x430]
push eax
call fcn.004ccd90
test ebx, ebx
mov ecx, eax
jne 0x4a5c9c
mov edx, dword [ebp + 0x128]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x4a5d45
mov eax, dword [ecx + 0xc]
mov esi, dword [edx + 0xc]
cmp eax, esi
jne 0x4a5d45
mov eax, dword [ecx + 8]
mov edi, dword [edx + 0x10]
lea esi, [eax - 6]
cmp esi, edi
jne 0x4a5d45
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x348]
add edx, esi
mov ebx, ecx
sub edx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + edx + 0x10]
mov eax, dword [ebp + 0xf4]
mov dword [esp + 0x18], edx
sub eax, 0xa
fild dword [esp + 0x18]
lea eax, [eax + eax*4]
shl eax, 1
fdiv qword [ebp + 0x100]
mov dword [esp + 0x24], eax
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 1
jne 0x4a5d45
jmp 0x4a5d3f
mov edx, dword [ebx + 4]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x4a5d45
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0xc]
cmp eax, edx
jne 0x4a5d45
mov edi, dword [ecx + 0x54]
mov esi, dword [ebx + 0x54]
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a5ce2
test al, al
je 0x4a5cde
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a5ce2
add esi, 2
add edi, 2
test al, al
jne 0x4a5cbe
xor eax, eax
jmp 0x4a5ce7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a5d45
mov eax, dword [ecx + 8]
mov edx, dword [ebx + 0x10]
cmp edx, eax
jge 0x4a5d45
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x348]
add edx, esi
mov ebx, ecx
sub edx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + edx + 0x10]
mov eax, dword [ebp + 0xf4]
mov dword [esp + 0x18], edx
sub eax, 0xa
fild dword [esp + 0x18]
lea eax, [eax + eax*4]
shl eax, 1
fdiv qword [ebp + 0x100]
mov dword [esp + 0x24], eax
fmul qword [0x57f530]
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 1
jne 0x4a5d45
mov dword [ebp + 0x124], ecx
mov eax, dword [esp + 0x1c]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x4a5bfe
mov edx, dword [ebp + 0x128]
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 + 0x124]
mov ecx, dword [edx + 0x10]
add ecx, 3
mov dword [eax + 0xf0], ecx
mov edx, dword [ebp + 0x118]
dec edx
cmp esi, edx
jne 0x4a5d95
cmp dword [eax], ecx
jne 0x4a5d95
mov dword [ebp + 0x118], edx
add eax, 4
inc esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x118]
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x4a5bca
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