Function at 0x10044650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1016a3cb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x20]
inc dword [ebx - 0xc]
lea eax, [ebx - 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0xe8], 0
mov eax, dword [ebx - 4]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edi
add eax, 0x1e0
mov byte [esp + 0xe8], 1
mov dword [esp + 0x24], eax
push 0
lea eax, [esp + 0x2c]
call fcn.100164f0
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], 0
test edi, edi
je 0x100446f5
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 4]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov dword [esp + 0x14], edi
mov byte [esp + 0xe8], 3
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x10044720
mov dword [esp + 0x14], eax
jmp 0x1004472e
mov ecx, dword [esp + 0x24]
push eax
call fcn.100245e0
mov dword [esp + 0x14], eax
test eax, eax
setns byte [esp + 0x1b]
mov byte [esp + 0xe8], 2
test edi, edi
je 0x1004474c
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x1b], 0
je 0x1004475b
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
test eax, eax
jns 0x100447ae
push ebx
push eax
push 0x1044ebe0
call fcn.10025150
lea edx, [esp + 0x24]
push edx
mov esi, eax
mov byte [esp + 0xec], 0
call fcn.10024970
add ebx, 0xfffffff4
je 0x10044796
mov eax, dword [esp + 0x34]
dec dword [eax]
jne 0x10044796
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x10], 0
je 0x10044895
push 0
lea ecx, [esp + 0x40]
push ecx
call fcn.10012150
mov byte [esp + 0xe8], 4
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
push 0
lea edi, [esp + 0x40]
mov dword [esp + 0x18], edx
mov byte [esp + 0x4c], 1
call fcn.1004f220
mov edi, eax
test edi, edi
js 0x10044809
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
mov edx, 1
call fcn.1004f100
mov edi, eax
test edi, edi
jns 0x1004483f
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0xec], 2
call fcn.10011f10
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0xec], 0
call fcn.10024970
add ebx, 0xfffffff4
je 0x1004499e
mov eax, dword [esp + 0x34]
jmp 0x10044990
cmp dword [esp + 0x4c], 0
jne 0x1004484d
mov edi, 0x8000ffff
jmp 0x1004487d
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
push 0
lea edx, [esp + 0x40]
push edx
call eax
mov edi, eax
test edi, edi
js 0x1004487d
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0xb0]
lea eax, [esp + 0x3c]
push eax
call edx
mov edi, eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xec], 2
call fcn.10011f10
mov esi, dword [esp + 0x38]
jmp 0x100448fd
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 8]
push 1
lea edx, [esp + 0x24]
push edx
call fcn.10032100
test eax, eax
jns 0x100448ec
mov esi, dword [esp + 0x1c]
push esi
push eax
push 0x1044ebe0
call fcn.10025150
mov edi, eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xec], 0
call fcn.10024970
test esi, esi
je 0x1004499e
lea ecx, [esi - 0xc]
test ecx, ecx
je 0x1004499e
lea eax, [esi - 0xc]
jmp 0x10044990
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ebx, dword [esp + 0x1c]
mov edi, eax
mov edx, dword [esi + 8]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.10032460
test edi, edi
jns 0x10044970
push ebx
push edi
push 0x1044ebe0
call fcn.10025150
mov esi, eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xec], 0
call fcn.10024970
test ebx, ebx
je 0x10044796
lea ecx, [ebx - 0xc]
test ecx, ecx
je 0x10044796
dec dword [ebx - 0xc]
lea eax, [ebx - 0xc]
jne 0x10044796
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0xec], 0
call fcn.10024970
test ebx, ebx
je 0x1004499e
lea eax, [ebx - 0xc]
test eax, eax
je 0x1004499e
lea eax, [ebx - 0xc]
dec dword [eax]
jne 0x1004499e
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret