Function at 0x422010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50d5d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
call fcn.00420110
push 0x1d8
mov dword [esp + 0x30], 0
mov dword [edi], 0x524ad0
mov dword [edi + 0x20], 0x524abc
call fcn.004fd765
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
mov byte [esp + 0x2c], 1
je 0x4220d4
mov eax, dword [0x55b9cc]
mov eax, dword [eax + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 8]
push 1
push 0x43800000
push 0x43c00000
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00402110
sub esp, 0xc
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov dword [edx + 8], eax
call fcn.00479570
jmp 0x4220d6
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x30], 0
call fcn.00403010
push 0x3e8
call fcn.004fd765
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x2c], 2
je 0x422183
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x5245f0
call fcn.00402110
mov ecx, dword [0x55b9cc]
mov eax, dword [ecx + 0xc68]
mov edx, dword [eax + 0x644]
imul edx, edx, 0x644
mov eax, dword [edx + eax + 0xc]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x38], 3
call fcn.00402110
sub esp, 0xc
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00478970
mov esi, eax
jmp 0x422185
xor esi, esi
push esi
mov ecx, edi
mov byte [esp + 0x30], 0
call fcn.00403010
push 0xc0
mov ecx, esi
call fcn.00479f80
mov byte [esi + 0x3e0], 1
mov edx, dword [0x55b9cc]
mov eax, dword [edx + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 0xc]
movsx edx, byte [eax]
push edx
call fcn.004ede03
push 0x3e8
mov byte [esi + 0x3d8], al
call fcn.004fd765
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x2c], 4
je 0x42226b
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x5245f0
call fcn.00402110
mov eax, dword [0x55b9cc]
mov eax, dword [eax + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 0x10]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x38], 5
call fcn.00402110
sub esp, 0xc
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 0x30], 0xc2480000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
mov ecx, esi
mov byte [esp + 0x40], 4
mov dword [edx + 8], eax
call fcn.00478970
mov esi, eax
jmp 0x42226d
xor esi, esi
push esi
mov ecx, edi
mov byte [esp + 0x30], 0
call fcn.00403010
push 0xc0
mov ecx, esi
call fcn.00479f80
mov ecx, dword [0x55b9cc]
mov eax, dword [ecx + 0xc68]
mov edx, dword [eax + 0x644]
imul edx, edx, 0x644
mov eax, dword [edx + eax + 0x10]
movsx eax, byte [eax]
push eax
call fcn.004ede03
mov ecx, dword [esp + 0x28]
mov byte [esi + 0x3d8], al
add esp, 4
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret