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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x5c], esi
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x50], esi
jne 0x101165c4
mov ecx, edi
call fcn.10110280
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], edx
cmp dword [edi + 0x24], esi
jne 0x101165c4
mov ecx, edi
call fcn.101100a0
mov dword [edi + 0x50], eax
cmp dword [edi + 0x24], esi
lea ebx, [edi + 0x24]
je 0x101165d0
xor ebp, ebp
jmp 0x101165d8
mov eax, dword [edi + 0x50]
inc dword [eax]
mov ebp, dword [edi + 0x50]
mov edx, ebp
mov dword [esp + 0x18], ebp
mov ecx, edi
mov dword [esp + 0x28], ebp
call fcn.10114830
mov ecx, dword [edi + 0x50]
mov edx, eax
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x10116602
call fcn.1010f8d0
mov edx, dword [esp + 0x20]
mov dword [edi + 0x50], esi
test edx, edx
je 0x10116b6d
mov eax, dword [edi]
mov ecx, edi
push edx
lea edx, [esp + 0x6c]
mov ebp, dword [eax + 0x4c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], eax
call fcn.10115260
add esp, 4
cmp dword [ebx], esi
mov esi, dword [esp + 0x24]
jne 0x10116641
push 0
xor edx, edx
mov ecx, esi
call fcn.1010ef90
add esp, 4
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x10116a4e
nop word [eax + eax]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10116a44
lea ebx, [edi + 0x28]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10116663
sub esi, ecx
mov edx, edi
mov ecx, dword [esp + 0x24]
push 0
call fcn.1010e710
lea eax, [esi + 1]
mov ecx, ebx
add eax, ebx
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x10]
sub eax, esi
lea edx, [ecx + 1]
sub eax, 0x29
mov dword [esp + 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10116696
mov edi, dword [esp + 0x14]
sub ecx, edx
push ebx
push ecx
lea edx, [esp + 0x70]
mov ecx, edi
call fcn.10114f10
lea ebx, [edi + 0x24]
add esp, 8
cmp dword [ebx], 0
jne 0x10116a4a
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 1]
add eax, edi
add eax, edx
cmp ebp, eax
jl 0x101166fb
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x3c]
add eax, edi
push edx
push eax
call fcn.1012bec0
add esp, 0xc
add edi, dword [esp + 0x2c]
mov dword [esp + 0x78], edi
jmp 0x10116a29
xorps xmm0, xmm0
xor ebp, ebp
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], ecx
nop dword [eax]
cmp ebp, edx
jge 0x10116a25
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x60]
lea ecx, [ecx + ebp]
call fcn.10127510
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
movzx eax, al
add ebp, eax
add dword [esp + 0x1c], ecx
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x48]
adc ebp, edx
cmp byte [esp + 0xa1], 0
mov dword [esp + 0x48], ebp
je 0x10116810
mov ecx, dword [esp + 0x74]
mov eax, edi
shr eax, 8
mov byte [ecx], al
lea edx, [ecx + edi]
mov al, byte [esp + 0x78]
mov byte [ecx + 1], al
mov eax, dword [esp + 0x1c]
test ebp, ebp
ja 0x101167c0
jb 0x10116789
cmp eax, 0x7f
ja 0x10116794
and al, 0x7f
mov byte [edx], al
mov eax, 1
jmp 0x101167cc
test ebp, ebp
ja 0x101167c0
jb 0x101167a1
cmp eax, 0x3fff
ja 0x101167c0
mov ecx, eax
mov eax, ebp
shrd ecx, eax, 7
or cl, 0x80
mov byte [edx], cl
mov ecx, dword [esp + 0x1c]
mov al, cl
and al, 0x7f
mov byte [edx + 1], al
mov eax, 2
jmp 0x101167d0
push ebp
push eax
mov ecx, edx
call fcn.100230c0
add esp, 8
mov ecx, dword [esp + 0x1c]
push ebp
add edi, eax
mov byte [esp + 0xa5], 0
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x70]
mov dword [esp + 0x80], edi
call fcn.10114bb0
mov ebp, dword [ebx]
add esp, 8
test ebp, ebp
jne 0x10116a25
mov edi, dword [esp + 0x78]
xor ecx, ecx
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x84]
jmp 0x10116870
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + edi]
test edx, edx
ja 0x10116855
jb 0x10116822
cmp ecx, 0x7f
ja 0x1011682f
and cl, 0x7f
mov eax, 1
mov byte [ebp], cl
jmp 0x10116861
test edx, edx
ja 0x10116855
jb 0x1011683d
cmp ecx, 0x3fff
ja 0x10116855
mov eax, ecx
shrd eax, edx, 7
or al, 0x80
and cl, 0x7f
mov byte [ebp], al
mov eax, 2
mov byte [ebp + 1], cl
jmp 0x10116861
push edx
push ecx
mov ecx, ebp
call fcn.100230c0
add esp, 8
mov ecx, dword [esp + 0x14]
add edi, eax
mov dword [esp + 0x78], edi
mov ecx, dword [ecx + 0x24]
mov ebp, ecx
cmp dword [esp + 0x44], 1
jne 0x101168ce
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
cmp ebp, edx
jge 0x101168ab
mov eax, dword [esp + 0x38]
cmp byte [eax + ebp], 0
jne 0x101168ab
mov byte [ebx + edi], 0
inc ebp
inc edi
mov dword [esp + 0x78], edi
cmp ebp, edx
jge 0x101168ab
cmp byte [eax + ebp], 0
jne 0x101168ab
mov byte [edi + ebx], 0
inc edi
mov dword [esp + 0x78], edi
inc ebp
lea eax, [edi + esi]
cmp eax, dword [esp + 0x30]
jl 0x10116a0e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x68]
call fcn.10114dc0
mov edi, dword [esp + 0x78]
jmp 0x10116a0a
mov eax, dword [esp + 0x40]
mov edx, 1
add eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
movzx eax, byte [eax]
mov dword [esp + 0x34], eax
test al, al
jns 0x101168ff
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x34]
call fcn.10127480
mov edx, eax
mov ecx, ebp
mov eax, dword [esp + 0x34]
mov eax, eax
test eax, eax
jns 0x10116908
add eax, 1
sar eax, 1
add edx, eax
lea eax, [edi + esi]
add eax, edx
mov dword [esp + 0x50], edx
cmp eax, dword [esp + 0x30]
jg 0x1011693b
push edx
push dword [esp + 0x40]
lea eax, [ebx + edi]
push eax
call fcn.1012bec0
mov edx, dword [esp + 0x5c]
add esp, 0xc
add edi, edx
mov dword [esp + 0x78], edi
jmp 0x10116a04
xor ebp, ebp
mov dword [esp + 0x4c], ebp
test ecx, ecx
jne 0x10116a04
nop dword [eax]
mov ebx, dword [esp + 0x30]
sub ebx, edi
sub ebx, esi
mov esi, edx
sub esi, ebp
add ebp, dword [esp + 0x3c]
cmp esi, ebx
jle 0x101169a7
lea edx, [esp + 0x34]
mov ecx, ebp
call fcn.10127480
mov esi, eax
cmp esi, ebx
jge 0x101169a7
lea ecx, [esi + ebp]
lea edx, [esp + 0x34]
call fcn.10127480
mov ecx, eax
lea eax, [ecx + esi]
cmp eax, ebx
jg 0x101169a7
nop word [eax + eax]
add esi, ecx
lea edx, [esp + 0x34]
lea ecx, [esi + ebp]
call fcn.10127480
mov ecx, eax
lea eax, [ecx + esi]
cmp eax, ebx
jle 0x10116990
mov eax, dword [esp + 0x74]
push esi
add eax, edi
push ebp
push eax
call fcn.1012bec0
mov ebp, dword [esp + 0x58]
add edi, esi
mov ebx, dword [esp + 0x20]
add ebp, esi
mov esi, dword [esp + 0x90]
add esp, 0xc
mov dword [esp + 0x78], edi
mov dword [esp + 0x4c], ebp
lea eax, [edi + esi]
cmp eax, dword [esp + 0x30]
jl 0x101169f2
lea edx, [esp + 0x68]
mov ecx, ebx
call fcn.10114dc0
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x50]
cmp ebp, edx
jge 0x10116a04
cmp dword [ebx + 0x24], 0
je 0x10116950
mov ebp, dword [esp + 0x40]
add ebp, edx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x84]
add ebx, 0x24
cmp dword [ebx], 0
je 0x10116720
mov ebp, dword [esp + 0x30]
cmp dword [ebx], 0
mov esi, dword [esp + 0x24]
jne 0x10116a44
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
cmp dword [ebx], 0
je 0x10116650
mov edi, dword [esp + 0x14]
jmp 0x10116a4e
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.1010e650
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
lea edx, [esp + 0x6c]
call fcn.10115180
mov ebp, dword [esp + 0x1c]
add esp, 4
cmp dword [ebp + 0x14], 0
jne 0x10116ae0
lea edx, [esp + 0x28]
mov ecx, ebx
call fcn.1010f9c0
cmp dword [ebx], 0
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
jne 0x10116b35
mov esi, dword [ebp + 0x14]
call fcn.100cad40
test eax, eax
jne 0x10116ada
lea eax, [esi + esi*2]
mov ecx, ebp
lea eax, [eax*4 + 0x34]
push 0
push eax
call fcn.1001e600
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x10116ada
lea eax, [esi + esi*2]
xorps xmm0, xmm0
movq qword [ecx + eax*4 + 0x18], xmm0
mov ebp, ecx
mov dword [ecx + eax*4 + 0x20], 0
inc dword [ecx + 0x14]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebp
jmp 0x10116ae0
mov dword [ebx], 7
cmp dword [ebx], 0
jne 0x10116b35
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x20]
inc eax
lea esi, [eax + eax*2]
shl esi, 2
call fcn.100cad40
test eax, eax
jne 0x10116b28
push eax
push esi
mov ecx, edi
call fcn.1001e600
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x10116b28
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
lea eax, [eax + eax*2]
movq qword [ecx + eax*4], xmm0
mov dword [ecx + eax*4 + 8], 0
mov dword [ebp + 0x20], ecx
jmp 0x10116b2e
mov dword [ebx], 7
mov edi, dword [esp + 0x14]
cmp dword [ebx], 0
mov esi, dword [esp + 0x5c]
jne 0x10116b60
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*4]
lea eax, [edx + 1]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], 1
mov dword [ecx + 8], esi
inc dword [ebp + 0x10]
push ebp
xor edx, edx
mov ecx, edi
call fcn.10110780
add esp, 4
cmp dword [ebx], 0
jne 0x10116bf9
mov eax, dword [edi]
cmp dword [eax + 0x50], 0
jle 0x10116bf9
test ebp, ebp
je 0x10116bf9
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov ebx, dword [ebp + 8]
cdq
mov ebp, eax
mov dword [esp + 0x20], ebx
mov eax, dword [edi + 8]
mov esi, edx
cdq
add ebp, ebx
mov ebx, eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x18]
adc esi, ecx
mov edi, edx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push dword [ecx + 0x50]
push edi
push ebx
push esi
push ebp
call fcn.1013bff0
push edi
push ebx
push dword [esp + 0x50]
mov esi, eax
push dword [esp + 0x30]
call fcn.1013bff0
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x2c]
sub esi, eax
mov ecx, edi
mov eax, dword [esp + 0x1c]
imul esi, dword [eax + 0x14]
imul esi, dword [edi + 8]
push esi
call fcn.10116480
mov ebp, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x18], ebp
mov eax, dword [edi]
xor esi, esi
mov dword [esp + 0x20], ebp
lea ebp, [edi + 0x24]
mov ebx, dword [eax + 0x54]
cmp dword [ebp], esi
jne 0x10116c4f
xor edi, edi
nop
mov eax, dword [esp + 0x18]
cmp dword [edi + eax + 0x1c], ebx
jl 0x10116c4b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
push esi
call fcn.10115ae0
mov eax, dword [esp + 0x28]
inc esi
mov ecx, dword [esp + 0x1c]
mov edx, esi
push eax
mov dword [esp + 0x24], eax
call fcn.10110780
add esp, 0xc
add edi, 0xc
cmp dword [ebp], 0
je 0x10116c10
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.101103e0
mov ecx, dword [esp + 0x18]
call fcn.1010f8d0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret