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

Disassembly:
push 0xffffffffffffffff
push 0x668d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edi
call fcn.00498a90
mov eax, dword [edi + 0x44]
xor ebx, ebx
push ebx
push ebx
push ecx
cmp eax, ebx
mov dword [esp + 0x78], ebx
mov ecx, esp
jne 0x5ed01e
lea eax, [esp + 0x20]
mov dword [esp + 0x80], esp
push eax
call fcn.00498a90
mov ecx, edi
call fcn.005ed3c0
lea esi, [eax + 1]
jmp 0x5ed390
lea edx, [esp + 0x20]
mov dword [esp + 0x40], esp
push edx
call fcn.00498a90
mov ecx, edi
call fcn.005ed3c0
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x50]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x3c]
add eax, 0x68
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov ecx, edi
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x50], edx
call fcn.005ecd90
cmp dword [edi + 0x48], ebx
jne 0x5ed07c
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
lea edx, [edi + 4]
lea ecx, [esp + 0x38]
push edx
call fcn.00498a90
push 2
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 1
call fcn.0049a090
mov byte [esp + 0x6c], 2
jmp 0x5ed0a4
mov ebx, dword [esp + 0x30]
push ebx
push 0xd
lea ecx, [esp + 0x1c]
call fcn.00499920
mov esi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], esi
cmp esi, 0xffffffff
mov byte [esp + 0x6c], 3
je 0x5ed0f4
sub eax, ebx
lea ecx, [esp + 0x28]
push eax
push ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.00499190
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 4
call fcn.00498be0
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x28]
jmp 0x5ed11b
lea edx, [esp + 0x2c]
push ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.00499160
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 5
call fcn.00498be0
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x2c]
call fcn.00498970
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5ed12d
mov eax, dword [eax + 4]
jmp 0x5ed12f
xor eax, eax
dec eax
cmp esi, eax
jne 0x5ed140
mov dword [esp + 0x24], 0xffffffff
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.0049a0c0
mov eax, dword [esp + 0x50]
lea ecx, [esi + 1]
push ecx
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov word [eax + ebp*2], bx
call fcn.00498a90
mov ecx, edi
call fcn.005ecbb0
fld dword [esp + 0x1c]
fsub dword [edi + 0x4c]
fstp dword [esp + 0x18]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x5ed2a6
fld dword [esp + 0x1c]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x40
je 0x5ed1aa
mov dword [edi + 0x48], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5ed1b7
mov eax, dword [eax + 4]
jmp 0x5ed1b9
xor eax, eax
cdq
sub eax, edx
lea edx, [esp + 0x10]
sar eax, 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00498a90
mov ecx, edi
call fcn.005ee060
push ecx
mov esi, eax
mov eax, esp
mov dword [esp + 0x40], esp
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00499870
mov ecx, edi
call fcn.005ecbb0
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x5ed203
dec esi
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.0049a0c0
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
mov word [ecx + edi*2], si
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ebx, eax
mov di, word [ecx + eax*2 - 2]
mov bp, word [ecx + eax*2 - 4]
inc eax
lea ecx, [esp + 0x54]
push eax
call fcn.0049a0c0
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x34]
add ebp, edi
push esi
push eax
lea ecx, [esp + 0x18]
mov word [edx + ebx*2], bp
call fcn.00499160
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call fcn.00498be0
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 3
call fcn.00498970
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00498a90
mov ecx, dword [esp + 0x24]
call fcn.005ecbb0
fcomp dword [esp + 0x18]
mov edi, dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x5ed194
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5ed2b3
mov ebp, dword [eax + 4]
jmp 0x5ed2b5
xor ebp, ebp
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.0049a0c0
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 2
mov word [eax + ebx*2], bp
call fcn.00498970
cmp esi, 0xffffffff
jne 0x5ed0a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5ed333
mov esi, dword [eax + 4]
movsx eax, byte [esi + eax + 0xb]
cmp al, 0xd
jne 0x5ed333
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.0049a0c0
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
mov word [ecx + edi*2], si
mov eax, dword [esp + 0x58]
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.0049a0c0
mov edx, dword [esp + 0x50]
mov word [edx + esi*2], 0
mov esi, dword [esp + 0x54]
lea eax, [esi*4]
push eax
call fcn.0061f973
mov edx, dword [esp + 0x78]
add esp, 4
mov dword [edx], eax
xor eax, eax
test esi, esi
jle 0x5ed36b
mov ecx, dword [esp + 0x50]
mov edi, dword [edx]
mov cx, word [ecx + eax*2]
and ecx, 0xffff
mov dword [edi + eax*4], ecx
inc eax
cmp eax, esi
jl 0x5ed353
mov eax, esi
lea ecx, [esp + 0x50]
cdq
sub eax, edx
mov byte [esp + 0x6c], 1
mov esi, eax
sar esi, 1
call fcn.0049a0b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0
call fcn.00498970
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00498970
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 4