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

Disassembly:
push 0xffffffffffffffff
push 0x439c68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4509cc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x450b58]
mov edx, dword [eax + 0xc]
mov ecx, 0x450b58
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov eax, dword [0x450b58]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x450b58
mov dword [esp + 0x2c], ebx
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [0x450b58]
mov edx, dword [eax + 0xc]
mov ecx, 0x450b58
mov byte [esp + 0x2c], 1
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x34]
mov esi, dword [edi]
push esi
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCR90.dll_malloc]
push esi
lea ecx, [edi + 4]
push ecx
push eax
mov dword [esp + 0x30], eax
call sub.MSVCR90.dll_memcpy
add esp, 0x10
test esi, esi
jbe 0x41b515
lea esp, [esp]
mov edx, dword [esp + 0x20]
mov al, byte [ebx + edx]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0
call fcn.004040c0
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.00404150
inc ebx
cmp ebx, esi
jb 0x41b4e0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41b52d
call fcn.004034d0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [edx], eax
mov eax, dword [esi + edi + 4]
mov ebx, dword [esp + 0x4c]
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
add esi, 4
mov dx, word [esi + edi + 4]
mov word [eax], dx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
add esi, 4
mov ecx, dword [esi + edi + 2]
add esi, 2
mov dword [edx], ecx
mov ecx, dword [esi + edi + 4]
add esi, 4
add esi, 4
mov dword [eax], ecx
mov edx, dword [esi + edi]
add esi, 4
mov dword [eax + 4], edx
mov ecx, dword [esi + edi]
add esi, 4
mov dword [eax + 8], ecx
mov eax, dword [esi + edi]
mov dword [ebx], eax
test eax, eax
jbe 0x41b5a2
mov ecx, dword [esp + 0x50]
mov edx, eax
add esi, 4
push edx
lea eax, [esi + edi]
push eax
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
add esi, dword [ebx]
mov ebx, dword [esi + edi]
push ebx
add esi, 4
call dword [sym.imp.MSVCR90.dll_malloc]
push ebx
add esi, edi
push esi
push eax
mov dword [esp + 0x48], eax
call sub.MSVCR90.dll_memcpy
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
add esp, 0x10
cmp dword [eax + 4], 0
je 0x41b61c
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x41b5f6
cmp dword [ebp - 8], 0
jge 0x41b5e7
push 0x80070057
call fcn.00401000
xor edx, edx
mov dword [ebp - 0xc], 0
mov word [ebp], dx
jmp 0x41b61c
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b60c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
xor esi, esi
test ebx, ebx
jbe 0x41b657
mov ecx, dword [esp + 0x38]
mov dl, byte [esi + ecx]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], 0
call fcn.004040c0
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00404150
inc esi
cmp esi, ebx
jb 0x41b622
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41b66f
call fcn.004034d0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x54]
push edx
mov dword [ecx], eax
call dword [sym.imp.MSVCR90.dll_free]
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b6a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b6c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b6ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x24