Function at 0x4e96a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x2c
push ebp
mov ebp, ecx
mov ecx, dword [0x5f002c]
call fcn.004f0af0
test eax, eax
jne 0x4e96ba
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.0050ee40
mov edi, dword [esp + 0x1c]
test edi, edi
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jne 0x4e97b9
test ebx, ebx
jne 0x4e97b9
test eax, eax
jne 0x4e97b9
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e97b9
lea ecx, [esp + 0x2c]
mov dword [0x5eeeb0], eax
call fcn.005630a0
mov ecx, dword [esp + 0x34]
cmp ecx, 0x2ee
jge 0x4e9752
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 0x4e9760
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 0x4e9790
lea edx, [ecx + ecx*8]
shl edx, 1
mov eax, 0x6bca1af3
imul edx
sar edx, 3
jmp 0x4e97a1
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 [0x5f8a54]
test ecx, ecx
je 0x4e97cb
mov dword [esp + 0x20], 3
mov ecx, dword [0x5f92e8]
mov edx, dword [esp + 0x18]
push 0
push ecx
push 0
push 0
push edx
push ebx
push eax
push edi
push 0x6cf0000
push 0x5c0170
push 0x5bfc54
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x5f92ec], eax
jne 0x4e980a
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x2c
ret
call fcn.004ddfd0
test eax, eax
je 0x4e9800
call fcn.004e9180
test eax, eax
je 0x4e9800
call fcn.00548b70
test eax, eax
mov dword [0x5f7ff4], eax
je 0x4e9800
call fcn.0053c780
test eax, eax
mov dword [0x5f6bf8], eax
je 0x4e9800
call fcn.0054f230
test eax, eax
mov dword [0x5f8b80], eax
je 0x4e9800
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x4e9853
push 3
jmp 0x4e9891
cmp eax, 1
je 0x4e9867
cmp eax, 3
je 0x4e9867
mov ecx, dword [0x5f92ec]
push ebp
push ecx
jmp 0x4e9897
mov ecx, dword [0x5f8a4c]
test ecx, ecx
jne 0x4e9876
cmp eax, 3
jne 0x4e988f
mov ecx, 1
call fcn.0054d610
test eax, eax
je 0x4e988f
mov edx, dword [0x5f92ec]
push 0
push edx
jmp 0x4e9897
push 7
mov eax, dword [0x5f92ec]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5f8a50]
test eax, eax
je 0x4e98b0
mov ecx, 1
call fcn.0054d610
call fcn.0041c950
mov ecx, dword [0x5f92ec]
xor edx, edx
call fcn.004d2c50
call fcn.004e8020
mov ecx, dword [0x5f92f0]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call esi
mov edx, dword [0x5f92ec]
push edx
call esi
mov eax, dword [0x5f002c]
push eax
push eax
push 0
push 0
xor edx, edx
mov ecx, str.Status_Window
call fcn.005677e0
mov ecx, dword [0x5f002c]
mov dword [ecx], eax
mov ecx, dword [0x5f002c]
cmp dword [ecx], 0
je 0x4e9800
call fcn.004cc800
mov edx, dword [0x5f92f0]
push edx
call esi
mov eax, dword [0x5f92ec]
push eax
call esi
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x2c
ret