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

Disassembly:
push 0xffffffffffffffff
push 0x434758
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a9cc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x44aae8]
mov edx, dword [eax + 0xc]
mov ecx, 0x44aae8
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov eax, dword [0x44aae8]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x44aae8
mov dword [esp + 0x2c], ebx
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [0x44aae8]
mov edx, dword [eax + 0xc]
mov ecx, 0x44aae8
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 0x418355
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.00404080
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.00404110
inc ebx
cmp ebx, esi
jb 0x418320
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 0x41836d
call fcn.00403480
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 0x4183e2
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 0x41845c
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x418436
cmp dword [ebp - 8], 0
jge 0x418427
push 0x80070057
call fcn.00401000
xor edx, edx
mov dword [ebp - 0xc], 0
mov word [ebp], dx
jmp 0x41845c
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41844c
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 0x418497
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.00404080
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00404110
inc esi
cmp esi, ebx
jb 0x418462
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 0x4184af
call fcn.00403480
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 0x4184e4
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 0x418509
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 0x41852d
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