Function at 0x4f49ec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4f49f4
push ebx
push esi
push edi
mov eax, 0x4f43d4
call fcn.004078d0
xor eax, eax
push ebp
push 0x4f54d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4f4134
call fcn.004126f8
mov eax, dword [0x4fd2f8]
mov byte [eax], 0
call fcn.00403418
call sub.comctl32.dll_InitCommonControls
mov eax, dword [0x4fd464]
mov eax, dword [eax]
call fcn.00469e48
mov eax, dword [0x4fd464]
mov eax, dword [eax]
mov edx, 0x4f54ec
call fcn.00469a30
mov ecx, dword [0x4fd2cc]
mov eax, dword [0x4fd464]
mov eax, dword [eax]
mov edx, dword [0x4f3290]
call fcn.00469e60
mov dl, 1
mov eax, dword [0x41dddc]
call fcn.00404608
mov dword [0x52331c], eax
call fcn.004f3a44
call fcn.004f3bf0
call fcn.004f3cd0
mov byte [0x52332c], 0
mov eax, 0x523308
call fcn.00405488
mov eax, 0x523300
call fcn.00405488
call fcn.004f4308
cmp dword [0x523308], 0
jne 0x4f4b0d
call fcn.004f3ff4
mov byte [0x52332c], al
cmp byte [0x52332c], 0
je 0x4f4ae1
lea edx, [ebp - 0x14]
mov eax, dword [0x4fd464]
mov eax, dword [eax]
call fcn.0046a5a0
mov edx, dword [ebp - 0x14]
mov eax, 0x523308
call fcn.004054dc
jmp 0x4f4b0d
lea edx, [ebp - 0x1c]
mov eax, dword [0x4fd464]
mov eax, dword [eax]
call fcn.0046a5a0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov edx, 0x4f5504
call fcn.0040dc80
mov edx, dword [ebp - 0x18]
mov eax, 0x523308
call fcn.004054dc
mov eax, dword [0x523308]
call fcn.0040dab0
test al, al
je 0x4f4e91
xor ebx, ebx
xor eax, eax
push ebp
push 0x4f4b92
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x52332c], 0
je 0x4f4b6f
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [0x523308]
call fcn.00405958
push eax
call sub.kernel32.dll_CreateFileA_1
mov ecx, eax
mov dl, 1
mov eax, dword [0x41dfdc]
call fcn.00422174
mov dword [0x52330c], eax
jmp 0x4f4b88
push 0
mov ecx, dword [0x523308]
mov dl, 1
mov eax, dword [0x41dfdc]
call fcn.00422238
mov dword [0x52330c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4b9e
test bl, bl
jne 0x4f4e5d
xor edx, edx
push ebp
push 0x4f4e56
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [0x52332c], 0
je 0x4f4bcf
xor ecx, ecx
mov edx, dword [0x523330]
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, 0x523310
mov ecx, 0xb
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, 0x4f550c
mov eax, 0x523310
call fcn.0040dffc
test eax, eax
jne 0x4f4e3e
xor edx, edx
push ebp
push 0x4f4e10
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x523324
mov ecx, 2
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ax, word [0x523324]
cmp ax, word [0x4fcf28]
jne 0x4f4c40
mov cx, 1
mov edx, 0x10
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
jmp 0x4f4c53
mov cx, 1
mov edx, 0xfffffffe
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, 0x523334
mov ecx, 4
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x523334]
cmp eax, dword [0x4fcf2c]
jne 0x4f4d55
mov edx, 0x523338
mov ecx, 4
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dl, 1
mov eax, dword [0x41e0cc]
call fcn.00404608
mov dword [0x52333c], eax
xor eax, eax
push ebp
push 0x4f4d4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x523338]
xor edx, edx
push edx
push eax
mov edx, dword [0x52330c]
mov eax, dword [0x52333c]
call fcn.00421fbc
push 0
push 0
mov eax, dword [0x52333c]
call fcn.00421d40
mov ecx, dword [0x52333c]
mov dl, 1
mov eax, dword [0x4eef9c]
call fcn.004ef284
mov dword [0x523340], eax
xor eax, eax
push ebp
push 0x4f4d2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
xor edx, edx
call fcn.00449e8c
mov edx, dword [0x4fd2cc]
mov edx, dword [edx]
mov eax, dword [0x523340]
call fcn.004220b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4d36
mov eax, dword [0x523340]
call fcn.00404638
ret
mov cx, 1
mov edx, 0xfffffffc
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
xor edx, edx
call fcn.00449e8c
mov edx, dword [0x4fd2cc]
mov edx, dword [edx]
mov eax, dword [0x52330c]
call fcn.004220b0
mov eax, dword [0x52330c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [0x52330c]
call fcn.00421d20
cmp edx, dword [esp + 4]
jne 0x4f4dac
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4f4e06
jmp 0x4f4db0
pop edx
pop eax
jge 0x4f4e06
mov edx, 0x523320
mov ecx, 4
mov eax, dword [0x52330c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ax, word [0x523320]
test ax, ax
jbe 0x4f4dde
movzx edx, ax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004632cc
mov eax, dword [0x523320]
call fcn.00408718
test ax, ax
jbe 0x4f4e06
mov eax, dword [0x523320]
call fcn.00408718
movzx edx, ax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004632fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4e3e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4e5d
mov eax, dword [0x52330c]
call fcn.00404638
ret
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
call fcn.004a8fc8
test al, al
je 0x4f4ead
mov ecx, 0x4f5518
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x240]
mov edx, 0x4f5528
call fcn.004e1008
jmp 0x4f4ead
mov ecx, 0x4f5518
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x240]
mov edx, 0x4f5528
call fcn.004e1008
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, dword [eax + 0x240]
mov eax, dword [0x4fd464]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x3a5], 0
je 0x4f4f34
push 0xffffffffffffffec
mov eax, dword [0x4fd464]
mov eax, dword [eax]
mov ebx, dword [eax + 0x30]
push ebx
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x4fd464]
push ebx
call sub.user32.dll_SetWindowLongA
push 0
mov eax, dword [0x4fd464]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov dl, byte [0x4f5530]
not edx
and dl, byte [eax + 0x228]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.00463c80
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004f358c
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x3ec], 0
je 0x4f4f68
call fcn.004e0f10
test al, al
jne 0x4f4f68
call fcn.004f3edc
call fcn.004f3fcc
jmp 0x4f54ab
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x3a8], 0
je 0x4f5121
call fcn.0040f278
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x4f553c
call fcn.0040fef0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
push dword [eax + 0x3b4]
push dword [eax + 0x3b0]
lea edx, [ebp - 0x24]
mov eax, 0x4f553c
call fcn.0040fef0
mov edx, dword [ebp - 0x24]
pop eax
call fcn.004058a4
jb 0x4f5121
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.004eeafc
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x28]
call fcn.004eea88
mov edx, dword [ebp - 0x28]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c8]
call fcn.004058a4
je 0x4f5102
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x3bc], 0
je 0x4f5018
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp dword [eax + 0x3c0], 0
jne 0x4f5022
call fcn.004f3fcc
jmp 0x4f54ab
lea edx, [ebp - 0x40]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004dd7c8
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x38]
call fcn.004eeafc
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x3c]
call fcn.004eea88
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x4fd2cc]
mov edx, dword [edx]
mov edx, dword [edx + 0x3c8]
call fcn.004058a4
je 0x4f5121
call fcn.004f3d88
mov bl, 1
mov eax, dword [0x4fd464]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetForegroundWindow
jmp 0x4f50c2
lea edx, [ebp - 0x38]
mov eax, dword [0x523328]
call fcn.004eeafc
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x44]
call fcn.004eea88
mov eax, dword [ebp - 0x44]
mov edx, dword [0x4fd2cc]
mov edx, dword [edx]
mov edx, dword [edx + 0x3c8]
call fcn.004058a4
jne 0x4f50c2
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, dword [0x523328]
call fcn.004dd868
xor ebx, ebx
jmp 0x4f50f4
push 1
lea edx, [ebp - 0x48]
mov eax, 0x4f389c
call fcn.00407618
mov eax, dword [ebp - 0x48]
push eax
lea edx, [ebp - 0x4c]
mov eax, 0x4f3894
call fcn.00407618
mov eax, dword [ebp - 0x4c]
mov ecx, 0x523328
pop edx
call fcn.004eed7c
test al, al
jne 0x4f507c
test bl, bl
je 0x4f5121
call fcn.004f3fcc
jmp 0x4f54ab
call fcn.004f3d88
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x3bc], 0
jne 0x4f5121
call fcn.004f3fcc
jmp 0x4f54ab
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
xor edx, edx
call fcn.004dcef8
cmp dword [0x523300], 0
jne 0x4f5156
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, dword [eax + 0x334]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004dce7c
jmp 0x4f51f4
mov byte [0x523304], 0
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x368]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4f51d2
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x54]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x368]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0040d038
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x523300]
call fcn.0040d038
mov edx, dword [ebp - 0x58]
pop eax
call fcn.004058a4
jne 0x4f51ce
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, ebx
call fcn.004dce7c
mov byte [0x523304], 1
jmp 0x4f51d2
inc ebx
dec esi
jne 0x4f5179
cmp byte [0x523304], 0
jne 0x4f51f4
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, dword [eax + 0x334]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004dce7c
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x340], 2
je 0x4f525a
mov eax, dword [0x4fd6dc]
mov eax, dword [eax]
call fcn.004678a4
mov edx, eax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x4f5223
adc edx, 0
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004495cc
mov eax, dword [0x4fd6dc]
mov eax, dword [eax]
call fcn.00467898
mov edx, eax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
sub edx, dword [eax + 0x4c]
sar edx, 1
jns 0x4f524e
adc edx, 0
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004495f0
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x33d], 0
je 0x4f5290
call sub.user32.dll_GetForegroundWindow
mov ecx, eax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov dl, byte [eax + 0x33c]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x338]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, dword [0x4fd464]
mov edx, dword [edx]
mov dword [edx + 0x114], eax
mov dword [edx + 0x110], 0x4f374c
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, dword [0x4fd464]
mov edx, dword [edx]
mov dword [edx + 0x10c], eax
mov dword [edx + 0x108], 0x4f3774
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x341], 0
je 0x4f53e9
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp dword [eax + 0x348], 0
je 0x4f53e9
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
cmp dword [eax + 0xc], 0
je 0x4f53e9
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
call fcn.0042eed0
test eax, eax
jle 0x4f53e9
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
call fcn.0042eee8
test eax, eax
jle 0x4f53e9
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp dword [eax + 0x344], 0
jle 0x4f53e9
xor eax, eax
push ebp
push 0x4f53df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x343], 0
je 0x4f537a
push 0x32
call sub.kernel32.dll_Sleep_1
push ecx
xor ecx, ecx
jcxz 0x4f5384
ljmp 0xcca1:0x59d489ea
pop ecx
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x344]
push eax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov al, byte [eax + 0x34c]
push eax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov cl, byte [eax + 0x343]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov dl, byte [eax + 0x342]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
call fcn.004e09f8
mov eax, dword [0x4fd2f8]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f53e9
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp dword [eax + 0x3d0], 0
je 0x4f5463
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x3d9], 0
je 0x4f5419
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x3da], 0
je 0x4f541d
xor eax, eax
jmp 0x4f541f
mov al, 1
push eax
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov cl, byte [eax + 0x3d8]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, dword [eax + 0x3d4]
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x3d0]
call fcn.004e0d04
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
cmp byte [eax + 0x3da], 0
je 0x4f5463
call fcn.004f3fcc
jmp 0x4f54ab
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004dd560
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
call fcn.004dd684
mov eax, dword [0x4fd2cc]
mov eax, dword [eax]
mov edx, dword [0x4fd2cc]
mov edx, dword [edx]
mov dword [edx + 0x2cc], eax
mov dword [edx + 0x2c8], 0x4f36c0
call fcn.004c0534
mov eax, dword [0x4fd464]
mov eax, dword [eax]
call fcn.00469ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f54da
lea eax, [ebp - 0x58]
mov edx, 8
call fcn.004054ac
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.004054ac
ret