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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x10155004]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x6c], edi
cmp dword [edi + 0x30], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x14], ecx
jne 0x1005c71d
push 0
push 0
lea edx, [edi + 0x30]
call fcn.1005c330
add esp, 8
test eax, eax
jne 0x1005c962
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
add edx, dword [edi + 0x38]
mov eax, dword [esi + 0xc]
adc eax, dword [edi + 0x3c]
add edx, 9
adc eax, 0
push eax
push edx
mov edx, dword [edi + 0x30]
call fcn.1005c2a0
add esp, 8
mov edx, esi
mov ecx, edi
call fcn.1005c4b0
test eax, eax
jne 0x1005c962
mov eax, dword [edi + 0x38]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x68], ecx
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
cdq
mov ecx, eax
movq qword [esp + 0x40], xmm0
mov eax, edx
mov dword [esp + 0x60], ecx
push eax
push ecx
mov dword [esp + 0x64], eax
call fcn.10025910
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1005c7a8
mov dword [esp + 0x20], 7
jmp 0x1005c7ea
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.101285d0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cdq
sub ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
sbb eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
inc dword [edi + 8]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
test edx, edx
ja 0x1005c834
jb 0x1005c7fe
cmp ecx, 0x7f
ja 0x1005c80c
and cl, 0x7f
mov eax, 1
mov byte [esp + 0x70], cl
jmp 0x1005c842
test edx, edx
ja 0x1005c834
jb 0x1005c81a
cmp ecx, 0x3fff
ja 0x1005c834
mov eax, ecx
shrd eax, edx, 7
or al, 0x80
and cl, 0x7f
mov byte [esp + 0x70], al
mov eax, 2
mov byte [esp + 0x71], cl
jmp 0x1005c842
push edx
push ecx
lea ecx, [esp + 0x78]
call fcn.1002b890
add esp, 8
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x24]
call fcn.1005c610
mov esi, dword [esi]
add esp, 4
test esi, esi
je 0x1005c8f2
nop dword [eax]
mov eax, dword [esi]
mov edi, dword [esi + 4]
cdq
test edx, edx
ja 0x1005c8a5
jb 0x1005c871
cmp eax, 0x7f
ja 0x1005c87e
and al, 0x7f
mov byte [esp + 0x70], al
mov eax, 1
jmp 0x1005c8b3
test edx, edx
ja 0x1005c8a5
jb 0x1005c88b
cmp eax, 0x3fff
ja 0x1005c8a5
mov ecx, eax
shrd ecx, edx, 7
or cl, 0x80
and al, 0x7f
mov byte [esp + 0x71], al
mov eax, 2
mov byte [esp + 0x70], cl
jmp 0x1005c8b3
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.1002b890
add esp, 8
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x24]
call fcn.1005c610
add esp, 4
lea edx, [esi + 8]
lea ecx, [esp + 0x20]
push dword [esi]
call fcn.1005c610
mov eax, dword [esp + 0x20]
add esp, 4
cmp dword [eax + 4], 0
jne 0x1005c8e8
push esi
call fcn.10025b30
add esp, 4
mov esi, edi
test edi, edi
jne 0x1005c860
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
test esi, esi
jne 0x1005c941
cmp dword [esp + 0x24], 0
je 0x1005c941
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x1005c941
mov esi, dword [esp + 0x40]
mov eax, ecx
cdq
add eax, dword [esp + 0x38]
adc edx, dword [esp + 0x3c]
mov edi, dword [esi]
push edx
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
add ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edi + 0xc]
push esi
call ecx
mov esi, eax
add esp, 0x14
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
push dword [esp + 0x24]
cdq
add eax, dword [esp + 0x3c]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x40]
mov dword [ecx + 0x3c], edx
call fcn.10025b30
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret