Function at 0x5819a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x5819a8
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x581dac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x94], 0
je 0x581b81
mov dl, 1
mov eax, dword [0x57b50c]
call fcn.0055ee54
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x581b7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, 0xc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
call fcn.00405030
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x70]
call fcn.00405030
mov eax, dword [ebp - 0xc]
add eax, 0x14
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xa0]
call fcn.00405030
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xac]
call fcn.00405030
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xb0]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x20], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xb1]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov al, byte [eax + 0xc]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x28], al
mov eax, dword [ebp - 0xc]
add eax, 0x2c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x10]
call fcn.00405030
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov al, byte [eax + 0x14]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x30], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov al, byte [eax + 0x15]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x31], al
mov eax, dword [ebp - 0xc]
add eax, 0x34
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x18]
call fcn.00405030
mov eax, dword [ebp - 0xc]
add eax, 0x38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x1c]
call fcn.00405030
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x20]
call fcn.00405030
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
add eax, 0x24
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x2c]
call fcn.00405030
mov edx, dword [ebp - 0xc]
mov eax, dword [0x57b5fc]
call fcn.0057ba28
mov edx, dword [0x56a694]
call fcn.00404248
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581d64
mov eax, dword [ebp - 0xc]
call fcn.0040408c
ret
mov dl, 1
mov eax, dword [0x56a694]
call fcn.0056c2c4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xac]
call fcn.00418ee8
lea ecx, [ebp - 0x1c]
mov edx, 0x3e8
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0xb0]
mov cl, 0xfc
call fcn.00418c94
lea ecx, [ebp - 0x2c]
mov edx, 0x3e9
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0xb1]
mov cl, 0xfc
call fcn.00418c94
lea ecx, [ebp - 0x3c]
mov edx, 0x3ea
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb4]
mov cl, 0xfc
call fcn.00418c94
lea ecx, [ebp - 0x4c]
mov edx, 0x3f6
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xb8]
test esi, esi
je 0x581d64
lea eax, [ebp - 0x5c]
mov dl, byte [esi + 0xc]
call fcn.00418e84
lea ecx, [ebp - 0x5c]
mov edx, 0x3f8
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x10]
call fcn.00418ee8
lea ecx, [ebp - 0x6c]
mov edx, 0x3f9
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov dl, byte [edx + 0x14]
call fcn.00418e84
lea ecx, [ebp - 0x7c]
mov edx, 0x3fa
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov dl, byte [edx + 0x15]
call fcn.00418e84
lea ecx, [ebp - 0x8c]
mov edx, 0x402
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x18]
call fcn.00418ee8
lea ecx, [ebp - 0x9c]
mov edx, 0x3fb
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x1c]
call fcn.00418ee8
lea ecx, [ebp - 0xac]
mov edx, 0x3ff
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0xbc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x24]
mov cl, 0xfc
call fcn.00418c94
lea ecx, [ebp - 0xbc]
mov edx, 0x3fc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea eax, [ebp - 0xcc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
mov edx, dword [edx + 0x2c]
call fcn.00418ee8
lea ecx, [ebp - 0xcc]
mov edx, 0x404
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x98]
test ebx, ebx
je 0x581d88
mov eax, ebx
mov edx, dword [0x56a694]
call fcn.00404248
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0056d548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581db3
lea eax, [ebp - 0xcc]
mov edx, dword [0x401104]
mov ecx, 0xc
call fcn.00405cf0
ret