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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, ecx
mov ecx, ebp
call fcn.1014abf0
mov edx, dword [ebp]
mov dword [esp + 0x28], eax
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x78]
xor ebx, ebx
push eax
mov ecx, ebp
mov dword [esp + 0x38], ebx
call dword [edx + 0x18]
mov esi, dword [ebp + 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x94]
add eax, 0xffffffa7
cmp eax, 5
mov ecx, 2
mov dword [esp + 0x18], ecx
ja case.default.0x1019683f
jmp dword [eax*4 + 0x1019715c]
mov dword [esp + 0x18], 7
jmp 0x10196878
mov dword [esp + 0x18], ecx
jmp 0x10196878
mov dword [esp + 0x18], 4
jmp 0x10196878
mov dword [esp + 0x18], 6
jmp 0x10196878
mov dword [esp + 0x18], 0xa
jmp 0x10196878
mov dword [esp + 0x10], ecx
test byte [esp + 0x10], 1
je 0x10196ec4
cmp dword [edi + 0x40], 1
jbe 0x10196a33
cmp dword [edi + 0x90], 0
jbe 0x101968aa
mov edx, dword [edi + 0x8c]
mov al, byte [edx]
and al, 1
mov byte [esp + 0x34], al
jne 0x10196a26
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.100ea3e0
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
add edx, 1
shl edx, 0x15
and edx, 0x1fe00000
and eax, 0x600fffe0
or edx, eax
or edx, 2
mov dword [esi + 0xc], edx
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx + eax*4]
mov edx, dword [edi + 0x30]
mov ecx, dword [edx]
mov edx, dword [ebp]
mov dword [esp + 0x34], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x14], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [ebp]
add ebx, dword [esp + 0x34]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
movzx edx, byte [edi + 0x98]
shl edx, 0xe
xor edx, dword [esi + 0x10]
and eax, 0xff
and edx, 0x4000
xor dword [esi + 0x10], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
mov cl, byte [edi + 0x99]
and edx, 0xfffffc3f
or edx, 0x20
mov dword [esi + 0xc], edx
lea edx, [ebx*4]
and ecx, 1
or ch, 3
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x34]
and eax, 0xfe7f401f
shl ecx, 5
or ecx, eax
xor edx, ecx
mov dword [esi + 0x10], ecx
and edx, 0x10
xor edx, ecx
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x54]
mov ecx, dword [ecx + eax*4]
mov ebx, ecx
shr ebx, 4
and ebx, 3
mov ebx, dword [ebx*4 + 0x10214474]
mov eax, ecx
shr eax, 6
mov dword [esp + 0x34], ebx
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
mov ebx, ecx
shr ebx, 2
and eax, 3
and ecx, 3
mov ecx, dword [ecx*4 + 0x10214474]
add eax, eax
add eax, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
and ecx, 3
or eax, ecx
mov ecx, dword [esp + 0x14]
and ebx, 3
mov ebx, dword [ebx*4 + 0x10214474]
shl eax, 0xe
and ebx, 3
or eax, ebx
add eax, eax
add eax, eax
and ecx, 3
and edx, 0xfff0fff0
or eax, ecx
or eax, edx
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x3c]
cmp byte [edx], 0
je 0x10196a0b
and eax, 0xfe1fffff
mov dword [esi + 0x10], eax
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.10142640
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, 2
mov ebx, 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ecx
test byte [esp + 0x10], 1
je 0x10196ec4
cmp dword [edi + 0x40], ecx
jbe 0x10196c15
cmp ebx, 0x3f
ja 0x10196a7d
cmp ebx, dword [edi + 0x90]
jae 0x10196a7d
mov eax, dword [edi + 0x8c]
mov ecx, ebx
mov edx, ebx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
mov ebx, dword [esp + 0x34]
setne al
test al, al
jne 0x10196c09
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
add edx, eax
shl edx, 0x15
and edx, 0x1fe00000
and ecx, 0x600fffe0
or edx, ecx
or edx, 2
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x50]
add edx, ebx
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x34], edx
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov dword [esp + 0x14], eax
call dword [edx + 0x1c]
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
movzx edx, byte [edi + 0x98]
shl edx, 0xe
xor edx, dword [esi + 0x10]
and eax, 0xff
and edx, 0x4000
xor dword [esi + 0x10], edx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
mov cl, byte [edi + 0x99]
mov edx, dword [esi + 0xc]
and edx, 0xfffffc3f
or edx, 0x20
mov dword [esi + 0xc], edx
and ecx, 1
or ch, 3
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x10]
and eax, 0xfe7f401f
shl ecx, 5
or ecx, eax
mov eax, dword [esp + 0x34]
add eax, eax
add eax, eax
xor eax, ecx
and eax, 0x10
xor eax, ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x44]
add eax, ebx
mov ecx, dword [ecx + eax*4]
mov edx, ecx
shr edx, 6
and edx, 3
mov eax, dword [edx*4 + 0x10214474]
mov edx, ecx
shr edx, 4
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
mov dword [esp + 0x34], edx
mov edx, ecx
and ecx, 3
mov ecx, dword [ecx*4 + 0x10214474]
and eax, 3
add eax, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
add eax, eax
shr edx, 2
and ecx, 3
or eax, ecx
mov ecx, dword [esp + 0x10]
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
shl eax, 0xe
and edx, 3
or eax, edx
add eax, eax
and ecx, 3
add eax, eax
or eax, ecx
mov ecx, dword [esp + 0x24]
and ecx, 0xfff0fff0
or eax, ecx
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x3c]
cmp byte [ebx + edx], 0
je 0x10196bf3
and eax, 0xfe1fffff
mov dword [esi + 0x10], eax
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.10142640
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
add ebx, 1
add dword [esp + 0x14], 1
mov dword [esp + 0x34], ebx
test byte [esp + 0x10], 1
je 0x10196ec4
cmp dword [edi + 0x40], 3
jbe 0x10196e01
cmp ebx, 0x3f
ja 0x10196c60
cmp ebx, dword [edi + 0x90]
jae 0x10196c60
mov eax, dword [edi + 0x8c]
mov ecx, ebx
mov edx, ebx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
mov ebx, dword [esp + 0x34]
setne al
test al, al
jne 0x10196df9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
add edx, eax
shl edx, 0x15
and edx, 0x1fe00000
and ecx, 0x600fffe0
or edx, ecx
or edx, 2
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x50]
add edx, ebx
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x34], edx
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov dword [esp + 0x14], eax
call dword [edx + 0x1c]
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
movzx edx, byte [edi + 0x98]
shl edx, 0xe
xor edx, dword [esi + 0x10]
and eax, 0xff
and edx, 0x4000
xor dword [esi + 0x10], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov cl, byte [edi + 0x99]
and edx, 0xfffffc3f
or edx, 0x20
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x24]
and edx, 0xfe7f401f
and ecx, 1
or ch, 3
shl ecx, 8
or ecx, eax
shl ecx, 5
mov eax, ecx
or eax, edx
mov edx, dword [esp + 0x34]
add edx, edx
mov ecx, eax
add edx, edx
xor ecx, edx
mov dword [esi + 0x10], eax
and ecx, 0x10
xor ecx, eax
mov dword [esi + 0x10], ecx
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x54]
add eax, ebx
mov edx, dword [edx + eax*4]
mov eax, edx
shr eax, 6
mov dword [esp + 0x34], edx
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
shr edx, 4
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x34]
shr edx, 2
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
and eax, 3
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
add eax, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
add eax, eax
and edx, 3
or eax, edx
mov edx, dword [esp + 0x20]
shl eax, 0xe
and edx, 3
or eax, edx
add eax, eax
and ecx, 0xfff0fff0
add eax, eax
or eax, ecx
mov ecx, dword [esp + 0x34]
and ecx, 3
or eax, ecx
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x3c]
cmp byte [ebx + ecx], 0
je 0x10196de3
and eax, 0xfe1fffff
mov dword [esi + 0x10], eax
lea eax, [esi + 8]
push eax
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call fcn.10142640
mov eax, dword [eax]
mov dword [esp + 0x10], eax
add ebx, 1
add dword [esp + 0x14], 1
test byte [esp + 0x10], 1
je 0x10196ec4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
and ecx, 0xff
shl ecx, 0x15
and edx, 0x600fffe0
or ecx, edx
and eax, 0xef7fff81
or eax, 0x600201
mov dword [esi + 8], eax
or ecx, 2
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x50]
add eax, ebx
mov edx, dword [ecx + eax*4]
mov eax, dword [edi + 0x34]
mov ebx, dword [eax + edx*4]
mov edx, dword [ebp]
push ebx
mov ecx, ebp
call dword [edx + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp]
push ebx
mov ecx, ebp
call dword [eax + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
and ecx, 0xfffffc3f
or ecx, 0x20
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x34]
and eax, 0xff
or eax, 0x30000
add ecx, ecx
shl eax, 5
add ecx, ecx
and edx, 0xfe7f600f
or eax, edx
and ecx, 0x10
or eax, ecx
mov dword [esi + 0x10], eax
cmp dword [ebp + 0x1c], 0
je 0x10196ebb
push 0x10
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10196ec0
mov eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jne 0x10196ee2
cmp dword [edi + 0xa8], eax
jne 0x10196ee2
cmp dword [edi + 0xac], eax
je 0x10196f6f
test byte [esp + 0x10], 1
je 0x1019707d
mov ecx, dword [edi + 0xa8]
mov edx, dword [edi + 0xac]
and eax, 0xf
shl eax, 4
and ecx, 0xf
or eax, ecx
shl eax, 4
and edx, 0xf
or eax, edx
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x1c]
lea eax, [esi + 8]
and ecx, 0xef5fff81
or ecx, 0x400201
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
and edx, 0xff
shl edx, 0x15
and ecx, 0x6000fc00
or edx, ecx
or edx, 0x40062
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], edx
cmp dword [ebp + 0x1c], 0
je 0x10196f66
push 0x10
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, ebp
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10196f6b
mov eax, 2
mov dword [esp + 0x10], eax
test byte [esp + 0x10], 1
je 0x1019707d
mov ecx, dword [edi + 0x9c]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x84]
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0xa0]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push 0
push 1
push 1
push eax
call dword [edx + 0x10]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 8]
mov eax, dword [esi + 8]
mov edx, dword [esi]
lea ebx, [esi + 8]
and eax, 0xff7fffb1
or eax, 0x600031
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx + eax*4]
mov eax, dword [edi + 0x68]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov dword [esp + 0x14], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
mov edx, dword [esi + 0xc]
and eax, 0xff
shl eax, 0x15
and edx, 0x601fffe0
or eax, edx
mov edx, dword [esi + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x34]
add eax, eax
add eax, eax
or ecx, 1
and eax, 0x10
mov dword [esi + 0xc], ecx
shl eax, 0x10
and ecx, 0xffef8c1f
or eax, ecx
and edx, 0xfe7f600f
or ah, 0xc
or edx, 0x600000
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], eax
cmp dword [ebp + 0x1c], 0
je 0x10197074
push 0x10
push ebx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10197079
mov eax, 2
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
test cl, 1
je 0x1019714a
cmp dword [edi + 0x48], 0
je 0x1019714a
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
call dword [edx + 0xc]
test byte [eax + 0x16], 4
je 0x10197146
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
and dword [esi + 0xc], 0x600fffe0
lea ebx, [esi + 8]
and ecx, 0xff7fff81
or ecx, 0x600001
mov dword [ebx], ecx
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x5c]
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x68]
mov edi, dword [edx + ecx*4]
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax + 0x1c]
mov edx, dword [ebp]
push edi
mov ecx, ebp
mov dword [esp + 0x38], eax
call dword [edx + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
and ecx, 0xfffffc3f
or ecx, 0x20
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x34]
and eax, 0xff
or eax, 0x30000
add ecx, ecx
shl eax, 5
add ecx, ecx
and edx, 0xfe7f600f
or eax, edx
and ecx, 0x10
or eax, ecx
mov dword [esi + 0x10], eax
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.10142640
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x1c
ret 8