Function at 0x100405b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100824dc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100afcf0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x1c], 0xf
mov dword [ebx + 0x18], 0
mov byte [ebx + 8], 0
movss xmm0, dword [ebp + 0x2c]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
movss dword [ebx + 0x48], xmm0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x64], 0xf
mov dword [ebx + 0x60], 0
mov dword [ebp - 4], 0
mov byte [ebx + 0x50], 0
lea ecx, [ebx + 0x6c]
mov byte [ebp - 4], 1
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
call fcn.10021580
mov dword [ebx + 0x6c], eax
push 0x10040cd0
mov byte [ebp - 4], 2
mov dword [ebx], 0xffffffff
mov word [ebx + 0x68], pe_nt_image_headers32
mov dword [ebp - 0x10], ebx
call fcn.10043400
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x20]
cmp dword [esi + 8], 4
jae 0x100406bc
push dword [esi + 4]
call fcn.10060d01
push 4
call fcn.10060cb0
add esp, 8
mov dword [esi + 4], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push dword [esi + 4]
call fcn.10064066
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x100b70b0]
push dword [ebp + 8]
mov dword [eax + 0x34], ecx
inc dword [0x100b70b0]
call fcn.10050690
mov edi, eax
add esp, 0x14
mov esi, dword [edi + 4]
add esi, dword [edi]
call fcn.10060990
movss xmm0, dword [ebp + 0xc]
mov ecx, edi
fstp dword [ebp + 8]
divss xmm0, dword [ebp + 8]
movss dword [esi + 0x58], xmm0
call fcn.1004f980
mov eax, dword [edi + 4]
mov ecx, edi
add eax, dword [edi]
movss xmm0, dword [ebp + 0x10]
movss dword [eax + 0x5c], xmm0
call fcn.1004f980
mov ecx, edi
call fcn.10050ae0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], edi
mov eax, dword [ebp - 0x10]
push dword [eax + 0x38]
call fcn.10050690
mov edi, eax
add esp, 4
mov esi, dword [edi + 4]
add esi, dword [edi]
call fcn.10060990
movss xmm0, dword [ebp + 0xc]
mov ecx, edi
fstp dword [ebp + 8]
divss xmm0, dword [ebp + 8]
movss dword [esi + 0x58], xmm0
call fcn.1004f980
mov eax, dword [edi + 4]
mov ecx, edi
add eax, dword [edi]
movss xmm0, dword [ebp + 0x10]
movss dword [eax + 0x5c], xmm0
call fcn.1004f980
mov eax, dword [ebp - 0x10]
sub esp, 8
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 0
push 4
push dword [eax + 0x38]
push 4
call fcn.1004fa00
cmp byte [ebp + 0x28], 0
jne 0x100407eb
push 0x1008a2c0
mov ecx, edi
call fcn.10050940
push 0
push 0x1008c4f0
call fcn.1004bb00
add esp, 8
mov ecx, edi
push eax
call fcn.10050980
push ecx
mov ecx, edi
mov dword [esp], 0x3c75c28f
call fcn.100509c0
push ecx
mov ecx, edi
mov dword [esp], 0x3ba3d70a
call fcn.100509f0
mov ecx, edi
call fcn.10050780
mov ecx, edi
call fcn.10050ae0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], edi
mov eax, dword [ebp - 0x10]
push dword [eax + 0x38]
call fcn.10050690
mov edi, eax
add esp, 4
mov esi, dword [edi + 4]
add esi, dword [edi]
call fcn.10060990
movss xmm0, dword [ebp + 0xc]
mov ecx, edi
fstp dword [ebp + 8]
divss xmm0, dword [ebp + 8]
movss dword [esi + 0x58], xmm0
call fcn.1004f980
mov eax, dword [edi + 4]
mov ecx, edi
add eax, dword [edi]
movss xmm0, dword [ebp + 0x10]
movss dword [eax + 0x5c], xmm0
call fcn.1004f980
mov eax, dword [ebp - 0x10]
sub esp, 8
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 0
push 4
push dword [eax + 0x38]
push 4
call fcn.1004fa00
cmp byte [ebp + 0x28], 0
jne 0x100408bd
push 0
push str.EscMenuButtonPushedBackground
call fcn.1004bb00
add esp, 8
mov ecx, edi
push eax
call fcn.10050940
push 0
push str.EscMenuButtonPushedBorder
call fcn.1004bb00
add esp, 8
mov ecx, edi
push eax
call fcn.10050980
push ecx
mov ecx, edi
mov dword [esp], 0x3c75c28f
call fcn.100509c0
push ecx
mov ecx, edi
mov dword [esp], 0x3ba3d70a
call fcn.100509f0
mov ecx, edi
call fcn.10050780
mov ecx, edi
call fcn.10050890
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edi
mov eax, dword [ebp - 0x10]
push dword [eax + 0x38]
call fcn.10050690
mov edi, eax
add esp, 4
mov esi, dword [edi + 4]
add esi, dword [edi]
call fcn.10060990
movss xmm0, dword [ebp + 0xc]
mov ecx, edi
fstp dword [ebp + 8]
divss xmm0, dword [ebp + 8]
movss dword [esi + 0x58], xmm0
call fcn.1004f980
mov eax, dword [edi + 4]
mov ecx, edi
add eax, dword [edi]
movss xmm0, dword [ebp + 0x10]
movss dword [eax + 0x5c], xmm0
call fcn.1004f980
mov eax, dword [ebp - 0x10]
sub esp, 8
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 0
push 4
push dword [eax + 0x38]
push 4
call fcn.1004fa00
cmp byte [ebp + 0x28], 0
jne 0x1004098f
push 0
push str.EscMenuButtonDisabledBackground
call fcn.1004bb00
add esp, 8
mov ecx, edi
push eax
call fcn.10050940
push 0
push str.EscMenuButtonDisabledBorder
call fcn.1004bb00
add esp, 8
mov ecx, edi
push eax
call fcn.10050980
push ecx
mov ecx, edi
mov dword [esp], 0x3c75c28f
call fcn.100509c0
push ecx
mov ecx, edi
mov dword [esp], 0x3ba3d70a
call fcn.100509f0
mov ecx, edi
call fcn.10050780
mov ecx, edi
call fcn.10050890
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], edi
mov eax, dword [ebp - 0x10]
push dword [eax + 0x38]
call fcn.1004fb20
add esp, 4
mov edi, eax
mov ecx, edi
push dword [ebp + 0x14]
call fcn.1004fd50
mov esi, dword [edi + 4]
add esi, dword [edi]
call fcn.10060990
movss xmm0, dword [ebp + 0xc]
mov ecx, edi
fstp dword [ebp + 0x28]
divss xmm0, dword [ebp + 0x28]
movss dword [esi + 0x58], xmm0
call fcn.1004f980
mov eax, dword [edi + 4]
mov ecx, edi
add eax, dword [edi]
movss xmm0, dword [ebp + 0x10]
movss dword [eax + 0x5c], xmm0
call fcn.1004f980
mov eax, dword [ebp - 0x10]
sub esp, 8
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 0
push 4
push dword [eax + 0x38]
push 4
call fcn.1004fa00
mov ecx, edi
call fcn.10050ae0
mov eax, dword [ebp - 0x10]
mov ecx, edi
push dword [eax + 0x20]
push 0xbba
push 0xbb9
call fcn.1004fd70
mov eax, dword [ebp - 0x10]
mov ecx, edi
push dword [eax + 0x20]
push 0xbb8
call fcn.1004fd20
push dword [edi]
call fcn.100429a0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
push str.cffffcc00Brutton__d
push 0x50
push 0x100b70d8
call fcn.100616da
push 0xe8
call fcn.10060cb0
mov edi, eax
add esp, 0x18
mov dword [ebp + 0x28], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x10040b10
sub esp, 0x10
lea ecx, [ebp + 0xc]
mov dword [esp + 0xc], 0x3f666666
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.10042d20
sub esp, 0x10
lea ecx, [ebp + 0x10]
mov esi, eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f000000
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0x3f000000
call fcn.10042d20
movss xmm0, dword [ebp + 0x2c]
push 0
push 0
push dword [esi]
push dword [eax]
mov eax, dword [ebp - 0x10]
push dword [0x100afbd4]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0x100b70d8
push dword [eax + 0x3c]
call fcn.1003cfb0
jmp 0x10040b12
xor eax, eax
mov dword [ebx + 0x44], eax
sub esp, 8
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [esp + 4], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebp + 0x20]
mov dword [esp], 0
push 4
push dword [ebx + 0x3c]
mov dword [ebx + 0x30], eax
mov eax, dword [ecx]
push 4
call dword [eax + 0xc]
movzx eax, byte [0x100b70d4]
mov ecx, 0x100b70c4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1003b560
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28