Function at 0x422ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6676c6
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xc
call fcn.0042e4c0
lea ecx, [ebp - 0x48]
call fcn.0042df50
add eax, 8
push eax
call fcn.00407e00
add esp, 4
mov dword [ebp - 0x4c], eax
push 0x6bec30
mov ecx, dword [ebp - 0x4c]
call fcn.005e7090
mov dword [ebp - 0x30], eax
lea ecx, [ebp + 0xc]
call fcn.00406e30
mov dword [ebp - 0x38], eax
push 2
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax + 0x30]
call edx
mov byte [ebp - 0x29], al
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x422f6d
mov dword [ebp - 0x3c], 0x3e8
jmp 0x422f74
mov dword [ebp - 0x3c], 0x3ea
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.005e6a20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x6c]
push edx
push 0x6bec38
mov ecx, dword [ebp - 0x30]
call fcn.005e7090
mov ecx, eax
call fcn.005e6e10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.005e6d40
lea ecx, [ebp + 0xc]
call fcn.00406e30
mov dword [ebp - 0x40], eax
push 1
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x30]
call eax
movzx ecx, al
push ecx
lea ecx, [ebp - 0x7c]
call fcn.005e6c90
mov byte [ebp - 4], 2
lea edx, [ebp - 0x7c]
push edx
push 0x6bec40
mov ecx, dword [ebp - 0x30]
call fcn.005e7090
mov ecx, eax
call fcn.005e6e10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.005e6d40
movzx eax, byte [ebp - 0x29]
push eax
lea ecx, [ebp - 0x8c]
call fcn.005e6c90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
push ecx
push 0x6bec44
mov ecx, dword [ebp - 0x30]
call fcn.005e7090
mov ecx, eax
call fcn.005e6e10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.005e6d40
lea ecx, [ebp + 0xc]
call fcn.00406e30
mov dword [ebp - 0x44], eax
push 3
lea edx, [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.00407780
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.005e69e0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x9c]
push edx
push 0x6bec4c
mov ecx, dword [ebp - 0x30]
call fcn.005e7090
mov ecx, eax
call fcn.005e6e10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.005e6d40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00407330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.004070a0
lea ecx, [ebp - 0x48]
call fcn.0042df50
add eax, 8
push eax
call fcn.00407e00
add esp, 4
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x14
call fcn.0042e360
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0xc
call fcn.0042e4f0
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406d50
movzx eax, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058d09a
mov esp, ebp
pop ebp
ret 8