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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x40], edx
mov edx, 0x10116930
mov dword [esp + 0xc], esi
mov ecx, 0x10116900
push edi
mov eax, dword [esi]
lea ebp, [esi + 0x24]
push 0
mov dword [esp + 0x1c], ebp
cmp dword [eax + 0x30], 1
cmovne ecx, edx
mov edx, 0x10116df0
mov dword [esp + 0x38], ecx
mov ecx, 0x10116b10
cmovne ecx, edx
mov edx, 0xf
mov dword [esp + 0x3c], ecx
mov ecx, 1
cmovne ecx, edx
mov edx, 0x78
mov dword [esp + 0x2c], ecx
mov ecx, 0x20
cmovne ecx, edx
mov dword [esp + 0x44], ecx
lea eax, [ecx + ecx*2]
mov ecx, ebp
shl eax, 2
push eax
call fcn.10107350
add esp, 8
mov ebx, eax
cmp dword [esi + 0x50], 0
mov dword [esp + 0x20], ebx
jne 0x101176ee
mov ecx, esi
call fcn.1010fae0
cmp dword [ebp], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
jne 0x101176f4
mov ecx, esi
call fcn.1010f900
mov dword [esi + 0x50], eax
cmp dword [ebp], 0
je 0x101176f8
xor ecx, ecx
jmp 0x10117700
mov eax, dword [esi + 0x50]
inc dword [eax]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x30], ecx
test ebx, ebx
je 0x101180b4
test ecx, ecx
je 0x101180b4
mov eax, dword [esp + 0x64]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov ebx, 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], ebx
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
test eax, eax
je 0x10117aa1
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x1c]
push edx
push 0
push 0xffffffffffffffff
push dword [esp + 0x78]
mov edx, ecx
mov dword [esp + 0x4c], 0
push eax
push dword [esp + 0x84]
mov ecx, esi
mov byte [eax], 0x30
push 0x30
call fcn.10113e90
mov esi, dword [esp + 0x38]
add esp, 0x1c
cmp dword [ebp], 0
jne 0x101177ea
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
cmp edx, ebx
jne 0x10117799
mov dword [esi + 0x2c], 0x10113a10
jmp 0x101177ea
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x101177a9
mov dword [esi + 0x2c], 0x10113a30
jmp 0x101177ea
cmp dword [ecx], 0
jne 0x101177b7
mov dword [esi + 0x2c], 0x10113af0
jmp 0x101177ea
test edx, edx
jne 0x101177c4
mov dword [esi + 0x2c], 0x10113c50
jmp 0x101177ea
cmp dword [eax + 0xc], 0x64
jg 0x101177e3
mov dword [esi + 0x2c], 0x10113b40
lea edx, [esi + 0x1c]
push dword [eax + 0xc]
mov ecx, ebp
call fcn.10106e40
add esp, 4
jmp 0x101177ea
mov dword [esi + 0x2c], 0x10113b00
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.101141f0
test eax, eax
jne 0x1011786f
mov ebp, dword [esp + 0x4c]
mov ebx, ecx
mov edi, dword [esp + 0x48]
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 0x10117843
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esi + 4]
sub ecx, edi
push esi
sbb eax, ebp
push eax
push ecx
push ebx
call dword [esp + 0x48]
mov edi, dword [esi]
add esp, 0x14
mov ebp, dword [esi + 4]
lea eax, [esp + 0x3c]
mov edx, esi
push eax
mov ecx, ebx
call fcn.10113430
add esp, 4
mov edx, esi
mov ecx, ebx
call fcn.101141f0
test eax, eax
je 0x10117803
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], ebp
jmp 0x1011787f
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
test esi, esi
je 0x10117a3d
xor ebp, ebp
cmp dword [esi + 0x30], ebp
jle 0x101179e2
lea ebx, [esi + 0x5c]
lea ecx, [ebx + 0x38]
call fcn.10107070
mov edi, dword [ebx]
test edi, edi
je 0x101178fb
cmp dword [0x10165b38], 0
je 0x101178f1
mov eax, dword [0x10168b88]
test eax, eax
je 0x101178bf
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10117900
push eax
call dword [0x10165b90]
jmp 0x101178f8
push edi
call dword [0x10165b5c]
add esp, 4
mov eax, dword [0x10168b88]
mov edi, dword [ebx + 4]
test edi, edi
je 0x1011795a
cmp dword [0x10165b38], 0
je 0x10117950
test eax, eax
je 0x1011791e
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011795a
push eax
call dword [0x10165b90]
jmp 0x10117957
push edi
call dword [0x10165b5c]
add esp, 4
mov ecx, dword [ebx + 0x34]
call fcn.101105d0
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x101179c1
cmp dword [0x10165b38], 0
je 0x101179b7
mov eax, dword [0x10168b88]
test eax, eax
je 0x10117985
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x101179c1
push eax
call dword [0x10165b90]
jmp 0x101179be
push edi
call dword [0x10165b5c]
add esp, 4
push 0x60
lea eax, [ebx - 0xc]
push 0
push eax
call fcn.10129b70
inc ebp
add esp, 0xc
add ebx, 0x60
cmp ebp, dword [esi + 0x30]
jl 0x10117895
mov ebx, dword [esp + 0x2c]
lea ecx, [esi + 0x1c]
call fcn.10107070
cmp dword [0x10165b38], 0
je 0x10117a98
mov eax, dword [0x10168b88]
test eax, eax
je 0x10117a0a
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10117a3d
push eax
call dword [0x10165b90]
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
add al, 0x30
mov edx, dword [esp + 0x30]
mov byte [ecx], al
lea eax, [esp + 0x1c]
push eax
push 0
push 0xffffffffffffffff
push dword [esp + 0x78]
push ecx
push dword [esp + 0x84]
mov ecx, esi
push 0x38
call fcn.10113e90
mov ebp, dword [esp + 0x38]
lea edi, [esi + 0x24]
add esp, 0x1c
cmp dword [edi], 0
jne 0x10117b04
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
cmp edx, 1
jne 0x10117ab3
mov dword [ebp + 0x2c], 0x10113a10
jmp 0x10117b04
push esi
call dword [0x10165b5c]
jmp 0x10117a3a
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
jmp 0x10117a45
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jne 0x10117ac3
mov dword [ebp + 0x2c], 0x10113a30
jmp 0x10117b04
cmp dword [ecx], 0
jne 0x10117ad1
mov dword [ebp + 0x2c], 0x10113af0
jmp 0x10117b04
test edx, edx
jne 0x10117ade
mov dword [ebp + 0x2c], 0x10113c50
jmp 0x10117b04
cmp dword [eax + 0xc], 0x64
jg 0x10117afd
mov dword [ebp + 0x2c], 0x10113b40
lea edx, [ebp + 0x1c]
push dword [eax + 0xc]
mov ecx, edi
call fcn.10106e40
add esp, 4
jmp 0x10117b04
mov dword [ebp + 0x2c], 0x10113b00
mov edx, ebp
mov ecx, esi
call fcn.101141f0
test eax, eax
jne 0x10117d14
mov eax, dword [ebp + 0x48]
movzx eax, word [eax + 4]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x50
add eax, ebp
push eax
push ebp
mov edi, dword [eax + 0x48]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp + 0x2c]
call eax
add esp, 8
test ebx, ebx
je 0x10117ba5
mov eax, dword [esp + 0x6c]
cmp edi, eax
jl 0x10117d10
mov ecx, dword [esp + 0x68]
mov edx, eax
sub edx, 4
jb 0x10117b63
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10117b68
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10117b52
cmp edx, 0xfffffffc
je 0x10117ba5
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x10117d10
cmp edx, 0xfffffffd
je 0x10117ba5
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x10117d10
cmp edx, 0xfffffffe
je 0x10117ba5
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x10117d10
cmp edx, 0xffffffff
je 0x10117ba5
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
jne 0x10117d10
cmp dword [ebp + 0xc], 0
je 0x10117ce5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp dword [ebp + 4], edx
jg 0x10117cb7
jl 0x10117bcb
cmp dword [ebp], eax
ja 0x10117cb7
cmp dword [esp + 0x58], 0
jle 0x10117cb7
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp dword [eax], ebp
jne 0x10117ca0
cmp dword [esp + 0x58], 0
je 0x10117ca0
mov ecx, dword [esp + 0x28]
mov edi, ecx
mov edx, dword [esp + 0x20]
imul edi, ebp
mov esi, edi
lea ebx, [ecx + edi]
cmp edi, ebx
jge 0x10117c5d
lea eax, [edi*2 + 1]
add eax, edi
lea eax, [edx + eax*4]
cmp dword [eax], 0
je 0x10117c20
inc esi
add eax, 0xc
cmp esi, ebx
jl 0x10117c11
jmp 0x10117c59
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 + 0x28]
mov edx, dword [esp + 0x20]
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x18]
cmp esi, ebx
jne 0x10117c96
lea eax, [edi + edi*2]
lea esi, [edx + eax*4]
push esi
push ecx
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x1c]
call dword [esp + 0x48]
add esp, 0x10
cmp edi, ebx
jge 0x10117c92
mov ecx, dword [esp + 0x28]
lea eax, [esi + 4]
mov dword [eax], 0
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x10117c84
mov eax, dword [esp + 0x18]
inc ebp
cmp dword [eax], 0
je 0x10117be4
mov ebp, dword [esp + 0x1c]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x48]
mov eax, ecx
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [ebp]
sub ecx, eax
mov eax, dword [ebp + 4]
push ebp
sbb eax, edx
push eax
push ecx
push esi
call dword [esp + 0x48]
mov eax, dword [ebp]
add esp, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x24], eax
jmp 0x10117ce9
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
mov edx, ebp
push eax
mov ecx, esi
call fcn.10113430
add esp, 4
mov edx, ebp
mov ecx, esi
call fcn.101141f0
test eax, eax
jne 0x10117d10
mov ebx, dword [esp + 0x2c]
jmp 0x10117b15
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea esi, [ebx + ebx*2]
shl esi, 2
cmp dword [edi], 0
mov edi, dword [esp + 0x20]
jne 0x10117d3d
lea eax, [esi + edi]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x1c]
call dword [esp + 0x48]
add esp, 0x10
mov ebp, dword [esp + 0x28]
add ebp, ebx
cmp ebx, ebp
jge 0x10117d5f
add esi, edi
mov edi, ebp
sub edi, ebx
nop dword [eax]
mov ecx, esi
call fcn.10107070
add esi, 0xc
sub edi, 1
jne 0x10117d50
mov edi, dword [esp + 0x18]
mov ebx, ebp
cmp ebx, dword [esp + 0x40]
jl 0x10117d16
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10117f2e
xor ebx, ebx
cmp dword [ebp + 0x30], ebx
jle 0x10117ece
lea esi, [ebp + 0x5c]
lea ecx, [esi + 0x38]
call fcn.10107070
mov edi, dword [esi]
test edi, edi
je 0x10117deb
cmp dword [0x10165b38], 0
je 0x10117de1
mov eax, dword [0x10168b88]
test eax, eax
je 0x10117daf
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10117df0
push eax
call dword [0x10165b90]
jmp 0x10117de8
push edi
call dword [0x10165b5c]
add esp, 4
mov eax, dword [0x10168b88]
mov edi, dword [esi + 4]
test edi, edi
je 0x10117e4a
cmp dword [0x10165b38], 0
je 0x10117e40
test eax, eax
je 0x10117e0e
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10117e4a
push eax
call dword [0x10165b90]
jmp 0x10117e47
push edi
call dword [0x10165b5c]
add esp, 4
mov ecx, dword [esi + 0x34]
call fcn.101105d0
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10117eb1
cmp dword [0x10165b38], 0
je 0x10117ea7
mov eax, dword [0x10168b88]
test eax, eax
je 0x10117e75
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10117eb1
push eax
call dword [0x10165b90]
jmp 0x10117eae
push edi
call dword [0x10165b5c]
add esp, 4
push 0x60
lea eax, [esi - 0xc]
push 0
push eax
call fcn.10129b70
inc ebx
add esp, 0xc
add esi, 0x60
cmp ebx, dword [ebp + 0x30]
jl 0x10117d85
lea ecx, [ebp + 0x1c]
call fcn.10107070
cmp dword [0x10165b38], 0
je 0x10117f24
mov eax, dword [0x10168b88]
test eax, eax
je 0x10117ef2
push eax
call dword [0x10165b88]
add esp, 4
push ebp
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push ebp
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10117f2e
push eax
call dword [0x10165b90]
jmp 0x10117f2b
push ebp
call dword [0x10165b5c]
add esp, 4
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x10]
add eax, 0x14
push 0
push eax
lea ecx, [ebp + 0x24]
call fcn.10107350
mov esi, eax
add esp, 8
test esi, esi
je 0x1011809c
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 0x10117f7a
push eax
push dword [esp + 0x58]
push edx
call fcn.1012b000
add esp, 0xc
push 0
push 0x118
lea ecx, [ebp + 0x24]
call fcn.10107350
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10118044
lea ecx, [ebx + 0x110]
mov dword [ebx + 0x30], 2
mov dword [ebx + 0x48], ecx
lea edi, [ebx + 0xb0]
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x2c], 0x10001080
mov dword [edi + 4], 1
cmp dword [esi + 8], 0
jle 0x10118012
mov dword [edi + 0xc], esi
lea edx, [edi + 0x50]
mov ecx, dword [esi]
call fcn.10126b50
cmp dword [esp + 0x44], 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 0x10118007
mov dword [ebx + 0x34], ecx
mov ecx, ebp
or dword [edi + 4], 2
call fcn.10111040
xor esi, esi
jmp 0x10118016
mov ecx, ebp
call fcn.10110d40
xor esi, esi
jmp 0x10118016
mov byte [ebx + 0x10], 1
test byte [edi + 4], 2
je 0x10118023
mov ecx, 0x10111410
jmp 0x10118037
mov eax, dword [ebp]
mov ecx, 0x10111710
mov edx, 0x10111490
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 0x1011809c
cmp dword [0x10165b38], 0
je 0x10118092
mov eax, dword [0x10168b88]
test eax, eax
je 0x10118060
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011809c
push eax
call dword [0x10165b90]
jmp 0x10118099
push esi
call dword [0x10165b5c]
add esp, 4
lea ecx, [esp + 0x54]
call fcn.10107070
mov ecx, dword [esp + 0x30]
call fcn.1010f160
mov ebx, dword [esp + 0x20]
jmp 0x101180bd
call fcn.1010f160
test ebx, ebx
je 0x1011811e
cmp dword [0x10165b38], 0
je 0x10118114
mov eax, dword [0x10168b88]
test eax, eax
je 0x101180d9
push eax
call dword [0x10165b88]
add esp, 4
push ebx
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push ebx
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x1011811e
push eax
call dword [0x10165b90]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push ebx
call dword [0x10165b5c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret