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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], edi
call fcn.10101590
mov ecx, dword [ebp + 0x60]
mov esi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x10107bd1
call fcn.10100e90
mov dword [ebp + 0x60], edi
cmp dword [ebx + 8], edi
je 0x10108357
mov edx, esi
mov ecx, ebp
call fcn.101051a0
mov edx, eax
mov dword [esp + 0x58], edx
test edx, edx
je 0x10108357
mov ecx, dword [ebp]
push edx
lea edx, [esp + 0x84]
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x70]
mov ecx, ebp
mov dword [esp + 0x44], eax
call fcn.10105bd0
mov eax, dword [ebp + 0x2c]
lea ebx, [ebp + 0x2c]
add esp, 4
mov dword [esp + 0x28], ebx
test eax, eax
jne 0x10108086
mov ecx, dword [esp + 0x44]
xor edx, edx
push eax
call fcn.10100860
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x10108086
mov edi, dword [esp + 0x90]
nop dword [eax]
mov eax, dword [esp + 0x44]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x1010807f
lea eax, [ebx + 0x28]
mov esi, eax
mov dword [esp + 0x3c], eax
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10107c70
sub esi, ecx
mov edx, ebx
mov ecx, dword [esp + 0x44]
push 0
call fcn.100ffff0
mov edx, dword [ebp + 0x2c]
lea ecx, [ebx + 0x28]
lea eax, [ecx + 1]
add esp, 4
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
lea ebx, [ebp + 0x2c]
sub eax, esi
mov esi, ecx
sub eax, 0x29
mov dword [esp + 0x24], eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10107cb0
sub esi, ecx
cmp dword [esp + 0x40], 0
mov dword [esp + 0x7c], esi
mov ecx, edx
jne 0x10107d2e
push dword [esp + 0x3c]
lea edx, [esp + 0x84]
mov ecx, ebp
push esi
call fcn.10105820
mov edx, dword [ebx]
add esp, 8
mov ecx, edx
test edx, edx
jne 0x10108082
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0x90]
inc eax
mov esi, dword [esp + 0x24]
add eax, edi
add eax, esi
cmp dword [esp + 0x34], eax
jl 0x10107d2e
mov eax, dword [esp + 0x8c]
push esi
push dword [esp + 0x1c]
add eax, edi
push eax
call fcn.10118c90
mov eax, dword [ebx]
add esp, 0xc
add edi, esi
mov ecx, eax
mov dword [esp + 0x90], edi
jmp 0x10108064
xor eax, eax
xorps xmm0, xmm0
cmp dword [esp + 0x40], eax
movlpd qword [esp + 0x48], xmm0
sete al
movlpd qword [esp + 0x70], xmm0
xor ebx, ebx
mov dword [esp + 0x5c], eax
test edx, edx
jne 0x10108077
mov eax, dword [esp + 0x48]
xor esi, esi
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], eax
nop word [eax + eax]
mov eax, esi
cmp ebx, dword [esp + 0x24]
jge 0x1010805c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
lea ecx, [ebx + ecx]
call fcn.101147c0
mov ecx, dword [esp + 0x30]
movzx eax, al
add ebx, eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x48]
mov dword [esp + 0x54], ebx
adc ecx, dword [esp + 0x4c]
cmp dword [esp + 0x40], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
je 0x10107e25
cmp dword [esp + 0x68], 1
jne 0x10107ea4
cmp ebx, dword [esp + 0x24]
jge 0x10107e25
mov edx, dword [esp + 0x18]
cmp byte [ebx + edx], 0
jne 0x10107e25
mov edx, dword [esp + 0x10]
push ecx
push eax
push dword [esp + 0x44]
mov ecx, ebp
call fcn.10107ac0
inc ebx
add esp, 0xc
cmp ebx, dword [esp + 0x24]
jge 0x1010804b
mov eax, dword [esp + 0x18]
cmp byte [ebx + eax], 0
jne 0x1010804b
mov esi, dword [ebp + 0x2c]
inc ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x24], 0
test esi, esi
jne 0x10107e5d
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x5c], 0
jne 0x10107e5d
push esi
push dword [esp + 0x80]
lea edx, [esp + 0x88]
mov ecx, ebp
call fcn.10105820
mov edi, dword [esp + 0x98]
mov eax, 1
add esp, 8
mov dword [esp + 0x5c], eax
cmp byte [esp + 0xb9], 0
je 0x10107f53
mov ecx, dword [esp + 0x8c]
mov eax, edi
mov esi, dword [esp + 0x30]
shr eax, 8
mov byte [ecx], al
lea edx, [ecx + edi]
mov al, byte [esp + 0x90]
mov byte [ecx + 1], al
mov eax, dword [esp + 0x14]
test esi, esi
ja 0x10107f0f
jb 0x10107e99
cmp eax, 0x7f
ja 0x10107ee3
and al, 0x7f
mov byte [edx], al
mov eax, 1
jmp 0x10107f1b
mov edx, dword [esp + 0x18]
test byte [ebx + edx], 1
je 0x10107e25
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.10107ac0
lea eax, [ebp + 0x2c]
add esp, 0xc
cmp dword [eax], 0
jne 0x10107edd
mov ecx, dword [esp + 0x18]
cmp byte [ebx + ecx], 1
jne 0x10107e2d
inc ebx
jmp 0x1010804e
test esi, esi
ja 0x10107f0f
jb 0x10107ef0
cmp eax, 0x3fff
ja 0x10107f0f
mov ecx, eax
mov eax, esi
shrd ecx, eax, 7
or cl, 0x80
mov byte [edx], cl
mov ecx, dword [esp + 0x14]
mov al, cl
and al, 0x7f
mov byte [edx + 1], al
mov eax, 2
jmp 0x10107f1f
push esi
push eax
mov ecx, edx
call fcn.1002b890
add esp, 8
mov ecx, dword [esp + 0x14]
push esi
add edi, eax
mov byte [esp + 0xbd], 0
push ecx
lea edx, [esp + 0x88]
mov dword [esp + 0x98], edi
mov ecx, ebp
call fcn.101054e0
mov edi, dword [esp + 0x98]
add esp, 8
mov ebp, dword [esp + 0x8c]
jmp 0x10107fc2
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x8c]
sbb edx, dword [esp + 0x64]
lea esi, [edi + ebp]
test edx, edx
ja 0x10107fa9
jb 0x10107f78
cmp ecx, 0x7f
ja 0x10107f84
and cl, 0x7f
mov eax, 1
mov byte [esi], cl
jmp 0x10107fb5
test edx, edx
ja 0x10107fa9
jb 0x10107f92
cmp ecx, 0x3fff
ja 0x10107fa9
mov eax, ecx
shrd eax, edx, 7
or al, 0x80
and cl, 0x7f
mov byte [esi], al
mov eax, 2
mov byte [esi + 1], cl
jmp 0x10107fb5
push edx
push ecx
mov ecx, esi
call fcn.1002b890
add esp, 8
mov esi, dword [esp + 0x30]
add edi, eax
mov dword [esp + 0x90], edi
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, eax
test eax, eax
jne 0x1010805c
cmp dword [esp + 0x68], 1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
jne 0x10108120
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jge 0x1010801f
mov eax, dword [esp + 0x18]
cmp byte [ebx + eax], 0
jne 0x1010801f
mov byte [edi + ebp], 0
inc ebx
inc edi
mov dword [esp + 0x90], edi
cmp ebx, ecx
jge 0x1010801f
cmp byte [ebx + eax], 0
jne 0x1010801f
mov byte [edi + ebp], 0
inc edi
mov dword [esp + 0x90], edi
inc ebx
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0x20]
add eax, edi
cmp eax, dword [esp + 0x34]
jl 0x101082bb
lea edx, [esp + 0x80]
mov ecx, ebp
call fcn.101056f0
mov edi, dword [esp + 0x90]
lea eax, [ebp + 0x2c]
mov eax, dword [eax]
mov ecx, eax
mov esi, eax
test eax, eax
je 0x10107d80
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
test eax, eax
jne 0x10108077
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 4]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x10107c50
lea ebx, [ebp + 0x2c]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
lea edx, [esp + 0x84]
call fcn.10105a90
mov edi, dword [esp + 0x20]
add esp, 4
test edi, edi
jle 0x10108357
cmp dword [esi + 0x1c], 0
jne 0x101082d8
lea edx, [esp + 0x2c]
mov ecx, ebx
call fcn.10100ed0
cmp dword [ebx], 0
jne 0x101082d0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov esi, dword [eax + 0x1c]
call fcn.100cb360
test eax, eax
jne 0x101082c4
mov ecx, dword [esp + 0x10]
lea eax, [esi + 5]
lea eax, [eax + eax*2]
shl eax, 2
push 0
push eax
call fcn.10025cb0
add esp, 8
test eax, eax
je 0x101082c4
lea ecx, [esi + esi*2]
xorps xmm0, xmm0
movq qword [eax + ecx*4 + 0x20], xmm0
mov esi, eax
mov dword [eax + ecx*4 + 0x28], 0
inc dword [eax + 0x1c]
mov dword [esp + 0x2c], esi
jmp 0x101082d4
mov eax, dword [esp + 0x18]
mov ebp, 1
add eax, ebx
movzx ecx, byte [eax]
mov dword [esp + 0x38], ecx
test cl, cl
jns 0x10108147
lea edx, [esp + 0x38]
mov ecx, eax
call fcn.10114730
mov ecx, dword [esp + 0x38]
mov ebp, eax
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [esp + 0x70], esi
test cl, 1
je 0x10108191
cmp dword [esp + 0x40], 0
je 0x10108191
mov edi, dword [esp + 0x28]
mov ecx, 2
mov eax, esi
imul ecx
mov ecx, edi
push edx
push eax
lea edx, [esp + 0x94]
call fcn.100f9810
mov ecx, dword [edi]
add esp, 8
mov edi, dword [esp + 0x90]
add ebx, ebp
mov dword [esp + 0x54], ebx
jmp 0x10108199
add esi, ebp
xor ecx, ecx
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x18]
add eax, edi
add edx, ebx
add eax, esi
mov dword [esp + 0x48], edx
cmp eax, dword [esp + 0x34]
jg 0x101081e0
mov eax, dword [esp + 0x8c]
push esi
push edx
add eax, edi
push eax
call fcn.10118c90
mov ebp, dword [esp + 0x2c]
add edi, esi
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x90], edi
add ebx, esi
jmp 0x1010804e
xor ebp, ebp
mov dword [esp + 0x6c], ebp
test ecx, ecx
jne 0x101082b5
nop
mov ebx, dword [esp + 0x34]
sub esi, ebp
sub ebx, edi
sub ebx, dword [esp + 0x9c]
cmp esi, ebx
jle 0x1010824c
add ebp, edx
lea edx, [esp + 0x38]
mov ecx, ebp
call fcn.10114730
mov esi, eax
cmp esi, ebx
jge 0x10108244
lea ecx, [esi + ebp]
lea edx, [esp + 0x38]
call fcn.10114730
add eax, esi
cmp eax, ebx
jg 0x10108244
nop dword [eax + eax]
mov esi, eax
lea edx, [esp + 0x38]
lea ecx, [esi + ebp]
call fcn.10114730
add eax, esi
cmp eax, ebx
jle 0x10108230
mov ebp, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
lea eax, [edx + ebp]
push esi
push eax
mov eax, dword [esp + 0x94]
add eax, edi
push eax
call fcn.10118c90
mov eax, dword [esp + 0xa8]
add edi, esi
add ebp, esi
mov dword [esp + 0x9c], edi
add eax, edi
mov dword [esp + 0x78], ebp
add esp, 0xc
cmp eax, dword [esp + 0x34]
jl 0x10108298
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x80]
call fcn.101056f0
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x70]
cmp ebp, esi
jge 0x101082b1
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
cmp dword [eax], 0
je 0x101081f0
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x20]
add ebx, esi
mov eax, dword [esp + 0x28]
jmp 0x1010804e
mov esi, dword [esp + 0x10]
mov dword [ebx], 7
jmp 0x101082d8
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
mov eax, dword [ebx]
test eax, eax
jne 0x10108462
mov eax, dword [esi + 0x24]
inc eax
lea esi, [eax*8]
sub esi, eax
mov eax, dword [esp + 0x10]
shl esi, 3
mov ebx, dword [eax + 0x28]
call fcn.100cb360
test eax, eax
jne 0x1010833f
push eax
push esi
mov ecx, ebx
call fcn.10025cb0
mov esi, eax
add esp, 8
test esi, esi
je 0x1010833f
mov ebx, dword [esp + 0x10]
push 0x38
push 0
mov ecx, dword [ebx + 0x24]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [esi + edx*8]
push ecx
call fcn.10117800
mov dword [ebx + 0x28], esi
add esp, 0xc
mov eax, dword [ebp + 0x2c]
jmp 0x10108466
mov dword [ebp + 0x2c], 7
mov esi, dword [esp + 0x10]
push esi
xor edx, edx
mov ecx, ebp
call fcn.10101af0
add esp, 4
cmp dword [ebp + 0x2c], 0
jne 0x101083ee
mov eax, dword [ebp]
cmp dword [eax + 0x58], 0
jle 0x101083ee
test esi, esi
je 0x101083ee
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi + 8]
add eax, edi
mov esi, dword [esi + 0xc]
cdq
add eax, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
mov ebp, edx
mov dword [esp + 0x1c], eax
adc ebp, esi
mov eax, dword [ecx + 8]
cdq
mov edi, edx
mov ebx, eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebp
mov ecx, dword [ecx]
push dword [ecx + 0x58]
push edi
push ebx
push esi
push dword [esp + 0x68]
call fcn.101289c0
push edi
push ebx
push ebp
push dword [esp + 0x2c]
mov esi, eax
call fcn.101289c0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov ebp, dword [esp + 0x24]
sub eax, esi
imul eax, dword [ecx + 0x1c]
mov ecx, ebp
imul eax, dword [ebp + 8]
push eax
call fcn.10106cb0
mov esi, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x10], esi
mov eax, dword [ebp]
mov dword [esp + 0x1c], esi
mov ebx, dword [eax + 0x5c]
test esi, esi
je 0x1010844a
cmp dword [esi + 0x1c], 0
jle 0x1010844a
xor esi, esi
cmp dword [ebp + 0x2c], esi
jne 0x10108446
mov edi, 0x24
nop
mov eax, dword [esp + 0x10]
cmp dword [edi + eax], ebx
jl 0x10108446
push 0
push esi
lea edx, [esp + 0x24]
mov ecx, ebp
call fcn.10106160
mov eax, dword [esp + 0x24]
inc esi
push eax
mov edx, esi
mov dword [esp + 0x1c], eax
mov ecx, ebp
call fcn.10101af0
add esp, 0xc
add edi, 0xc
cmp dword [ebp + 0x2c], 0
je 0x10108410
mov esi, dword [esp + 0x10]
mov edx, esi
mov ecx, ebp
call fcn.10101660
mov ecx, esi
call fcn.10100e90
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x10108346
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
lea ecx, [edx*8]
sub ecx, edx
lea esi, [eax + ecx*8]
lea eax, [edx + 1]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [esi], eax
mov dword [esi + 4], 1
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
test ecx, ecx
jne 0x101084a4
test eax, eax
je 0x101084d4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebp + 0x28]
cdq
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov esi, dword [esp + 0x10]
add dword [esi + 0x10], 1
adc dword [esi + 0x14], 0
inc dword [esi + 0x18]
jmp 0x1010834a
mov esi, dword [esp + 0x10]
inc dword [esi + 0x18]
jmp 0x1010834a