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

Disassembly:
push 0xffffffffffffffff
push 0x4ff34c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x2038]
test eax, eax
mov dword [esp + 4], esi
je 0x4e6100
mov eax, dword [esi + 0x210c]
push edi
mov edi, 2
cmp eax, edi
jne 0x4e60ff
mov ecx, dword [esi + 0x2058]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
je 0x4e5c4d
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x418], edi
jne 0x4e5c21
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
fmul dword [0x520748]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
lea ecx, [esp + 0xc]
call fcn.004e1cd0
mov ecx, dword [esi + 0x2058]
mov eax, dword [esp + 0xc]
cmp eax, ecx
jne 0x4e5c01
fld dword [esp + 0x10]
fcomp dword [0x520b0c]
fnstsw ax
test ah, 0x41
je 0x4e60ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
cmp eax, 9
je 0x4e60ff
mov ecx, dword [esi + 0x1a]
cmp ecx, dword [esi + 0x16]
je 0x4e60ff
push ebx
push ebp
jmp 0x4e5c70
mov eax, dword [esi + 0x2058]
mov edi, dword [eax]
xor esi, esi
xor ebp, ebp
cmp edi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], 0x461c4000
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], esi
je 0x4e5e5e
mov esi, dword [edi + 0x10]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov ecx, dword [esp + 0x10]
mov ebx, eax
push ebx
add ecx, 0x2030
call fcn.004e2690
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x2034]
add ecx, 0x2030
cmp eax, edx
mov dword [esp + 0x28], eax
je 0x4e5cf3
lea ecx, [eax + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jl 0x4e5cf3
lea eax, [esp + 0x28]
jmp 0x4e5d07
mov eax, dword [esp + 0x10]
add eax, 0x2030
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov ebx, dword [eax]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x10]
cmp ebx, dword [ecx + 0x2034]
je 0x4e5db2
cmp dword [ebx + 0x10], 5
jg 0x4e5d67
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
or ebx, 1
push eax
add ecx, 0x203c
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], ebx
call fcn.004e52c0
cmp dword [eax], 0
jl 0x4e5d67
mov bl, 1
jmp 0x4e5d69
xor bl, bl
test byte [esp + 0x1c], 1
mov dword [esp + 0x4c], 0xffffffff
je 0x4e5d8d
mov eax, dword [esp + 0x1c]
and eax, 0xfffffffe
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
je 0x4e5db2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4e5db2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x78]
fstp dword [esp + 0x14]
mov dword [esp + 0x24], esi
cmp dword [esi + 0x418], 3
je 0x4e5e00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x74]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x4e5de6
mov eax, dword [esi + 0x428]
test eax, eax
jne 0x4e5de6
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x74]
fstp dword [esp + 0x18]
mov ebp, dword [edi + 0x10]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x7c]
cmp eax, dword [esp + 0x20]
jbe 0x4e5e00
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov dword [esp + 0x20], eax
mov al, byte [edi + 0x15]
test al, al
jne 0x4e5e4a
mov eax, dword [edi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x4e5e2d
mov edi, eax
mov eax, dword [edi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x4e5e4a
lea esp, [esp]
mov edi, eax
mov eax, dword [edi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x4e5e20
jmp 0x4e5e4a
mov eax, dword [edi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x4e5e48
cmp edi, dword [eax + 8]
jne 0x4e5e48
mov edi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x4e5e37
mov edi, eax
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 0x2058]
jne 0x4e5c98
mov esi, dword [esp + 0x24]
fld dword [esp + 0x18]
fld qword [0x520810]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4e60fd
fld dword [esp + 0x14]
fld qword [0x504c48]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4e60fd
fld dword [esp + 0x14]
fsub dword [esp + 0x18]
fcomp dword [0x520b08]
fnstsw ax
test ah, 0x41
jp 0x4e5ec7
fld dword [esp + 0x18]
fcomp dword [0x520b08]
fnstsw ax
test ah, 0x41
jne 0x4e5ec7
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4e60fd
cmp esi, ebp
je 0x4e60fd
test esi, esi
je 0x4e60fd
test ebp, ebp
je 0x4e60fd
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x60]
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x4c], 1
call dword [eax + 0x60]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov ecx, edi
mov ebx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x38]
inc bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
or edi, 0xffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
je 0x4e5f8b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
push eax
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0x203c
mov dword [esp + 0x50], 2
call fcn.004e52c0
lea ecx, [esp + 0x40]
mov dword [eax], edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov esi, dword [esp + 0x10]
jmp 0x4e5c70
mov edi, dword [esp + 0x10]
push ebp
mov ecx, edi
call fcn.004e3f20
mov eax, dword [ebp]
push 0x520800
push 7
mov ecx, ebp
call dword [eax + 0x4c]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x88]
mov ebx, eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x8c]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x24], eax
call dword [edx + 0x94]
mov dword [esp + 0x38], eax
mov eax, dword [esi]
push 3
mov ecx, esi
call dword [eax + 0x60]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x60]
push eax
call dword [sym.imp.MSVCR71.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4e605a
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp]
mov edx, dword [esi]
push ecx
push ebx
add edi, 0x182e
push edi
mov ecx, esi
mov dword [esp + 0x48], eax
call dword [edx + 0x60]
push eax
mov eax, dword [esp + 0x4c]
mov ecx, ebp
call dword [eax + 0x68]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x50]
fld dword [esp + 0x14]
fmul dword [0x520b04]
mov edx, dword [ebp]
push ecx
mov ecx, ebp
fstp dword [esp]
call dword [edx + 0x84]
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0xac]
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov edx, dword [edi]
push 1
push ebp
mov ecx, edi
call dword [edx + 0x148]
test eax, eax
je 0x4e60fd
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
push 0x20000
push 0
push 1
push ecx
push ebx
lea edx, [edi + 0x182e]
push edx
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x54], eax
call dword [edx + 0x60]
push eax
mov eax, dword [esp + 0x58]
mov ecx, edi
call dword [eax + 0x144]
mov esi, eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x8c]
mov ecx, dword [edi + 0x1a]
add ecx, eax
test esi, esi
mov dword [edi + 0x1a], ecx
jne 0x4e60de
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x8c]
mov ecx, dword [edi + 0x1a]
pop ebp
sub ecx, eax
pop ebx
mov dword [edi + 0x1a], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
fld dword [esp + 0x14]
fmul dword [0x520b04]
mov edx, dword [esi]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [edx + 0x84]
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x38]
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret