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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x78]
push edi
mov edi, dword [esp + 0x50]
mov edx, dword [edi]
mov esi, dword [edi + 0x90]
xor ebp, ebp
push eax
mov ecx, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ebp
call dword [edx + 0x18]
mov al, byte [ebx + 0x9d]
mov cl, byte [ebx + 0x9c]
mov dl, byte [ebx + 0x9e]
mov dword [esp + 0x1c], ebp
and eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x40]
and ecx, 1
and edx, 1
cmp eax, ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jne 0x101b095d
mov ebx, dword [ebx + 0x78]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x18]
mov edx, dword [esi]
mov ecx, esi
mov ebp, eax
call dword [edx + 4]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea ebx, [esi + 8]
mov ecx, ebp
and ecx, 0xff
shl ecx, 0x15
and eax, 0xef1fff81
and edx, 0xfc00
or eax, 0x201
or ecx, edx
or ecx, 0x20140062
mov dword [ebx], eax
push ebx
lea eax, [esp + 0x54]
mov dword [esi + 0xc], ecx
push eax
mov ecx, edi
mov dword [esi + 0x14], 0x7ffffff
call fcn.10142640
mov ecx, dword [eax]
test cl, 1
je 0x101b0e5b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, dword [ebx]
mov edx, dword [esi]
and eax, 0xff7fffb1
or eax, 0x600031
push ebp
mov ecx, esi
mov dword [ebx], eax
call dword [edx + 0xc]
mov eax, dword [edi + 0x84]
mov ebp, dword [eax]
push 0
mov ecx, edi
mov dword [esp + 0x54], eax
call fcn.10125910
push eax
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax]
or ecx, dword [esp + 0x30]
add ecx, ecx
or ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x58]
push 5
push 0
push 0
push 0
push 1
call dword [ebp + 0xc]
mov edx, dword [ebx]
mov ecx, dword [esi + 0xc]
shr edx, 0x15
and ecx, 0xfc00
and edx, 7
or ecx, 0x20000000
cmp edx, 5
mov dword [esi + 0xc], ecx
ja case.0x101b08df.0
jmp dword [edx*4 + 0x101b0e6c]
mov edx, dword [esi + 0x10]
and edx, 0xfe45ffff
or edx, 0x450000
mov dword [esi + 0x10], edx
jmp 0x101b0929
mov edx, dword [esi + 0x10]
and edx, 0xfe69ffff
or edx, 0x690000
mov dword [esi + 0x10], edx
jmp 0x101b0929
mov edx, dword [esi + 0x10]
and edx, 0xfe8dffff
or edx, 0x8d0000
mov dword [esi + 0x10], edx
jmp 0x101b0929
and dword [esi + 0x10], 0xfe00ffff
and dword [esi + 0x10], 0xffff6000
and ch, 0x8f
or ch, 0xc
mov dword [esi + 0x14], eax
push ebx
lea eax, [esp + 0x54]
push eax
mov dword [esi + 0xc], ecx
mov ecx, edi
call fcn.10142640
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x38
ret 8
test eax, 0xfffffffe
jbe 0x101b0e57
mov eax, dword [ebx + 0x78]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x18]
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
shr ecx, 1
cmp eax, ecx
mov dword [esp + 0x18], eax
jae 0x101b0b6c
lea esp, [esp]
test byte [esp + 0x10], 1
je 0x101b0b54
mov ecx, dword [esp + 0x14]
cmp ecx, 0x3f
mov ebp, dword [edi + 0x94]
ja 0x101b09ed
cmp ecx, dword [ebx + 0x90]
jae 0x101b09ed
mov eax, dword [ebx + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
mov ebx, dword [esp + 0x20]
setne al
test al, al
je 0x101b09ed
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx*2]
mov ecx, dword [ebx + 0x54]
test byte [ecx + eax*4 + 4], 3
je 0x101b0b36
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x50]
lea eax, [ebp + 8]
and ecx, 0xff5fff81
or ecx, 0x400001
mov dword [eax], ecx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
and edx, 0xff
and eax, 0x600fffe0
shl edx, 0x15
or edx, eax
mov eax, dword [esp + 0x18]
or edx, 2
mov dword [ebp + 0xc], edx
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x50]
add eax, eax
add ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [edx + ecx*4 + 4]
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + eax*4]
mov edx, dword [edi]
push eax
mov ecx, edi
mov dword [esp + 0x14], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
and eax, 0xff
and edx, 0xfffffc3f
or eax, 0x30000
or edx, 0x20
mov dword [ebp + 0xc], edx
mov edx, dword [esp + 0x24]
shl eax, 5
and ecx, 0xfe7f601f
or eax, ecx
mov dword [ebp + 0x10], eax
add edx, edx
add edx, edx
xor edx, eax
and edx, 0x10
xor edx, eax
mov dword [ebp + 0x10], edx
mov eax, dword [ebx + 0x44]
add eax, dword [esp + 0x34]
mov ecx, dword [ebx + 0x54]
mov ecx, dword [ecx + eax*4 + 4]
mov ebx, ecx
shr ebx, 4
and ebx, 3
mov ebx, dword [ebx*4 + 0x10214c30]
mov eax, ecx
shr eax, 6
mov dword [esp + 0x34], ebx
and eax, 3
mov eax, dword [eax*4 + 0x10214c30]
mov ebx, ecx
and ecx, 3
mov ecx, dword [ecx*4 + 0x10214c30]
and eax, 3
shr ebx, 2
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
add eax, eax
and ebx, 3
mov ebx, dword [ebx*4 + 0x10214c30]
add eax, eax
and ecx, 3
or eax, ecx
mov ecx, dword [esp + 0x24]
shl eax, 0xe
and ebx, 3
or eax, ebx
add eax, eax
add eax, eax
and ecx, 3
or eax, ecx
and edx, 0xfff0fff0
or eax, edx
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x10], eax
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.10142640
mov ecx, dword [eax]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x50]
mov edx, dword [edi + 0x80]
add dword [esp + 0x14], 1
add eax, 1
cmp eax, dword [edx + 0xe0]
mov dword [esp + 0x50], eax
jae 0x101b0b6c
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x40]
add eax, 1
shr ecx, 1
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x101b0990
mov eax, dword [ebx + 0x78]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x18]
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
shr ecx, 1
cmp eax, ecx
mov dword [esp + 0x18], eax
jae 0x101b0cfe
test byte [esp + 0x10], 1
je 0x101b0ce6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
and ecx, 0xff
shl ecx, 0x15
and edx, 0xffe0
or ecx, edx
lea ebp, [esi + 8]
and eax, 0xef1fff81
or eax, 0x201
mov dword [ebp], eax
or ecx, 0x20140002
mov dword [esi + 0xc], ecx
mov eax, dword [ebx + 0x44]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx*2]
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 + 0x14], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], 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.0x101b0c25.0
jmp dword [ecx*4 + 0x101b0e84]
mov ecx, dword [esi + 0x10]
and ecx, 0xfe45ffff
or ecx, 0x450000
mov dword [esi + 0x10], ecx
jmp 0x101b0c83
mov edx, dword [esi + 0x10]
and edx, 0xfe69ffff
or edx, 0x690000
mov dword [esi + 0x10], edx
jmp 0x101b0c83
mov ecx, dword [esi + 0x10]
and ecx, 0xfe8dffff
or ecx, 0x8d0000
mov dword [esi + 0x10], ecx
jmp 0x101b0c83
mov edx, dword [esi + 0x10]
and edx, 0xfe8dffff
or edx, 0x8d0000
mov dword [esi + 0x10], edx
jmp 0x101b0c83
and dword [esi + 0x10], 0xfe00ffff
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x10]
add ecx, ecx
and eax, 0xff
add ecx, ecx
push 0
shl eax, 5
and ecx, 0x1f
push 1
or eax, ecx
and edx, 0xffff6000
push 0
or eax, edx
push 0
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.100ea4b0
push ebp
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.10142640
mov ecx, dword [eax]
mov eax, dword [esp + 0x50]
mov edx, dword [edi + 0x80]
add dword [esp + 0x14], 1
add eax, 1
cmp eax, dword [edx + 0xe0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], eax
jae 0x101b0cfe
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x40]
add eax, 1
shr ecx, 1
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x101b0b90
mov eax, dword [ebx + 0x78]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x40]
shr eax, 1
cmp ebp, eax
mov dword [esp + 0x24], ebp
jae 0x101b0e2f
test byte [esp + 0x10], 1
je 0x101b0e02
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esi + 8]
mov edx, dword [esi]
and eax, 0xff7fffb1
or eax, 0x600031
mov dword [esi + 8], eax
mov eax, dword [esp + 0x50]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x30]
add eax, eax
or eax, dword [esp + 0x2c]
push ebp
add eax, eax
or eax, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x84]
mov dword [esp + 0x38], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
call fcn.10125910
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x3c]
push 5
push 0
push 0
push 0
push 1
call dword [eax + 0xc]
push 0
push 0
mov dword [esp + 0x40], eax
call fcn.1006dd40
add esp, 8
push 0
push 0
mov ebp, eax
push ebp
push 0
mov ecx, esi
call fcn.100f2e20
push 0
push 0
push ebp
push 0
push 0
mov ecx, esi
call fcn.100f2ee0
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
and ah, 0x8f
or ah, 0xc
lea ecx, [esp + 0x44]
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
push eax
push ecx
mov ecx, edi
call fcn.10142640
mov edx, dword [eax]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 0x80]
add eax, 1
cmp eax, dword [ecx + 0xe0]
mov dword [esp + 0x50], eax
jae 0x101b0e2f
mov edx, dword [ebx + 0x40]
add ebp, 1
shr edx, 1
cmp ebp, edx
mov dword [esp + 0x24], ebp
jb 0x101b0d22
mov ecx, dword [ebx + 0x40]
lea eax, [ebp + 1]
shr ecx, 1
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x101b0968
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x38
ret 8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x38
ret 8