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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x569ab8
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 + 0x438]
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 + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [ebp + 0x350], edx
mov edx, dword [esp + 0x38]
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 0x4a2ac2
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 0x4a2a39
test dl, dl
je 0x4a2a35
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x4a2a39
add ecx, 2
add esi, 2
test dl, dl
jne 0x4a2a15
xor ecx, ecx
jmp 0x4a2a3e
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4a2a91
mov esi, 0x5b6304
mov ecx, edi
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x4a2a6d
test dl, dl
je 0x4a2a69
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x4a2a6d
add ecx, 2
add esi, 2
test dl, dl
jne 0x4a2a49
xor ecx, ecx
jmp 0x4a2a72
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4a2a91
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x4a29ff
mov ebx, dword [esp + 0x24]
jmp 0x4a2ac2
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 0x4a2ab6
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x33c], ecx
jne 0x4a2ac2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x33c]
cmp eax, ecx
jge 0x4a2ba9
mov ecx, dword [ebp + 0x438]
call fcn.004ccdc0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x4a2b8a
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 0x4a2b2a
test dl, dl
je 0x4a2b26
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x4a2b2a
add ecx, 2
add esi, 2
test dl, dl
jne 0x4a2b06
xor ecx, ecx
jmp 0x4a2b2f
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4a2b54
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x10]
sub ecx, 6
cmp ecx, eax
jne 0x4a2b54
mov edx, dword [edi + 4]
mov eax, dword [ebx + 4]
cmp edx, eax
jne 0x4a2b54
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
je 0x4a2b65
mov eax, dword [esp + 0x18]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x4a2ba5
jmp 0x4a2aee
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x338]
inc eax
mov ebx, edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x4a2b7e
mov dword [esp + 0x10], edi
cmp eax, dword [ebp + 0x33c]
jne 0x4a2b8a
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x4a2ba5
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x33c]
cmp edx, eax
jge 0x4a2ba9
jmp 0x4a2ad4
mov dword [esp + 0x14], ebx
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 0x4a2beb
mov eax, dword [eax + 0x328]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4a2bdc
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [ebp + 0x430]
inc esi
cmp esi, dword [eax + 0x32c]
jl 0x4a2bc8
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 0x4a2f0c
mov ebx, dword [esp + 0x14]
jmp 0x4a2c1d
mov ebx, dword [esp + 0x14]
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 0x4a2d2e
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 8]
lea esi, [edi - 3]
cmp ecx, esi
jle 0x4a2c86
mov esi, dword [ebx + 0x10]
add esi, 3
cmp ecx, esi
jge 0x4a2c86
mov esi, dword [ebp + 0x138]
cmp ecx, esi
je 0x4a2c86
cmp ecx, dword [ebp + 0x358]
je 0x4a2c86
mov ebx, dword [eax + 0x18]
push ebx
mov ebx, dword [eax + 0x14]
push ebx
mov ebx, esi
sub ebx, edi
sub ecx, edi
lea edx, [ebx + edx + 3]
lea ecx, [ecx + esi + 3]
push edx
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
jmp 0x4a2eee
cmp ecx, edx
jne 0x4a2d2e
mov esi, dword [ebp + 0x138]
cmp ecx, esi
je 0x4a2d17
cmp ecx, edx
jne 0x4a2d2e
cmp ecx, esi
jl 0x4a2d17
cmp ecx, edx
jne 0x4a2d2e
cmp ecx, dword [ebp + 0x358]
jne 0x4a2d0b
mov ebx, dword [ebx + 0x10]
mov edi, dword [ebp + 0x138]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov ebx, dword [eax + 0x18]
mov esi, dword [esi + 8]
push ebx
mov ebx, dword [eax + 0x14]
push ebx
mov ebx, edi
mov edi, dword [ebp + 0x358]
sub ebx, edi
mov edi, dword [esp + 0x2c]
sub ebx, esi
add ebx, edi
lea edx, [ebx + edx + 6]
push edx
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [ebp + 0x358]
sub ecx, edx
mov edx, dword [eax + 4]
sub ecx, esi
mov esi, dword [ebp + 0x138]
add ecx, esi
lea ecx, [ecx + edi + 6]
push ecx
push edx
jmp 0x4a2eee
cmp ecx, edx
jne 0x4a2d2e
cmp ecx, dword [ebp + 0x350]
jne 0x4a2d2e
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 0x4a2eee
mov ebx, dword [eax + 4]
mov edi, dword [eax + 0xc]
cmp ebx, edi
mov dword [esp + 0x24], edi
jne 0x4a2ef9
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jg 0x4a2d85
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jl 0x4a2d85
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 0x4a2eec
cmp ebx, edi
jne 0x4a2ef9
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jg 0x4a2df4
cmp edx, esi
jle 0x4a2df4
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jge 0x4a2df4
mov esi, dword [ebp + 0x138]
cmp ecx, esi
jl 0x4a2dd4
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 0x4a2eed
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 + 0x2c]
sub esi, edi
lea edx, [esi + edx + 3]
push edx
push eax
jmp 0x4a2eec
cmp ebx, edi
jne 0x4a2ef9
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jg 0x4a2e44
cmp edx, esi
jg 0x4a2e44
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jge 0x4a2e44
mov esi, dword [ebp + 0x138]
cmp edx, esi
jge 0x4a2e35
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push esi
push eax
push edx
push edi
jmp 0x4a2eec
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push edx
push eax
push esi
push edi
jmp 0x4a2eec
cmp ebx, edi
jne 0x4a2ef9
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jle 0x4a2e94
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jge 0x4a2e94
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push esi
mov esi, dword [ebp + 0x138]
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
sub esi, eax
sub ecx, eax
mov eax, dword [ebp + 0x138]
lea edx, [esi + edx + 3]
push edx
lea eax, [ecx + eax + 3]
push edi
push eax
jmp 0x4a2eed
cmp ebx, edi
jne 0x4a2ef9
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
add esi, 0xfffffffd
cmp ecx, esi
jle 0x4a2ef9
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x10]
add esi, 3
cmp edx, esi
jl 0x4a2ef9
cmp ecx, esi
jge 0x4a2ef9
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
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
sub esi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
lea eax, [esi + eax + 6]
mov esi, dword [esp + 0x2c]
sub ecx, esi
push eax
push edi
lea ecx, [ecx + edx + 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 0x4a2c15
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 0x4a2f4e
mov eax, dword [eax + 0x33c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4a2f3f
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [ebp + 0x430]
inc esi
cmp esi, dword [eax + 0x340]
jl 0x4a2f2b
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 0x4a327d
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 0x4a2fb2
test al, al
je 0x4a2fae
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a2fb2
add esi, 2
add edi, 2
test al, al
jne 0x4a2f8e
xor eax, eax
jmp 0x4a2fb7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a31de
mov edi, 0x5b630c
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a2fea
test al, al
je 0x4a2fe6
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a2fea
add esi, 2
add edi, 2
test al, al
jne 0x4a2fc6
xor eax, eax
jmp 0x4a2fef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a31de
mov edi, 0x5b6314
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a3022
test al, al
je 0x4a301e
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a3022
add esi, 2
add edi, 2
test al, al
jne 0x4a2ffe
xor eax, eax
jmp 0x4a3027
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a31de
mov edi, 0x5b62b4
mov esi, ecx
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x4a305e
test al, al
je 0x4a305a
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x4a305e
add esi, 2
add edi, 2
test al, al
jne 0x4a3036
xor eax, eax
jmp 0x4a3063
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a311f
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 + 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 + 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 0x4a325f
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
cmp ecx, dword [edx + 8]
jl 0x4a326a
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
cmp eax, dword [ecx + 0x10]
jg 0x4a326a
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 + 0x74]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0xac], 0xffffffff
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x138]
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 0x4a325f
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 + 0x430]
call fcn.004ccc50
mov eax, dword [esp + 0x18]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], eax
jne 0x4a2f72
mov eax, dword [0x5c0450]
mov edx, dword [0x5c02c0]
mov ecx, dword [ebp + 0x430]
sub eax, edx
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 [ebp + 0x138], 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 0x4a3602
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x430]
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 0x4a3404
test al, al
je 0x4a3400
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a3404
add esi, 2
add edi, 2
test al, al
jne 0x4a33e0
xor eax, eax
jmp 0x4a3409
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a3446
mov esi, dword [ecx + 0x54]
mov edi, 0x5b6304
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a3439
test al, al
je 0x4a3435
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a3439
add esi, 2
add edi, 2
test al, al
jne 0x4a3415
xor eax, eax
jmp 0x4a343e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a34f8
test ebx, ebx
jne 0x4a3500
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov edx, dword [ebp + 0x328]
sub eax, edi
add eax, 6
mov ebx, ecx
add edx, eax
mov dword [ebp + 0x328], edx
mov eax, dword [ecx + 8]
fild dword [ebp + 0x328]
add eax, 0xfffffffd
mov dword [esp + 0x20], eax
mov dword [ebp + 0x120], eax
fdiv qword [ebp + 0x100]
mov eax, dword [ebp + 0xf4]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a35e3
mov dword [ebp + 0x124], ecx
mov dword [ebp + 0x128], ecx
mov ecx, dword [ecx + 8]
sub ecx, 3
mov dword [ebp + 0x138], ecx
jmp 0x4a35e3
test ebx, ebx
je 0x4a35e3
mov edx, dword [ebx + 4]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x4a35e3
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0xc]
cmp eax, edx
jne 0x4a35e3
mov edi, dword [ecx + 0x54]
mov esi, dword [ebx + 0x54]
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a3546
test al, al
je 0x4a3542
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a3546
add esi, 2
add edi, 2
test al, al
jne 0x4a3522
xor eax, eax
jmp 0x4a354b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a35e3
mov eax, dword [ecx + 8]
mov edx, dword [ebx + 0x10]
cmp edx, eax
jge 0x4a35e3
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x328]
sub edx, eax
mov ebx, ecx
add edx, 6
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]
lea edx, [eax + eax*4]
mov eax, dword [0x5c01a4]
shl edx, 1
fdiv qword [ebp + 0x100]
mov dword [esp + 0x24], edx
add eax, 0x23
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [ebp + 0x120]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a35e3
mov dword [ebp + 0x124], ecx
mov eax, dword [esp + 0x18]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x4a33c6
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x4a3826
mov ecx, dword [ebp + 0x430]
call fcn.004ccdc0
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x18], eax
je 0x4a3826
mov ecx, dword [ebp + 0x430]
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 0x4a3658
test al, al
je 0x4a3654
mov bl, byte [esi + 1]
mov al, bl
cmp bl, byte [edi + 1]
jne 0x4a3658
add esi, 2
add edi, 2
test al, al
jne 0x4a3634
xor eax, eax
jmp 0x4a365d
sbb eax, eax
sbb eax, 0xffffffff
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4a371d
test ebx, ebx
jne 0x4a3725
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov edx, dword [ebp + 0x328]
sub eax, edi
add eax, 6
mov dword [esp + 0x1c], ecx
add edx, eax
mov dword [ebp + 0x328], edx
mov eax, dword [ecx + 8]
fild dword [ebp + 0x328]
add eax, 0xfffffffd
mov dword [esp + 0x20], eax
mov dword [ebp + 0x120], eax
fdiv qword [ebp + 0x100]
mov eax, dword [ebp + 0xf4]
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 + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a3813
mov dword [ebp + 0x124], ecx
mov dword [ebp + 0x128], ecx
mov ecx, dword [ecx + 8]
sub ecx, 3
mov dword [ebp + 0x138], ecx
jmp 0x4a3813
test ebx, ebx
je 0x4a3813
mov eax, dword [ebx + 4]
mov esi, dword [ecx + 4]
cmp eax, esi
je 0x4a373d
mov eax, dword [ebx + 0xc]
mov esi, dword [ecx + 0xc]
cmp eax, esi
jne 0x4a3813
mov edi, 0x5b62fc
mov esi, edx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a3768
test al, al
je 0x4a3764
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a3768
add esi, 2
add edi, 2
test al, al
jne 0x4a3744
xor eax, eax
jmp 0x4a376d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a3813
mov edx, dword [ebx + 0x10]
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x4a3813
mov esi, eax
sub esi, edx
cmp esi, 6
jne 0x4a3813
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x1c], ecx
sub edx, eax
add edx, esi
mov esi, dword [ebp + 0x328]
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]
lea edx, [eax + eax*4]
mov eax, dword [0x5c01a4]
shl edx, 1
fdiv qword [ebp + 0x100]
mov dword [esp + 0x24], edx
add eax, 0x23
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [ebp + 0x120]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a3813
mov dword [ebp + 0x124], ecx
mov eax, dword [esp + 0x18]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x4a361c
mov eax, dword [ebp + 0xf4]
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 + 0x120]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fsub qword [0x57f528]
fild dword [esp + 0x24]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fst qword [esp + 0x24]
fcomp qword [0x57f4f0]
fnstsw ax
test ah, 0x41
jne 0x4a38c0
fild dword [ebp + 0x328]
fdiv qword [ebp + 0x100]
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 0x4a38be
fdiv qword [esp + 0x24]
call sub.MSVCRT.dll__ftol
mov dword [ebp + 0x118], eax
jmp 0x4a3910
fstp st(0)
fld qword [esp + 0x24]
fcomp qword [0x57f4f0]
fnstsw ax
test ah, 0x41
jne 0x4a3910
fild dword [ebp + 0x328]
fdiv qword [ebp + 0x100]
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 0x4a390e
fdiv qword [esp + 0x24]
call sub.MSVCRT.dll__ftol
inc eax
mov dword [ebp + 0x118], eax
jmp 0x4a3910
fstp st(0)
mov ecx, dword [ebp + 0x128]
mov eax, dword [ebp + 0x124]
mov ebx, 1
mov edx, dword [ecx + 8]
sub edx, 3
mov dword [ebp + 0x13c], edx
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x118]
add ecx, 3
cmp eax, ebx
mov dword [ebp + 0x22c], ecx
jle 0x4a3ad7
lea edi, [ebp + 0x140]
mov eax, dword [ebp + 0x124]
test eax, eax
mov dword [ebp + 0x128], eax
je 0x4a3ac1
mov ecx, dword [ebp + 0x430]
call fcn.004ccdc0
fld qword [0x57f4f0]
fdiv qword [ebp + 0x100]
mov eax, dword [ebp + 0xf4]
mov ecx, dword [ebp + 0x128]
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 + 0x120]
mov dword [esp + 0x24], eax
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4a3a67
push ecx
mov ecx, dword [ebp + 0x430]
push ecx
call fcn.004c56a0
add esp, 8
test eax, eax
je 0x4a3a67
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 8]
sub edx, ecx
mov dword [ebp + 0x124], eax
mov ecx, eax
mov eax, dword [ebp + 0xf4]
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 + 0x100]
fmul qword [0x57f530]
fild dword [esp + 0x24]
fild dword [ebp + 0x120]
mov dword [esp + 0x24], edx
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fild dword [esp + 0x24]
fdiv qword [ebp + 0x100]
fmul qword [0x57f530]
fsubp st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4a39d8
mov eax, dword [ebp + 0x128]
mov ecx, dword [eax + 0x10]
add ecx, 3
mov dword [edi], ecx
mov edx, dword [ebp + 0x124]
mov eax, dword [edx + 0x10]
add eax, 3
mov dword [edi + 0xf0], eax
mov ecx, dword [ebp + 0x118]
dec ecx
cmp ebx, ecx
jne 0x4a3a9c
cmp dword [edi], eax
jne 0x4a3a9c
mov dword [ebp + 0x118], ecx
mov eax, dword [ebp + 0x118]
inc ebx
add edi, 4
cmp ebx, eax
jl 0x4a394d
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