Function at 0x4f6ff0
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x20ec
call fcn.005d9990
push ebx
push esi
mov esi, dword [esp + 0x20f8]
test esi, esi
jne 0x4f7012
pop esi
xor eax, eax
pop ebx
add esp, 0x20ec
ret
push edi
mov edi, dword [esp + 0x2100]
push edi
push esi
call fcn.004f6de0
add esp, 8
test eax, eax
je 0x4f78d6
mov ecx, dword [0x6a0f40]
cmp esi, ecx
mov eax, dword [0x673f64]
jne 0x4f71c8
test eax, eax
jne 0x4f71cc
mov eax, dword [0x673f5c]
test eax, eax
je 0x4f706e
push 2
push 0
push 0x8043
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4f795f
mov ecx, dword [0x6a0f40]
lea eax, [edi - 0xfa]
cmp eax, 0xb
ja case.0x4f7084.251
movzx eax, byte [eax + 0x4f7984]
jmp dword [eax*4 + 0x4f7970]
mov eax, dword [0x676e78]
test eax, eax
je 0x4f795f
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.main
push 0
call fcn.00528740
add esp, 0x28
test eax, eax
je 0x4f795f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x24
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [0x6a0f40]
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x6a0f40]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
mov dword [0x676e78], 1
call fcn.004d2850
call fcn.004d3310
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
mov dword [0x676e78], 0
call fcn.004d2850
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
mov edi, dword [0x680f2c]
xor edx, edx
test edi, edi
sete dl
push edx
push ecx
call fcn.0058eea0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
and edi, 0xfff0
sub edi, 0xf020
je 0x4f71b3
sub edi, 0x40
jne 0x4f78d6
mov eax, dword [0x680f34]
test eax, eax
je 0x4f78d6
push 0
push 0xf020
push 0x112
push ecx
jmp 0x4f7959
call fcn.00573860
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x20ec
ret
test eax, eax
je 0x4f71e2
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
mov eax, dword [0x673f5c]
test eax, eax
je 0x4f7221
push 2
push 0
push 0x8043
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4f795f
mov eax, edi
and eax, 0xfff0
sub eax, 0xf020
je 0x4f7221
sub eax, 0x40
je 0x4f7221
push 1
push esi
call fcn.004a8560
add esp, 8
lea eax, [edi - 0xfa]
cmp eax, 0x38
ja case.0x4f7230.252
jmp dword [eax*4 + 0x4f7990]
push esi
call fcn.00528f90
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push 0xffffffffffffffff
push 0
push esi
call fcn.00528320
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push esi
call fcn.00528bb0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
mov esi, dword [0x6a0f38]
test esi, esi
je 0x4f795f
cmp edi, 0x121
jne 0x4f72aa
mov eax, dword [esi]
push eax
call fcn.00528f90
add esp, 4
jmp 0x4f72da
cmp edi, 0x122
jne 0x4f72c5
mov ecx, dword [esi]
push 0
push 0xffffffffffffffff
push 0
push ecx
call fcn.00528320
add esp, 0x10
jmp 0x4f72da
cmp edi, 0x123
jne 0x4f72da
mov edx, dword [esi]
push 0
push edx
call fcn.00528bb0
add esp, 8
mov esi, dword [esi + 0x21c0]
test esi, esi
jne 0x4f7295
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push 0xffffffffffffffff
push 0
push esi
call fcn.00528320
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.00528bb0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push 0
push esi
call fcn.00429a60
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.004295a0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push 1
push 0
push 1
push 1
push 1
push esi
call fcn.004ecc10
add esp, 0x1c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push 5
jmp 0x4f73b1
push 0
push 2
push 0
push 1
push 1
push 1
push esi
call fcn.004ecc10
add esp, 0x1c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push 3
push 0
push 0
push 1
push 1
push esi
call fcn.004ecc10
add esp, 0x1c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push 4
push 0
push 0
push 0
push 1
push esi
call fcn.004ecc10
add esp, 0x1c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push esi
call fcn.0058ff30
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.0058ff30
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 2
push esi
call fcn.0058ff30
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 3
push esi
call fcn.0058ff30
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.0049cc60
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 2
push esi
call fcn.0058f9f0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.0058f9f0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push esi
call fcn.0058f9f0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 2
push esi
call fcn.0058fc90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.0058fc90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push esi
call fcn.0058fc90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.005902f0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0xffffffffffffffff
push esi
call fcn.005972a0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0xffffffffffffffff
push esi
call fcn.0058eea0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 2
push esi
call fcn.00590b00
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.00590b00
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push esi
call fcn.00590b00
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 2
push esi
call fcn.004118d0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.004118d0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push esi
call fcn.004118d0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 2
push esi
call fcn.00576e60
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.00576e60
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push esi
call fcn.00576e60
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.0041fd30
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.0041fed0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 2
jmp 0x4f767d
push 4
push esi
call fcn.0058ea30
add esp, 4
push eax
call fcn.0041fa70
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push esi
call fcn.0041ff90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.0041ff90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 2
push esi
call fcn.0041ff90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 3
push esi
call fcn.0041ff90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 4
push esi
call fcn.0041ff90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 5
push esi
call fcn.0041ff90
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.00508b30
push eax
push 1
lea eax, [esp + 0x109c]
push eax
push 0
push esi
call fcn.0044b180
add esp, 0x18
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push 0
push 0x479160
push 0x136
push esi
call fcn.004762c0
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.0050d470
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
mov dword [0x676e74], 6
call fcn.0058ea30
push eax
call fcn.00489140
add esp, 8
pop edi
pop esi
mov dword [0x676e74], 0
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.0058ea30
mov edi, eax
add esp, 4
test edi, edi
je 0x4f7877
mov eax, dword [edi + 0x1728]
test eax, eax
je 0x4f7877
lea ebx, [edi + 8]
push ebx
push 0x66c330
push str._s_s.bmp
push 0x691498
call fcn.005d9929
add esp, 0x10
push 6
push 0
push 0
push 0x13ef
call fcn.00424130
add esp, 8
push eax
push 3
push esi
call fcn.0054c360
add esp, 0x14
test eax, eax
je 0x4f795f
push 0x6918d0
push 0x691498
push ebx
lea ecx, [esp + 0x34]
push str.__.drawsave__b24__s___s_s_
push ecx
call fcn.005d9929
mov edx, dword [edi + 0x1e90]
mov ecx, dword [edi]
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.00448030
add esp, 0x30
test eax, eax
jne 0x4f795f
push 0
call fcn.00421dc0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret
and edi, 0xfff0
sub edi, 0xf020
je 0x4f7933
sub edi, 0x40
je 0x4f78e2
sub edi, 0xc0
jne 0x4f78d6
call fcn.004a7b80
mov eax, dword [0x6403dc]
test eax, eax
je 0x4f78d6
mov edx, dword [0x6a0f40]
push 0
push 0xad
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.0058ea30
add esp, 4
test eax, eax
je 0x4f791b
cmp dword [eax + 0x1314], 2
jne 0x4f791b
mov ecx, dword [eax + 0x1378]
test ecx, ecx
je 0x4f791b
pop edi
pop esi
mov dword [eax + 0x1378], 0
mov eax, 1
pop ebx
add esp, 0x20ec
ret
push esi
call fcn.00425270
add esp, 4
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
add esp, 0x20ec
ret
push 1
push esi
call fcn.004a8840
mov eax, dword [0x6403dc]
add esp, 8
test eax, eax
je 0x4f795f
mov eax, dword [0x6a0f40]
push 0
push 0xad
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20ec
ret