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

Disassembly:
push 0xffffffffffffffff
push 0x10070488
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 + 0xdc]
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 + 0x15], 0
mov byte [esp + 0x16], 0
call eax
mov esi, dword [esp + 0xd8]
cmp dword [0x1007a11c], ebp
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x18], esi
je 0x1001a6c2
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 0x1001abd0
test edi, edi
je 0x1001abd0
push ebp
push 5
mov ecx, ebx
call fcn.10018c80
test esi, esi
mov dword [esp + 0x54], eax
mov byte [esp + 0x14], 0
jbe 0x1001abca
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x94]
call edx
test ax, 0xfff
jne 0x1001a776
cmp byte [esp + 0xb0], 0
je 0x1001a79a
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x94]
call edx
test ax, 0xfff0
jne 0x1001a79a
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x94]
call edx
test eax, eax
je 0x1001a79a
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x98]
call edx
sub dword [esp + 0x18], 1
xor byte [esp + 0x14], 1
jmp 0x1001abbf
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x94]
xor esi, esi
call edx
mov ebp, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
test ax, 0xfff0
sete al
test al, al
mov byte [esp + 0x17], al
jne 0x1001a7f6
mov eax, dword [esp + 0xac]
mov dx, word [eax + ecx*2]
or dx, word [eax + ebp*2]
mov edi, dword [esp + 0xc8]
or dx, word [eax + edi*2]
mov byte [esp + 0x15], 1
movzx eax, dx
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x17]
test al, al
mov edi, dword [esp + 0xd0]
je 0x1001a8f0
cmp dword [esp + 0x18], esi
jbe 0x1001a88d
cmp byte [esp + 0x14], 1
jne 0x1001a81a
test esi, esi
je 0x1001a857
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 0x1001a88d
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 0xc]
push 0
lea ecx, [esp + 0x98]
add esi, 1
call eax
xor byte [esp + 0x14], 1
jmp 0x1001a805
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xc0]
mov dx, word [eax + ecx*2]
mov ebp, dword [esp + 0xc4]
or dx, word [eax + ebp*2]
mov esi, dword [esp + 0xc8]
or dx, word [eax + esi*2]
mov byte [esp + 0x15], 1
movzx eax, dx
mov dword [esp + 0x1c], eax
jmp 0x1001a8fb
test esi, esi
je 0x1001a8e2
cmp byte [esp + 0x16], 0
je 0x1001a8ad
mov ecx, dword [esp + 0xdc]
push ecx
mov ecx, dword [ebx + 0xc]
call fcn.100156d0
mov byte [esp + 0x16], 0
mov edx, dword [esp + 0xdc]
mov ecx, dword [edx]
push 0
push edi
push 2
push esi
push 0
lea eax, [esi + 2]
push eax
mov eax, dword [esp + 0xf8]
add ecx, eax
push 0
push ecx
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx]
push 5
call fcn.10005ad0
sub dword [esp + 0x18], esi
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc4]
cmp byte [esp + 0x15], 0
je 0x1001abbf
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 0x1001ab6b
jmp 0x1001a940
mov ebp, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
cmp byte [esp + 0x15], 1
je 0x1001a99e
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 0x1001ab6b
test ax, ax
jne 0x1001ab6b
mov ebp, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov eax, 0x19
cmp dword [esp + 0x24], eax
jb 0x1001ab6b
cmp dword [esp + 0x28], eax
jb 0x1001ab6b
mov edx, dword [esp + 0xdc]
mov eax, dword [edx + 0xc]
cmp dword [eax + 0x24], 1
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x98]
sete dl
mov eax, ecx
sub ecx, dword [esp + 0xe8]
imul eax, esi
mov byte [esp + 0x50], dl
mov edx, dword [ebx + 8]
add eax, edi
mov dword [esp + 0x64], ecx
cmp byte [edx + 0x574], 0
mov dword [esp + 0x74], eax
je 0x1001aa0a
mov ebx, dword [edx + 0x554]
movzx ecx, word [ebx + ecx*2]
mov dword [esp + 0x64], ecx
mov ebx, ebp
sub ebp, dword [esp + 0xe8]
imul ebx, esi
add ebx, edi
mov dword [esp + 0x68], ebp
cmp byte [edx + 0x574], 0
mov dword [esp + 0x78], ebx
je 0x1001aa37
mov ebx, dword [edx + 0x554]
movzx ebx, word [ebx + ebp*2]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0xc8]
mov ebx, ebp
sub ebp, dword [esp + 0xe8]
imul ebx, esi
add ebx, edi
mov dword [esp + 0x6c], ebp
cmp byte [edx + 0x574], 0
mov dword [esp + 0x7c], ebx
je 0x1001aa70
mov edx, dword [edx + 0x554]
movzx edx, word [edx + ebp*2]
mov dword [esp + 0x6c], edx
jmp 0x1001aa70
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xf4]
push eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0xf4]
push edx
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x44]
push 3
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.100186d0
mov edi, dword [esp + 0x54]
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 0
push ebp
mov ecx, edi
call eax
mov ebx, dword [esp + 0x44]
mov edx, dword [edi]
mov edx, dword [edx + 8]
movzx esi, word [esp + 0x20]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x60]
push ecx
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push eax
mov ecx, edi
call edx
test eax, eax
je 0x1001ab35
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
mov eax, dword [esp + 0x18]
xor byte [esp + 0x14], 1
mov ebx, dword [esp + 0x2c]
sub eax, 1
test eax, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x15], 0
ja 0x1001a932
cmp dword [0x1007a130], 0
je 0x1001abbf
mov esi, dword [esp + 0x30]
test esi, esi
jbe 0x1001abbf
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 + 0x16], 1
cmp dword [esp + 0x18], 0
ja 0x1001a723
mov eax, dword [esp + 0x3c]
jmp 0x1001abd5
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 0x64