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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5eda29
sub esp, 0x90
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
cmp ebx, 5
jne 0x5ed552
cmp dword [edx], 0x70747468
jne 0x5ed552
cmp byte [edx + 4], 0x73
je 0x5ed570
cmp ebx, 4
jne 0x5ed5a5
cmp dword [edx], 0x70747468
jne 0x5ed5a5
mov ebp, dword [esp + 0x94]
movzx esi, byte [ebp + 0x11]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5ed5a5
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005ed290
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x98]
xor ebx, ebx
jmp 0x5ed5f1
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x694734]
mov dword [eax], ecx
mov dword [esp + 0xa0], 0
lea ecx, [0x6f6584]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x90
ret
lea ebx, [edx + 1]
mov edx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x617fb0]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x6c], ecx
test byte [ecx], al
lea ebp, [ecx + 0x3c]
mov dword [esp], ebp
lea ebp, [esp + 0x68]
mov dword [esp + 4], ebp
call fcn.004669c0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax + 0x4c]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test ecx, ecx
jne 0x5ed93f
mov dword [esp + 0x4c], eax
test byte [eax], al
lea ecx, [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00463b10
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
xor eax, 1
mov byte [esp + 8], al
call fcn.005fa1d0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.005f0450
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test edx, edx
je 0x5ed889
mov ebp, dword [esp + 0x20]
cmp ebp, 6
jg 0x5ed889
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005eda40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test ecx, ecx
jne 0x5ed881
mov edx, dword [esp + 0x20]
test edx, edx
je 0x5ed5ec
mov dword [esp + 0x44], eax
lea ecx, [edx - 1]
cmp ecx, 0x20
sbb eax, eax
mov ebx, 1
shl ebx, cl
and ebx, eax
mov dword [esp], ebx
call fcn.0045f700
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x2c], xmm0
call fcn.004ea0b0
movsd xmm0, qword [esp]
movsd xmm1, qword [0x6f5b9c]
mulsd xmm0, xmm1
movsd xmm2, qword [esp + 0x2c]
mulsd xmm0, xmm2
addsd xmm2, xmm0
movsd qword [esp], xmm2
call fcn.00459850
mov eax, dword [esp + 8]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov ebx, dword [esp + 0xc]
imul ebx, ebx, 0x3b9aca00
add edx, ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ade00
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x44]
mov ebx, dword [edx + 0x78]
mov ebp, dword [edx + 0x7c]
test ebx, ebx
jne 0x5ed7cf
nop
mov ebp, dword [0x85fbfc]
lea ebx, [0x6f7820]
mov eax, dword [ebx + 0x14]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.004451b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5ed856
cmp eax, 1
jne 0x5eda28
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
jmp 0x5ed5ec
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test ecx, ecx
jne 0x5ed871
nop
mov eax, dword [0x85fbfc]
lea ecx, [0x6f7820]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x40]
mov ebx, edx
mov edx, ecx
test edx, edx
je 0x5ed91b
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
je 0x5ed8a8
mov eax, dword [edx + 4]
jmp 0x5ed8aa
mov eax, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
movzx eax, byte [0x887a0b]
test al, al
je 0x5ed8fb
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], edx
lea eax, [0x6926d9]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005bf5d0
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebx
add esp, 0x90
ret
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x90
ret
mov dword [esp + 0x48], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00408e30
mov eax, dword [esp + 8]
lea ecx, [0x658f60]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5ed9b0
mov edx, dword [eax + 4]
jmp 0x5ed9b2
mov edx, eax
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x8c], eax
movzx ecx, byte [0x887a0b]
test cl, cl
je 0x5eda04
lea eax, [0x69e34c]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.005bf5d0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa0], 0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x90
ret
nop
call fcn.0045e340
jmp fcn.005ed510