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

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [ebp + 0x94]
push edi
mov edi, ecx
mov eax, dword [edi + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x24]
xor ecx, ecx
mov ebx, eax
mov edx, 1
shr ebx, 2
test dl, bl
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ecx
je 0x101e623c
mov dword [esp + 0x18], 2
shr eax, 3
test al, 1
je 0x101e624b
mov dword [esp + 0x18], 1
cmp dword [esp + 0x40], 8
je 0x101e625b
mov edx, 2
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x40]
add eax, 0xffffffff
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
je 0x101e63fb
mov ebx, dword [esp + 0x24]
add ebx, 1
shl ebx, 0x15
add eax, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
jmp 0x101e6290
test dl, 1
je 0x101e63d7
cmp ecx, 0x3f
ja 0x101e62c9
cmp ecx, dword [edi + 0x90]
jae 0x101e62c9
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
setne al
test al, al
jne 0x101e63cf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x40]
lea ebx, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, eax
sar edx, 1
and edx, 1
shl edx, 0x13
and eax, 1
or edx, eax
mov eax, dword [ebx]
shl edx, 9
and eax, 0xefffcdff
or edx, eax
mov eax, dword [esp + 0x10]
mov dword [ebx], edx
mov edx, dword [esi + 0xc]
and ecx, 0x1fe00000
and edx, 0x600fffe0
or ecx, edx
or ecx, 0x1e
mov dword [esi + 0xc], ecx
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
add ecx, eax
mov ecx, dword [edx + ecx*4]
mov edx, dword [edi + 0x34]
mov ecx, dword [edx + ecx*4]
mov edx, dword [edi + 0x30]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp]
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, ebp
mov dword [esp + 0x18], eax
call dword [edx + 0x1c]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
mov edx, dword [esi + 0xc]
and edx, 0xffffffbf
or edx, 0x3a0
and eax, 0xff
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x10]
or eax, 0x30000
shl eax, 5
and edx, 0xfe7f601f
mov ecx, eax
or ecx, edx
mov edx, dword [esp + 0x14]
add edx, edx
add edx, edx
mov eax, ecx
xor eax, edx
mov edx, dword [esp + 0x10]
and eax, 0x10
xor eax, ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x3c]
cmp byte [edx + ecx], 0
je 0x101e63ba
and eax, 0xfe1fffff
mov dword [esi + 0x10], eax
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.10142640
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x101e63d3
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], 0x200000
add eax, 1
add ecx, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
jb 0x101e6290
test dl, 1
je 0x101e6585
cmp ecx, 0x3f
ja 0x101e6434
cmp ecx, dword [edi + 0x90]
jae 0x101e6434
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
setne al
test al, al
jne 0x101e64c7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x40]
lea ebx, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx]
and ecx, 0x600fffe0
and eax, 0xff
and edx, 0xefffcfff
shl eax, 0x15
or eax, ecx
or dh, 2
or al, 0x1e
push ebx
mov dword [ebx], edx
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0x44]
add edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x50]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edi + 0x34]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esi + 0x10]
and al, 0xbf
and ecx, 0xff
or ecx, 0x30000
shl ecx, 5
and edx, 0xfe7f600f
or ecx, edx
mov dword [esi + 0x10], ecx
or eax, 0x3a0
mov dword [esi + 0xc], eax
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.10142640
mov edx, dword [eax]
jmp 0x101e64cb
mov edx, dword [esp + 0x14]
test dl, 1
je 0x101e6585
mov al, byte [edi + 0x98]
mov ecx, dword [ebp + 0x84]
mov edx, dword [ecx]
push 0
push 1
push 0
push 1
push eax
push eax
mov eax, dword [edi + 0x9c]
push eax
mov eax, dword [esp + 0x44]
push 0
push eax
call dword [edx + 0x18]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x40]
lea edi, [esi + 8]
and al, 0xb1
or al, 0x31
push ecx
mov ecx, esi
mov dword [edi], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
push 6
mov ecx, esi
call dword [edx + 0x10]
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.10142680
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
and ecx, 0xffff8c1f
or ch, 0xc
and eax, 0xfe7f600f
push edi
lea edx, [esp + 0x44]
or eax, 0x600000
push edx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
mov ecx, ebp
mov dword [esi + 0x14], ebx
call fcn.10142640
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x28
ret 8