Function at 0x416728
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x416731
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x41674a
add esp, 0xfffffff0
call fcn.00402abc
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x417337
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.0041662c
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x415608]
call fcn.0040dc28
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], 0x2a4
mov dword [esi + 0x90], 0x5a
mov byte [esi + 0x94], 2
mov dword [esi + 0x9c], 0xff000002
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x417368
call fcn.0040d568
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40ccc4]
call fcn.00403c70
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.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x41c550]
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.0040339c
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 [0x40f694]
call fcn.004028b0
mov esi, eax
mov dword [ebx + 0xc], esi
push 1
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x40f66c]
call fcn.00404690
add esp, 4
push 0
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x40f680]
call fcn.00404690
add esp, 4
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x414d88]
call fcn.00414e30
mov esi, eax
mov dword [ebx + 0x10], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0x196
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x8c], 0xff
mov dword [esi + 0x90], 0x29
mov byte [esi + 0x94], 3
mov dword [esi + 0x9c], 0xff000002
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x417368
call fcn.0040d568
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40ccc4]
call fcn.00403c70
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.0040339c
lea eax, [esi + 0xa4]
mov edx, 0x417378
call fcn.0040339c
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x41c550]
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, 0x41738c
call fcn.0040339c
mov dl, 1
mov eax, esi
call fcn.00414fac
xor edx, edx
mov eax, esi
call fcn.00414fa0
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 [0x415798]
call fcn.00415848
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], 0x38
mov dword [esi + 0x8c], 0x286
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, 0x417368
call fcn.0040d568
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40ccc4]
call fcn.00403c70
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.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x41c550]
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, 0x4173b4
call fcn.0040339c
mov byte [esi + 0x1c1], 0
mov dword [esi + 0x1b4], esi
mov dword [esi + 0x1b0], 0x4159a4
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 [0x415b68]
call fcn.00415c18
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, 0x417368
call fcn.0040d568
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40ccc4]
call fcn.00403c70
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.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
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, 0x4173c8
call fcn.0040339c
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 [0x415b68]
call fcn.00415c18
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, 0x417368
call fcn.0040d568
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40ccc4]
call fcn.00403c70
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.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
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, 0x4173d0
call fcn.0040339c
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 [0x415b68]
call fcn.00415c18
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, 0x417368
call fcn.0040d568
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40ccc4]
call fcn.00403c70
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.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
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, 0x4173d8
call fcn.0040339c
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 [0x416114]
call fcn.0040dc28
mov esi, eax
mov dword [ebx + 0x28], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0x154
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x8c], 0x3c
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, 0x417368
call fcn.0040d568
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40ccc4]
call fcn.00403c70
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.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
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], 0xff000002
mov dword [esi + 0x1b0], 0xff000018
mov dword [esi + 0x1b4], 0xf0fbff
mov dword [esi + 0x1b8], 0xff0000
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 [0x416434]
call fcn.004164cc
mov esi, eax
mov dword [ebx + 0x2c], esi
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0xf5
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, 0x417368
call fcn.0040d568
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40ccc4]
call fcn.00403c70
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.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
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.00416554
lea eax, [ebp - 0x18]
mov edx, 0x4173e8
call fcn.0040339c
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00416548
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 0x415934
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.0040ce60
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 0x40f708
lea edx, [ebp - 0x24]
mov ax, 1
call fcn.0040ce60
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 0x40f708
lea edx, [ebp - 0x24]
mov ax, 4
call fcn.0040ce60
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 0x40f708
lea edx, [ebp - 0x24]
mov ax, 3
call fcn.0040ce60
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 0x40f708
lea edx, [ebp - 0x24]
mov ax, 2
call fcn.0040ce60
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 0x40f708
lea edx, [ebp - 0x24]
mov ax, 8
call fcn.0040ce60
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.0040e0f8
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0040e0d0
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.0040e0f8
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.0040e0d0
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.0040e0f8
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.0040e0d0
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.0040e0f8
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.0040e0d0
xor edx, edx
mov eax, dword [ebx + 0x20]
call fcn.0040e0f8
xor edx, edx
mov eax, dword [ebx + 0x20]
call fcn.0040e0d0
xor edx, edx
mov eax, dword [ebx + 0x24]
call fcn.0040e0f8
xor edx, edx
mov eax, dword [ebx + 0x24]
call fcn.0040e0d0
xor edx, edx
mov eax, dword [ebx + 0x28]
call fcn.0040e0f8
xor edx, edx
mov eax, dword [ebx + 0x28]
call fcn.0040e0d0
xor edx, edx
mov eax, dword [ebx + 0x2c]
call fcn.0040e0f8
xor edx, edx
mov eax, dword [ebx + 0x2c]
call fcn.0040e0d0
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x7c]
call fcn.0040ad68
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 0x41733e
lea eax, [ebp - 0x18]
call fcn.004031e8
lea eax, [ebp - 0x14]
mov edx, dword [0x40ccc4]
call fcn.00403a60
ret