Function at 0x1004f400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d470
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x110], esi
push dword [esi + 0xc]
xorps xmm0, xmm0
mov byte [ebp - 0x101], 1
push dword [esi + 8]
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xf0], 0
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xec], 0
call fcn.10003170
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
push dword [esi + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push dword [esi + 0x10]
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
call fcn.10003170
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
push dword [esi + 0x92]
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push dword [esi + 0x8e]
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
call fcn.10003170
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
push dword [esi + 0x9a]
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push dword [esi + 0x96]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
call fcn.10003170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push dword [esi + 0xa2]
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push dword [esi + 0x9e]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.10003170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push dword [esi + 0xb4]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push dword [esi + 0xb0]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.10003170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
push dword [esi + 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push dword [esi + 0x2c]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.10003170
mov eax, dword [esi + 0xd2]
mov dword [ebp - 0x108], eax
mov eax, 4
mov dword [ebp - 0x114], 0
cmp ax, word [esi + 0x74]
jne 0x1004f5bf
cmp dword [esi + 0xca], 2
mov byte [ebp - 0x10c], 1
je 0x1004f5c6
mov byte [ebp - 0x10c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 1
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov word [ebp - 0x28], 0x2c
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xd4], 0xf
mov word [ebp - 0xe8], 0x2c
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xbc], 0xf
mov word [ebp - 0xd0], 0x2c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x138]
call fcn.1003d120
mov edi, eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x12c]
call fcn.1003d120
mov esi, eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x120]
call fcn.1003d120
add esp, 0xc
mov ecx, eax
push dword [ebp - 0x10c]
mov edx, dword [ebp - 0x110]
push dword [ebp + 0xc]
mov byte [ebp - 4], 0xc
push dword [ebp + 8]
cmp dword [edx + 0xde], 1
sete al
movzx eax, al
push eax
push dword [ebp - 0x108]
lea eax, [edx + 0xb8]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push esi
mov esi, edx
lea eax, [ebp - 0xb8]
push ecx
push dword [esi + 0x1c]
lea edi, [esi + 4]
push dword [esi + 0x18]
push eax
lea eax, [ebp - 0x100]
push eax
push edi
call fcn.100516f0
mov ecx, eax
call fcn.10032820
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x108], eax
call fcn.10011530
lea ecx, [ebp - 0x12c]
call fcn.10011530
lea ecx, [ebp - 0x138]
call fcn.10011530
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x1004f74e
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f744
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fac8
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x1004f78c
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fac8
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004f7c4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f7ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fac8
push ecx
push edx
call fcn.10063694
add esp, 8
cmp dword [ebp - 0x108], 0
je 0x1004f885
call dword [0x10121134]
test al, al
je 0x1004f85a
call dword [0x10121130]
cmp eax, 3
jg 0x1004f85a
mov edx, 0x1f
lea ecx, [ebp - 0x28]
call fcn.10026b10
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 7
jbe 0x1004f7ff
mov eax, dword [eax]
push eax
push 0x1f
push 0x10098c6c
push 3
push 0xe1
push str.mode_base.cpp
call dword [0x10121138]
mov byte [ebp - 4], 6
add esp, 0x18
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x1004f85a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f850
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004facd
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [esi + 0xbe]
test ecx, ecx
je 0x1004f87c
movzx eax, byte [esi + 0x74]
shl eax, 0x10
or eax, 0x500001f
push eax
push dword [esi + 0x18]
push 0x5f5
push edi
call ecx
mov byte [ebp - 0x101], 0
jmp 0x1004f8a7
mov ecx, dword [esi + 0xbe]
test ecx, ecx
je 0x1004f8a7
movzx eax, byte [esi + 0x74]
shl eax, 0x10
or eax, 0x500001e
push eax
push dword [esi + 0x18]
push 0x5f5
push edi
call ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1004f8db
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f8d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fad2
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x1004f921
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f917
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fad2
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0xf
jbe 0x1004f967
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f95d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fad2
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x1004f9b0
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f9a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fad2
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x1004f9ff
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f9f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fad2
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp ecx, 0xf
jbe 0x1004fa54
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fa4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fad2
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp ecx, 0xf
jbe 0x1004faa5
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fa9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fad2
push ecx
push edx
call fcn.10063694
add esp, 8
mov al, byte [ebp - 0x101]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063337
mov esp, ebp
pop ebp
ret 8
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
int3