Function at 0x10117ae0
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, 0x10116ed0
mov dword [esp + 0xc], ebp
mov ecx, 0x10116ea0
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, 0x10117350
mov dword [esp + 0x44], ecx
mov ecx, 0x10117070
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.10107690
add esp, 8
mov ebx, eax
cmp dword [ebp + 0x50], 0
mov dword [esp + 0x34], ebx
jne 0x10117b7e
mov ecx, ebp
call fcn.10110280
cmp dword [edi], 0
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
jne 0x10117b83
mov ecx, ebp
call fcn.101100a0
mov dword [ebp + 0x50], eax
cmp dword [edi], 0
je 0x10117b87
xor ecx, ecx
jmp 0x10117b8f
mov eax, dword [ebp + 0x50]
inc dword [eax]
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x3c], ecx
test ebx, ebx
je 0x10118536
test ecx, ecx
je 0x10118536
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 0x10117f2d
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.101144d0
mov esi, dword [esp + 0x40]
add esp, 0x1c
cmp dword [ebp + 0x24], 0
jne 0x10117c78
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
cmp edx, ebx
jne 0x10117c26
mov dword [esi + 0x2c], 0x10114050
jmp 0x10117c78
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10117c36
mov dword [esi + 0x2c], 0x10114070
jmp 0x10117c78
cmp dword [ecx], 0
jne 0x10117c44
mov dword [esi + 0x2c], 0x10114130
jmp 0x10117c78
test edx, edx
jne 0x10117c51
mov dword [esi + 0x2c], 0x10114290
jmp 0x10117c78
cmp dword [eax + 0xc], 0x64
jg 0x10117c71
mov dword [esi + 0x2c], 0x10114180
lea edx, [esi + 0x1c]
push dword [eax + 0xc]
lea ecx, [ebp + 0x24]
call fcn.10107190
add esp, 4
jmp 0x10117c78
mov dword [esi + 0x2c], 0x10114140
mov edx, esi
mov ecx, ebp
call fcn.10114810
mov ebp, dword [esp + 0x1c]
test eax, eax
jne 0x10117cfc
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 0x10117cd0
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.10113a70
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.10114810
test eax, eax
je 0x10117c90
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x38]
jmp 0x10117d04
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebp
test esi, esi
je 0x10117ed0
xor ebp, ebp
cmp dword [esi + 0x30], ebp
jle 0x10117e71
lea ebx, [esi + 0x5c]
nop
lea ecx, [ebx + 0x38]
call fcn.101073c0
mov edi, dword [ebx]
test edi, edi
je 0x10117d86
cmp dword [0x10165af8], 0
je 0x10117d7c
mov eax, dword [0x10168b40]
test eax, eax
je 0x10117d4a
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x10117d8b
push eax
call dword [0x10165b50]
jmp 0x10117d83
push edi
call dword [0x10165b1c]
add esp, 4
mov eax, dword [0x10168b40]
mov edi, dword [ebx + 4]
test edi, edi
je 0x10117de5
cmp dword [0x10165af8], 0
je 0x10117ddb
test eax, eax
je 0x10117da9
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x10117de5
push eax
call dword [0x10165b50]
jmp 0x10117de2
push edi
call dword [0x10165b1c]
add esp, 4
mov ecx, dword [ebx + 0x34]
call fcn.10110d50
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x10117e4c
cmp dword [0x10165af8], 0
je 0x10117e42
mov eax, dword [0x10168b40]
test eax, eax
je 0x10117e10
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x10117e4c
push eax
call dword [0x10165b50]
jmp 0x10117e49
push edi
call dword [0x10165b1c]
add esp, 4
push 0x60
lea eax, [ebx - 0xc]
push 0
push eax
call fcn.1012aa20
inc ebp
add esp, 0xc
add ebx, 0x60
cmp ebp, dword [esi + 0x30]
jl 0x10117d20
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x70]
lea ecx, [esi + 0x1c]
call fcn.101073c0
cmp dword [0x10165af8], 0
je 0x10117f24
mov eax, dword [0x10168b40]
test eax, eax
je 0x10117e99
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x10117ecc
push eax
call dword [0x10165b50]
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.101144d0
mov edi, dword [esp + 0x44]
add esp, 0x1c
mov esi, dword [esp + 0x24]
cmp dword [edi], 0
jne 0x10117f8c
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
cmp edx, 1
jne 0x10117f3b
mov dword [esi + 0x2c], 0x10114050
jmp 0x10117f8c
push esi
call dword [0x10165b1c]
jmp 0x10117ec9
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x10117ed4
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10117f4b
mov dword [esi + 0x2c], 0x10114070
jmp 0x10117f8c
cmp dword [ecx], 0
jne 0x10117f59
mov dword [esi + 0x2c], 0x10114130
jmp 0x10117f8c
test edx, edx
jne 0x10117f66
mov dword [esi + 0x2c], 0x10114290
jmp 0x10117f8c
cmp dword [eax + 0xc], 0x64
jg 0x10117f85
mov dword [esi + 0x2c], 0x10114180
lea edx, [esi + 0x1c]
push dword [eax + 0xc]
mov ecx, edi
call fcn.10107190
add esp, 4
jmp 0x10117f8c
mov dword [esi + 0x2c], 0x10114140
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.10114810
test eax, eax
jne 0x1011819a
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 0x10118034
mov eax, dword [esp + 0x6c]
cmp edi, eax
jl 0x10118196
mov ecx, dword [esp + 0x68]
mov edx, eax
sub edx, 4
jb 0x10117ff2
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10117ff7
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10117fe1
cmp edx, 0xfffffffc
je 0x10118034
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x10118196
cmp edx, 0xfffffffd
je 0x10118034
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x10118196
cmp edx, 0xfffffffe
je 0x10118034
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x10118196
cmp edx, 0xffffffff
je 0x10118034
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
jne 0x10118196
mov esi, dword [esp + 0x24]
cmp dword [esi + 0xc], 0
je 0x1011816b
mov eax, dword [esp + 0x18]
cmp dword [esi + 4], ebp
jg 0x10118146
jl 0x10118059
cmp dword [esi], eax
ja 0x10118146
cmp dword [esp + 0x58], 0
jle 0x10118146
mov eax, dword [esp + 0x28]
xor ebp, ebp
cmp dword [eax], ebp
jne 0x10118133
cmp dword [esp + 0x58], 0
je 0x1011812f
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 0x101180ec
lea eax, [edi*2 + 1]
add eax, edi
lea eax, [edx + eax*4]
nop
cmp dword [eax], 0
je 0x101180af
inc esi
add eax, 0xc
cmp esi, ebx
jl 0x101180a0
jmp 0x101180e8
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 0x10118125
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 0x10118121
mov ecx, dword [esp + 0x30]
lea eax, [esi + 4]
mov dword [eax], 0
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x10118113
mov eax, dword [esp + 0x28]
inc ebp
cmp dword [eax], 0
je 0x10118072
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.10113a70
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, esi
call fcn.10114810
test eax, eax
jne 0x1011819a
mov ebx, dword [esp + 0x38]
jmp 0x10117fa0
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 0x101181c1
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 0x101181df
add esi, ebp
mov edi, eax
mov ecx, esi
call fcn.101073c0
add esi, 0xc
sub edi, 1
jne 0x101181d0
mov ecx, dword [esp + 0x14]
mov edi, ebx
cmp edi, dword [esp + 0x4c]
jl 0x101181a0
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x101183ae
xor ebx, ebx
cmp dword [ebp + 0x30], ebx
jle 0x1011834e
lea esi, [ebp + 0x5c]
lea ecx, [esi + 0x38]
call fcn.101073c0
mov edi, dword [esi]
test edi, edi
je 0x1011826b
cmp dword [0x10165af8], 0
je 0x10118261
mov eax, dword [0x10168b40]
test eax, eax
je 0x1011822f
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x10118270
push eax
call dword [0x10165b50]
jmp 0x10118268
push edi
call dword [0x10165b1c]
add esp, 4
mov eax, dword [0x10168b40]
mov edi, dword [esi + 4]
test edi, edi
je 0x101182ca
cmp dword [0x10165af8], 0
je 0x101182c0
test eax, eax
je 0x1011828e
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x101182ca
push eax
call dword [0x10165b50]
jmp 0x101182c7
push edi
call dword [0x10165b1c]
add esp, 4
mov ecx, dword [esi + 0x34]
call fcn.10110d50
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10118331
cmp dword [0x10165af8], 0
je 0x10118327
mov eax, dword [0x10168b40]
test eax, eax
je 0x101182f5
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x10118331
push eax
call dword [0x10165b50]
jmp 0x1011832e
push edi
call dword [0x10165b1c]
add esp, 4
push 0x60
lea eax, [esi - 0xc]
push 0
push eax
call fcn.1012aa20
inc ebx
add esp, 0xc
add esi, 0x60
cmp ebx, dword [ebp + 0x30]
jl 0x10118205
lea ecx, [ebp + 0x1c]
call fcn.101073c0
cmp dword [0x10165af8], 0
je 0x101183a4
mov eax, dword [0x10168b40]
test eax, eax
je 0x10118372
push eax
call dword [0x10165b48]
add esp, 4
push ebp
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push ebp
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x101183ae
push eax
call dword [0x10165b50]
jmp 0x101183ab
push ebp
call dword [0x10165b1c]
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.10107690
mov esi, eax
add esp, 8
test esi, esi
je 0x1011851e
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 0x101183f9
push eax
push dword [esp + 0x58]
push edx
call fcn.1012bec0
add esp, 0xc
push 0
push 0x118
mov ecx, ebx
call fcn.10107690
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x101184c6
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 0x10118494
mov dword [edi + 0xc], esi
lea edx, [edi + 0x50]
mov ecx, dword [esi]
call fcn.10127510
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 0x10118489
mov dword [ebx + 0x34], ecx
mov ecx, ebp
or dword [edi + 4], 2
call fcn.101117a0
xor esi, esi
jmp 0x10118498
mov ecx, ebp
call fcn.101114c0
xor esi, esi
jmp 0x10118498
mov byte [ebx + 0x10], 1
test byte [edi + 4], 2
je 0x101184a5
mov ecx, 0x10111b70
jmp 0x101184b9
mov eax, dword [ebp]
mov ecx, 0x10111e70
mov edx, 0x10111bf0
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 0x1011851e
cmp dword [0x10165af8], 0
je 0x10118514
mov eax, dword [0x10168b40]
test eax, eax
je 0x101184e2
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x1011851e
push eax
call dword [0x10165b50]
jmp 0x1011851b
push esi
call dword [0x10165b1c]
add esp, 4
lea ecx, [esp + 0x54]
call fcn.101073c0
mov ecx, dword [esp + 0x3c]
call fcn.1010f8d0
mov ebx, dword [esp + 0x34]
jmp 0x1011853f
call fcn.1010f8d0
test ebx, ebx
je 0x101185a0
cmp dword [0x10165af8], 0
je 0x10118596
mov eax, dword [0x10168b40]
test eax, eax
je 0x1011855b
push eax
call dword [0x10165b48]
add esp, 4
push ebx
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push ebx
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x101185a0
push eax
call dword [0x10165b50]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push ebx
call dword [0x10165b1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret