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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x103249f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1043900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
cmp ebx, 5
ja case.0x101b65ed.0
jmp dword [ebx*4 + 0x101b68e0]
mov ebx, dword [edi + 8]
lea ecx, [eax + 0x78]
mov eax, dword [edi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ebp + 8], eax
jmp 0x101b6660
mov ebx, dword [edi + 8]
lea ecx, [eax + 0x60]
mov eax, dword [edi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ebp + 8], eax
jmp 0x101b6660
mov ebx, dword [edi + 8]
lea ecx, [eax + 0x68]
mov eax, dword [edi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ebp + 8], eax
jmp 0x101b6660
mov ebx, dword [edi + 8]
lea ecx, [eax + 0x70]
mov eax, dword [edi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ebp + 8], eax
jmp 0x101b6660
cmp dword [ebp - 0x14], 5
lea ecx, [eax + 0x58]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ebp + 8], eax
je 0x101b68b8
push dword [ecx + 4]
call fcn.1006c260
mov edx, eax
neg edx
lea ecx, [edx + 0xf4627]
cmp ecx, 0xf4627
ja 0x101b668c
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
sub eax, dword [ecx]
sar eax, 4
add eax, edx
mov dword [ebp - 0x10], eax
jmp 0x101b6691
mov eax, edx
mov dword [ebp - 0x10], edx
cmp byte [edi + 5], 0
mov ecx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
je 0x101b66e6
mov edx, dword [edi + 0x3c]
test edx, edx
jne 0x101b66ab
mov edx, dword [edi + 0x34]
jmp 0x101b66bc
mov ecx, dword [edi + 0x38]
mov eax, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov edx, dword [eax + edx]
add edx, ecx
add edx, dword [edi + 0x34]
push dword [edi + 0x2c]
mov eax, dword [edi + 0x30]
lea ecx, [ebp - 0x20]
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push ecx
push dword [edi + 0x1c]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x14]
add ecx, edx
push esi
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
cmp byte [edi], 0
je 0x101b6709
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x101b66fd
cmp eax, 3
je 0x101b66fd
cmp eax, 2
jne 0x101b6709
mov dword [ebp - 4], 0
jmp 0x101b68a7
cmp byte [edi + 1], 0
jne 0x101b68a0
cmp byte [edi + 2], 0
jne 0x101b68a0
cmp byte [edi + 3], 0
jne 0x101b68a0
cmp byte [edi + 4], 0
jne 0x101b68a0
cmp byte [edi + 6], 0
je 0x101b67a0
mov eax, ebx
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x101b6744
mov ebx, dword [ebx]
test ecx, ecx
jne 0x101b6756
mov edx, 0x1035264c
mov ecx, esi
call fcn.10117960
jmp 0x101b6763
push ecx
mov edx, ebx
mov ecx, esi
call fcn.101178e0
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov al, byte [eax + 4]
or al, 0x40
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
add dword [esi + 0xc], 0x10
cmp dword [eax + 0xc], 0
jle 0x101b6784
mov ecx, esi
call fcn.101074c0
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
push ecx
mov dword [ecx], eax
mov byte [ecx + 8], 0x16
add dword [esi + 0xc], 0x10
mov eax, dword [esi + 0xc]
add eax, 0xffffffe0
jmp 0x101b6888
cmp byte [edi + 7], 0
je 0x101b6805
mov eax, dword [edi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, ebx
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x101b67b9
mov ebx, dword [ebx]
test ecx, ecx
jne 0x101b67cb
mov edx, 0x1035264c
mov ecx, esi
call fcn.10117960
jmp 0x101b67d8
push ecx
mov edx, ebx
mov ecx, esi
call fcn.101178e0
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov al, byte [eax + 4]
or al, 0x40
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
add dword [esi + 0xc], 0x10
cmp dword [eax + 0xc], 0
jle 0x101b67f9
mov ecx, esi
call fcn.101074c0
mov ecx, dword [ebp + 0xc]
push esi
call fcn.1006c260
push ecx
jmp 0x101b6882
mov eax, dword [edi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, ebx
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x101b6818
mov ebx, dword [ebx]
test ecx, ecx
jne 0x101b682a
mov edx, 0x1035264c
mov ecx, esi
call fcn.10117960
jmp 0x101b6837
push ecx
mov edx, ebx
mov ecx, esi
call fcn.101178e0
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov al, byte [eax + 4]
or al, 0x40
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
add dword [esi + 0xc], 0x10
cmp dword [eax + 0xc], 0
jle 0x101b6858
mov ecx, esi
call fcn.101074c0
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
push 2
mov byte [eax + 8], 0
add dword [esi + 0xc], 0x10
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov byte [ecx + 8], 2
mov ecx, esi
add dword [esi + 0xc], 0x10
call fcn.100f60b0
mov eax, dword [esi + 0xc]
sub eax, 0x20
mov edx, dword [ebp - 0x10]
mov ecx, esi
push eax
call fcn.100f6600
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.1003b040
jmp 0x101b68b8
mov dword [ebp - 4], 1
mov edx, 0xfffffffe
call fcn.100f59a0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x14], ebx
cmp ebx, 6
jl 0x101b65e8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8