Function at 0x526050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc4
call fcn.004e5430
mov esi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x441a
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], str.Failed_to_create_a_window._n
mov dword [esp], eax
call fcn.004e6560
mov edx, 8
mov eax, esi
call fcn.0050b080
test eax, eax
je 0x526940
mov ebx, eax
mov eax, dword [eax]
lea edx, [ebp - 0xa0]
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0x1c]
sub esp, 8
mov edi, eax
mov eax, 0x4424
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0xa4]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x55dc00
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x4426
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
lea edx, [ebp - 0xb0]
mov dword [esp], ebx
mov dword [esp + 4], edx
call dword [eax + 0x24]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x4428
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x89
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x442b
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x98], 0x10
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x94], 0x800
mov dword [ebp - 0x90], 0x42
mov dword [ebp - 0x8c], 4
mov edx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x98]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x10
mov edi, eax
mov eax, 0x4432
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x9c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
mov edi, eax
mov eax, 0x4435
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebp - 0x9c]
mov dword [eax], 0xbf800000
mov dword [eax + 4], 0xbf800000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xffff0000
mov dword [eax + 0x10], 0xbf800000
mov dword [eax + 0x14], 0x3f800000
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0xff00ff00
mov dword [eax + 0x20], 0x3f800000
mov dword [eax + 0x24], 0xbf800000
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0xff0000ff
mov dword [eax + 0x30], 0x3f800000
mov dword [eax + 0x34], 0x3f800000
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0xffffffff
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x4438
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x77777777
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [eax + 0x28]
sub esp, 0x1c
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x443b
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x14]
sub esp, 4
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x443e
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0xa8]
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 5
call dword [eax + 0x7c]
sub esp, 0x18
mov edi, eax
mov eax, 0x4440
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x18]
sub esp, 4
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x4442
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebp - 0xb0]
mov ecx, 0xf0
mov edx, 0x140
call fcn.004e6580
mov edi, eax
call fcn.0054f6e0
mov ecx, 1
mov edx, 0x7f7f
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x4445
mov eax, edi
call fcn.004e50b0
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_colour_0x_08x._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x77777777
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [eax + 0x28]
sub esp, 0x1c
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x4448
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x14]
sub esp, 4
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x444b
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 0x557ca0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0xa8]
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 5
call dword [eax + pe_nt_image_headers32]
sub esp, 0x20
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x444d
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x18]
sub esp, 4
mov edi, eax
mov eax, 0x444f
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebp - 0xb0]
mov ecx, 0xf0
mov edx, 0x140
call fcn.004e6580
mov edi, eax
mov eax, 0x4452
call fcn.004e5d30
mov ecx, 1
mov edx, 0x7f7f
mov eax, edi
call fcn.004e50b0
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_colour_0x_08x._n
call fcn.004e6560
lea edx, [ebp - 0x78]
xor eax, eax
mov ecx, 0x1b
mov edi, edx
mov dword [ebp - 0x80], 2
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x88], 0x7c
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x84], 0x1007
mov dword [ebp - 0x7c], 2
mov dword [ebp - 0x20], 0x1800
mov dword [ebp - 0x40], 0x20
mov dword [ebp - 0x3c], 0x41
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x30], 0xff0000
mov dword [ebp - 0x2c], 0xff00
mov dword [ebp - 0x28], 0xff
mov dword [ebp - 0x24], 0xff000000
mov edx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x88]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0x10
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x4462
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov edx, dword [ebp - 0xac]
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call dword [eax + 0x8c]
sub esp, 0xc
mov edi, eax
mov eax, 0x4464
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x77777777
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [eax + 0x28]
sub esp, 0x1c
mov edi, eax
mov eax, 0x4467
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x14]
sub esp, 4
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x446a
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0xa8]
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 5
call dword [eax + 0x7c]
sub esp, 0x18
mov edi, eax
mov eax, 0x446c
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x18]
sub esp, 4
mov edi, eax
mov eax, 0x446e
call fcn.004e5d30
test edi, edi
mov dword [esp + 8], edi
sete al
cmp edi, 0x887602fb
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
sete dl
or eax, edx
movzx eax, al
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xa8]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xb0]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xa4]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xa0]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
mov ebx, eax
mov eax, 0x4476
call fcn.004e5d30
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Device_has__lu_references_left._n
mov dword [esp], eax
call fcn.004e6560
mov dword [esp], esi
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x441e
call fcn.004e5d30
mov dword [esp], str.Failed_to_create_a_3D_device__skipping_test._n
call fcn.004e5ff0
mov dword [esp], esi
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
jmp 0x52692f