Function at 0x4dc9e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x2c
push ebp
mov ebp, ecx
mov ecx, dword [0x5ab6c4]
call fcn.004e2760
test eax, eax
jne 0x4dc9fa
pop ebp
add esp, 0x2c
ret
push ebx
push esi
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
mov edx, str.main
xor ecx, ecx
call fcn.004feda0
mov edi, dword [esp + 0x1c]
test edi, edi
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jne 0x4dcaf9
test ebx, ebx
jne 0x4dcaf9
test eax, eax
jne 0x4dcaf9
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4dcaf9
lea ecx, [esp + 0x2c]
mov dword [0x5aa5f0], eax
call fcn.005449e0
mov ecx, dword [esp + 0x34]
cmp ecx, 0x2ee
jge 0x4dca92
lea esi, [ecx + ecx*2]
shl esi, 1
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
jmp 0x4dcaa0
lea eax, [ecx + ecx*2]
cdq
and edx, 3
add eax, edx
mov ebx, eax
sar ebx, 2
mov eax, ecx
mov ecx, dword [esp + 0x38]
sub eax, ebx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp ecx, 0x226
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
jge 0x4dcad0
lea edx, [ecx + ecx*8]
shl edx, 1
mov eax, 0x6bca1af3
imul edx
sar edx, 3
jmp 0x4dcae1
lea esi, [ecx + ecx*2]
shl esi, 1
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x18], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov ecx, dword [0x5b3c0c]
test ecx, ecx
je 0x4dcb0b
mov dword [esp + 0x20], 3
mov ecx, dword [0x5b4310]
mov edx, dword [esp + 0x18]
push 0
push ecx
push 0
push 0
push edx
push ebx
push eax
push edi
push 0x6cf0000
push 0x59c030
push 0x59bbdc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x5b4314], eax
jne 0x4dcb4a
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x2c
ret
call fcn.004d2020
test eax, eax
je 0x4dcb40
call fcn.004dc4d0
test eax, eax
je 0x4dcb40
call fcn.00533320
test eax, eax
mov dword [0x5b3198], eax
je 0x4dcb40
call fcn.00529e80
test eax, eax
mov dword [0x5b1880], eax
je 0x4dcb40
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x4dcb85
push 3
jmp 0x4dcbc3
cmp eax, 1
je 0x4dcb99
cmp eax, 3
je 0x4dcb99
mov ecx, dword [0x5b4314]
push ebp
push ecx
jmp 0x4dcbc9
mov ecx, dword [0x5b3c04]
test ecx, ecx
jne 0x4dcba8
cmp eax, 3
jne 0x4dcbc1
mov ecx, 1
call fcn.00537e30
test eax, eax
je 0x4dcbc1
mov edx, dword [0x5b4314]
push 0
push edx
jmp 0x4dcbc9
push 7
mov eax, dword [0x5b4314]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5b3c08]
test eax, eax
je 0x4dcbe2
mov ecx, 1
call fcn.00537e30
call fcn.0041b000
mov ecx, dword [0x5b4314]
xor edx, edx
call fcn.004c71d0
call fcn.004dbb90
mov ecx, dword [0x5b4318]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call esi
mov edx, dword [0x5b4314]
push edx
call esi
mov eax, dword [0x5ab6c4]
push eax
push 0
push 0
xor edx, edx
mov ecx, str.Status_Window
call fcn.00548f10
mov ecx, dword [0x5ab6c4]
mov dword [ecx], eax
mov ecx, dword [0x5ab6c4]
cmp dword [ecx], 0
je 0x4dcb40
call fcn.004c12d0
mov edx, dword [0x5b4318]
push edx
call esi
mov eax, dword [0x5b4314]
push eax
call esi
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x2c
ret