Function at 0x4407c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d8
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x18]
test edi, edi
je 0x440831
mov ebx, dword [ebp + 0xc]
push 0x3c
push ebx
push dword [ebp + 8]
call fcn.0043fd70
cmp eax, 0xffffffff
jne 0x440846
push 0x3c
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.0043fe40
cmp eax, 0xffffffff
jne 0x440846
movzx eax, bx
push eax
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
lea eax, [ebp - 0x8c]
push str.ChangeDisplayResolution_Not_Found:_dx_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0xc
push 0
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0x4d4]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x2c]
push 0x3c
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.0047ebc0
mov eax, dword [esi + 0x18]
lea edx, [ebp - 0xc8]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x440831
mov edi, dword [ebp - 0xa0]
xor bl, bl
mov dword [ebp - 0x4d0], edi
cmp byte [esi + 0x3d], bl
jbe 0x4408ba
movzx eax, bl
mov ecx, dword [esi + eax*4 + 0x48]
lea edi, [esi + eax*4]
test ecx, ecx
je 0x4408ad
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x48], 0
inc bl
cmp bl, byte [esi + 0x3d]
jb 0x440892
mov edi, dword [ebp - 0x4d0]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4408ce
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4408e2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x74], 0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4408f6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x70], 0
mov eax, dword [esi + 0x38]
mov edx, 0x1c
push 2
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x34]
movups xmm0, xmmword [eax + ecx*4]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + ecx*4 + 0x10]
mov eax, dword [ebp + 8]
movzx ebx, ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa0], edi
movzx edi, ax
xor eax, eax
cmp dword [ebp - 0x4d4], eax
movq qword [ebp - 0xb8], xmm0
cmovne edx, eax
mov dword [ebp - 0xb0], 0
mov eax, dword [esi + 0x18]
push edx
push edi
push ebx
push dword [ebp - 0x4d0]
mov dword [ebp - 0x90], 2
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xb8], edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
je 0x440988
push str.ResizeBuffers_failed_n
jmp 0x44082b
push 0x200
lea eax, [ebp - 0x4cc]
push 0
push eax
call fcn.0047ebc0
add esp, 0xc
lea eax, [ebp - 0x4cc]
mov ecx, esi
push eax
push dword [ebp - 0xc4]
movzx eax, byte [esi + 0x3d]
push dword [ebp - 0xc8]
push eax
call fcn.00440180
test al, al
je 0x440831
mov eax, dword [esi + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 8]
mov word [esi + 4], ax
mov eax, dword [ebp + 0xc]
push 0x200
mov word [esi + 6], ax
lea eax, [ebp - 0x2cc]
push 0
push eax
call fcn.0047ebc0
push dword [ebp - 0xc4]
lea eax, [ebp - 0x2cc]
push dword [ebp - 0xc8]
push str.ResizeBuffer:__d__d__n
push eax
call fcn.0044d1b0
add esp, 0x1c
lea eax, [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esi]
lea eax, [esi + 8]
mov ecx, dword [esi + 0x10]
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 4]
push eax
call fcn.004405a0
add esp, 0xc
mov ecx, esi
call fcn.00440b20
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0xc