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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x11ad127c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], ebx
mov ecx, dword [0x11d0c5b8]
push ebx
mov dword [esp + 0x28], edi
and dword [edi + 0xc], 0xfffffffd
mov eax, dword [ebx + 0x2c78]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x2968]
mov dword [esp + 0x20], eax
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x10]
add ecx, 0x89c0
call fcn.10142a90
mov eax, dword [esi + 0x10]
mov esi, dword [eax + 0x7a68]
mov esi, dword [esi + 8]
mov dword [esp + 0x20], esi
mov eax, dword [esi + 0x20]
add eax, 0x48
cmp eax, dword [esi + 0x24]
jb 0x10171164
push 0x12
mov ecx, esi
call fcn.101e4a10
mov eax, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x2c], eax
xor eax, eax
mov word [ebx + 0x32c2], ax
mov eax, dword [edi]
push ebx
call dword [eax + 0xdc]
mov eax, dword [ebx + 0x2c88]
test eax, eax
je 0x101715ac
cmp eax, 1
jne 0x101711ab
mov ecx, dword [ebx + 0x2ca4]
mov eax, dword [ecx]
call dword [eax + 0x8c]
cmp eax, 0x300
jae 0x101715ac
mov edi, dword [esp + 0x18]
mov edi, dword [edi + 0x44]
mov esi, dword [edi + 0x10]
cmp esi, 0xffffffff
je 0x101711fd
mov ecx, dword [edi + 0x18]
and esi, 0x1f
movzx edx, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edx, 7
shl eax, 4
or edx, eax
movzx eax, byte [ecx + 0x11224170]
shl edx, 6
and eax, 0x3f
or edx, eax
mov eax, dword [edi + 0x14]
shl edx, 0xe
and eax, 0x3fff
or edx, eax
shl edx, 7
or edx, esi
mov dword [esp + 0x30], edx
jmp 0x10171205
mov dword [esp + 0x30], 0x15e00410
mov esi, dword [edi + 0x28]
cmp esi, 0xffffffff
je 0x10171250
mov ecx, dword [edi + 0x30]
and esi, 0x1f
movzx edx, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edx, 7
shl eax, 4
or edx, eax
movzx eax, byte [ecx + 0x11224170]
shl edx, 6
and eax, 0x3f
or edx, eax
mov eax, dword [edi + 0x2c]
shl edx, 0xe
and eax, 0x3fff
or edx, eax
shl edx, 7
or edx, esi
mov dword [esp + 0x34], edx
jmp 0x10171258
mov dword [esp + 0x34], 0x15e00410
mov esi, dword [edi + 0x40]
cmp esi, 0xffffffff
je 0x101712a3
mov ecx, dword [edi + 0x48]
and esi, 0x1f
movzx edx, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edx, 7
shl eax, 4
or edx, eax
movzx eax, byte [ecx + 0x11224170]
shl edx, 6
and eax, 0x3f
or edx, eax
mov eax, dword [edi + 0x44]
shl edx, 0xe
and eax, 0x3fff
or edx, eax
shl edx, 7
or edx, esi
mov dword [esp + 0x38], edx
jmp 0x101712ab
mov dword [esp + 0x38], 0x15e00410
mov esi, dword [edi + 0x58]
cmp esi, 0xffffffff
je 0x101712f6
mov ecx, dword [edi + 0x60]
and esi, 0x1f
movzx edx, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edx, 7
shl eax, 4
or edx, eax
movzx eax, byte [ecx + 0x11224170]
shl edx, 6
and eax, 0x3f
or edx, eax
mov eax, dword [edi + 0x5c]
shl edx, 0xe
and eax, 0x3fff
or edx, eax
shl edx, 7
or edx, esi
mov dword [esp + 0x3c], edx
jmp 0x101712fe
mov dword [esp + 0x3c], 0x15e00010
mov esi, dword [edi + 0x70]
cmp esi, 0xffffffff
je 0x10171349
mov ecx, dword [edi + 0x78]
and esi, 0x1f
movzx edx, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edx, 7
shl eax, 4
or edx, eax
movzx eax, byte [ecx + 0x11224170]
shl edx, 6
and eax, 0x3f
or edx, eax
mov eax, dword [edi + 0x74]
shl edx, 0xe
and eax, 0x3fff
or edx, eax
shl edx, 7
or edx, esi
mov dword [esp + 0x40], edx
jmp 0x10171351
mov dword [esp + 0x40], 0x15e00410
mov esi, dword [edi + 0x88]
cmp esi, 0xffffffff
je 0x101713a5
mov ecx, dword [edi + 0x90]
and esi, 0x1f
movzx edx, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edx, 7
shl eax, 4
or edx, eax
movzx eax, byte [ecx + 0x11224170]
shl edx, 6
and eax, 0x3f
or edx, eax
mov eax, dword [edi + 0x8c]
shl edx, 0xe
and eax, 0x3fff
or edx, eax
shl edx, 7
or edx, esi
mov dword [esp + 0x44], edx
jmp 0x101713ad
mov dword [esp + 0x44], 0x15e00410
mov esi, dword [edi + 0xa0]
cmp esi, 0xffffffff
je 0x10171401
mov ecx, dword [edi + 0xa8]
and esi, 0x1f
movzx edx, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edx, 7
shl eax, 4
or edx, eax
movzx eax, byte [ecx + 0x11224170]
shl edx, 6
and eax, 0x3f
or edx, eax
mov eax, dword [edi + 0xa4]
shl edx, 0xe
and eax, 0x3fff
or edx, eax
shl edx, 7
or edx, esi
mov dword [esp + 0x48], edx
jmp 0x10171409
mov dword [esp + 0x48], 0x15e00410
mov esi, dword [edi + 0xb8]
cmp esi, 0xffffffff
je 0x1017145d
mov ecx, dword [edi + 0xc0]
and esi, 0x1f
movzx edx, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edx, 7
shl eax, 4
or edx, eax
movzx eax, byte [ecx + 0x11224170]
shl edx, 6
and eax, 0x3f
or edx, eax
mov eax, dword [edi + 0xbc]
shl edx, 0xe
and eax, 0x3fff
or edx, eax
shl edx, 7
or edx, esi
mov dword [esp + 0x4c], edx
jmp 0x10171465
mov dword [esp + 0x4c], 0x15e00410
xor edx, edx
lea ecx, [ebx + 0x17d4]
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [esp + 0x14], ecx
nop word [eax + eax]
cmp dword [ebx + 0x2c88], 1
mov eax, dword [ecx]
movzx edi, ax
jne 0x10171493
lea eax, [edi + 8]
jmp 0x101714a1
test eax, 0xffff0000
lea eax, [edi + 8]
jne 0x10171583
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x2c78]
shl edx, 3
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x44]
mov eax, dword [eax + edx + 0x10]
cmp eax, 0xffffffff
je 0x1017157f
add eax, eax
cmp dword [ebx + eax*8 + 0x2968], 0
je 0x1017157f
mov ecx, dword [esp + 0x10]
mov edx, 0x10000
shl edx, cl
and edi, 0xf
or dword [ebx + 0x32c0], edx
mov eax, edi
xor edx, edx
mov ecx, esi
call fcn.10451660
mov edi, eax
mov ebx, edx
mov eax, 0xf
xor edx, edx
mov ecx, esi
call fcn.10451660
mov ecx, dword [esp + 0x24]
not eax
not edx
and eax, dword [ecx + 0x2de0]
and edx, dword [ecx + 0x2de4]
or edi, eax
mov eax, dword [esp + 0x18]
or ebx, edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x2de0], edi
mov dword [ecx + 0x2de4], ebx
add edx, dword [eax + 0x44]
mov ebx, dword [esp + 0x28]
mov ecx, dword [edx + 0x18]
movzx edi, byte [ecx + 0x11223f40]
movzx eax, byte [ecx + 0x11224000]
and edi, 7
shl eax, 4
or edi, eax
movzx eax, byte [ecx + 0x11224170]
mov ecx, dword [esp + 0x14]
and eax, 0x3f
shl edi, 6
or edi, eax
mov eax, dword [edx + 0x14]
and eax, 0x3fff
shl edi, 0xe
or edi, eax
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x10]
and eax, 0x1f
shl edi, 7
or edi, eax
jmp 0x10171588
mov edx, dword [esp + 0x10]
mov edi, 0x15e00210
mov dword [esp + esi + 0x50], edi
inc edx
add ecx, 0xcc
mov dword [esp + 0x10], edx
add esi, 4
mov dword [esp + 0x14], ecx
cmp esi, 0x20
jb 0x10171480
jmp 0x1017167c
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov esi, dword [eax + 0x44]
nop dword [eax]
mov edi, dword [esi + ebx + 0x10]
cmp edi, 0xffffffff
je 0x1017165d
mov edx, dword [esp + 0x1c]
mov eax, edi
add eax, eax
cmp dword [edx + eax*8], 0
je 0x10171621
mov edx, dword [esi + ebx + 0x18]
and edi, 0x1f
movzx eax, byte [edx + 0x11223f40]
movzx ecx, byte [edx + 0x11224000]
and eax, 7
shl ecx, 4
or eax, ecx
movzx ecx, byte [edx + 0x11224170]
shl eax, 6
and ecx, 0x3f
or eax, ecx
mov ecx, dword [esi + ebx + 0x14]
shl eax, 0xe
and ecx, 0x3fff
or eax, ecx
mov ecx, dword [esp + 0x14]
shl eax, 7
or eax, edi
jmp 0x10171662
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 0x588]
mov edx, dword [edi + ebx + 0x20]
cmp edx, 0xa
jne 0x1017164b
cmp dword [edi + ebx + 0x24], 0
mov eax, 0x15e00010
mov edx, 0x15e00410
cmovne eax, edx
jmp 0x10171662
cmp edx, 5
mov eax, 0x15e00410
mov edx, 0x15e00210
cmove eax, edx
jmp 0x10171662
mov eax, 0x15e00410
mov edx, ecx
add ebx, 0x18
add ecx, 4
mov dword [esp + 0x14], ecx
mov dword [edx], eax
cmp ebx, 0x180
jb 0x101715c0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
pop edi
mov dword [ecx], 0x20080458
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x24], 0x20080460
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [ecx + 0x44], eax
lea eax, [ecx + 0x48]
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x20], eax
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4