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

Disassembly:
push 0xffffffffffffffff
push 0x10041c41
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10056018]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10056018]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [0x100576bc]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0
test al, 1
jne 0x100417e5
or eax, 1
mov dword [0x100576bc], eax
push 8
mov dword [esp + 0x78], 0
call sub.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x74], 1
test esi, esi
je 0x100417ac
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100411b0
mov dword [esi], eax
jmp 0x100417ae
xor esi, esi
push esi
mov ecx, 0x100576b8
mov byte [esp + 0x78], 0
mov dword [0x100576b4], esi
call fcn.1001aab0
push esi
push esi
push 0x100576b4
call fcn.10011060
push 0x10046db0
call fcn.1001aab0
add esp, 0x10
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [0x100576b4]
cmp dword [eax + 4], 0
jne 0x10041aea
push 0
push 0x10049616
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.1001aab0
mov ebp, dword [sym.imp.MSVCR110.dll_memmove]
mov edi, 1
mov dword [esp + 0x74], 2
mov dword [esp + 0x14], edi
movzx ecx, di
mov ebx, ecx
lea eax, [ebx + 1]
cmp eax, 2
jl 0x10041b3a
cmp ecx, 0xc
ja 0x10041b30
mov edx, dword [ebx*4 + 0x100475a4]
cmp byte [edx], 0
jne 0x1004185a
xor ecx, ecx
jmp 0x10041869
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041860
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.1001aab0
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x54]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.1001aab0
lea eax, [esp + 0x64]
push eax
call fcn.1001aab0
mov esi, eax
lea eax, [esp + 0x50]
add esp, 0x1c
cmp eax, esi
je 0x1004191c
cmp dword [esp + 0x48], 0x10
jb 0x100418c2
push dword [esp + 0x34]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
cmp dword [esi + 0x14], 0x10
jae 0x100418f1
mov eax, dword [esi + 0x10]
inc eax
je 0x100418fd
push eax
lea eax, [esp + 0x38]
push esi
push eax
call ebp
add esp, 0xc
jmp 0x100418fd
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x60], 0x10
jb 0x1004192f
push dword [esp + 0x4c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.100410a0
add esp, 0xc
mov esi, dword [0x100576b4]
push eax
mov ecx, esi
mov byte [esp + 0x78], 3
call fcn.1001aab0
push eax
add eax, 0x10
push eax
push 0
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.1001aab0
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0x74], 2
jb 0x10041984
push dword [esp + 0x4c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebx*4 + 0x1004756c]
cmp byte [edx], 0
jne 0x10041994
xor eax, eax
jmp 0x100419a9
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100419a0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.1001aab0
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x54]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.1001aab0
lea eax, [esp + 0x64]
push eax
call fcn.1001aab0
mov esi, eax
lea eax, [esp + 0x50]
add esp, 0x1c
cmp eax, esi
je 0x10041a5c
cmp dword [esp + 0x48], 0x10
jb 0x10041a02
push dword [esp + 0x34]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
cmp dword [esi + 0x14], 0x10
jae 0x10041a31
mov eax, dword [esi + 0x10]
inc eax
je 0x10041a3d
push eax
lea eax, [esp + 0x38]
push esi
push eax
call ebp
add esp, 0xc
jmp 0x10041a3d
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x60], 0x10
jb 0x10041a6f
push dword [esp + 0x4c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.100410a0
add esp, 0xc
mov esi, dword [0x100576b4]
push eax
mov ecx, esi
mov byte [esp + 0x78], 4
call fcn.1001aab0
push eax
add eax, 0x10
push eax
push 0
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.1001aab0
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0x74], 2
jb 0x10041ac4
push dword [esp + 0x4c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
inc edi
mov dword [esp + 0x14], edi
cmp di, 0xc
jbe 0x10041830
cmp dword [esp + 0x48], 0x10
jb 0x10041ae6
push dword [esp + 0x34]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esp + 0x18]
mov eax, dword [0x100576b4]
mov dword [ebx], eax
mov eax, dword [0x100576b8]
mov dword [ebx + 4], eax
mov ecx, dword [0x100576b8]
test ecx, ecx
je 0x10041b0f
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov eax, ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1003fc71
add esp, 0x64
ret
push 1
push ecx
push 1
call fcn.1001aab0
push 0
push ecx
push 1
call fcn.1001aab0
int3