Function at 0x4187a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4187b1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4187ca
add esp, 0xfffffff0
call fcn.00402b34
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4193b7
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
xor edx, edx
mov eax, ebx
call fcn.00416994
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x417734]
call fcn.0040f6d4
mov dword [ebx + 0x14], eax
mov esi, dword [ebx + 0x14]
xor eax, eax
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [esi + 0x84], eax
xor eax, eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0x2a8
mov dword [esi + 0x90], 0x5c
mov byte [esi + 0x94], 2
mov dword [esi + 0x9c], 0x808000
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x4193e8
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
xor eax, eax
mov dword [esi + 0xbc], eax
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 0
mov byte [esi + 0xd8], 4
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x4276ac]
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], 4
mov dword [esi + 0xcc], 0xff00000f
xor eax, eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd4], eax
lea eax, [esi + 0x1a4]
xor edx, edx
call fcn.00403414
mov byte [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 5
mov byte [esi + 0x1a8], 1
mov byte [esi + 0x1a9], 2
mov dword [esi + 0x1ac], 5
mov byte [esi + 0x1b8], 1
mov byte [esi + 0xc0], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov dl, 1
mov eax, dword [0x41120c]
call fcn.00402928
mov esi, eax
mov dword [ebx + 0xc], esi
push 1
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x4111e4]
call fcn.00404764
add esp, 4
push 0
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x4111f8]
call fcn.00404764
add esp, 4
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x416e64]
call fcn.00416f0c
mov esi, eax
mov dword [ebx + 0x10], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0x19a
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x8c], 0xff
mov dword [esi + 0x90], 0x2b
mov byte [esi + 0x94], 3
mov dword [esi + 0x9c], 0x808000
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x4193e8
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
xor eax, eax
mov dword [esi + 0xbc], eax
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 1
mov byte [esi + 0xd8], 4
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [esi + 0xa4]
mov edx, 0x4193f8
call fcn.00403414
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x4276ac]
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], 4
mov dword [esi + 0xcc], 0xff00000f
xor eax, eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd4], eax
mov byte [esi + 0xb9], 0
lea eax, [esi + 0x1b8]
mov edx, 0x41940c
call fcn.00403414
mov dl, 1
mov eax, esi
call fcn.00417088
xor edx, edx
mov eax, esi
call fcn.0041707c
mov dword [esi + 0x1b0], 0x1fffffff
mov byte [esi + 0x1b4], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x4178c4]
call fcn.00417974
mov esi, eax
mov dword [ebx + 0x18], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0xf
mov dword [esi + 0x88], 0x3a
mov dword [esi + 0x8c], 0x28a
mov dword [esi + 0x90], 0x13
mov byte [esi + 0x94], 4
mov dword [esi + 0x9c], 0xff000018
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x4193e8
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
mov dword [esi + 0xbc], 0x7f01
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 0
mov byte [esi + 0xd8], 0
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x4276ac]
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], 4
mov dword [esi + 0xcc], 0xff00000f
xor eax, eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd4], eax
lea eax, [esi + 0x1bc]
mov edx, 0x41942c
call fcn.00403414
mov byte [esi + 0x1c1], 0
mov dword [esi + 0x1b4], esi
mov dword [esi + 0x1b0], 0x417af4
mov byte [esi + 0x1b8], 0
mov byte [esi + 0x1c0], 0
xor eax, eax
mov dword [esi + 0x1c4], eax
mov byte [esi + 0x1b9], 1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x417cb8]
call fcn.00417d68
mov esi, eax
mov dword [ebx + 0x1c], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0xf
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x8c], 0x3c
mov dword [esi + 0x90], 0x14
mov byte [esi + 0x94], 0
mov dword [esi + 0x9c], 0xff000016
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x4193e8
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
mov dword [esi + 0xbc], 0x7f89
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 1
mov byte [esi + 0xd8], 0
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov byte [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0x808080
lea eax, [esi + 0x1b8]
mov edx, 0x419440
call fcn.00403414
mov byte [esi + 0xc1], 1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x417cb8]
call fcn.00417d68
mov esi, eax
mov dword [ebx + 0x20], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0x50
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x8c], 0x3c
mov dword [esi + 0x90], 0x14
mov byte [esi + 0x94], 0
mov dword [esi + 0x9c], 0xff000016
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x4193e8
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
mov dword [esi + 0xbc], 0x7f89
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 1
mov byte [esi + 0xd8], 0
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov byte [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0x808080
lea eax, [esi + 0x1b8]
mov edx, 0x419448
call fcn.00403414
mov byte [esi + 0xc1], 1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x417cb8]
call fcn.00417d68
mov esi, eax
mov dword [ebx + 0x24], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0x91
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x8c], 0x5f
mov dword [esi + 0x90], 0x14
mov byte [esi + 0x94], 0
mov dword [esi + 0x9c], 0xff000016
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x4193e8
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
mov dword [esi + 0xbc], 0x7f89
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 1
mov byte [esi + 0xd8], 0
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov byte [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0x808080
lea eax, [esi + 0x1b8]
mov edx, 0x419450
call fcn.00403414
mov byte [esi + 0xc1], 1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x418264]
call fcn.0040f6d4
mov esi, eax
mov dword [ebx + 0x28], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0x14a
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x8c], 0x4b
mov dword [esi + 0x90], 0x15
mov byte [esi + 0x94], 0
mov dword [esi + 0x9c], 0xff000018
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x4193e8
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
mov dword [esi + 0xbc], 0x7f89
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 0
mov byte [esi + 0xd8], 3
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov byte [esi + 0x1a6], 1
mov byte [esi + 0x1a7], 0
xor eax, eax
mov dword [esi + 0x1bc], eax
mov byte [esi + 0x1c0], 0
mov byte [esi + 0x1c1], 0
mov byte [esi + 0x1c2], 1
mov dword [esi + 0x1ac], 0xc0dcc0
mov dword [esi + 0x1b0], 0xff000003
mov dword [esi + 0x1b4], 0xeaffff
mov dword [esi + 0x1b8], 0x808000
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x418584]
call fcn.0041861c
mov esi, eax
mov dword [ebx + 0x2c], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0xf0
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x8c], 0x5a
mov dword [esi + 0x90], 0x14
mov byte [esi + 0x94], 0
mov dword [esi + 0x9c], 0xff000016
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x4193e8
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
mov dword [esi + 0xbc], 0x7f89
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 0
mov byte [esi + 0xd8], 0
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov byte [esi + 0xb9], 0
mov dl, 1
mov eax, esi
call fcn.004186a4
lea eax, [ebp - 0x18]
mov edx, 0x419460
call fcn.00403414
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00418698
mov byte [esi + 0xc1], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], ebx
mov eax, dword [ebx + 0xc]
mov dword [eax + 4], edi
mov eax, dword [ebx + 0x18]
push eax
push 0x417a60
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.0040e5dc
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x411280
lea edx, [ebp - 0x24]
mov ax, 1
call fcn.0040e5dc
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1d4], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1d8], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1dc], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x411280
lea edx, [ebp - 0x24]
mov ax, 4
call fcn.0040e5dc
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1ac], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1b0], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1b4], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x411280
lea edx, [ebp - 0x24]
mov ax, 3
call fcn.0040e5dc
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1ac], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1b0], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1b4], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x411280
lea edx, [ebp - 0x24]
mov ax, 2
call fcn.0040e5dc
mov eax, dword [ebx + 0x24]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1ac], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1b0], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1b4], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x411280
lea edx, [ebp - 0x24]
mov ax, 8
call fcn.0040e5dc
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1a4], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1a8], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1ac], edx
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0040fba4
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.0040fba4
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.0040fba4
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.0040fba4
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [ebx + 0x20]
call fcn.0040fba4
xor edx, edx
mov eax, dword [ebx + 0x20]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [ebx + 0x24]
call fcn.0040fba4
xor edx, edx
mov eax, dword [ebx + 0x24]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [ebx + 0x28]
call fcn.0040fba4
xor edx, edx
mov eax, dword [ebx + 0x28]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [ebx + 0x2c]
call fcn.0040fba4
xor edx, edx
mov eax, dword [ebx + 0x2c]
call fcn.0040fb7c
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x7c]
call fcn.0040b9f8
mov eax, dword [ebx + 0x14]
mov dword [ebx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4193be
lea eax, [ebp - 0x18]
call fcn.00403260
lea eax, [ebp - 0x14]
mov edx, dword [0x40e3d0]
call fcn.00403b34
ret