Function at 0x420390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x14]
call fcn.004a6c5a
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0
call fcn.004a6c5a
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.004a6c5a
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call fcn.004a6c5a
mov eax, dword [ebp + 0x120]
mov byte [esp + 0x38], 3
test eax, eax
je 0x4205dd
push 0x100000
call dword [0x4b2658]
mov esi, eax
add esp, 4
test esi, esi
je 0x4205dd
mov eax, dword [ebp + 0x120]
push 0x4d13fc
push eax
lea ecx, [esp + 0x1c]
push 0x4cb23c
push ecx
call fcn.004a6dda
add esp, 0x10
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
call fcn.00440200
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push 0x20019
mov byte [esp + 0x40], 4
call fcn.004402a0
push eax
lea ecx, [esp + 0x28]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x4205c5
mov ecx, dword [esp + 0x18]
push ebx
push edi
push 0x100000
push esi
push 0x4d13e0
push 1
push ecx
call fcn.00430460
add esp, 0x14
cmp al, 1
jne 0x4205b8
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x4205b8
mov edx, dword [esi + 0xc]
add edx, eax
mov byte [edx + esi], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x10]
add eax, ecx
mov byte [eax + esi + 1], 0
mov ecx, dword [esi + 8]
add ecx, esi
push ecx
push 0x4cb1f8
push edx
call fcn.004a6dda
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.004a6d8c
push 0x5c
push eax
call dword [0x4b2670]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x420502
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.004a6d8c
mov ebx, eax
jmp 0x420505
add ebx, 2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x4cb1f8
push eax
call fcn.004a6dda
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0041d430
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x4205b8
mov eax, dword [ebp + 0xc0]
push 0
push 0
push 0x1004
push eax
call dword [0x4b279c]
mov edi, eax
add ebp, 0xa0
push ebx
push edi
mov ecx, ebp
call fcn.00404450
push 0x4d13c8
push 1
push edi
mov ecx, ebp
call fcn.00404b00
mov ecx, dword [esp + 0x14]
push ecx
push 2
push edi
mov ecx, ebp
call fcn.00404b00
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0040b780
mov ecx, dword [esp + 0x20]
add esp, 8
push ecx
push 3
push edi
mov ecx, ebp
call fcn.00404b00
lea edx, [esp + 0x18]
push edx
call fcn.0040c0a0
add esp, 4
test eax, eax
jne 0x4205b8
push 3
push edi
mov ecx, ebp
call fcn.00404f10
mov eax, dword [esp + 0x20]
push eax
call dword [0x4b2034]
pop edi
pop ebx
push esi
call dword [0x4b2654]
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call fcn.00440270
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call fcn.004a6c6c
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.004a6c6c
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call fcn.004a6c6c
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a6c6c
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret