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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x101b8c9
sub esp, 0x40
mov edx, dword [esp + 0x44]
movzx ebx, byte [edx + 4]
shr bl, 1
movsx eax, bl
cmp eax, 0x43
jae 0x101b8be
lea ecx, [0x10fc860]
movzx eax, byte [ecx + eax]
shl eax, 0xd
mov dword [esp + 0x1c], eax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.010288e0
mov eax, dword [0x117192c]
mov dword [esp + 0x18], eax
movzx ecx, byte [0x1178188]
test cl, cl
jne 0x101b884
shr eax, 1
and eax, 1
mov dword [esp + 0x2c], eax
lea edx, [eax + eax*2]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x44]
lea ebp, [ebx + edx*8 + 0x18]
mov dword [esp], ebp
call fcn.01031fd0
mov eax, dword [esp + 4]
test eax, eax
jne 0x101b87b
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov eax, 0x64
jmp 0x101b507
mov ebp, dword [esp + 0x20]
dec ebp
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov edx, esi
mov ebx, edi
mov eax, ebp
mov dword [esp + 0x20], eax
test eax, eax
jl 0x101b746
lea ebp, [ebx - 1]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 2
jae 0x101b8b2
lea eax, [ebp + ebp*2]
lea eax, [edx + eax*8 + 0x18]
mov dword [esp], eax
call fcn.01031fd0
mov eax, dword [esp + 4]
test eax, eax
je 0x101b746
mov dword [esp + 0x38], eax
lea ecx, [eax + 0x30]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.01009b10
mov eax, dword [esp + 0x18]
lea ecx, [eax - 2]
cmp dword [esp + 4], ecx
je 0x101b721
xor ecx, ecx
test cl, cl
je 0x101b4f4
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.01027bb0
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
movzx edx, byte [0x1178188]
test dl, dl
je 0x101b599
test al, al
je 0x101b713
mov eax, dword [ecx + 0x1c]
movzx edx, word [ecx + 0x38]
movzx ebx, dx
mov ebp, eax
sub eax, ebx
test eax, eax
je 0x101b892
cmp dword [ecx + 0x18], ebp
je 0x101b892
movzx edx, dx
cmp ebp, edx
je 0x101b892
mov ecx, dword [esp + 0x44]
add ecx, 0x78
mov dword [esp], ecx
mov dword [esp + 4], eax
sar eax, 0x1f
mov dword [esp + 8], eax
call fcn.01009c40
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 0x38]
imul ecx, dword [eax + 0x40]
mov edx, dword [esp + 0x1c]
sub edx, ecx
lea ecx, [0x1183a00]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 8], ecx
call fcn.01009c40
movzx eax, byte [0x1178188]
test al, al
jne 0x101b6c0
mov eax, dword [0x11802ac]
test eax, eax
jne 0x101b6ad
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x18]
mov dword [esp], eax
and ecx, 0xffffffc0
shr ecx, 3
mov dword [esp + 4], ecx
call fcn.01018870
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x18]
and ecx, 0x3f
mov dword [esp + 0x24], ecx
cmp ecx, 0x20
sbb edx, edx
lea ebx, [ecx - 0x20]
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x2c], ebp
mov esi, ebx
neg ebx
cmp ebx, 0x20
sbb edi, edi
mov ebp, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov ecx, ebx
mov ebx, ebp
shl ebp, cl
and ebp, edi
mov ecx, dword [esp + 0x24]
shr eax, cl
and eax, edx
or ebp, eax
mov eax, ecx
mov ecx, esi
mov edi, ebx
shr ebx, cl
mov ecx, dword [esp + 0x2c]
and ebx, ecx
or ebp, ebx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x20], ebp
mov ebx, ecx
mov ecx, eax
shr edi, cl
and edi, edx
mov dword [ebx + 0x24], edi
mov dword [esp + 0x48], ebx
add esp, 0x40
ret
lea eax, [0x1180a20]
mov dword [esp], eax
call fcn.0101d5a0
jmp 0x101b62a
nop
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [0x1183a00]
mov ecx, dword [0x1183a04]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov byte [esp], 0x21
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.01052e00
jmp 0x101b61c
call fcn.01053bc0
mov ecx, dword [esp + 0x38]
jmp 0x101b599
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [eax - 1]
mov dword [esp + 8], ecx
call fcn.01009b30
movzx ecx, byte [esp + 0xc]
mov eax, dword [esp + 0x18]
jmp 0x101b567
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
jmp 0x101b767
mov esi, dword [esp + 0x20]
lea ebp, [esi - 1]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov edx, esi
mov ebx, edi
test ebp, ebp
jl 0x101b839
lea eax, [ebx - 1]
neg eax
cmp eax, 2
jae 0x101b8a8
mov dword [esp + 0x20], ebp
lea eax, [eax + eax*2]
lea eax, [edx + eax*8 + 0x48]
mov dword [esp], eax
call fcn.01031fd0
mov eax, dword [esp + 4]
test eax, eax
je 0x101b839
mov dword [esp + 0x38], eax
lea ecx, [eax + 0x30]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.01009b10
mov eax, dword [esp + 0x18]
lea ecx, [eax - 2]
cmp dword [esp + 4], ecx
je 0x101b817
xor ecx, ecx
test cl, cl
je 0x101b754
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.01027bb0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.01018910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x1c], eax
jne 0x101b80d
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ebx, [edx + eax*8 + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.01031df0
mov eax, dword [esp + 0x18]
jmp 0x101b754
mov dword [ecx + 0x18], eax
xor eax, eax
jmp 0x101b582
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [eax - 1]
mov dword [esp + 8], ecx
call fcn.01009b30
movzx ecx, byte [esp + 0xc]
mov eax, dword [esp + 0x18]
jmp 0x101b7be
movzx eax, byte [0x1178188]
mov byte [esp + 0x17], al
test al, al
jne 0x101b874
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0101ba80
mov eax, dword [esp + 4]
test eax, eax
je 0x101b868
mov ecx, eax
movzx eax, byte [esp + 0x17]
jmp 0x101b582
mov dword [esp + 0x48], 0
add esp, 0x40
ret
call fcn.01053bc0
jmp 0x101b848
mov ecx, eax
xor eax, eax
jmp 0x101b582
call fcn.01053ac0
mov eax, dword [esp + 0x18]
jmp 0x101b4b9
lea eax, [0xfae73e]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.01038440
mov ecx, 2
call fcn.010627a0
mov eax, ebp
mov ecx, 2
call fcn.010627a0
mov ecx, 0x43
call fcn.01062790
nop
call fcn.010611c0
jmp fcn.0101b450