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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5595b0
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 0x415020
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 0x41500f
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x50]
add ecx, edi
mov al, byte [ecx]
cmp al, 0xd
je 0x414c54
cmp byte [ecx + 1], 0xa
je 0x414c54
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 0x414c2b
cmp dword [esp + 0x1c], 2
jne 0x414c29
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
inc eax
mov dword [esp + 0x2c], eax
jmp 0x414ffe
test al, al
jle 0x414c36
inc dword [esp + 0x28]
jmp 0x414ffe
jge 0x414ffe
cmp dword [esp + 0x1c], 1
jne 0x414ffe
mov dword [esp + 0x1c], 2
jmp 0x414ffe
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 0xc]
lea ecx, [ecx + edx - 1]
test ecx, ecx
je 0x414c6f
sub eax, dword [ebx + 4]
cdq
idiv ecx
jmp 0x414c72
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 + 0xd0]
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 + 0xd0]
fild dword [ebx + 4]
fdiv qword [eax + 0xd0]
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 + 0xd0]
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 0x414fe9
mov al, byte [edi + eax]
test al, al
jge 0x414d66
cmp dword [esp + 0x20], 2
je 0x414d6c
test al, al
jle 0x414fbc
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 0x414d98
test edi, edi
je 0x414d9f
test al, al
jge 0x414da1
cmp edi, 1
jne 0x414da1
xor ecx, ecx
mov edx, dword [edx - 8]
dec edx
cmp edi, edx
jne 0x414dd7
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
sub esp, 8
fild dword [eax + 0xc]
fdiv qword [ecx + 0xd0]
fmul qword [0x57f530]
fadd qword [esp + 0x54]
fstp qword [esp]
call fcn.004bd890
add esp, 8
mov dword [esp + 0x60], eax
jmp 0x414df3
test ecx, ecx
jne 0x414dee
test ebx, ebx
jne 0x414e21
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push ebx
mov ecx, dword [eax - 8]
jmp 0x414f6d
cmp ecx, 2
jne 0x414e00
test ebx, ebx
jne 0x414f0a
jmp 0x414f62
cmp ecx, 1
jne 0x414f79
test ebx, ebx
jne 0x414ea1
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 1
mov ecx, dword [eax - 8]
jmp 0x414f6d
cmp ebx, 1
jne 0x414e73
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 0x414e4f
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 0x414f79
cmp ebx, 2
jne 0x414f79
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jle 0x414e91
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 0
mov ecx, dword [eax - 8]
jmp 0x414f6d
cmp ebx, 1
jne 0x414edf
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 0x414ecf
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 1
mov ecx, dword [eax - 8]
jmp 0x414e5a
cmp ebx, 2
jne 0x414f79
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jle 0x414efd
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 1
mov ecx, dword [eax - 8]
jmp 0x414f6d
cmp ebx, 1
jne 0x414f48
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 0x414f38
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 2
mov ecx, dword [eax - 8]
jmp 0x414e5a
cmp ebx, 2
jne 0x414f79
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jle 0x414f62
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 + 0xd0]
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 0x414fd7
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 0x414d56
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 0x414bdf
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