Function at 0x42a858
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x42a861
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x42a87a
add esp, 0xfffffff0
call fcn.00402c14
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x42acc0
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.004175a8
mov eax, dword [ebp + 8]
mov dword [ebx + 0x24], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x42a63c]
call fcn.00411030
mov dword [ebx + 0x10], eax
mov esi, dword [ebx + 0x10]
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0x172
mov dword [esi + 0x88], 0xe3
mov dword [esi + 0x8c], 0x12c
mov dword [esi + 0x90], 0xc8
mov byte [esi + 0x94], 0
mov dword [esi + 0x9c], 0xd5bdd7
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 5
mov dl, 0xe
mov eax, 0x42acf4
call fcn.00410370
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40f228]
call fcn.00403d04
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 0
mov byte [esi + 0xbb], 1
xor eax, eax
mov dword [esi + 0xbc], eax
mov byte [esi + 0xc2], 1
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.004034f4
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.004034f4
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x46391c]
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, [ebp - 0x1c]
mov edx, 0x42ad04
call fcn.004034f4
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x46393c]
call fcn.0040f414
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x1a4]
call fcn.00403394
mov byte [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 1
mov byte [esi + 0x1a8], 2
mov byte [esi + 0x1a9], 0
mov dword [esi + 0x1ac], 1
mov byte [esi + 0x1b8], 2
mov byte [esi + 0xc0], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x41285c]
call fcn.00402a08
mov esi, eax
mov dword [ebx + 0xc], esi
push 2
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x412834]
call fcn.004045b4
add esp, 4
push 0
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x412848]
call fcn.004045b4
add esp, 4
mov dl, 1
mov eax, dword [0x413dac]
call fcn.00402a08
mov esi, eax
mov dword [ebx + 0x14], esi
lea edx, [ebp - 0x38]
mov eax, 1
call fcn.0040ff00
lea edx, [ebp - 0x38]
lea eax, [esi + 4]
mov ecx, dword [0x40f20c]
call fcn.00403d04
mov dl, 1
mov eax, dword [0x413dac]
call fcn.00402a08
mov esi, eax
mov dword [ebx + 0x18], esi
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.0040ff00
lea edx, [ebp - 0x38]
lea eax, [esi + 4]
mov ecx, dword [0x40f20c]
call fcn.00403d04
mov dl, 1
mov eax, dword [0x41467c]
call fcn.00402a08
mov esi, eax
mov dword [ebx + 0x1c], esi
mov eax, esi
mov byte [eax + 5], 1
mov dx, 2
call fcn.004146e4
mov dl, 1
mov eax, dword [0x41467c]
call fcn.00402a08
mov esi, eax
mov dword [ebx + 0x20], esi
mov eax, esi
mov byte [eax + 5], 1
mov dx, 2
call fcn.004146e4
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 4], edi
mov eax, dword [ebx + 0x14]
push eax
push 0x413e14
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040f3f4
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x18]
push eax
push 0x413e14
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040f3f4
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x1c]
push eax
push 0x41470c
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040f3f4
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x34], edx
mov eax, dword [ebx + 0x20]
push eax
push 0x41470c
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040f3f4
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x34], edx
mov eax, dword [ebx + 0x10]
push eax
push 0x4115a4
lea edx, [ebp - 0x44]
mov ax, 1
call fcn.0040f3f4
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x10]
push eax
push 0x411680
lea edx, [ebp - 0x44]
mov ax, 2
call fcn.0040f3f4
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x10]
push eax
push 0x411674
lea edx, [ebp - 0x44]
mov ax, 3
call fcn.0040f3f4
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x10]
push eax
push 0x4115a4
lea edx, [ebp - 0x44]
mov ax, 1
call fcn.0040f3f4
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x14], edx
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.004116b4
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0041168c
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x7c]
call fcn.0040c23c
mov eax, dword [ebx + 0x10]
mov dword [ebx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42acc7
lea eax, [ebp - 0x38]
mov edx, dword [0x40f20c]
call fcn.00403af4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403364
lea eax, [ebp - 0x14]
mov edx, dword [0x40f228]
call fcn.00403af4
ret