Function at 0x10117a20
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, 0x10116e10
mov dword [esp + 0xc], ebp
mov ecx, 0x10116de0
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, 0x10117290
mov dword [esp + 0x44], ecx
mov ecx, 0x10116fb0
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.10107610
add esp, 8
mov ebx, eax
cmp dword [ebp + 0x50], 0
mov dword [esp + 0x34], ebx
jne 0x10117abe
mov ecx, ebp
call fcn.101101c0
cmp dword [edi], 0
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
jne 0x10117ac3
mov ecx, ebp
call fcn.1010ffe0
mov dword [ebp + 0x50], eax
cmp dword [edi], 0
je 0x10117ac7
xor ecx, ecx
jmp 0x10117acf
mov eax, dword [ebp + 0x50]
inc dword [eax]
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x3c], ecx
test ebx, ebx
je 0x10118476
test ecx, ecx
je 0x10118476
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 0x10117e6d
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.10114410
mov esi, dword [esp + 0x40]
add esp, 0x1c
cmp dword [ebp + 0x24], 0
jne 0x10117bb8
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
cmp edx, ebx
jne 0x10117b66
mov dword [esi + 0x2c], 0x10113f90
jmp 0x10117bb8
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10117b76
mov dword [esi + 0x2c], 0x10113fb0
jmp 0x10117bb8
cmp dword [ecx], 0
jne 0x10117b84
mov dword [esi + 0x2c], 0x10114070
jmp 0x10117bb8
test edx, edx
jne 0x10117b91
mov dword [esi + 0x2c], 0x101141d0
jmp 0x10117bb8
cmp dword [eax + 0xc], 0x64
jg 0x10117bb1
mov dword [esi + 0x2c], 0x101140c0
lea edx, [esi + 0x1c]
push dword [eax + 0xc]
lea ecx, [ebp + 0x24]
call fcn.10107110
add esp, 4
jmp 0x10117bb8
mov dword [esi + 0x2c], 0x10114080
mov edx, esi
mov ecx, ebp
call fcn.10114750
mov ebp, dword [esp + 0x1c]
test eax, eax
jne 0x10117c3c
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 0x10117c10
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.101139b0
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.10114750
test eax, eax
je 0x10117bd0
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x38]
jmp 0x10117c44
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebp
test esi, esi
je 0x10117e10
xor ebp, ebp
cmp dword [esi + 0x30], ebp
jle 0x10117db1
lea ebx, [esi + 0x5c]
nop
lea ecx, [ebx + 0x38]
call fcn.10107340
mov edi, dword [ebx]
test edi, edi
je 0x10117cc6
cmp dword [0x10165af8], 0
je 0x10117cbc
mov eax, dword [0x10168b40]
test eax, eax
je 0x10117c8a
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 0x10117ccb
push eax
call dword [0x10165b50]
jmp 0x10117cc3
push edi
call dword [0x10165b1c]
add esp, 4
mov eax, dword [0x10168b40]
mov edi, dword [ebx + 4]
test edi, edi
je 0x10117d25
cmp dword [0x10165af8], 0
je 0x10117d1b
test eax, eax
je 0x10117ce9
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 0x10117d25
push eax
call dword [0x10165b50]
jmp 0x10117d22
push edi
call dword [0x10165b1c]
add esp, 4
mov ecx, dword [ebx + 0x34]
call fcn.10110c90
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x10117d8c
cmp dword [0x10165af8], 0
je 0x10117d82
mov eax, dword [0x10168b40]
test eax, eax
je 0x10117d50
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 0x10117d8c
push eax
call dword [0x10165b50]
jmp 0x10117d89
push edi
call dword [0x10165b1c]
add esp, 4
push 0x60
lea eax, [ebx - 0xc]
push 0
push eax
call fcn.1012a970
inc ebp
add esp, 0xc
add ebx, 0x60
cmp ebp, dword [esi + 0x30]
jl 0x10117c60
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x70]
lea ecx, [esi + 0x1c]
call fcn.10107340
cmp dword [0x10165af8], 0
je 0x10117e64
mov eax, dword [0x10168b40]
test eax, eax
je 0x10117dd9
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 0x10117e0c
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.10114410
mov edi, dword [esp + 0x44]
add esp, 0x1c
mov esi, dword [esp + 0x24]
cmp dword [edi], 0
jne 0x10117ecc
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
cmp edx, 1
jne 0x10117e7b
mov dword [esi + 0x2c], 0x10113f90
jmp 0x10117ecc
push esi
call dword [0x10165b1c]
jmp 0x10117e09
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x10117e14
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10117e8b
mov dword [esi + 0x2c], 0x10113fb0
jmp 0x10117ecc
cmp dword [ecx], 0
jne 0x10117e99
mov dword [esi + 0x2c], 0x10114070
jmp 0x10117ecc
test edx, edx
jne 0x10117ea6
mov dword [esi + 0x2c], 0x101141d0
jmp 0x10117ecc
cmp dword [eax + 0xc], 0x64
jg 0x10117ec5
mov dword [esi + 0x2c], 0x101140c0
lea edx, [esi + 0x1c]
push dword [eax + 0xc]
mov ecx, edi
call fcn.10107110
add esp, 4
jmp 0x10117ecc
mov dword [esi + 0x2c], 0x10114080
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.10114750
test eax, eax
jne 0x101180da
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 0x10117f74
mov eax, dword [esp + 0x6c]
cmp edi, eax
jl 0x101180d6
mov ecx, dword [esp + 0x68]
mov edx, eax
sub edx, 4
jb 0x10117f32
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10117f37
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10117f21
cmp edx, 0xfffffffc
je 0x10117f74
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x101180d6
cmp edx, 0xfffffffd
je 0x10117f74
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x101180d6
cmp edx, 0xfffffffe
je 0x10117f74
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x101180d6
cmp edx, 0xffffffff
je 0x10117f74
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
jne 0x101180d6
mov esi, dword [esp + 0x24]
cmp dword [esi + 0xc], 0
je 0x101180ab
mov eax, dword [esp + 0x18]
cmp dword [esi + 4], ebp
jg 0x10118086
jl 0x10117f99
cmp dword [esi], eax
ja 0x10118086
cmp dword [esp + 0x58], 0
jle 0x10118086
mov eax, dword [esp + 0x28]
xor ebp, ebp
cmp dword [eax], ebp
jne 0x10118073
cmp dword [esp + 0x58], 0
je 0x1011806f
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 0x1011802c
lea eax, [edi*2 + 1]
add eax, edi
lea eax, [edx + eax*4]
nop
cmp dword [eax], 0
je 0x10117fef
inc esi
add eax, 0xc
cmp esi, ebx
jl 0x10117fe0
jmp 0x10118028
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 0x10118065
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 0x10118061
mov ecx, dword [esp + 0x30]
lea eax, [esi + 4]
mov dword [eax], 0
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x10118053
mov eax, dword [esp + 0x28]
inc ebp
cmp dword [eax], 0
je 0x10117fb2
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.101139b0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, esi
call fcn.10114750
test eax, eax
jne 0x101180da
mov ebx, dword [esp + 0x38]
jmp 0x10117ee0
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 0x10118101
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 0x1011811f
add esi, ebp
mov edi, eax
mov ecx, esi
call fcn.10107340
add esi, 0xc
sub edi, 1
jne 0x10118110
mov ecx, dword [esp + 0x14]
mov edi, ebx
cmp edi, dword [esp + 0x4c]
jl 0x101180e0
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x101182ee
xor ebx, ebx
cmp dword [ebp + 0x30], ebx
jle 0x1011828e
lea esi, [ebp + 0x5c]
lea ecx, [esi + 0x38]
call fcn.10107340
mov edi, dword [esi]
test edi, edi
je 0x101181ab
cmp dword [0x10165af8], 0
je 0x101181a1
mov eax, dword [0x10168b40]
test eax, eax
je 0x1011816f
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 0x101181b0
push eax
call dword [0x10165b50]
jmp 0x101181a8
push edi
call dword [0x10165b1c]
add esp, 4
mov eax, dword [0x10168b40]
mov edi, dword [esi + 4]
test edi, edi
je 0x1011820a
cmp dword [0x10165af8], 0
je 0x10118200
test eax, eax
je 0x101181ce
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 0x1011820a
push eax
call dword [0x10165b50]
jmp 0x10118207
push edi
call dword [0x10165b1c]
add esp, 4
mov ecx, dword [esi + 0x34]
call fcn.10110c90
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10118271
cmp dword [0x10165af8], 0
je 0x10118267
mov eax, dword [0x10168b40]
test eax, eax
je 0x10118235
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 0x10118271
push eax
call dword [0x10165b50]
jmp 0x1011826e
push edi
call dword [0x10165b1c]
add esp, 4
push 0x60
lea eax, [esi - 0xc]
push 0
push eax
call fcn.1012a970
inc ebx
add esp, 0xc
add esi, 0x60
cmp ebx, dword [ebp + 0x30]
jl 0x10118145
lea ecx, [ebp + 0x1c]
call fcn.10107340
cmp dword [0x10165af8], 0
je 0x101182e4
mov eax, dword [0x10168b40]
test eax, eax
je 0x101182b2
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 0x101182ee
push eax
call dword [0x10165b50]
jmp 0x101182eb
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.10107610
mov esi, eax
add esp, 8
test esi, esi
je 0x1011845e
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 0x10118339
push eax
push dword [esp + 0x58]
push edx
call fcn.1012be10
add esp, 0xc
push 0
push 0x118
mov ecx, ebx
call fcn.10107610
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10118406
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 0x101183d4
mov dword [edi + 0xc], esi
lea edx, [edi + 0x50]
mov ecx, dword [esi]
call fcn.10127470
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 0x101183c9
mov dword [ebx + 0x34], ecx
mov ecx, ebp
or dword [edi + 4], 2
call fcn.101116e0
xor esi, esi
jmp 0x101183d8
mov ecx, ebp
call fcn.10111400
xor esi, esi
jmp 0x101183d8
mov byte [ebx + 0x10], 1
test byte [edi + 4], 2
je 0x101183e5
mov ecx, 0x10111ab0
jmp 0x101183f9
mov eax, dword [ebp]
mov ecx, 0x10111da0
mov edx, 0x10111b30
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 0x1011845e
cmp dword [0x10165af8], 0
je 0x10118454
mov eax, dword [0x10168b40]
test eax, eax
je 0x10118422
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 0x1011845e
push eax
call dword [0x10165b50]
jmp 0x1011845b
push esi
call dword [0x10165b1c]
add esp, 4
lea ecx, [esp + 0x54]
call fcn.10107340
mov ecx, dword [esp + 0x3c]
call fcn.1010f840
mov ebx, dword [esp + 0x34]
jmp 0x1011847f
call fcn.1010f840
test ebx, ebx
je 0x101184e0
cmp dword [0x10165af8], 0
je 0x101184d6
mov eax, dword [0x10168b40]
test eax, eax
je 0x1011849b
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 0x101184e0
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