Function at 0x43fa30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab443
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x234]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x43fa89
push ebx
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edi, dword [esi + 0x234]
push edi
mov dword [esi + 0x234], ebx
call dword [sym.imp.USER32.dll_CloseWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x20c]
mov dword [eax + 0x10], ebx
cmp byte [esi + 0x22c], bl
je 0x43fb02
mov ecx, dword [esi + 0x224]
mov edx, dword [esi + 0x228]
push ebx
push 0x82ca0000
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esi + 0x308]
mov edi, 0x10
cmp eax, edi
jb 0x43fad0
mov eax, dword [esi + 0x2f4]
jmp 0x43fad6
lea eax, [esi + 0x2f4]
mov ecx, dword [0x4d4148]
mov edx, dword [ebp - 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 0x1c]
push ebx
push ebx
sub edx, ecx
mov ecx, dword [ebp - 0x18]
push edx
sub ecx, dword [ebp - 0x20]
push ecx
push 0x40
push 0x40
push 0x82ca0000
push eax
push str.MainWindow
push ebx
jmp 0x43fb46
mov eax, dword [esi + 0x308]
mov edi, 0x10
cmp eax, edi
jb 0x43fb19
mov eax, dword [esi + 0x2f4]
jmp 0x43fb1f
lea eax, [esi + 0x2f4]
mov edx, dword [0x4d4148]
mov ecx, dword [esi + 0x228]
push ebx
push edx
mov edx, dword [esi + 0x224]
push ebx
push ebx
push ecx
push edx
push ebx
push ebx
push 0x90000000
push eax
push str.MainWindow
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x234], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [esi + 0x254], ebx
jne 0x43fb94
push 0xc74
call fcn.0047e72d
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x43fb85
push esi
mov ecx, eax
call fcn.00460250
jmp 0x43fb87
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x254], eax
mov edx, dword [esi + 0x234]
xor ecx, ecx
mov cl, byte [esi + 0x22c]
push ecx
mov ecx, dword [esi + 0x254]
push edx
call fcn.00460300
mov cl, byte [esi + 0x22c]
cmp cl, bl
je 0x43fc24
cmp eax, 6
jne 0x43fc20
cmp byte [esi + 0x22e], bl
je 0x43fbfd
push str.Please_set_your_desktop_color_depth_to_16_bit.
lea ecx, [ebp - 0x48]
call fcn.004037b0
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
mov dword [ebp - 4], 1
call dword [eax + 0x38]
cmp dword [ebp - 0x30], edi
jb 0x43fbf6
mov edx, dword [ebp - 0x44]
push edx
call fcn.0047df89
add esp, 4
push 1
call fcn.00480886
mov eax, dword [esi]
push ebx
mov ecx, esi
mov byte [esi + 0x22d], 1
call dword [eax + 0xac]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp cl, bl
jne 0x43fc88
cmp eax, 4
je 0x43fc2e
cmp eax, 5
jne 0x43fc88
mov edx, dword [esi]
push 1
mov ecx, esi
mov byte [esi + 0x22e], 1
call dword [edx + 0xac]
mov ecx, dword [esi + 0x254]
call fcn.0045f5d0
mov edx, dword [esi + 0x20c]
mov dword [edx + 0x10], eax
mov ecx, dword [esi + 0x20c]
call fcn.00445800
mov eax, dword [esi + 0x3dc]
mov ecx, dword [esi + 0x234]
push ebx
push eax
push 0x64
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x43fc41
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0045ff40
push eax
lea ecx, [ebp - 0x2c]
push str.Failed_to_initialize_DirectDraw:
push ecx
mov dword [ebp - 4], 2
call fcn.004064d0
add esp, 0x14
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [edx + 0x38]
cmp dword [ebp - 0x14], edi
jb 0x43fccc
mov eax, dword [ebp - 0x28]
push eax
call fcn.0047df89
add esp, 4
cmp dword [ebp - 0x4c], edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
jb 0x43fcea
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0047df89
add esp, 4
push 1
call fcn.00480886
int3