Function at 0x100073b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10203f33
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1044501c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
push edx
call eax
cmp dword [esi + 0xc], 0
jne 0x10007469
push 0x20
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], 0
test edi, edi
je 0x10007418
push edi
call fcn.101e92b0
mov eax, edi
jmp 0x1000741a
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0xc], eax
mov ecx, dword [0x104450ec]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.101f1dc0
mov dword [esp + 0x38], 1
mov edx, dword [0x104450ec]
mov eax, ebx
lea edi, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.101f1d20
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 2
jmp 0x10007516
mov eax, dword [0x104450ec]
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.101f1dc0
mov ecx, ebx
mov ebx, dword [esi + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.1000b940
mov ebx, dword [esp + 0x14]
mov edi, dword [eax]
mov eax, dword [eax + 4]
add ebx, 0xfffffff4
cmp dword [ebx], 0xfffffffe
mov dword [esp + 0x1c], eax
je 0x100074b7
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100074b7
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x18]
mov eax, dword [eax]
test edi, edi
je 0x100074c7
cmp edi, eax
je 0x100074cd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x1c], ebx
jne 0x100075dd
mov ecx, dword [0x104450ec]
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.101f1dc0
mov dword [esp + 0x38], 3
mov edx, dword [0x104450ec]
mov eax, ebx
lea edi, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.101f1d20
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 4
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ebx, [esp + 0x28]
call fcn.101e85f0
mov esi, dword [esp + 0x18]
add esi, 0xfffffff4
cmp dword [esi], 0xfffffffe
je 0x10007548
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10007548
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov esi, dword [esp + 0x14]
add esi, 0xfffffff4
cmp dword [esi], 0xfffffffe
je 0x10007570
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10007570
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
call edx
mov ecx, dword [0x104450ec]
mov edi, eax
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.101f1dc0
mov dword [esp + 0x38], 5
mov edx, dword [0x104450ec]
sub esp, 8
mov edi, esp
mov eax, ebx
mov dword [esp + 0x20], esp
mov dword [edi], edx
call fcn.101f1d20
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
call fcn.1000d900
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff4
add esp, 8
cmp dword [esi], 0xfffffffe
je 0x100075dd
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100075dd
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8