Function at 0x405080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004039b0
xor eax, eax
push ebp
push 0x4053f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004036e0
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040369c
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
lea eax, [esi + 4]
mov edx, dword [ebp - 0xc]
call fcn.0040369c
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
lea eax, [esi + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040369c
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
mov eax, dword [ebp - 0xc]
call fcn.0040505c
mov dword [esi + 0xc], eax
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
mov eax, dword [ebp - 0xc]
call fcn.0040505c
mov dword [esi + 0x10], eax
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
lea eax, [esi + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0040369c
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00405044
mov dword [esi + 0x18], eax
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
lea eax, [esi + 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.0040369c
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
mov eax, dword [ebp - 0xc]
call fcn.0040505c
mov dword [esi + 0x20], eax
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
mov eax, dword [ebp - 0xc]
call fcn.0040505c
mov dword [esi + 0x24], eax
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
mov eax, dword [ebp - 0xc]
call fcn.0040505c
mov dword [esi + 0x28], eax
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
mov edx, 0xf
mov eax, dword [ebp - 0xc]
call fcn.00405044
mov dword [esi + 0x2c], eax
mov edx, dword [ebp - 8]
mov eax, 0x405408
call fcn.00403aa8
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403a20
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00403a60
mov edx, 6
mov eax, dword [ebp - 0xc]
call fcn.00405044
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4053f7
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040366c
ret