Function at 0x420f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2ce1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], esi
cmp eax, ebp
je 0x421215
mov ecx, dword [esi]
cmp ecx, ebp
je 0x421215
push str._Contents
call fcn.00419bc0
cmp eax, ebp
mov dword [esp + 0x20], eax
jne 0x420fef
mov eax, 1
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [eax + 4]
cmp ecx, 7
jne 0x421015
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, eax
call fcn.0041a590
jmp 0x421114
cmp ecx, 5
jne 0x421215
mov edi, dword [eax + 0x14]
lea esi, [edi*4]
push esi
call fcn.004a622a
mov ebx, eax
push esi
mov dword [esp + 0x24], ebx
call fcn.004a622a
add esp, 8
cmp edi, ebp
mov dword [esp + 0x28], eax
jle 0x42108e
mov esi, ebx
mov ebx, eax
mov eax, esi
sub ebx, eax
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x20]
push ebp
call fcn.004199d0
test eax, eax
je 0x42107c
add ebx, esi
mov ecx, eax
push ebx
push esi
call fcn.0041a590
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x421082
mov dword [esi], 0
inc ebp
add esi, 4
cmp ebp, edi
jl 0x421051
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004a622a
add esp, 4
xor ebp, ebp
test edi, edi
mov dword [esp + 0x14], eax
jle 0x4210fb
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov esi, dword [ebx]
test esi, esi
je 0x4210e9
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + eax]
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + eax]
mov eax, dword [ebx]
push eax
add ebp, edx
call fcn.004a6253
mov eax, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x20]
add ebx, 4
dec ecx
mov dword [esp + 0x20], ecx
jne 0x4210b7
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.004a6253
mov eax, dword [esp + 0x2c]
push eax
call fcn.004a6253
mov esi, dword [esp + 0x34]
add esp, 8
xor ebp, ebp
lea ecx, [esp + 0x74]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3ff00000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3ff00000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.004a4e94
lea ecx, [esp + 0xa0]
mov dword [esp + 0x158], ebp
call fcn.004a4e34
lea ecx, [esp + 0x138]
mov byte [esp + 0x158], 1
call fcn.004a4e94
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea ecx, [esi + 0x10]
push esi
push ecx
push eax
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x16c], 2
call fcn.0041d9e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.0041da90
mov edx, dword [esp + 0x14]
push edx
call fcn.004a6253
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x158], 0xffffffff
call fcn.0041d940
mov eax, 1
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x150]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret