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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
mov ebx, ecx
mov ecx, edi
call fcn.1014abf0
mov edx, dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x78]
push eax
mov ecx, edi
call dword [edx + 0x18]
mov ecx, dword [ebx + 0x2c]
mov esi, dword [edi + 0x90]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [ecx + eax*4 + 4]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
mov ecx, eax
shr ecx, 2
test cl, 1
mov dword [esp + 0x30], edx
je 0x10183f7a
mov dword [esp + 0x14], 2
shr eax, 3
test al, 1
je 0x10183f89
mov dword [esp + 0x14], 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
and eax, 0xef7fff81
lea ebp, [esi + 8]
or eax, 0x600201
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
and eax, 0xff
shl eax, 0x15
mov dword [esp + 0x34], eax
and ecx, 0xffe0
and eax, 0xffe0ffff
or ecx, eax
or ecx, 0x20000002
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax + edx*4]
mov edx, dword [ebx + 0x34]
mov eax, dword [edx + ecx*4]
mov edx, dword [edi]
push eax
mov ecx, edi
mov dword [esp + 0x50], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [ebp]
mov edx, dword [esi + 0xc]
shr ecx, 0x15
and edx, 0xfffffc3f
and ecx, 7
or edx, 0x20
cmp ecx, 5
mov dword [esi + 0xc], edx
ja case.0x10184014.0
jmp dword [ecx*4 + 0x10184434]
mov ecx, dword [esi + 0x10]
and ecx, 0xfe45ffff
or ecx, 0x450000
mov dword [esi + 0x10], ecx
jmp 0x10184072
mov edx, dword [esi + 0x10]
and edx, 0xfe69ffff
or edx, 0x690000
mov dword [esi + 0x10], edx
jmp 0x10184072
mov ecx, dword [esi + 0x10]
and ecx, 0xfe8dffff
or ecx, 0x8d0000
mov dword [esi + 0x10], ecx
jmp 0x10184072
mov edx, dword [esi + 0x10]
and edx, 0xfe8dffff
or edx, 0x8d0000
mov dword [esi + 0x10], edx
jmp 0x10184072
and dword [esi + 0x10], 0xfe00ffff
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
add ecx, ecx
and eax, 0xff
add ecx, ecx
shl eax, 5
and ecx, 0x1f
or eax, ecx
and edx, 0xffff6000
or eax, edx
mov dword [esi + 0x10], eax
cmp dword [edi + 0x1c], 0
je 0x101840ae
push 0x10
push ebp
lea eax, [esp + 0x54]
push eax
mov ecx, edi
call fcn.100fd200
mov ecx, dword [eax]
jmp 0x101840b3
mov ecx, 2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10184423
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x18]
movzx eax, dl
and eax, 1
test cl, 1
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
je 0x10184410
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx]
add eax, edx
shl eax, 4
cmp dword [ebx + 0xc], 4
mov dword [esp + 0x4c], eax
je 0x101840fd
lea edx, [eax + eax]
mov dword [esp + 0x4c], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
and ecx, 0xef1fff81
or ecx, 0x201
mov dword [ebp], ecx
mov ecx, dword [esp + 0x34]
and eax, 0xfc00
and ecx, 0xffe8fcff
or eax, ecx
or eax, 0x200800e6
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], eax
cmp dword [edi + 0x1c], 0
je 0x10184152
push 0x10
push ebp
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10184157
mov eax, 2
mov ecx, eax
test cl, 1
je 0x10184410
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, eax
sar ecx, 1
and ecx, 1
shl ecx, 0x10
and edx, 3
or ecx, edx
add ecx, ecx
mov edx, dword [esi + 0xc]
add ecx, ecx
add ecx, ecx
and eax, 1
or ecx, eax
mov eax, dword [ebp]
shl ecx, 9
and eax, 0xef7fcd81
or ecx, eax
or ecx, 0x600001
mov dword [ebp], ecx
mov ecx, dword [esp + 0x1c]
add ecx, 1
shl ecx, 0x15
and ecx, 0x1fe00000
and edx, 0xffe0
or ecx, edx
or ecx, 0x20000002
mov dword [esi + 0xc], ecx
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x50]
mov edx, dword [ecx + eax*4 + 4]
add edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + edx*4]
mov edx, dword [edi]
push eax
mov ecx, edi
mov dword [esp + 0x50], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [ebp]
mov edx, dword [esi + 0xc]
shr ecx, 0x15
and edx, 0xfffffc3f
and ecx, 7
or edx, 0x20
cmp ecx, 5
mov dword [esp + 0x24], 2
mov dword [esi + 0xc], edx
ja case.0x1018421a.0
jmp dword [ecx*4 + 0x1018444c]
mov ecx, dword [esi + 0x10]
and ecx, 0xfe45ffff
or ecx, 0x450000
mov dword [esi + 0x10], ecx
jmp 0x10184278
mov edx, dword [esi + 0x10]
and edx, 0xfe69ffff
or edx, 0x690000
mov dword [esi + 0x10], edx
jmp 0x10184278
mov ecx, dword [esi + 0x10]
and ecx, 0xfe8dffff
or ecx, 0x8d0000
mov dword [esi + 0x10], ecx
jmp 0x10184278
mov edx, dword [esi + 0x10]
and edx, 0xfe8dffff
or edx, 0x8d0000
mov dword [esi + 0x10], edx
jmp 0x10184278
and dword [esi + 0x10], 0xfe00ffff
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
add ecx, ecx
and eax, 0xff
add ecx, ecx
shl eax, 5
and ecx, 0x1f
or eax, ecx
and edx, 0xffff6000
or eax, edx
mov dword [esi + 0x10], eax
cmp dword [edi + 0x1c], 0
je 0x101842b4
push 0x10
push ebp
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.100fd200
mov eax, dword [eax]
jmp 0x101842b9
mov eax, 2
mov ecx, eax
test cl, 1
je 0x10184410
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov dword [esp + 0x4c], 0
mov byte [esp + 0x20], 0
call dword [edx + 0xc]
test byte [eax + 0x15], 1
je 0x101842ed
mov dword [esp + 0x4c], 1
mov byte [esp + 0x20], 1
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 0x84]
mov eax, dword [ecx]
push 0xff
push 2
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x3c]
push edx
call dword [eax + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov edx, ecx
sar edx, 1
and edx, 1
shl edx, 0x10
and eax, 3
or edx, eax
mov eax, dword [ebp]
add edx, edx
add edx, edx
add edx, edx
and ecx, 1
or edx, ecx
shl edx, 9
and eax, 0xef7fcdb1
or edx, eax
mov eax, dword [esp + 0x1c]
or edx, 0x600031
mov dword [ebp], edx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0xc]
test byte [eax + 0x15], 1
je 0x101843a7
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x50]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + edx*4]
mov edx, dword [edi]
push eax
mov ecx, edi
mov dword [esp + 0x50], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov edx, dword [esp + 0x10]
push 0
push edx
push eax
push 1
jmp 0x101843ba
push 0
push 0
push 0
push 0
call fcn.1006dd40
add esp, 8
push eax
push 0
mov ecx, esi
call fcn.100f2e20
push 0
push 0
push 0
push 0
call fcn.1006dd40
add esp, 8
push eax
push 0
push 0
mov ecx, esi
call fcn.100f2ee0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
and ch, 0x8f
or ch, 0xc
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], ecx
cmp dword [edi + 0x1c], 0
je 0x10184409
push 0x10
push ebp
lea edx, [esp + 0x48]
push edx
mov ecx, edi
call fcn.100fd200
mov eax, dword [eax]
jmp 0x1018440e
mov eax, 2
mov ecx, eax
mov eax, 1
add dword [esp + 0x18], eax
sub dword [esp + 0x30], eax
jne 0x101840c3
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x34
ret 8