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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, ecx
cmp dword [ebx + 0x24], 0
push esi
push edi
je 0x5df4d7
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0xc]
xor edi, edi
cmp dword [esp + 0xc], edi
je 0x5df1a3
cmp dword [esp + 0xc], eax
je 0x5df1a8
call fcn.0062cec3
cmp dword [esp + 0x10], esi
je 0x5df236
lea esi, [esp + 0xc]
call fcn.004acc8e
cmp byte [eax + 0x138], 0
jne 0x5df228
call fcn.004acc8e
lea ecx, [eax + 0x24]
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.004acc8e
lea ecx, [eax + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test al, al
je 0x5df1ee
call fcn.004acc8e
mov byte [eax + 0x138], 1
mov dword [esp + 0x18], 5
lea esi, [esp + 0xc]
call fcn.004acc8e
add eax, 0x14c
add dword [eax], 2
xor edi, edi
call fcn.004acc8e
cmp dword [eax + 0x74], edi
jle 0x5df222
lea esi, [esp + 0xc]
inc edi
call fcn.004acc8e
cmp edi, dword [eax + 0x74]
jl 0x5df213
dec dword [esp + 0x18]
jne 0x5df1f6
lea esi, [esp + 0xc]
call fcn.0052f0e8
jmp 0x5df18f
mov eax, dword [ebx + 4]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0xc]
je 0x5df26f
cmp dword [esp + 0xc], eax
je 0x5df274
call fcn.0062cec3
cmp dword [esp + 0x10], esi
je 0x5df4d7
lea esi, [esp + 0xc]
call fcn.004acc8e
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [esp + 0x70]
push eax
call fcn.004acc8e
add eax, 0x54
push eax
lea eax, [esp + 0xb8]
push eax
call dword [0x6772f8]
call fcn.004acc8e
cmp byte [eax + 9], 0
je 0x5df3b7
call fcn.004acc8e
mov esi, eax
add esi, 0x64
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fild dword [esp + 0x40]
lea esi, [esp + 0xc]
fstp dword [esp + 0x20]
fild dword [esp + 0x44]
fstp dword [esp + 0x24]
fild dword [esp + 0x48]
fstp dword [esp + 0x28]
fild dword [esp + 0x4c]
fstp dword [esp + 0x2c]
call fcn.004acc8e
fild dword [eax + 0x60]
fadd dword [ebx + 0x3c8]
call fcn.00631650
mov dword [esp + 0x14], eax
call fcn.004acc8e
fild dword [eax + 0x5c]
fadd dword [ebx + 0x3c4]
call fcn.00631650
mov dword [esp + 0x1c], eax
call fcn.004acc8e
fild dword [eax + 0x58]
fadd dword [ebx + 0x3c8]
call fcn.00631650
mov dword [esp + 0x18], eax
call fcn.004acc8e
fild dword [eax + 0x54]
fadd dword [ebx + 0x3c4]
call fcn.00631650
mov dword [esp + 0x90], eax
fild dword [esp + 0x90]
fstp dword [esp + 0x60]
fild dword [esp + 0x18]
fstp dword [esp + 0x64]
fild dword [esp + 0x1c]
fstp dword [esp + 0x68]
fild dword [esp + 0x14]
fstp dword [esp + 0x6c]
call fcn.004acc8e
lea ecx, [eax + 0xc]
mov eax, dword [ebx + 0x1e8]
add eax, 0x8c
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
call dword [eax + 4]
shl eax, 0x18
or eax, 0xffffff
push eax
mov eax, dword [esp + 0x18]
sub esp, 0x10
lea esi, [esp + 0x34]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x74]
lea ecx, [ebx + 0x1e8]
jmp 0x5df4be
call fcn.004acc8e
mov esi, eax
add esi, 0x64
lea edi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fild dword [esp + 0x80]
lea esi, [esp + 0xc]
fstp dword [esp + 0x30]
fild dword [esp + 0x84]
fstp dword [esp + 0x34]
fild dword [esp + 0x88]
fstp dword [esp + 0x38]
fild dword [esp + 0x8c]
fstp dword [esp + 0x3c]
call fcn.004acc8e
fild dword [eax + 0x60]
fadd dword [ebx + 0x3c8]
call fcn.00631650
mov dword [esp + 0x18], eax
call fcn.004acc8e
fild dword [eax + 0x5c]
fadd dword [ebx + 0x3c4]
call fcn.00631650
mov dword [esp + 0x1c], eax
call fcn.004acc8e
fild dword [eax + 0x58]
fadd dword [ebx + 0x3c8]
call fcn.00631650
mov dword [esp + 0x14], eax
call fcn.004acc8e
fild dword [eax + 0x54]
fadd dword [ebx + 0x3c4]
call fcn.00631650
mov dword [esp + 0xa0], eax
fild dword [esp + 0xa0]
fstp dword [esp + 0x50]
fild dword [esp + 0x14]
fstp dword [esp + 0x54]
fild dword [esp + 0x1c]
fstp dword [esp + 0x58]
fild dword [esp + 0x18]
fstp dword [esp + 0x5c]
call fcn.004acc8e
lea ecx, [eax + 0xc]
mov eax, dword [ebx + 0x2c8]
add eax, 0x8c
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
call dword [eax + 4]
shl eax, 0x18
or eax, 0xffffff
push eax
mov eax, dword [esp + 0x18]
sub esp, 0x10
lea esi, [esp + 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x64]
lea ecx, [ebx + 0x2c8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax]
lea esi, [esp + 0xc]
call fcn.0052f0e8
jmp 0x5df25c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret