Function at 0x1004f420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d360
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 0x1004f5df
cmp dword [esi + 0xca], 2
mov byte [ebp - 0x10c], 1
je 0x1004f5e6
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.1003d150
mov edi, eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x12c]
call fcn.1003d150
mov esi, eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x120]
call fcn.1003d150
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.10051710
mov ecx, eax
call fcn.10032860
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x108], eax
call fcn.10011580
lea ecx, [ebp - 0x12c]
call fcn.10011580
lea ecx, [ebp - 0x138]
call fcn.10011580
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x1004f76e
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f764
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fae8
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x1004f7ac
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f7a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fae8
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004f7e4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f7da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fae8
push ecx
push edx
call fcn.100635d4
add esp, 8
cmp dword [ebp - 0x108], 0
je 0x1004f8a5
call dword [0x10121134]
test al, al
je 0x1004f87a
call dword [0x10121130]
cmp eax, 3
jg 0x1004f87a
mov edx, 0x1f
lea ecx, [ebp - 0x28]
call fcn.10026b70
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 7
jbe 0x1004f81f
mov eax, dword [eax]
push eax
push 0x1f
push 0x10098bf4
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 0x1004f87a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f870
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004faed
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [esi + 0xbe]
test ecx, ecx
je 0x1004f89c
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 0x1004f8c7
mov ecx, dword [esi + 0xbe]
test ecx, ecx
je 0x1004f8c7
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 0x1004f8fb
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f8f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004faf2
push ecx
push edx
call fcn.100635d4
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 0x1004f941
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f937
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004faf2
push ecx
push edx
call fcn.100635d4
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 0x1004f987
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f97d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004faf2
push ecx
push edx
call fcn.100635d4
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 0x1004f9d0
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f9c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004faf2
push ecx
push edx
call fcn.100635d4
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 0x1004fa1f
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fa15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004faf2
push ecx
push edx
call fcn.100635d4
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 0x1004fa74
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fa6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004faf2
push ecx
push edx
call fcn.100635d4
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 0x1004fac5
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fabb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004faf2
push ecx
push edx
call fcn.100635d4
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.10063277
mov esp, ebp
pop ebp
ret 8
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
int3