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

Disassembly:
push 0xffffffffffffffff
push 0x10070578
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007bf74]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0xd0]
mov eax, dword [edi + 8]
mov ecx, dword [ecx + 0xc]
mov esi, dword [eax + 0x3f4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], esi
call eax
cmp dword [0x1007a11c], 0
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0xcc], ebx
je 0x1001c1ab
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0x58]
mov edx, dword [esp + 0xe4]
mov ecx, dword [edx + 8]
mov byte [esp + 0xa8], 1
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb0], eax
mov ecx, dword [edi + 8]
imul esi, esi, 0x4b0
push 1
push esi
add ecx, 0x564
call fcn.1000b210
mov ecx, dword [edi + 8]
push 1
mov esi, eax
push 0x960
add ecx, 0x55c
mov dword [esp + 0x44], esi
call fcn.1000b210
test eax, eax
mov dword [esp + 0x40], eax
je 0x1001c5a0
test esi, esi
je 0x1001c5a0
mov edx, dword [esp + 0xe4]
push edx
push 6
mov ecx, edi
call fcn.10018c80
test ebx, ebx
mov dword [esp + 0x4c], eax
jbe 0x1001c59a
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x8c]
call edx
test ax, 0xfff
jne 0x1001c261
cmp byte [esp + 0xa8], 0
je 0x1001c283
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x8c]
call edx
test ax, 0xfff0
jne 0x1001c283
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x8c]
call edx
test eax, eax
je 0x1001c283
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x90]
call edx
sub dword [esp + 0xcc], 1
jmp 0x1001c58c
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x8c]
call edx
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0xbc]
mov bp, word [eax + esi*2]
mov ecx, dword [esp + 0xb8]
or bp, word [eax + ecx*2]
mov ebx, dword [esp + 0xc0]
or bp, word [eax + ebx*2]
mov dl, 1
movzx eax, bp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, 0x4b0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0xcc], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
jbe 0x1001c53d
jmp 0x1001c316
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
cmp dl, 1
je 0x1001c379
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x8c]
call eax
mov edx, dword [esp + 0x8c]
movzx esi, ax
mov eax, dword [edx + 8]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x30], esi
call eax
and ax, 0xfff
test esi, 0xfff0
movzx eax, ax
je 0x1001c53d
test ax, ax
jne 0x1001c53d
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov eax, 0x19
cmp dword [esp + 0x1c], eax
jb 0x1001c53d
cmp dword [esp + 0x20], eax
jb 0x1001c53d
mov edx, dword [esp + 0xd0]
mov eax, dword [edx + 0xc]
cmp dword [eax + 0x24], 1
mov edi, dword [esp + 0x98]
mov ebp, dword [esp + 0x90]
sete dl
mov eax, ecx
sub ecx, dword [esp + 0xdc]
imul eax, edi
mov byte [esp + 0x48], dl
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 8]
add eax, ebp
mov dword [esp + 0x5c], ecx
cmp byte [edx + 0x574], 0
mov dword [esp + 0x6c], eax
je 0x1001c3ef
mov ebx, dword [edx + 0x554]
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x5c], ecx
mov ecx, esi
sub esi, dword [esp + 0xdc]
imul ecx, edi
add ecx, ebp
mov dword [esp + 0x60], esi
cmp byte [edx + 0x574], 0
mov dword [esp + 0x70], ecx
je 0x1001c41b
mov ecx, dword [edx + 0x554]
mov ecx, dword [ecx + esi*4]
mov dword [esp + 0x60], ecx
mov ecx, ebx
sub ebx, dword [esp + 0xdc]
imul ecx, edi
add ecx, ebp
mov dword [esp + 0x64], ebx
cmp byte [edx + 0x574], 0
mov dword [esp + 0x74], ecx
je 0x1001c450
mov edx, dword [edx + 0x554]
mov ecx, dword [edx + ebx*4]
mov dword [esp + 0x64], ecx
jmp 0x1001c450
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xe8]
push eax
mov eax, dword [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x30]
push edx
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x2c]
push 3
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.100186d0
mov edi, dword [esp + 0x4c]
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 0
push ebx
mov ecx, edi
call eax
mov ebp, dword [esp + 0x38]
mov edx, dword [edi]
mov edx, dword [edx + 8]
movzx esi, word [esp + 0x18]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x58]
push ecx
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call edx
test eax, eax
je 0x1001c514
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
add dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
sub eax, esi
movzx eax, ax
movzx eax, ax
add dword [esp + 0x2c], eax
sub dword [esp + 0x1c], eax
mov edx, eax
imul edx, dword [esp + 0x28]
add ebx, edx
sub dword [esp + 0x20], ecx
lea edx, [ebp + ecx*2]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x90]
call edx
sub dword [esp + 0xcc], 1
mov edi, dword [esp + 0x14]
mov dl, 0
jne 0x1001c301
cmp dword [0x1007a130], 0
je 0x1001c58c
mov esi, dword [esp + 0x24]
test esi, esi
jbe 0x1001c58c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 8]
push eax
push ecx
mov ecx, dword [edx]
push 0
call fcn.10005910
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
push 0
push eax
mov eax, dword [edi + 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 + 0x44], eax
cmp dword [esp + 0xcc], 0
ja 0x1001c20e
mov eax, dword [esp + 0x44]
jmp 0x1001c5a5
mov eax, 0x8007000e
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x60