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

Disassembly:
push 0xffffffffffffffff
push 0x10070518
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 0x1001b692
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 0x1001bb20
test edi, edi
je 0x1001bb20
push ebp
push 3
mov ecx, ebx
call fcn.10018c80
test esi, esi
mov dword [esp + 0x54], eax
jbe 0x1001bb1a
mov edi, edi
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x94]
call edx
test ax, 0xfff
jne 0x1001b743
cmp byte [esp + 0xb0], 0
je 0x1001b762
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x94]
call edx
test ax, 0xfff0
jne 0x1001b762
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x94]
call edx
test eax, eax
je 0x1001b762
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x98]
call edx
sub dword [esp + 0x18], 1
jmp 0x1001bb0f
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 0x1001b7ab
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 0x1001b861
lea ebx, [ebx]
cmp dword [esp + 0x18], esi
jbe 0x1001b7fe
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 0x1001b7fe
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 0xc]
push 0
lea ecx, [esp + 0x98]
add esi, 1
call eax
jmp 0x1001b7c0
test esi, esi
je 0x1001b853
cmp byte [esp + 0x17], 0
je 0x1001b81e
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 + 1]
push eax
mov eax, dword [esp + 0xf4]
add ecx, eax
push 0
push ecx
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx]
push 3
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 0x1001bb0f
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 0x1001babb
jmp 0x1001b8be
mov edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
cmp byte [esp + 0x16], 1
je 0x1001b91c
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 0x1001babb
test ax, ax
jne 0x1001babb
mov edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov eax, 0x19
cmp dword [esp + 0x24], eax
jb 0x1001babb
cmp dword [esp + 0x28], eax
jb 0x1001babb
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 0x1001b989
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 0x1001b9b5
mov ecx, dword [ecx + 0x554]
mov ecx, dword [ecx + edi*4]
mov dword [esp + 0x68], ecx
mov ecx, 8
jmp 0x1001b9c8
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 0x1001b9c0
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 0x1001ba92
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 0x1001b8b0
cmp dword [0x1007a130], 0
je 0x1001bb0f
mov esi, dword [esp + 0x30]
test esi, esi
jbe 0x1001bb0f
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 0x1001b6f0
mov eax, dword [esp + 0x3c]
jmp 0x1001bb25
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