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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x569a70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [ebp + 0x10]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jg 0x4a2570
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + 0x50]
mov ecx, esi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, esi
call sub.MFC42.DLL_CString::TrimLeft
push 0xd
mov ecx, esi
call fcn.00557258
push 0xa
mov ecx, esi
call fcn.00557258
mov eax, dword [esi]
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
mov esi, dword [eax - 8]
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CString::CString_3
dec esi
mov dword [esp + 0x70], edi
test esi, esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], esi
jle 0x4a255f
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x50]
add ecx, edi
mov al, byte [ecx]
cmp al, 0xd
je 0x4a21a4
cmp byte [ecx + 1], 0xa
je 0x4a21a4
mov byte [esp + 0x38], al
lea ecx, [esp + 0x18]
mov edx, dword [esp + 0x38]
push edx
call fcn.00557258
mov eax, dword [ebx + 0x50]
mov al, byte [eax + edi]
test al, al
jge 0x4a217b
cmp dword [esp + 0x1c], 2
jne 0x4a2179
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
inc eax
mov dword [esp + 0x2c], eax
jmp 0x4a254e
test al, al
jle 0x4a2186
inc dword [esp + 0x28]
jmp 0x4a254e
jge 0x4a254e
cmp dword [esp + 0x1c], 1
jne 0x4a254e
mov dword [esp + 0x1c], 2
jmp 0x4a254e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 0xc]
lea ecx, [ecx + edx - 1]
test ecx, ecx
je 0x4a21bf
sub eax, dword [ebx + 4]
cdq
idiv ecx
jmp 0x4a21c2
sub eax, dword [ebx + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
sub esp, 8
fild dword [esp + 0x2c]
mov byte [esp + 0x78], 1
fdiv qword [ecx + 0x100]
fmul qword [0x57f530]
fisub dword [ebp + 0x1c]
fstp qword [esp]
call fcn.004bd890
fild dword [ebp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x38]
cdq
fstp qword [esp + 0x54]
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x2c]
fdiv qword [eax + 0x100]
fild dword [ebx + 4]
fdiv qword [eax + 0x100]
faddp st(1)
fmul qword [0x57f530]
fadd qword [esp + 0x54]
fstp qword [esp]
call fcn.004bd890
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x1c]
fild dword [edx + 4]
fdiv qword [eax + 0x100]
fmul qword [0x57f530]
fadd qword [esp + 0x54]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], ebx
neg ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x6c], edi
add esp, 8
mov ebx, dword [ecx + 0x7c]
mov ecx, dword [eax - 8]
xor edi, edi
mov dword [esp + 0x40], ebx
test ecx, ecx
mov dword [esp + 0x24], edi
jle 0x4a2539
mov al, byte [edi + eax]
test al, al
jge 0x4a22b6
cmp dword [esp + 0x20], 2
je 0x4a22bc
test al, al
jle 0x4a250c
mov byte [esp + 0x3c], al
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x3c]
push edx
call fcn.00557258
mov edx, dword [esp + 0x18]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov al, byte [edi + edx]
test al, al
jle 0x4a22e8
test edi, edi
je 0x4a22ef
test al, al
jge 0x4a22f1
cmp edi, 1
jne 0x4a22f1
xor ecx, ecx
mov edx, dword [edx - 8]
dec edx
cmp edi, edx
jne 0x4a2327
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
sub esp, 8
fild dword [eax + 0xc]
fdiv qword [ecx + 0x100]
fmul qword [0x57f530]
fadd qword [esp + 0x54]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov dword [esp + 0x60], eax
jmp 0x4a2343
test ecx, ecx
jne 0x4a233e
test ebx, ebx
jne 0x4a2371
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push ebx
mov ecx, dword [eax - 8]
jmp 0x4a24bd
cmp ecx, 2
jne 0x4a2350
test ebx, ebx
jne 0x4a245a
jmp 0x4a24b2
cmp ecx, 1
jne 0x4a24c9
test ebx, ebx
jne 0x4a23f1
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 1
mov ecx, dword [eax - 8]
jmp 0x4a24bd
cmp ebx, 1
jne 0x4a23c3
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
sub eax, ecx
mov edi, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp + 0x14]
cdq
sub eax, edx
mov edx, ecx
sar ebx, 1
sar eax, 1
add edx, ebx
add eax, edx
cmp eax, ecx
jge 0x4a239f
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 0
mov ecx, dword [eax - 8]
lea ebx, [esp + 0x5c]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x24]
jmp 0x4a24c9
cmp ebx, 2
jne 0x4a24c9
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jle 0x4a23e1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 0
mov ecx, dword [eax - 8]
jmp 0x4a24bd
cmp ebx, 1
jne 0x4a242f
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
sub eax, ecx
mov edi, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp + 0x14]
cdq
sub eax, edx
mov edx, ecx
sar ebx, 1
sar eax, 1
add edx, ebx
add eax, edx
cmp eax, ecx
jge 0x4a241f
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 1
mov ecx, dword [eax - 8]
jmp 0x4a23aa
cmp ebx, 2
jne 0x4a24c9
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jle 0x4a244d
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 1
mov ecx, dword [eax - 8]
jmp 0x4a24bd
cmp ebx, 1
jne 0x4a2498
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
sub eax, ecx
mov edi, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp + 0x14]
cdq
sub eax, edx
mov edx, ecx
sar ebx, 1
sar eax, 1
add edx, ebx
add eax, edx
cmp eax, ecx
jge 0x4a2488
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 2
mov ecx, dword [eax - 8]
jmp 0x4a23aa
cmp ebx, 2
jne 0x4a24c9
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jle 0x4a24b2
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 2
mov ecx, dword [eax - 8]
lea ebx, [esp + 0x5c]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
fild dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
sub esp, 8
mov dword [esp + 0x60], eax
fdiv qword [ecx + 0x100]
fmul qword [0x57f530]
fstp qword [esp]
call fcn.004bd890
mov ecx, dword [esp + 0x68]
add esp, 8
add ecx, eax
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
mov ebx, dword [esp + 0x40]
jmp 0x4a2527
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x44], al
mov edx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00557258
mov eax, dword [esp + 0x18]
inc edi
mov dword [esp + 0x24], edi
cmp edi, dword [eax - 8]
jl 0x4a22a6
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
inc edi
cmp edi, eax
mov dword [esp + 0x34], edi
jl 0x4a212f
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18