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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x48], edx
mov edx, 0x10117930
mov dword [esp + 0xc], ebp
mov ecx, 0x10117900
push esi
mov eax, dword [ebp]
push edi
lea edi, [ebp + 0x24]
push 0
cmp dword [eax + 0x30], 1
mov dword [esp + 0x2c], edi
cmovne ecx, edx
mov edx, 0x10117dd0
mov dword [esp + 0x44], ecx
mov ecx, 0x10117af0
cmovne ecx, edx
mov edx, 0xf
mov dword [esp + 0x48], ecx
mov ecx, 1
cmovne ecx, edx
mov edx, 0x78
mov dword [esp + 0x34], ecx
mov ecx, 0x20
cmovne ecx, edx
mov dword [esp + 0x50], ecx
lea eax, [ecx + ecx*2]
mov ecx, edi
shl eax, 2
push eax
call fcn.101083d0
add esp, 8
mov ebx, eax
cmp dword [ebp + 0x50], 0
mov dword [esp + 0x34], ebx
jne 0x101186ee
mov ecx, ebp
call fcn.10110c00
cmp dword [edi], 0
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
jne 0x101186f3
mov ecx, ebp
call fcn.10110a20
mov dword [ebp + 0x50], eax
cmp dword [edi], 0
je 0x101186f7
xor ecx, ecx
jmp 0x101186ff
mov eax, dword [ebp + 0x50]
inc dword [eax]
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x3c], ecx
test ebx, ebx
je 0x101190a6
test ecx, ecx
je 0x101190a6
mov eax, dword [esp + 0x64]
xorps xmm0, xmm0
mov edi, dword [esp + 0x70]
mov ebx, 1
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], ebx
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
test eax, eax
je 0x10118a9d
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x24]
push edx
push 0
push 0xffffffffffffffff
push dword [esp + 0x78]
mov edx, ecx
mov dword [esp + 0x58], 0
push eax
push edi
push 0x30
mov ecx, ebp
mov byte [eax], 0x30
call fcn.10114f20
mov esi, dword [esp + 0x40]
add esp, 0x1c
cmp dword [ebp + 0x24], 0
jne 0x101187e8
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
cmp edx, ebx
jne 0x10118796
mov dword [esi + 0x2c], 0x10114aa0
jmp 0x101187e8
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x101187a6
mov dword [esi + 0x2c], 0x10114ac0
jmp 0x101187e8
cmp dword [ecx], 0
jne 0x101187b4
mov dword [esi + 0x2c], 0x10114b80
jmp 0x101187e8
test edx, edx
jne 0x101187c1
mov dword [esi + 0x2c], 0x10114ce0
jmp 0x101187e8
cmp dword [eax + 0xc], 0x64
jg 0x101187e1
mov dword [esi + 0x2c], 0x10114bd0
lea edx, [esi + 0x1c]
push dword [eax + 0xc]
lea ecx, [ebp + 0x24]
call fcn.10107ed0
add esp, 4
jmp 0x101187e8
mov dword [esi + 0x2c], 0x10114b90
mov edx, esi
mov ecx, ebp
call fcn.10115260
mov ebp, dword [esp + 0x1c]
test eax, eax
jne 0x1011886c
mov ebx, dword [esp + 0x18]
mov edi, ecx
nop
mov eax, dword [esi + 0x48]
movzx eax, word [eax + 4]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x50
add eax, esi
push eax
mov eax, dword [esi + 0x2c]
push esi
call eax
add esp, 8
cmp dword [esi + 0xc], 0
je 0x10118840
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esi + 4]
sub ecx, ebx
push esi
sbb eax, ebp
push eax
push ecx
push edi
call dword [esp + 0x54]
mov ebx, dword [esi]
add esp, 0x14
mov ebp, dword [esi + 4]
lea eax, [esp + 0x48]
mov edx, esi
push eax
mov ecx, edi
call fcn.101144c0
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.10115260
test eax, eax
je 0x10118800
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x38]
jmp 0x10118874
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebp
test esi, esi
je 0x10118a40
xor ebp, ebp
cmp dword [esi + 0x30], ebp
jle 0x101189e1
lea ebx, [esi + 0x5c]
nop
lea ecx, [ebx + 0x38]
call fcn.10108100
mov edi, dword [ebx]
test edi, edi
je 0x101188f6
cmp dword [0x10166af8], 0
je 0x101188ec
mov eax, dword [0x10169b48]
test eax, eax
je 0x101188ba
push eax
call dword [0x10166b48]
add esp, 4
push edi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push edi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x101188fb
push eax
call dword [0x10166b50]
jmp 0x101188f3
push edi
call dword [0x10166b1c]
add esp, 4
mov eax, dword [0x10169b48]
mov edi, dword [ebx + 4]
test edi, edi
je 0x10118955
cmp dword [0x10166af8], 0
je 0x1011894b
test eax, eax
je 0x10118919
push eax
call dword [0x10166b48]
add esp, 4
push edi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push edi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x10118955
push eax
call dword [0x10166b50]
jmp 0x10118952
push edi
call dword [0x10166b1c]
add esp, 4
mov ecx, dword [ebx + 0x34]
call fcn.101116d0
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x101189bc
cmp dword [0x10166af8], 0
je 0x101189b2
mov eax, dword [0x10169b48]
test eax, eax
je 0x10118980
push eax
call dword [0x10166b48]
add esp, 4
push edi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push edi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x101189bc
push eax
call dword [0x10166b50]
jmp 0x101189b9
push edi
call dword [0x10166b1c]
add esp, 4
push 0x60
lea eax, [ebx - 0xc]
push 0
push eax
call fcn.1012ab60
inc ebp
add esp, 0xc
add ebx, 0x60
cmp ebp, dword [esi + 0x30]
jl 0x10118890
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x70]
lea ecx, [esi + 0x1c]
call fcn.10108100
cmp dword [0x10166af8], 0
je 0x10118a94
mov eax, dword [0x10169b48]
test eax, eax
je 0x10118a09
push eax
call dword [0x10166b48]
add esp, 4
push esi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push esi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x10118a3c
push eax
call dword [0x10166b50]
add esp, 4
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
add al, 0x30
mov edx, dword [esp + 0x3c]
mov byte [ecx], al
lea eax, [esp + 0x24]
push eax
push 0
push 0xffffffffffffffff
push dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x28]
push edi
push 0x38
call fcn.10114f20
mov edi, dword [esp + 0x44]
add esp, 0x1c
mov esi, dword [esp + 0x24]
cmp dword [edi], 0
jne 0x10118afc
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
cmp edx, 1
jne 0x10118aab
mov dword [esi + 0x2c], 0x10114aa0
jmp 0x10118afc
push esi
call dword [0x10166b1c]
jmp 0x10118a39
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x10118a44
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10118abb
mov dword [esi + 0x2c], 0x10114ac0
jmp 0x10118afc
cmp dword [ecx], 0
jne 0x10118ac9
mov dword [esi + 0x2c], 0x10114b80
jmp 0x10118afc
test edx, edx
jne 0x10118ad6
mov dword [esi + 0x2c], 0x10114ce0
jmp 0x10118afc
cmp dword [eax + 0xc], 0x64
jg 0x10118af5
mov dword [esi + 0x2c], 0x10114bd0
lea edx, [esi + 0x1c]
push dword [eax + 0xc]
mov ecx, edi
call fcn.10107ed0
add esp, 4
jmp 0x10118afc
mov dword [esi + 0x2c], 0x10114b90
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.10115260
test eax, eax
jne 0x10118d0a
nop
mov eax, dword [esi + 0x48]
add esi, 0x50
movzx eax, word [eax + 4]
lea eax, [eax + eax*2]
shl eax, 5
add eax, esi
push eax
mov edi, dword [eax + 0x48]
mov esi, dword [eax + 0x44]
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax + 0x2c]
call eax
add esp, 8
test ebx, ebx
je 0x10118ba4
mov eax, dword [esp + 0x6c]
cmp edi, eax
jl 0x10118d06
mov ecx, dword [esp + 0x68]
mov edx, eax
sub edx, 4
jb 0x10118b62
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10118b67
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10118b51
cmp edx, 0xfffffffc
je 0x10118ba4
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x10118d06
cmp edx, 0xfffffffd
je 0x10118ba4
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x10118d06
cmp edx, 0xfffffffe
je 0x10118ba4
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x10118d06
cmp edx, 0xffffffff
je 0x10118ba4
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
jne 0x10118d06
mov esi, dword [esp + 0x24]
cmp dword [esi + 0xc], 0
je 0x10118cdb
mov eax, dword [esp + 0x18]
cmp dword [esi + 4], ebp
jg 0x10118cb6
jl 0x10118bc9
cmp dword [esi], eax
ja 0x10118cb6
cmp dword [esp + 0x58], 0
jle 0x10118cb6
mov eax, dword [esp + 0x28]
xor ebp, ebp
cmp dword [eax], ebp
jne 0x10118ca3
cmp dword [esp + 0x58], 0
je 0x10118c9f
mov ecx, dword [esp + 0x30]
mov edi, ecx
mov edx, dword [esp + 0x34]
imul edi, ebp
mov esi, edi
lea ebx, [ecx + edi]
cmp edi, ebx
jge 0x10118c5c
lea eax, [edi*2 + 1]
add eax, edi
lea eax, [edx + eax*4]
nop
cmp dword [eax], 0
je 0x10118c1f
inc esi
add eax, 0xc
cmp esi, ebx
jl 0x10118c10
jmp 0x10118c58
movq xmm1, qword [esp + 0x54]
lea eax, [esi + esi*2]
movq xmm0, qword [edx + eax*4]
lea edx, [edx + eax*4]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x5c]
movq qword [edx], xmm1
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x28]
cmp esi, ebx
jne 0x10118c95
lea eax, [edi + edi*2]
lea esi, [edx + eax*4]
push esi
push ecx
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
call dword [esp + 0x54]
add esp, 0x10
cmp edi, ebx
jge 0x10118c91
mov ecx, dword [esp + 0x30]
lea eax, [esi + 4]
mov dword [eax], 0
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x10118c83
mov eax, dword [esp + 0x28]
inc ebp
cmp dword [eax], 0
je 0x10118be2
mov esi, dword [esp + 0x24]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x18]
mov eax, ecx
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esi]
sub ecx, eax
mov eax, dword [esi + 4]
push esi
sbb eax, ebp
push eax
push ecx
push dword [esp + 0x24]
call dword [esp + 0x54]
mov eax, dword [esi]
add esp, 0x14
mov ebp, dword [esi + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov edx, esi
call fcn.101144c0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, esi
call fcn.10115260
test eax, eax
jne 0x10118d0a
mov ebx, dword [esp + 0x38]
jmp 0x10118b10
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x34]
xor edi, edi
lea esi, [edi + edi*2]
shl esi, 2
cmp dword [ecx + 0x24], 0
jne 0x10118d31
lea eax, [esi + ebp]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [esp + 0x54]
add esp, 0x10
mov eax, dword [esp + 0x30]
lea ebx, [eax + edi]
cmp edi, ebx
jge 0x10118d4f
add esi, ebp
mov edi, eax
mov ecx, esi
call fcn.10108100
add esi, 0xc
sub edi, 1
jne 0x10118d40
mov ecx, dword [esp + 0x14]
mov edi, ebx
cmp edi, dword [esp + 0x4c]
jl 0x10118d10
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x10118f1e
xor ebx, ebx
cmp dword [ebp + 0x30], ebx
jle 0x10118ebe
lea esi, [ebp + 0x5c]
lea ecx, [esi + 0x38]
call fcn.10108100
mov edi, dword [esi]
test edi, edi
je 0x10118ddb
cmp dword [0x10166af8], 0
je 0x10118dd1
mov eax, dword [0x10169b48]
test eax, eax
je 0x10118d9f
push eax
call dword [0x10166b48]
add esp, 4
push edi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push edi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x10118de0
push eax
call dword [0x10166b50]
jmp 0x10118dd8
push edi
call dword [0x10166b1c]
add esp, 4
mov eax, dword [0x10169b48]
mov edi, dword [esi + 4]
test edi, edi
je 0x10118e3a
cmp dword [0x10166af8], 0
je 0x10118e30
test eax, eax
je 0x10118dfe
push eax
call dword [0x10166b48]
add esp, 4
push edi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push edi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x10118e3a
push eax
call dword [0x10166b50]
jmp 0x10118e37
push edi
call dword [0x10166b1c]
add esp, 4
mov ecx, dword [esi + 0x34]
call fcn.101116d0
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10118ea1
cmp dword [0x10166af8], 0
je 0x10118e97
mov eax, dword [0x10169b48]
test eax, eax
je 0x10118e65
push eax
call dword [0x10166b48]
add esp, 4
push edi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push edi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x10118ea1
push eax
call dword [0x10166b50]
jmp 0x10118e9e
push edi
call dword [0x10166b1c]
add esp, 4
push 0x60
lea eax, [esi - 0xc]
push 0
push eax
call fcn.1012ab60
inc ebx
add esp, 0xc
add esi, 0x60
cmp ebx, dword [ebp + 0x30]
jl 0x10118d75
lea ecx, [ebp + 0x1c]
call fcn.10108100
cmp dword [0x10166af8], 0
je 0x10118f14
mov eax, dword [0x10169b48]
test eax, eax
je 0x10118ee2
push eax
call dword [0x10166b48]
add esp, 4
push ebp
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push ebp
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x10118f1e
push eax
call dword [0x10166b50]
jmp 0x10118f1b
push ebp
call dword [0x10166b1c]
add esp, 4
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x28]
add eax, 0x14
push 0
push eax
mov ecx, ebx
call fcn.101083d0
mov esi, eax
add esp, 8
test esi, esi
je 0x1011908e
lea edx, [esi + 0xc]
mov dword [esi], edx
mov ecx, dword [esp + 0x58]
mov dword [esi + 8], ecx
mov eax, dword [esp + 0x58]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10118f69
push eax
push dword [esp + 0x58]
push edx
call fcn.1012bff0
add esp, 0xc
push 0
push 0x118
mov ecx, ebx
call fcn.101083d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10119036
mov ebp, dword [esp + 0x14]
lea ecx, [ebx + 0x110]
mov dword [ebx + 0x30], 2
lea edi, [ebx + 0xb0]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x2c], 0x10001080
mov dword [edi + 4], 1
cmp dword [esi + 8], 0
jle 0x10119004
mov dword [edi + 0xc], esi
lea edx, [edi + 0x50]
mov ecx, dword [esi]
call fcn.10127ae0
cmp dword [esp + 0x50], 0
mov ecx, 1
movzx eax, al
cdq
mov dword [edi + 0x1c], edx
mov edx, edi
mov dword [edi + 0x18], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x48]
mov word [eax + 4], cx
je 0x10118ff9
mov dword [ebx + 0x34], ecx
mov ecx, ebp
or dword [edi + 4], 2
call fcn.10112120
xor esi, esi
jmp 0x10119008
mov ecx, ebp
call fcn.10111e40
xor esi, esi
jmp 0x10119008
mov byte [ebx + 0x10], 1
test byte [edi + 4], 2
je 0x10119015
mov ecx, 0x101124f0
jmp 0x10119029
mov eax, dword [ebp]
mov ecx, 0x101127e0
mov edx, 0x10112570
cmp dword [eax + 0x30], 1
cmove ecx, edx
mov eax, dword [esp + 0x74]
mov dword [edi + 0x20], ecx
mov dword [eax], ebx
test esi, esi
je 0x1011908e
cmp dword [0x10166af8], 0
je 0x10119084
mov eax, dword [0x10169b48]
test eax, eax
je 0x10119052
push eax
call dword [0x10166b48]
add esp, 4
push esi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push esi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x1011908e
push eax
call dword [0x10166b50]
jmp 0x1011908b
push esi
call dword [0x10166b1c]
add esp, 4
lea ecx, [esp + 0x54]
call fcn.10108100
mov ecx, dword [esp + 0x3c]
call fcn.10110280
mov ebx, dword [esp + 0x34]
jmp 0x101190af
call fcn.10110280
test ebx, ebx
je 0x10119110
cmp dword [0x10166af8], 0
je 0x10119106
mov eax, dword [0x10169b48]
test eax, eax
je 0x101190cb
push eax
call dword [0x10166b48]
add esp, 4
push ebx
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push ebx
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x10119110
push eax
call dword [0x10166b50]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push ebx
call dword [0x10166b1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret