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

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x7d9a88]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
mov esi, dword [esp + 0x1ac]
cmp dword [esi + 0x58], 2
jge 0x5dd6cd
mov eax, 0xffffff7d
pop esi
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005ae766
add esp, 0x1a4
ret
cmp dword [esi + 4], 0
jne 0x5dd6ee
mov eax, 0xffffff76
pop esi
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005ae766
add esp, 0x1a4
ret
push ebx
mov ebx, dword [esp + 0x1b8]
test ebx, ebx
push edi
jl 0x5dd9c9
mov edi, dword [esp + 0x1b8]
jg 0x5dd710
test edi, edi
jb 0x5dd9c9
cmp ebx, dword [esi + 0x14]
jg 0x5dd9c9
jl 0x5dd724
cmp edi, dword [esi + 0x10]
ja 0x5dd9c9
mov ecx, dword [esi + 0x5c]
or eax, 0xffffffff
push ebp
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea eax, [esi + 0x78]
push ecx
push eax
call fcn.0063b5c0
lea edx, [esi + 0x1e0]
push edx
call fcn.0063c9f0
push ebx
push edi
mov eax, esi
call fcn.005dc8d0
mov eax, dword [esi + 0x5c]
push eax
lea ecx, [esp + 0x60]
xor edi, edi
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
call fcn.0063ad90
lea edx, [esp + 0x64]
push edx
call fcn.0063b570
mov ebp, dword [esp + 0x30]
add esp, 0x20
lea esp, [esp]
mov ebx, 3
cmp dword [esi + 0x58], ebx
jl 0x5dd82f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.0063b6f0
add esp, 8
test eax, eax
jle 0x5dd82f
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl edx, 5
add eax, edx
cmp dword [eax + 0x1c], 0
je 0x5dd821
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.0063c200
mov ebx, eax
add esp, 8
test ebx, ebx
jge 0x5dd7df
lea eax, [esi + 0x78]
push 0
push eax
call fcn.0063b6f0
add esp, 8
xor ebx, ebx
jmp 0x5dd801
test ebp, ebp
je 0x5dd7f3
lea eax, [esi + 0x78]
push 0
push eax
call fcn.0063b6f0
add esp, 8
jmp 0x5dd801
test edi, edi
je 0x5dd801
lea edx, [ebx + edi]
sar edx, 2
add dword [esp + 0x10], edx
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, edi
and eax, ecx
cmp eax, 0xffffffff
jne 0x5dd910
mov dword [esp + 0x14], ebx
mov edi, ebx
jmp 0x5dd780
lea eax, [esi + 0x78]
push 0
push eax
call fcn.0063b6f0
add esp, 8
test edi, edi
jne 0x5dd9a7
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
call fcn.005dc910
add esp, 0xc
test edx, edx
jl 0x5dd959
jg 0x5dd85a
test eax, eax
jb 0x5dd959
cmp dword [esi + 0x58], ebx
jl 0x5dd888
lea edx, [esp + 0x18]
push edx
call fcn.0063ad30
add esp, 4
cmp dword [esi + 0x5c], eax
je 0x5dd883
call fcn.005dd1a0
lea eax, [esp + 0x48]
push eax
call fcn.0063ae00
add esp, 4
cmp dword [esi + 0x58], ebx
jge 0x5dd8df
lea ecx, [esp + 0x18]
push ecx
call fcn.0063ad30
mov edi, dword [esi + 0x34]
add esp, 4
xor ecx, ecx
test edi, edi
mov dword [esi + 0x5c], eax
jle 0x5dd8b2
mov edx, dword [esi + 0x40]
cmp dword [edx], eax
je 0x5dd8b2
add ecx, 1
add edx, 4
cmp ecx, edi
jl 0x5dd8a4
cmp ecx, edi
je 0x5dd969
push eax
lea eax, [esi + 0x78]
push eax
mov dword [esi + 0x60], ecx
call fcn.0063b5c0
mov edx, dword [esi + 0x5c]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0063b5c0
mov edi, dword [esp + 0x24]
add esp, 0x10
mov dword [esi + 0x58], ebx
lea ecx, [esp + 0x18]
push ecx
lea eax, [esi + 0x78]
push eax
call fcn.0063b2c0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0063b2c0
lea ecx, [esp + 0x28]
push ecx
call fcn.0063ac90
add esp, 0x14
mov ebp, eax
jmp 0x5dd780
mov ebx, dword [esi + 0x60]
mov edx, dword [esi + 0x44]
mov eax, ebx
shl eax, 4
sub edi, dword [eax + edx]
sbb ecx, dword [eax + edx + 4]
test ecx, ecx
jg 0x5dd930
jl 0x5dd92c
test edi, edi
jae 0x5dd930
xor edi, edi
xor ecx, ecx
test ebx, ebx
jle 0x5dd948
lea eax, [edx + 8]
mov edx, dword [eax]
add edi, edx
mov edx, dword [eax + 4]
adc ecx, edx
add eax, 0x10
sub ebx, 1
jne 0x5dd937
mov eax, dword [esp + 0x10]
cdq
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ecx
jmp 0x5dd9b0
push 0xffffffffffffffff
push esi
call fcn.005dd5a0
add esp, 8
mov dword [esi + 0x54], edx
jmp 0x5dd9ad
lea eax, [esp + 0x48]
push eax
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call fcn.0063ae00
add esp, 4
call fcn.005dd1a0
mov eax, 0xffffff77
pop ebp
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005ae766
add esp, 0x1a4
ret
or eax, 0xffffffff
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
lea ecx, [esp + 0x48]
push ecx
call fcn.0063ae00
fldz
fst qword [esi + 0x68]
add esp, 4
fstp qword [esi + 0x70]
xor eax, eax
jmp 0x5dd98e
mov ecx, dword [esp + 0x1ac]
pop edi
pop ebx
pop esi
xor ecx, esp
mov eax, 0xffffff7d
call fcn.005ae766
add esp, 0x1a4
ret