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

Disassembly:
sub esp, 0x60
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
mov esi, ecx
xor edx, edx
mov cl, byte [eax]
push edi
lea ebp, [esi + 4]
lea ebx, [esi + 0x14]
mov byte [esi], cl
mov dword [ebp], edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 0x1c]
mov edi, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov edi, ecx
cmp ecx, eax
mov dword [esp + 0x18], edi
je 0x1001aa0f
jmp 0x1001a846
xor edx, edx
cmp dword [esi + 0x2c], edx
je 0x1001a882
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x1001a882
lea ecx, [eax + 0x10]
push edi
cmp ecx, edx
mov dword [esi + 0x1c], ecx
push eax
jne 0x1001a875
call fcn.1001d660
add esp, 8
mov ecx, esi
call fcn.1001aa20
jmp 0x1001a9d2
call fcn.1001d660
add esp, 8
jmp 0x1001a9d2
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
mov eax, dword [esi + 0x2c]
add esp, 4
test eax, eax
jne 0x1001a8f6
mov ecx, esi
mov dword [esi + 0x28], 2
call fcn.1001c5a0
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x20]
mov dword [edx + 4], edi
mov eax, dword [esi + 0x24]
add eax, 4
add edi, 0x800
push eax
push edi
call fcn.1001cee0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov edi, ebp
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [edi + 0xc], edx
mov edi, ebx
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
jmp 0x1001a9b7
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [edx + ecx*4 - 4]
cmp eax, ecx
jae 0x1001a93c
add eax, 4
lea ecx, [esp + 0x30]
mov dword [esi + 0x20], eax
mov dword [eax], edi
mov edx, dword [esi + 0x20]
push edx
push edi
call fcn.1001cee0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x1001a9b7
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov ecx, esi
sar eax, 2
inc eax
mov dword [esp + 0x74], eax
add eax, eax
push eax
call fcn.1001c5c0
mov ecx, dword [esp + 0x74]
push eax
lea ecx, [eax + ecx*4]
mov dword [esp + 0x78], ecx
mov dword [ecx], edi
mov edx, dword [esi + 0xc]
push edx
lea ecx, [esp + 0x48]
call fcn.1001cee0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x50]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x74]
push eax
push edi
call fcn.1001cee0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x18]
push edx
push eax
lea ecx, [eax + 0x10]
mov dword [esi + 0x1c], ecx
call fcn.1001d660
mov edi, dword [esp + 0x20]
add esp, 8
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x14]
add edi, 0x10
inc edx
cmp edi, eax
mov dword [esi + 0x2c], edx
mov dword [esp + 0x18], edi
jne 0x1001aa05
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov edi, eax
lea ecx, [eax + 0x1000]
mov dword [esp + 0x14], ecx
cmp edi, dword [esp + 0x68]
jne 0x1001a844
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4