Function at 0x10001a1b
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x10008870
call fcn.100084cc
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0xc], 3
jne 0x10001a9c
lea eax, [ebx + 0x50]
push 3
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10001a9c
push 0x1000b0f4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea esi, [ebx + 0x34]
mov ecx, esi
call fcn.10001145
push edi
mov ecx, esi
mov dword [ebp + 0xc], eax
call fcn.100012ca
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.10001c8d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push dword [ebp + 0xc]
lea ecx, [ebx + 4]
push dword [ebp + 8]
call fcn.1000104c
lea esi, [ebx + 4]
mov ecx, esi
call fcn.10001145
cmp eax, 0xf
jbe 0x10001a8b
push edi
mov ecx, esi
call fcn.100012ca
push 3
push eax
lea eax, [ebp + 0xc]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp + 0xc]
push 3
push eax
lea eax, [ebx + 0x50]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0x18
test eax, eax
je 0x10001af8
lea eax, [ebp - 0x24]
push 0x10009498
push eax
mov dword [ebp - 0x24], 1
call sub.MSVCRT.dll__CxxThrowException
push 3
mov ecx, esi
mov dword [ebp + 8], edi
call fcn.100012ca
push 4
push eax
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x10001a8b
mov ecx, esi
call fcn.10001145
cmp eax, dword [ebp + 8]
jb 0x10001a8b
lea eax, [ebp + 0xc]
push 3
push eax
mov ecx, esi
mov dword [ebp - 0x1c], edi
call fcn.100010cf
lea eax, [ebp + 8]
push 4
push eax
mov ecx, esi
call fcn.100010cf
lea eax, [ebp - 0x1c]
push 4
push eax
mov ecx, esi
call fcn.100010cf
lea eax, [ebp - 0x20]
push 4
push eax
mov ecx, esi
mov dword [ebp - 0x20], edi
call fcn.100010cf
mov eax, dword [ebp + 8]
lea edi, [eax - 0xf]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [ebp - 0x14], 0
pop ecx
mov dword [ebp - 0x18], eax
je 0x10001be7
test eax, eax
je 0x10001be7
push edi
mov ecx, esi
push dword [ebp - 0x14]
call fcn.100010cf
cmp dword [ebp - 0x20], 1
jne 0x10001bce
lea esi, [ebx + 0x14]
mov ecx, esi
call fcn.100012a4
push edi
mov ecx, esi
push dword [ebp - 0x14]
call fcn.1000104c
mov ecx, esi
call fcn.10001145
push 0
mov ecx, esi
mov edi, eax
call fcn.100012ca
mov ecx, dword [ebx + 0x54]
push edi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
jmp 0x10001aaa
lea eax, [ebp - 0x28]
push 0x10009498
push eax
mov dword [ebp - 0x28], 2
call sub.MSVCRT.dll__CxxThrowException
xor edi, edi
cmp dword [ebp - 0x14], edi
je 0x10001c0c
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0x18], edi
je 0x10001c1a
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + 4]
call fcn.100012a4
push edi
push edi
mov ecx, esi
call fcn.10001c8d
mov eax, 0x10001a8b
ret