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

Disassembly:
push 0xffffffffffffffff
push 0x10020468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
push 0xb
mov dword [esp + 0x2c], esi
call fcn.1000c760
mov ecx, dword [esi + 0x38]
call fcn.1000bf70
mov edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], edi
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x48]
push eax
push esi
mov dword [esp + 0x78], ebx
call fcn.1000bc80
mov eax, dword [esi + 0x38]
mov ebp, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov dword [ebp + 4], edi
mov eax, dword [ebp + 0x30]
add ecx, edx
push eax
mov dword [esp + 0x24], ecx
call sub.MSVCRT.dll_free
lea edi, [edi*4 + 4]
mov dword [ebp + 0x30], ebx
push edi
call fcn.100017f0
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x34]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0x34], ebx
push ecx
call fcn.100017f0
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x38]
push eax
call sub.MSVCRT.dll_free
push edi
mov dword [ebp + 0x38], ebx
call fcn.100017f0
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x2c]
push eax
call sub.MSVCRT.dll_free
push edi
mov dword [ebp + 0x2c], ebx
call fcn.100017f0
add esp, 0x20
mov dword [ebp + 0x2c], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x38]
xor eax, eax
cmp ecx, ebx
mov byte [esp + 0x70], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x18], eax
jbe 0x1000ce04
mov eax, dword [esi + 0x38]
mov edi, dword [esp + 0x20]
mov ecx, dword [ebp + 0x38]
xor ebx, ebx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], ebx
sub edx, edi
mov edi, dword [eax]
mov eax, dword [esp + 0x18]
add edx, edi
mov dword [esp + 0x10], ebx
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x7c]
call fcn.1000bf70
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x38], edi
je 0x1000d04a
cmp edi, 0x40
ja 0x1000d04a
cmp edi, ebx
mov dword [esp + 0x34], ebx
jbe 0x1000cca3
mov ecx, dword [esp + 0x7c]
call fcn.1000bd40
test al, 0xc0
mov byte [esp + 0x78], al
jne 0x1000cf46
and eax, 0xf
mov ebx, eax
cmp ebx, 8
mov dword [esp + 0x30], ebx
ja 0x1000cf60
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sub ecx, edx
cmp ebx, ecx
jbe 0x1000cb16
call fcn.1000bce0
mov ecx, dword [esp + 0x7c]
xor esi, esi
mov eax, dword [ecx + 8]
mov edi, dword [ecx]
xor ecx, ecx
add edi, eax
cmp ebx, ecx
mov dword [esp + 0x44], ecx
jbe 0x1000cb51
mov ebx, dword [esp + 0x44]
xor eax, eax
mov al, byte [ecx + edi]
shld ebx, esi, 8
cdq
shl esi, 8
or eax, esi
or edx, ebx
mov ebx, dword [esp + 0x30]
inc ecx
cmp ecx, ebx
mov esi, eax
mov dword [esp + 0x44], edx
jb 0x1000cb2d
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 8]
add eax, ebx
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x50]
cmp eax, 0x80
jae 0x1000cbc2
mov edi, dword [ebp + 0x50]
xor eax, eax
test edi, edi
mov dword [esp + 0x30], eax
je 0x1000cbb3
mov ecx, dword [ebp + 0x4c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
jmp 0x1000cb85
mov ecx, dword [esp + 0x3c]
add eax, edi
shr eax, 1
mov edx, dword [ecx + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
cmp esi, edx
jne 0x1000cb98
cmp ebx, ecx
je 0x1000cbc2
cmp ebx, ecx
ja 0x1000cbaa
jb 0x1000cba2
cmp esi, edx
jae 0x1000cbaa
mov edi, eax
mov eax, dword [esp + 0x30]
jmp 0x1000cbaf
inc eax
mov dword [esp + 0x30], eax
cmp eax, edi
jne 0x1000cb81
mov edx, dword [esp + 0x44]
lea ecx, [ebp + 0x4c]
push edx
push esi
push edi
call fcn.1000f120
mov al, byte [esp + 0x78]
mov ebx, dword [esp + 0x7c]
test al, 0x10
mov edi, 1
je 0x1000cbf5
mov ecx, ebx
call fcn.1000bf70
mov edi, eax
cmp edi, 0x40
ja 0x1000cf7a
mov ecx, ebx
call fcn.1000bf70
cmp eax, 1
jne 0x1000cf94
mov eax, dword [esp + 0x10]
add eax, edi
cmp eax, 0x40
mov dword [esp + 0x10], eax
ja 0x1000cfae
test byte [esp + 0x78], 0x20
je 0x1000cc88
mov ecx, ebx
call fcn.1000bf70
mov edx, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
sub eax, edx
cmp edi, eax
jbe 0x1000cc29
call fcn.1000bce0
cmp esi, 0x21
jne 0x1000cc56
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x1000cc56
cmp edi, 1
jne 0x1000cc85
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x38]
mov cl, byte [ebp + 0x44]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov al, byte [edx + eax]
cmp cl, al
jae 0x1000cc85
mov byte [ebp + 0x44], al
jmp 0x1000cc85
cmp esi, 0x30101
jne 0x1000cc85
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x1000cc85
cmp edi, 5
jne 0x1000cc85
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x38]
mov ecx, dword [ebp + 0x48]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [edx + eax + 1]
cmp ecx, eax
jae 0x1000cc85
mov dword [ebp + 0x48], eax
add dword [ebx + 8], edi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jb 0x1000cada
mov esi, dword [esp + 0x24]
mov edi, ecx
mov ebx, 1
cmp edi, ebx
jne 0x1000ccbf
cmp dword [esp + 0x10], ebx
jne 0x1000ccbf
mov dword [esp + 0x2c], 0
jmp 0x1000cdad
mov ecx, dword [esp + 0x10]
lea eax, [edi - 1]
cmp ecx, eax
jb 0x1000cfc8
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.100042b0
lea eax, [esp + 0x58]
push edi
push eax
call fcn.100042b0
lea eax, [edi - 1]
add esp, 0x10
xor ebx, ebx
test eax, eax
jbe 0x1000cd3e
mov ecx, dword [esi + 0x38]
call fcn.1000bf70
cmp eax, dword [esp + 0x10]
jae 0x1000cffc
mov ecx, dword [esp + 0x5c]
cmp byte [eax + ecx], 0
jne 0x1000cffc
mov byte [eax + ecx], 1
mov ecx, dword [esi + 0x38]
call fcn.1000bf70
cmp eax, edi
jae 0x1000cfe2
mov ecx, dword [esp + 0x50]
cmp byte [eax + ecx], 0
jne 0x1000cfe2
mov byte [eax + ecx], 1
inc ebx
lea eax, [edi - 1]
cmp ebx, eax
jb 0x1000ccf0
mov ebx, dword [esp + 0x10]
lea eax, [edi - 1]
sub ebx, eax
cmp ebx, 1
je 0x1000cd8a
test ebx, ebx
mov dword [esp + 0x78], 0
jbe 0x1000cd8a
mov ecx, dword [esp + 0x7c]
call fcn.1000bf70
cmp eax, dword [esp + 0x10]
jae 0x1000d016
mov ecx, dword [esp + 0x5c]
cmp byte [eax + ecx], 0
jne 0x1000d016
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x78]
inc eax
cmp eax, ebx
mov dword [esp + 0x78], eax
jb 0x1000cd58
xor eax, eax
test edi, edi
jbe 0x1000cda5
mov ecx, dword [esp + 0x50]
cmp byte [eax + ecx], 0
je 0x1000cda1
inc eax
cmp eax, edi
jb 0x1000cd94
jmp 0x1000cda5
mov dword [esp + 0x2c], eax
cmp eax, edi
je 0x1000d030
mov ecx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 0x30]
add edx, edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp]
sub ecx, edx
cmp ebx, ecx
jbe 0x1000cddd
call fcn.1000bce0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x34]
mov edi, dword [esp + 0x1c]
mov dl, byte [esp + 0x2c]
add edi, ebx
mov byte [ecx + eax], dl
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], edi
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x1000ca8a
xor ebx, ebx
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x20]
mov edi, dword [ecx + 8]
sub edi, edx
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 8]
sub edx, dword [esp + 0x20]
add edx, dword [ecx]
mov ecx, dword [ebp + 0x38]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + 0x40]
cmp edi, eax
je 0x1000ce6a
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
je 0x1000ce54
push eax
call sub.MSVCRT.dll_free
add esp, 4
mov dword [ebp + 0x3c], ebx
cmp edi, ebx
mov dword [ebp + 0x40], ebx
je 0x1000ce8b
push edi
call fcn.100017f0
add esp, 4
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], edi
cmp edi, ebx
je 0x1000ce8b
mov esi, dword [esp + 0x20]
mov ecx, edi
mov edi, dword [ebp + 0x3c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
push ecx
call sub.MSVCRT.dll_free
mov edx, dword [esp + 0x60]
push edx
call sub.MSVCRT.dll_free
add esp, 8
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], 0xffffffff
call fcn.1000bbe0
push ebx
push 0xc
mov ecx, esi
call fcn.1000c760
mov eax, dword [ebp + 0x28]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x28], ebx
lea edx, [ecx*8]
push edx
call fcn.100017f0
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor edi, edi
cmp eax, ebx
jbe 0x1000cf0e
mov eax, dword [ebp + 0x28]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x7c], eax
call fcn.1000be20
mov ecx, dword [esp + 0x7c]
inc edi
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + edi*8 - 4], edx
cmp edi, eax
jb 0x1000ceea
mov ecx, dword [esi + 0x38]
call fcn.1000be20
mov ecx, eax
or ecx, edx
je 0x1000d07e
mov edi, dword [esp + 0x28]
cmp eax, 0xa
jne 0x1000d064
cmp edx, ebx
jne 0x1000d064
lea edx, [ebp + 0xc]
mov ecx, esi
push edx
push edi
call fcn.1000c7b0
jmp 0x1000d06c
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x78]
push 0x10023730
push ecx
mov byte [esp + 0x80], al
call sub.MSVCRT.dll__CxxThrowException
mov dl, byte [esp + 0x78]
lea eax, [esp + 0x78]
push 0x10023730
push eax
mov byte [esp + 0x80], dl
call sub.MSVCRT.dll__CxxThrowException
mov cl, byte [esp + 0x78]
lea edx, [esp + 0x78]
push 0x10023730
push edx
mov byte [esp + 0x80], cl
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x78]
push 0x10023730
push ecx
mov byte [esp + 0x80], al
call sub.MSVCRT.dll__CxxThrowException
mov dl, byte [esp + 0x78]
lea eax, [esp + 0x78]
push 0x10023730
push eax
mov byte [esp + 0x80], dl
call sub.MSVCRT.dll__CxxThrowException
mov cl, byte [esp + 0x78]
lea edx, [esp + 0x78]
push 0x10023730
push edx
mov byte [esp + 0x80], cl
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x78]
push 0x10023730
push ecx
mov byte [esp + 0x80], al
call sub.MSVCRT.dll__CxxThrowException
mov dl, byte [esp + 0x78]
lea eax, [esp + 0x78]
push 0x10023730
push eax
mov byte [esp + 0x80], dl
call sub.MSVCRT.dll__CxxThrowException
mov cl, byte [esp + 0x78]
lea edx, [esp + 0x78]
push 0x10023730
push edx
mov byte [esp + 0x80], cl
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x78]
push 0x10023730
push ecx
mov byte [esp + 0x80], al
call sub.MSVCRT.dll__CxxThrowException
mov dl, byte [esp + 0x78]
lea eax, [esp + 0x78]
push 0x10023730
push eax
mov byte [esp + 0x80], dl
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esi + 0x38]
call fcn.1000be00
mov ecx, dword [esi + 0x38]
call fcn.1000be20
mov ecx, eax
or ecx, edx
jne 0x1000cf24
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8