Function at 0xa1248
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xa1576
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0xa127e
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 1
je 0xa1287
mov dword [ebp - 8], 0xffffff00
jmp 0xa12a7
mov eax, dword [ebp - 4]
call fcn.0009ff40
test al, al
je 0xa129f
mov eax, dword [ebp - 4]
call fcn.000a1588
test al, al
jne 0xa12a7
mov eax, dword [0x2a4988]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xa1560
xor eax, eax
push ebp
push 0xa151f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
mov edx, dword [0x98840]
call fcn.000130a4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0xc0], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1dc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x17c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x188], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1b8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1bc], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x94]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x1f0], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x36]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x135], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x128], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x58]
mov dword [eax + 0x190], ecx
mov ecx, dword [edx + 0x5c]
mov dword [eax + 0x194], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x12c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x130], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0xc]
call fcn.0009dafc
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x35]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x134], al
mov eax, dword [ebp - 0xc]
add eax, 0x170
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
call fcn.00013c90
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x48]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x174], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x9d]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xe9], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x9f]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xea], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x9c]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xe8], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x7c]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xd8], al
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x19c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1a0], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x6c]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x1a4], al
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.000a04c4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
add eax, 0x1cc
call fcn.00013c90
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 0xc]
call fcn.0009dcd8
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x9d]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xe9], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x9e]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x201], al
mov eax, dword [ebp - 0xc]
add eax, 0x1d8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00013c90
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.000986dc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 0xc]
call fcn.000971a0
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0009da54
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
mov byte [eax + 0x88], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 1
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00098778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xa1560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa157d
lea eax, [ebp - 0x18]
call fcn.00013c3c
ret