Function at 0x4dcdd0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x3e8
push ebx
push esi
push edi
movzx edi, dx
lea eax, [edi - 0x65]
cmp eax, 0x66
mov esi, ecx
ja case.0x4dcdf6.142
movzx eax, byte [eax + 0x4dd7a4]
mov ebx, 1
jmp dword [eax*4 + 0x4dd6fc]
mov ecx, dword [0x5b4314]
push 0
push 0
push 0x8054
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
call fcn.004e27f0
mov ecx, eax
call fcn.004e4c10
test eax, eax
jne 0x4dd696
xor ecx, ecx
call fcn.0041d520
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5ac5d8]
test eax, eax
jne 0x4dd696
mov edx, dword [esp + 0x3f8]
push 0
mov dword [0x5aa5ec], edx
mov dword [0x5ad280], 8
mov dword [0x5ad288], ebx
push 0x4ea350
mov edx, 0x29e
jmp 0x4dd048
mov eax, dword [0x5ac5d8]
test eax, eax
jne 0x4dd696
mov eax, dword [esp + 0x3f8]
push 0
mov dword [0x5aa5ec], eax
push 0x4ea350
mov edx, 0x29e
jmp 0x4dd048
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov edx, 0x3e7
lea ecx, [esp + 0xc]
call fcn.0041ef30
mov ecx, dword [0x5b4320]
call fcn.00542c90
mov esi, eax
cmp dword [esi + 0x708], ebx
jne 0x4dcf0b
lea ecx, [esi + 0x26a]
push ecx
lea edx, [esi + 8]
push edx
lea eax, [esp + 0x14]
push 0x584610
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [esi + 0xbbc]
push ecx
mov ecx, dword [0x5b4314]
lea edx, [esp + 0x10]
push edx
mov edx, 2
call fcn.00427670
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [esp + 0x3f8]
mov ecx, dword [0x5b4314]
push 0
push eax
push 0x8053
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, dword [esp + 0x3f8]
call fcn.0042c300
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
xor ecx, ecx
call fcn.005147e0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, ebx
call fcn.005147e0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, 2
call fcn.005147e0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x59f16c]
test eax, eax
jne 0x4dd696
mov ecx, dword [0x5b4320]
test ecx, ecx
je 0x4dd00d
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4dd007
mov edx, dword [0x5b4320]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4dd007
mov ecx, dword [0x5b4320]
call fcn.00543010
test eax, eax
mov ecx, dword [0x5b4320]
jne 0x4dd00d
mov esi, ecx
jmp 0x4dd013
mov ecx, dword [0x5b4320]
mov esi, dword [0x5b4314]
test ecx, ecx
mov eax, dword [esp + 0x3f8]
mov dword [0x5aa5ec], eax
je 0x4dd03c
call fcn.00543010
test eax, eax
jne 0x4dd03c
mov esi, dword [0x5b4320]
mov dword [0x5aa5ec], 2
push 0
push 0x407000
mov edx, 0x1e
mov ecx, esi
call fcn.004675d0
pop edi
pop esi
mov eax, ebx
mov dword [0x5aa5ec], 0
pop ebx
add esp, 0x3e8
ret 4
mov ecx, dword [esp + 0x3f8]
call fcn.004872d0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae38]
test eax, eax
jne 0x4dce35
mov ecx, dword [esp + 0x3f8]
push 0
mov dword [0x5aa5ec], ecx
push 0x467850
mov edx, 0x30c
mov ecx, esi
mov dword [0x5aae38], ebx
call fcn.004675d0
pop edi
pop esi
mov eax, ebx
mov dword [0x5aa5ec], 0
mov dword [0x5aae38], 0
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae34]
test eax, eax
jne 0x4dce35
mov eax, dword [0x5a5710]
mov edx, dword [esp + 0x3f8]
mov ecx, dword [0x5b4320]
push 0
push eax
push 0
push 0
mov dword [0x5aa5ec], edx
push 0
xor edx, edx
mov dword [0x5aae34], ebx
call fcn.005153b0
pop edi
pop esi
mov eax, ebx
mov dword [0x5aa5ec], 0
mov dword [0x5aae34], 0
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae30]
test eax, eax
jne 0x4dce35
mov ecx, dword [esp + 0x3f8]
push 0
push 0
push 0
push 0
push 0
mov dword [0x5aa5ec], ecx
mov ecx, dword [0x5b4320]
push 0
xor edx, edx
mov dword [0x5aae30], ebx
call fcn.0042e890
pop edi
pop esi
mov eax, ebx
mov dword [0x5aa5ec], 0
mov dword [0x5aae30], 0
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5ac5d8]
test eax, eax
jne 0x4dd696
push 0
push 0x4ea350
mov edx, 0x29e
mov ecx, esi
mov dword [0x5ad280], 5
mov dword [0x5ad2a0], ebx
call fcn.004675d0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
xor ecx, ecx
call fcn.004d3f50
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5a9f7c]
test eax, eax
jne 0x4dce35
push 0
push 0x4cd310
mov edx, 0x263
mov ecx, esi
call fcn.004675d0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x59bc34]
xor edx, edx
test eax, eax
sete dl
mov dword [0x59bc34], edx
call fcn.004dc4d0
call fcn.004b5990
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, dword [0x59bd80]
xor eax, eax
test ecx, ecx
sete al
mov dword [0x59bd80], eax
call fcn.004dc4d0
call fcn.004dbb90
call fcn.004b5990
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x59bd48]
xor ecx, ecx
test eax, eax
sete cl
mov dword [0x59bd48], ecx
call fcn.004dc4d0
call fcn.00531c60
call fcn.004dbb90
call fcn.00497840
call fcn.004b5990
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x59bc30]
xor edx, edx
test eax, eax
sete dl
mov dword [0x59bc30], edx
call fcn.004dc4d0
call fcn.004b5990
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5b4314]
push 0
push 0x9f
push 0x111
push eax
mov dword [0x5ad280], 6
mov dword [0x5ad294], ebx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5b4328]
test eax, eax
je 0x4dd344
cmp eax, dword [0x5b4320]
je 0x4dd36a
mov ecx, dword [0x5b4318]
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ecx, dword [0x5b4328]
cmp eax, ecx
jne 0x4dd344
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, ebx
call fcn.004e8730
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5b4324]
test eax, eax
je 0x4dd385
cmp eax, dword [0x5b4320]
jne 0x4dd385
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
call fcn.0053bb90
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae2c]
test eax, eax
jne 0x4dce35
mov edx, dword [esp + 0x3f8]
push 0
mov dword [0x5aa5ec], edx
push 0x436cc0
mov edx, 0xa0
mov ecx, esi
mov dword [0x5aae2c], ebx
call fcn.004675d0
pop edi
pop esi
mov eax, ebx
mov dword [0x5aa5ec], 0
mov dword [0x5aae2c], 0
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae28]
test eax, eax
jne 0x4dce35
mov ecx, dword [0x5b4320]
mov dword [0x5aae28], ebx
call fcn.0048d630
pop edi
pop esi
mov eax, ebx
mov dword [0x5aae28], 0
pop ebx
add esp, 0x3e8
ret 4
mov ecx, dword [esp + 0x3f8]
call fcn.00497220
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, dword [esp + 0x3f8]
call fcn.00497300
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
call fcn.004973c0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae24]
test eax, eax
jne 0x4dce35
push 0
push 0x46b030
mov edx, 0x35c
mov ecx, esi
mov dword [0x5aae24], ebx
call fcn.004675d0
pop edi
pop esi
mov eax, ebx
mov dword [0x5aae24], 0
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae20]
test eax, eax
jne 0x4dce35
push 0
push 0x46dab0
mov edx, 0x366
mov ecx, esi
mov dword [0x5aae20], ebx
call fcn.004675d0
pop edi
pop esi
mov eax, ebx
mov dword [0x5aae20], 0
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5b4320]
test eax, eax
je 0x4dd696
push 0
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5b4320]
test eax, eax
je 0x4dd696
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4dd548
mov eax, dword [0x5b4320]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, dword [0x5b4320]
push 3
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, 0xbe
call fcn.0041db90
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
xor ecx, ecx
call fcn.0041db90
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, 2
call fcn.0053afa0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, 3
call fcn.0053afa0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae1c]
test eax, eax
jne 0x4dce35
mov edi, dword [esp + 0x3f8]
test edi, edi
mov dword [0x5aae1c], ebx
jl 0x4dd5e4
cmp edi, ebx
jle 0x4dd5e8
xor edi, edi
jmp 0x4dd625
test edi, edi
je 0x4dd625
push 0x5a98a0
push 0x3e7
push 0x5aa640
push 0x583b74
mov edx, 0x584774
mov ecx, str.about
call fcn.004b1f10
push str.flatland
push 0x5aa640
call fcn.005809c6
add esp, 8
test eax, eax
je 0x4dd649
push edi
push 0x401600
mov edx, 0xa
mov ecx, esi
call fcn.004675d0
cmp eax, 0x7b0
je 0x4dd645
push 0
call fcn.00573096
test edi, edi
je 0x4dd64e
call fcn.004db530
pop edi
pop esi
mov eax, ebx
mov dword [0x5aae1c], 0
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [0x5aae18]
test eax, eax
jne 0x4dce35
push 0
push 0x4c7aa0
mov edx, 0x2c6
mov ecx, esi
mov dword [0x5aae18], ebx
call fcn.004675d0
mov dword [0x5aae18], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x3e8
ret 4
mov ecx, edi
call fcn.004d7c40
test eax, eax
je 0x4dd6c0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x3e8
ret 4
mov ecx, edi
call fcn.004d9e30
test eax, eax
jne 0x4dd6af
mov ecx, edi
call fcn.004d40e0
test eax, eax
jne 0x4dd6af
mov ecx, edi
call fcn.004d4370
test eax, eax
jne 0x4dd6af
mov ecx, edi
call fcn.004daa60
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x3e8
ret 4