Function at 0x1006e7e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c637e
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 0x11d], 1
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000e9e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.1000e9e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x92]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x8e]
push edx
lea ecx, [ebp - 0xb8]
call fcn.1000e9e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x9a]
push ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x96]
push eax
lea ecx, [ebp - 0xd0]
call fcn.1000e9e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0xa2]
push edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x9e]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1000e9e0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0xb4]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0xb0]
push edx
lea ecx, [ebp - 0x100]
call fcn.1000e9e0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000e9e0
mov byte [ebp - 4], 6
xor ecx, ecx
mov word [ebp - 0x12c], cx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0xd2]
mov dword [ebp - 0x154], eax
mov byte [ebp - 0x121], 0
mov byte [ebp - 0x12d], 0
mov dword [ebp - 0x128], 0
jmp 0x1006e969
cmp dword [ebp - 0x128], 3
jge 0x1006ec5e
mov edx, dword [ebp - 0x11c]
movzx eax, word [edx + 0x74]
cmp eax, 4
jne 0x1006e99d
mov ecx, dword [ebp - 0x11c]
cmp dword [ecx + 0xca], 2
jne 0x1006e99d
mov byte [ebp - 0x11e], 1
jmp 0x1006e9a4
mov byte [ebp - 0x11e], 0
mov edx, dword [ebp - 0x11c]
cmp dword [edx + 0xde], 1
jne 0x1006e9bc
mov byte [ebp - 0x11f], 1
jmp 0x1006e9c3
mov byte [ebp - 0x11f], 0
push 0x100d5a9c
lea ecx, [ebp - 0x40]
call fcn.10005de0
mov byte [ebp - 4], 7
push 0x100d5aa0
lea ecx, [ebp - 0x58]
call fcn.10005de0
mov byte [ebp - 4], 8
push 0x100d5aa4
lea ecx, [ebp - 0x70]
call fcn.10005de0
mov byte [ebp - 4], 9
movzx eax, byte [ebp - 0x11e]
push eax
movzx ecx, byte [ebp + 0xc]
push ecx
movzx edx, byte [ebp + 8]
push edx
movzx eax, byte [ebp - 0x11f]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x11c]
add edx, 0xb8
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.1005a270
add esp, 0xc
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x170]
push ecx
call fcn.1005a270
add esp, 0xc
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x144], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x144]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.1005a270
add esp, 0xc
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x18]
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x11c]
add eax, 4
push eax
call fcn.1006ccc0
mov ecx, eax
call fcn.1004de80
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x164]
call fcn.10017280
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x170]
call fcn.10017280
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x17c]
call fcn.10017280
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.10005f30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.10005f30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.10005f30
cmp dword [ebp - 0x158], 0
je 0x1006ec57
call dword [0x100fa7f0]
movzx ecx, al
test ecx, ecx
je 0x1006ebed
call dword [0x100fa7f8]
cmp eax, 3
jg 0x1006ebed
push 0x1f
lea edx, [ebp - 0x118]
push edx
call fcn.10040590
add esp, 8
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x138]
call fcn.10049c40
push eax
push 0x1f
push 0x100d5aa8
push 3
push 0xda
push str.mode_base.cpp
call dword [0x100fa800]
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x118]
call fcn.1000c290
mov ecx, dword [ebp - 0x11c]
cmp dword [ecx + 0xbe], 0
je 0x1006ec4e
mov edx, dword [ebp - 0x11c]
movzx eax, word [edx + 0x74]
and eax, 0xff
movzx ecx, al
or ecx, 0x500
movzx edx, cx
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or eax, 0x1f
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x18]
push edx
push 0x5f5
mov eax, dword [ebp - 0x11c]
add eax, 4
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0xbe]
call edx
mov byte [ebp - 0x11d], 0
jmp 0x1006ec5e
jmp 0x1006ec5e
movzx eax, byte [ebp - 0x11d]
test eax, eax
je 0x1006ecca
mov ecx, dword [ebp - 0x11c]
cmp dword [ecx + 0xbe], 0
je 0x1006ecca
mov edx, dword [ebp - 0x11c]
movzx eax, word [edx + 0x74]
and eax, 0xff
movzx ecx, al
or ecx, 0x500
movzx edx, cx
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or eax, 0x1e
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x18]
push edx
push 0x5f5
mov eax, dword [ebp - 0x11c]
add eax, 4
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0xbe]
call edx
mov al, byte [ebp - 0x11d]
mov byte [ebp - 0x120], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x100]
call fcn.10005f30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe8]
call fcn.10005f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.10005f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10005f30
mov al, byte [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret 8