Function at 0x43d9b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf4b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x2fc]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x43da0c
push ebx
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edi, dword [esi + 0x2fc]
push edi
mov dword [esi + 0x2fc], ebx
call dword [sym.imp.USER32.dll_CloseWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x2dc]
mov dword [eax + 0x10], ebx
mov al, byte [esi + 0x2f2]
test al, al
je 0x43da72
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x60]
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]
cmp dword [esi + 0x3c], 0x10
jb 0x43da43
mov eax, dword [esi + 0x28]
jmp 0x43da46
lea eax, [esi + 0x28]
mov ecx, dword [0x529598]
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 0x43daa1
cmp dword [esi + 0x3c], 0x10
jb 0x43da7d
mov eax, dword [esi + 0x28]
jmp 0x43da80
lea eax, [esi + 0x28]
mov edx, dword [0x529598]
mov ecx, dword [esi + 0x60]
push ebx
push edx
mov edx, dword [esi + 0x5c]
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 + 0x2fc], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0x31c]
or edi, 0xffffffff
cmp eax, ebx
jne 0x43db87
push 0xcec
call fcn.00497c10
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x43dae9
push esi
mov ecx, eax
call fcn.0042e3a0
jmp 0x43daeb
xor eax, eax
mov dword [esi + 0x31c], eax
mov eax, str.Is3D
mov dword [ebp - 4], edi
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], 0
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43db10
sub eax, ecx
push eax
push str.Is3D
lea ecx, [ebp - 0x2c]
call fcn.00402c7f
lea ecx, [ebp - 0xd]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0043a320
mov bl, al
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], edi
jb 0x43db54
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a773c
add esp, 4
test bl, bl
je 0x43db87
mov al, byte [esi + 0x56b]
test al, al
je 0x43db70
mov byte [esi + 0x56b], 0
mov byte [esi + 0x56c], 1
mov al, byte [ebp - 0xd]
test al, al
je 0x43db7e
mov byte [esi + 0x56c], 1
mov ecx, dword [esi + 0x31c]
mov byte [ecx + 0x10], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x90]
mov ecx, dword [esi + 0x2fc]
xor eax, eax
mov al, byte [esi + 0x2f2]
push eax
push ecx
mov ecx, dword [esi + 0x31c]
call fcn.00429ed0
mov edx, dword [esi + 0x31c]
mov ebx, eax
mov eax, dword [edx + 0xc]
test eax, eax
je 0x43dc1e
mov cl, byte [eax + 0x82]
test cl, cl
je 0x43dc1e
mov eax, str.Is3D
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43dbe0
sub eax, edx
push eax
push str.Is3D
lea ecx, [ebp - 0x2c]
call fcn.00402c7f
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00439d20
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], edi
jb 0x43dc1e
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a773c
add esp, 4
mov al, byte [esi + 0x2f2]
test al, al
je 0x43dc9b
cmp ebx, 6
jne 0x43dc93
mov al, byte [esi + 0x2f4]
test al, al
je 0x43dc6f
push str.Please_set_your_desktop_color_depth_to_16_bit.
lea ecx, [ebp - 0x2c]
call fcn.004030c7
mov edx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call dword [edx + 0x4c]
cmp dword [ebp - 0x14], 0x10
jb 0x43dc68
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a773c
add esp, 4
push 1
call fcn.004aa5ed
mov edx, dword [esi]
push 0
mov ecx, esi
mov byte [esi + 0x2f3], 1
call dword [edx + 0xc8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test al, al
jne 0x43dd28
cmp ebx, 4
je 0x43dca9
cmp ebx, 5
jne 0x43dd28
mov eax, dword [esi]
push 1
mov ecx, esi
mov byte [esi + 0x2f4], 1
call dword [eax + 0xc8]
mov al, byte [esi + 0x4bd]
test al, al
je 0x43dce0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xbc]
mov ecx, esi
mov byte [esi + 0x4bd], 0
call fcn.00432130
mov ecx, dword [esi + 0x31c]
call fcn.0040e9c0
mov ecx, dword [esi + 0x2dc]
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0x2dc]
call fcn.0045a640
mov edx, dword [esi + 0x468]
mov eax, dword [esi + 0x2fc]
push 0
push edx
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp ebx, 7
je 0x43dd3c
test ebx, ebx
je 0x43dcbc
mov ecx, esi
call fcn.004335a0
test al, al
je 0x43dd58
push 1
push 0
mov ecx, esi
call fcn.0043cc30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xa0]
push ebx
push ecx
call fcn.00422a20
push eax
lea edx, [ebp - 0x68]
push str.Failed_to_initialize_DirectDraw:
push edx
mov dword [ebp - 4], 4
call fcn.004065da
push 0x4c4364
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 5
call fcn.0040662a
mov ecx, dword [esi + 0x31c]
add ecx, 0xcd0
push ecx
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 6
call fcn.0040ae8b
add esp, 0x2c
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call dword [edx + 0x4c]
lea ecx, [ebp - 0x4c]
call fcn.00402982
lea ecx, [ebp - 0x84]
call fcn.00402982
lea ecx, [ebp - 0x68]
call fcn.00402982
lea ecx, [ebp - 0xa0]
call fcn.00402982
push 1
call fcn.004aa5ed
int3