Function at 0x10041460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0x154]
sub esp, 0x154
push 0xffffffffffffffff
push 0x101b6b35
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1021e964]
xor eax, ebp
mov dword [ebp + 0x150], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ebx], 0x10010c94
mov dword [ebx + 4], 0
mov word [ebx + 8], ax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], al
mov dword [ebx + 0x14], 0x10010c38
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], 0xf
mov byte [ebx + 0x34], al
mov dword [ebx + 0x30], 0x10010c38
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], 0xf
mov byte [ebx + 0x50], al
mov dword [ebx + 0x4c], 0x10010c38
mov byte [ebx + 0x68], al
mov dword [ebx + 0x6c], eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov byte [ebx + 0x8c], 1
mov dword [ebx + 0x90], 1
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0x7c], 0x10010c8c
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
push 0x128
push eax
lea esi, [ebx + 0x190]
mov byte [ebp - 4], 1
push esi
mov byte [ebx + 0x18c], al
call fcn.101a4190
xor eax, eax
cmp byte [ebx + 0x18c], al
setne al
push eax
push esi
call fcn.100b2f90
mov dword [ebx + 0x2b8], 0
mov dword [ebx + 0x2c4], 0
mov dword [ebx + 0x2c8], 0
mov dword [ebx + 0x2cc], 0
lea esi, [ebx + 0x2d0]
mov byte [ebp - 4], 3
push 0x60
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
add esp, 0x18
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebx + 0x2d8], 0
mov dword [ebx + 0x2dc], 0
mov dword [ebx + 0x2e0], 0
mov dword [ebx + 0x2ec], 0
mov dword [ebx + 0x2f0], 0
mov dword [ebx + 0x2f4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10231690]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1022f8a0]
cmp eax, dword [ecx + 0x26818]
jg 0x100416b8
mov dword [ebx + 0x2f8], 0x1022f720
mov dword [ebx + 0x310], 0
mov dword [ebx + 0x314], 0
mov dword [ebx + 0x318], 0
mov byte [ebx + 0x31c], 1
mov dword [ebx + 0x320], 1
mov dword [ebx + 0x324], 0
mov dword [ebx + 0x328], 0
mov dword [ebx + 0x32c], 0
mov dword [ebx + 0x30c], 0x10010c8c
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.100467f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x150]
xor ecx, ebp
call fcn.1018d760
lea esp, [ebp + 0x154]
pop ebp
ret
push 0x1022f8a0
call fcn.1018d68a
add esp, 4
cmp dword [0x1022f8a0], 0xffffffff
jne 0x10041627
push 0x102
push 0x1022f720
mov byte [ebp - 4], 8
call fcn.1018eb7a
push 0x150
push 0
push 0x1022f750
mov byte [ebp - 4], 9
call fcn.101a4190
push 0x1022f720
call fcn.1018eb9b
add esp, 0x18
test eax, eax
je 0x10041711
push eax
call fcn.1018ec9d
mov ecx, 0x54
lea edi, [ebp]
mov esi, 0x1022f750
rep movsd dword es:[edi], dword [esi]
push 0x1022f720
mov byte [ebp - 4], 0xa
call fcn.1018ebac
lea eax, [ebp]
mov byte [ebp - 4], 9
push eax
call fcn.100b3e70
push 0x1022f720
call fcn.1018eb9b
add esp, 0xc
test eax, eax
je 0x10041752
push eax
call fcn.1018ec9d
mov ecx, 0x54
lea esi, [ebp]
mov edi, 0x1022f750
rep movsd dword es:[edi], dword [esi]
push 0x1022f720
mov byte [ebp - 4], 0xb
call fcn.1018ebac
push 0x101ceea0
mov byte [ebp - 4], 7
call fcn.1018d533
push 0x1022f8a0
call fcn.1018d640
add esp, 0xc
jmp 0x10041627