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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001523e
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x1001c018]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x1001c018]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x10001dd4
sub ecx, edi
mov eax, esi
mov edi, ecx
lea esi, [esp + 0x2c]
call fcn.10002620
mov dword [esp + 0x198], ebx
mov edi, 0xf
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
lea edx, [esp + 0x64]
push edx
mov ecx, esi
mov byte [esp + 0x19c], 5
call fcn.100111d0
cmp dword [esp + 0x40], 0x10
jb 0x10001e7f
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
mov eax, dword [esp + 0x18]
mov byte [esp + 0x198], 8
cmp eax, ebx
je 0x10001f8f
mov esi, 0x1001650c
mov ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x10001f23
cmp dl, bl
je 0x10001f1f
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x10001f23
add ecx, 2
add esi, 2
cmp dl, bl
jne 0x10001f03
xor ecx, ecx
jmp 0x10001f28
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
je 0x10001f8f
mov ecx, eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10001f40
sub ecx, esi
mov edi, ecx
lea esi, [esp + 0x48]
call fcn.10002620
mov ecx, esi
push ecx
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x19c], 9
call fcn.10001930
mov byte [esp + 0x198], 8
cmp dword [esp + 0x5c], 0x10
jb 0x10001f8d
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 4
call esi
add esp, 4
cmp eax, ebx
je 0x10001fa4
mov dword [eax], ebx
jmp 0x10001fa6
xor eax, eax
mov edi, dword [esp + 0x14]
push 4
mov dword [edi + 4], eax
call esi
add esp, 4
cmp eax, ebx
je 0x10001fbc
mov dword [eax], ebx
jmp 0x10001fbe
xor eax, eax
push eax
mov dword [edi + 8], eax
call fcn.10007350
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [ecx], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xf8]
call fcn.10009230
lea ecx, [esp + 0x20]
add esp, 4
push ecx
mov dword [edi], eax
call fcn.10003170
add esp, 4
mov byte [esp + 0x198], 0xa
mov ecx, dword [edi]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x1c]
push eax
call edx
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x1000203f
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x10002035
lea esp, [esp]
call fcn.10011130
add esi, 0x8c
cmp esi, dword [esp + 0x14]
jne 0x10002020
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea esi, [esp + 0xf4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.10011130
lea esi, [esp + 0x64]
call fcn.10011130
mov eax, edi
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.10012c5c
mov esp, ebp
pop ebp
ret 4