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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov esi, dword [esp + 0x9c]
mov ebp, dword [esi + 0x20]
mov edi, dword [esi + 0x14]
test ebp, ebp
je 0x100577c3
mov eax, dword [esi + 0x18]
cmp eax, ebp
jbe 0x100577c1
cmp byte [edi + ebp], 0xbf
jg 0x100577c3
push 0x1010bce4
push ebp
push 0
push eax
push edi
call fcn.10101780
jne 0x100577b2
push 4
push 0x1010c3c1
push ebp
push edi
call fcn.1005a98c
add esp, 0x10
mov ebx, eax
test al, al
je 0x1005782b
push 0x1010c40c
push 9
push 6
push esi
call fcn.100a180b
add esp, 0x10
lea edi, [esp + 0x28]
push edx
push eax
push edi
call fcn.100ad5a7
add esp, 0xc
mov eax, dword [edi]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1005799d
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
jmp 0x10057892
push 5
push 0x1010c3c5
push ebp
push edi
call fcn.1005a98c
add esp, 0x10
test al, al
je 0x100579b9
push 0x1010c3fc
push 9
push 6
push esi
call fcn.100a180b
add esp, 0x10
lea edi, [esp + 0x28]
push edx
push eax
push edi
call fcn.100ad5a7
add esp, 0xc
mov eax, dword [edi]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1005799d
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
xor eax, eax
inc eax
mov dword [esp + 8], eax
push esi
call fcn.100a1c7a
add esp, 4
test eax, eax
je 0x100579ed
mov edi, eax
mov ebp, edx
push esi
call fcn.100a1bd0
add esp, 4
add edx, eax
lea ecx, [esp + 0x50]
push edx
push eax
push ecx
call fcn.100a7626
add esp, 0xc
add ebp, edi
lea eax, [esp + 0x5c]
push ebp
push edi
push eax
call fcn.100a7626
add esp, 0xc
lea edi, [esp + 0x3c]
mov eax, dword [esp + 8]
mov dword [edi - 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [edi - 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [edi - 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [edi - 4], eax
mov eax, dword [esp + 0x10]
mov dword [edi - 8], eax
movups xmm0, xmmword [esp + 0x68]
movups xmmword [edi], xmm0
mov byte [edi + 0x10], 2
movzx eax, word [esp]
mov word [edi + 0x11], ax
mov al, byte [esp + 2]
mov byte [edi + 0x13], al
test bl, bl
lea ebx, [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.100d00c0
add esp, 8
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov ebx, dword [ebx + 8]
lea ebp, [esp + 0x78]
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.100d00c0
add esp, 8
push dword [ebp + 8]
push dword [ebp + 4]
push ebx
push dword [esp + 0x10]
push edi
call fcn.10041e11
add esp, 0x14
push ebp
call fcn.10001480
add esp, 4
push ebp
call fcn.1005a250
add esp, 4
lea ebx, [esp + 0x1c]
push ebx
call fcn.10001480
add esp, 4
push ebx
call fcn.1005a250
add esp, 4
movups xmm0, xmmword [edi]
movups xmmword [esp + 0x68], xmm0
mov al, byte [esp + 0x4c]
movzx ecx, word [edi + 0x11]
mov word [esp], cx
mov cl, byte [edi + 0x13]
mov byte [esp + 2], cl
jmp 0x100579ef
mov eax, dword [esp + 0x2c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp], 0
call fcn.10055c30
add esp, 0xc
jmp 0x100579db
sub esp, 0x10
mov dword [esp + 0xc], 0x14
mov dword [esp + 8], 0x1010c3e5
mov dword [esp], 0
call fcn.10055e4a
add esp, 0x10
mov edi, dword [esp + 0x98]
mov dword [edi + 4], eax
mov dword [edi], 2
jmp 0x10057a33
mov al, 2
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x10], ecx
movups xmm0, xmmword [esp + 0x68]
movups xmmword [edi + 0x14], xmm0
mov byte [edi + 0x24], al
movzx eax, word [esp]
mov word [edi + 0x25], ax
mov al, byte [esp + 2]
mov byte [edi + 0x27], al
add esi, 0x10
push esi
call fcn.10001480
add esp, 4
push esi
call fcn.1005a250
add esp, 4
mov eax, edi
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret