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

Disassembly:
push 0xffffffffffffffff
push 0x100704e8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007bf74]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0xd8]
mov eax, dword [ebx + 8]
mov ecx, dword [ecx + 0xc]
mov edi, dword [eax + 0x3f4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
xor ebp, ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], edi
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call eax
mov esi, dword [esp + 0xd4]
cmp dword [0x1007a11c], ebp
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x18], esi
je 0x1001b142
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x58]
mov edx, dword [ebp + 8]
mov byte [esp + 0xb0], 1
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], eax
mov ecx, dword [ebx + 8]
imul edi, edi, 0x4b0
push 1
push edi
add ecx, 0x564
call fcn.1000b210
mov ecx, dword [ebx + 8]
push 1
mov edi, eax
push 0x960
add ecx, 0x55c
mov dword [esp + 0x50], edi
call fcn.1000b210
test eax, eax
mov dword [esp + 0x4c], eax
je 0x1001b5d0
test edi, edi
je 0x1001b5d0
push ebp
push 2
mov ecx, ebx
call fcn.10018c80
test esi, esi
mov dword [esp + 0x54], eax
jbe 0x1001b5ca
mov edi, edi
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x94]
call edx
test ax, 0xfff
jne 0x1001b1f3
cmp byte [esp + 0xb0], 0
je 0x1001b212
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x94]
call edx
test ax, 0xfff0
jne 0x1001b212
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x94]
call edx
test eax, eax
je 0x1001b212
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x98]
call edx
sub dword [esp + 0x18], 1
jmp 0x1001b5bf
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x94]
xor esi, esi
call edx
mov edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
test ax, 0xfff0
sete dl
test dl, dl
jne 0x1001b25b
mov eax, dword [esp + 0xac]
mov bp, word [eax + ecx*2]
or bp, word [eax + edi*2]
mov byte [esp + 0x16], 1
movzx eax, bp
mov dword [esp + 0x1c], eax
test dl, dl
mov ebp, dword [esp + 0xd0]
je 0x1001b311
lea ebx, [ebx]
cmp dword [esp + 0x18], esi
jbe 0x1001b2ae
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x94]
call eax
test ax, 0xfff0
sete al
test al, al
je 0x1001b2ae
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 0xc]
push 0
lea ecx, [esp + 0x98]
add esi, 1
call eax
jmp 0x1001b270
test esi, esi
je 0x1001b303
cmp byte [esp + 0x17], 0
je 0x1001b2ce
mov ecx, dword [esp + 0xd8]
push ecx
mov ecx, dword [ebx + 0xc]
call fcn.100156d0
mov byte [esp + 0x17], 0
mov edx, dword [esp + 0xd8]
mov ecx, dword [edx]
push 0
push ebp
push 4
push esi
push 0
lea eax, [esi + esi]
push eax
mov eax, dword [esp + 0xf4]
add ecx, eax
push 0
push ecx
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx]
push 2
call fcn.10005ad0
sub dword [esp + 0x18], esi
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
cmp byte [esp + 0x16], 0
je 0x1001b5bf
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov eax, 0x4b0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
xor eax, eax
cmp dword [esp + 0x18], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
jbe 0x1001b56b
jmp 0x1001b36e
mov edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
cmp byte [esp + 0x16], 1
je 0x1001b3cc
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x94]
call eax
mov edx, dword [esp + 0x94]
movzx esi, ax
mov eax, dword [edx + 8]
lea ecx, [esp + 0x94]
mov dword [esp + 0x1c], esi
call eax
and ax, 0xfff
test esi, 0xfff0
movzx eax, ax
je 0x1001b56b
test ax, ax
jne 0x1001b56b
mov edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov eax, 0x19
cmp dword [esp + 0x24], eax
jb 0x1001b56b
cmp dword [esp + 0x28], eax
jb 0x1001b56b
mov edx, dword [esp + 0xd8]
mov eax, dword [edx + 0xc]
cmp dword [eax + 0x24], 1
mov esi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x98]
sete dl
mov eax, ecx
sub ecx, dword [esp + 0xe4]
imul eax, esi
mov byte [esp + 0x50], dl
mov edx, ecx
mov ecx, dword [ebx + 8]
add eax, ebp
mov dword [esp + 0x64], edx
cmp byte [ecx + 0x574], 0
mov dword [esp + 0x74], eax
je 0x1001b439
mov ebx, dword [ecx + 0x554]
mov edx, dword [ebx + edx*4]
mov dword [esp + 0x64], edx
mov ebx, edi
sub edi, dword [esp + 0xe4]
imul ebx, esi
add ebx, ebp
mov dword [esp + 0x68], edi
cmp byte [ecx + 0x574], 0
mov dword [esp + 0x78], ebx
je 0x1001b465
mov ecx, dword [ecx + 0x554]
mov ecx, dword [ecx + edi*4]
mov dword [esp + 0x68], ecx
mov ecx, 8
jmp 0x1001b478
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov dword [esp + ecx + 0x74], eax
mov dword [esp + ecx + 0x64], edx
add ecx, 4
cmp ecx, 0x10
jb 0x1001b470
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0xf0]
push eax
mov eax, dword [esp + 0xf0]
push ecx
push edx
push ebp
push eax
push 2
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x84]
push edx
call fcn.100186d0
mov edi, dword [esp + 0x54]
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 0
push ebp
mov ecx, edi
call edx
mov ebx, dword [esp + 0x44]
mov eax, dword [edi]
movzx esi, word [esp + 0x20]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [eax + 8]
push ebx
push ecx
mov ecx, edi
call edx
test eax, eax
je 0x1001b542
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
add dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x5c]
sub eax, esi
movzx eax, ax
movzx eax, ax
add dword [esp + 0x38], eax
sub dword [esp + 0x24], eax
mov edx, eax
imul edx, dword [esp + 0x34]
add ebp, edx
sub dword [esp + 0x28], ecx
lea edx, [ebx + ecx*2]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x98]
call edx
sub dword [esp + 0x18], 1
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x16], 0
jne 0x1001b360
cmp dword [0x1007a130], 0
je 0x1001b5bf
mov esi, dword [esp + 0x30]
test esi, esi
jbe 0x1001b5bf
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 8]
push eax
push ecx
mov ecx, dword [edx]
push 0
call fcn.10005910
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
push 0
push eax
mov eax, dword [ebx + 8]
push 2
push esi
push 0
push ecx
mov ecx, dword [eax]
push 0
push 0
push edx
call fcn.10005ad0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x17], 1
cmp dword [esp + 0x18], 0
ja 0x1001b1a0
mov eax, dword [esp + 0x3c]
jmp 0x1001b5d5
mov eax, 0x8007000e
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x60