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

Disassembly:
push 0xffffffffffffffff
push 0x65d298
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.00491060
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 0x5db94e
lea eax, [esp + 0x20]
mov dword [esp + 0x80], esp
push eax
call fcn.00491060
mov ecx, edi
call fcn.005dbcf0
lea esi, [eax + 1]
jmp 0x5dbcc0
lea edx, [esp + 0x20]
mov dword [esp + 0x40], esp
push edx
call fcn.00491060
mov ecx, edi
call fcn.005dbcf0
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.005db6c0
cmp dword [edi + 0x48], ebx
jne 0x5db9ac
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
lea edx, [edi + 4]
lea ecx, [esp + 0x38]
push edx
call fcn.00491060
push 2
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 1
call fcn.00492640
mov byte [esp + 0x6c], 2
jmp 0x5db9d4
mov ebx, dword [esp + 0x30]
push ebx
push 0xd
lea ecx, [esp + 0x1c]
call fcn.00491ed0
mov esi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], esi
cmp esi, 0xffffffff
mov byte [esp + 0x6c], 3
je 0x5dba24
sub eax, ebx
lea ecx, [esp + 0x28]
push eax
push ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.00491740
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 4
call fcn.004911b0
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x28]
jmp 0x5dba4b
lea edx, [esp + 0x2c]
push ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.00491710
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 5
call fcn.004911b0
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x2c]
call fcn.00490f90
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5dba5d
mov eax, dword [eax + 4]
jmp 0x5dba5f
xor eax, eax
dec eax
cmp esi, eax
jne 0x5dba70
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.00492670
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.00491060
mov ecx, edi
call fcn.005db4e0
fld dword [esp + 0x1c]
fsub dword [edi + 0x4c]
fstp dword [esp + 0x18]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x5dbbd6
fld dword [esp + 0x1c]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x40
je 0x5dbada
mov dword [edi + 0x48], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5dbae7
mov eax, dword [eax + 4]
jmp 0x5dbae9
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.00491060
mov ecx, edi
call fcn.005dc970
push ecx
mov esi, eax
mov eax, esp
mov dword [esp + 0x40], esp
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00491e20
mov ecx, edi
call fcn.005db4e0
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x5dbb33
dec esi
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.00492670
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.00492670
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.00491710
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call fcn.004911b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 3
call fcn.00490f90
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00491060
mov ecx, dword [esp + 0x24]
call fcn.005db4e0
fcomp dword [esp + 0x18]
mov edi, dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x5dbac4
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5dbbe3
mov ebp, dword [eax + 4]
jmp 0x5dbbe5
xor ebp, ebp
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.00492670
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 2
mov word [eax + ebx*2], bp
call fcn.00490f90
cmp esi, 0xffffffff
jne 0x5db9d0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5dbc63
mov esi, dword [eax + 4]
movsx eax, byte [esi + eax + 0xb]
cmp al, 0xd
jne 0x5dbc63
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x58]
call fcn.00492670
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.00492670
mov edx, dword [esp + 0x50]
mov word [edx + esi*2], 0
mov esi, dword [esp + 0x54]
lea eax, [esi*4]
push eax
call fcn.006147b3
mov edx, dword [esp + 0x78]
add esp, 4
mov dword [edx], eax
xor eax, eax
test esi, esi
jle 0x5dbc9b
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 0x5dbc83
mov eax, esi
lea ecx, [esp + 0x50]
cdq
sub eax, edx
mov byte [esp + 0x6c], 1
mov esi, eax
sar esi, 1
call fcn.00492660
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0
call fcn.00490f90
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00490f90
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