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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], edx
push edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x10], edi
cmp byte [esi + 0x49], 4
mov eax, dword [esi]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
jne 0x1001c7ae
mov eax, dword [esi + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 8]
mov edx, dword [esi + 0x3c]
test ecx, ecx
je 0x1001c7e7
cmp ecx, esi
je 0x1001c7c5
test edx, edx
je 0x1001c7ce
cmp dword [ecx + 0x3c], edx
je 0x1001c7ce
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x1001c7b8
jmp 0x1001c7e7
test ecx, ecx
je 0x1001c7e7
push esi
call fcn.100150c0
add esp, 4
test eax, eax
jne 0x1001c9b9
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x10], 0
mov ebx, dword [ebp + 0xc]
jne 0x1001c845
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x1001c81b
mov ecx, dword [ebp + 8]
nop dword [eax]
test byte [eax + 0x48], 0x10
je 0x1001c814
cmp dword [eax + 0x18], ecx
jne 0x1001c814
cmp dword [eax + 0x1c], ebx
jne 0x1001c814
mov byte [eax + 0x49], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x1001c800
test byte [esi + 0x48], 2
mov eax, dword [ebp + 8]
je 0x1001c848
test ebx, ebx
jl 0x1001c848
jg 0x1001c82e
test eax, eax
je 0x1001c848
sub eax, 1
mov ecx, ebx
sbb ecx, 0
cmp dword [esi + 0x18], eax
jne 0x1001c845
cmp dword [esi + 0x1c], ecx
jne 0x1001c845
or edi, 0xffffffff
jmp 0x1001c872
mov eax, dword [ebp + 8]
test edi, edi
jne 0x1001c875
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
push eax
call fcn.10015160
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1001c9b7
mov edi, dword [esp + 0x10]
mov dword [ebp + 0x20], edi
movsx eax, word [esi + 0x4c]
lea ecx, [esp + 0x14]
push ecx
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
mov edi, dword [esi + eax*4 + 0x78]
push dword [ebp + 0x10]
mov eax, dword [esp + 0x2c]
push ebx
push ecx
push dword [esp + 0x24]
mov eax, dword [eax + 0x50]
mov ecx, edi
mov edx, eax
mov dword [esp + 0x34], eax
call fcn.1001ace0
mov ecx, eax
add esp, 0x1c
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x1001c9b7
movsx eax, word [esi + 0x4c]
movzx edx, word [esi + eax*2 + 0x4e]
lea ecx, [esi + eax*2]
mov eax, dword [ebp + 0x20]
mov ebx, edx
test eax, eax
jne 0x1001c957
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001c8ed
call fcn.10011c00
jmp 0x1001c8f2
call fcn.10011920
mov ecx, eax
test ecx, ecx
jne 0x1001c9b7
mov eax, dword [edi + 0x40]
movzx edx, byte [eax + ebx*2 + 1]
movzx eax, byte [eax + ebx*2]
shl eax, 8
or edx, eax
movzx eax, word [edi + 0x14]
and edx, eax
add edx, dword [edi + 0x38]
cmp byte [edi + 5], cl
jne 0x1001c923
mov ecx, dword [esp + 0x18]
mov eax, dword [edx]
mov dword [ecx], eax
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call fcn.1001ab20
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov edx, ebx
mov ecx, edi
push eax
movzx eax, word [esp + 0x10]
push eax
call fcn.1001b080
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
jne 0x1001c9b7
jmp 0x1001c96a
jns 0x1001c96a
cmp word [edi + 0x12], 0
jbe 0x1001c96a
lea eax, [edx + 1]
mov word [ecx + 0x4e], ax
movzx ebx, ax
lea eax, [esp + 0x10]
mov edx, ebx
push eax
push 0
push 0
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x28]
call fcn.1001b160
mov ecx, dword [esp + 0x24]
xor eax, eax
add esp, 0x14
mov word [esi + 0x2c], ax
test ecx, ecx
jne 0x1001c9b7
cmp byte [edi + 1], al
je 0x1001c9b7
and byte [esi + 0x48], 0xfd
mov ecx, esi
call fcn.1001c4c0
mov ecx, eax
movsx eax, word [esi + 0x4c]
mov eax, dword [esi + eax*4 + 0x78]
mov byte [eax + 1], 0
mov byte [esi + 0x49], 0
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret