Function at 0x4819a8
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4819b1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405004
lea eax, [ebp - 8]
call fcn.00405004
lea eax, [ebp - 0xc]
call fcn.00405004
mov eax, dword [ebp + 0x10]
call fcn.00404a74
mov eax, dword [ebp + 0xc]
call fcn.00404a74
lea ebx, [ebp - 0x5c]
xor eax, eax
push ebp
push 0x481cf2
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call fcn.00481520
lea ecx, [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call fcn.0048171c
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 4]
call fcn.0040484c
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0040891c
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00481680
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 4]
call fcn.00404e1c
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 8]
call fcn.0040484c
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.0040891c
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00481680
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 8]
call fcn.00404e1c
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0xc]
call fcn.0040484c
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00481680
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0xc]
call fcn.00404e1c
mov eax, dword [0x481d04]
mov dword [ebx], eax
mov eax, dword [0x481d08]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 3
mov word [ebx + 0xc], 0x18
mov word [ebx + 0xe], 0x18
mov eax, dword [ebp - 4]
call fcn.00404e3c
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.00404e3c
add esi, eax
mov eax, dword [ebp - 8]
call fcn.00404e3c
add esi, eax
add esi, 0x40
mov dword [ebx + 0x10], esi
mov word [ebx + 0x14], 0x18
mov word [ebx + 0x16], 0x18
mov eax, dword [ebp - 4]
call fcn.00404e3c
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.00404e3c
add esi, eax
mov eax, dword [ebp - 8]
call fcn.00404e3c
add esi, eax
mov eax, dword [ebp - 0x14]
call fcn.00404884
add esi, eax
add esi, 0x40
mov dword [ebx + 0x18], esi
mov eax, dword [ebp - 4]
call fcn.00404e3c
mov word [ebx + 0x1c], ax
mov eax, dword [ebp - 4]
call fcn.00404e3c
mov word [ebx + 0x1e], ax
mov dword [ebx + 0x20], 0x40
mov eax, dword [ebp - 0xc]
call fcn.00404e3c
mov word [ebx + 0x24], ax
mov eax, dword [ebp - 0xc]
call fcn.00404e3c
mov word [ebx + 0x26], ax
mov eax, dword [ebp - 4]
call fcn.00404e3c
add eax, 0x40
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.00404e3c
mov word [ebx + 0x2c], ax
mov eax, dword [ebp - 8]
call fcn.00404e3c
mov word [ebx + 0x2e], ax
mov eax, dword [ebp - 4]
call fcn.00404e3c
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.00404e3c
add esi, eax
add esi, 0x40
mov dword [ebx + 0x30], esi
xor eax, eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 4]
call fcn.00404e3c
mov esi, eax
add esi, 0x40
mov eax, dword [ebp - 0xc]
call fcn.00404e3c
add esi, eax
mov eax, dword [ebp - 8]
call fcn.00404e3c
add esi, eax
mov eax, dword [ebp - 0x14]
call fcn.00404884
add esi, eax
mov eax, dword [ebp - 0x18]
call fcn.00404884
add esi, eax
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], 0x18205
lea eax, [ebp - 0x10]
mov edx, 0x40
call fcn.00404c10
lea eax, [ebp - 0x10]
call fcn.00404adc
mov edx, eax
mov eax, ebx
mov ecx, 0x40
call fcn.004029a4
mov dl, 1
mov eax, dword [0x4742e0]
call fcn.0045a59c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x481c99
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x10]
call fcn.00404e1c
push dword [ebp - 0x88]
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 8]
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x14]
call fcn.00404e1c
push dword [ebp - 0x8c]
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x18]
call fcn.00404e1c
push dword [ebp - 0x90]
lea eax, [ebp - 0x84]
mov edx, 6
call fcn.00404ea8
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
call fcn.0040484c
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
call fcn.004737b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481ca0
mov eax, dword [ebp - 0x1c]
call fcn.004037d8
ret