Function at 0x49904c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x499054
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x49947b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
jne 0x4991a8
mov eax, dword [esi + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov edx, 0x31
mov eax, dword [esi + 0x2f8]
call fcn.0044cb70
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x218]
mov edx, 0x499494
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x218]
mov edx, 0x4994b4
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x218]
mov edx, 0x4994d0
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x218]
mov edx, 0x4994ec
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x218]
mov edx, 0x499504
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x218]
mov edx, 0x499518
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor edx, edx
mov eax, dword [esi + 0x2f8]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [0x4b89f8]
cmp dword [eax], 0xf
jle 0x499453
mov eax, dword [0x4b89f8]
cmp dword [eax], 0x14
je 0x499453
mov eax, dword [0x4b89f8]
mov dword [eax], 0xf
mov eax, dword [0x4ba144]
call fcn.00404bf8
cmp eax, 9
jge 0x499180
call fcn.00479a3c
cmp al, 1
je 0x499453
mov eax, dword [0x4b89f8]
mov dword [eax], 0x14
jmp 0x499453
push 0x4ba0e0
push 2
call sub.shell32.dll_Shell_NotifyIconA
mov eax, dword [0x4ba13c]
call fcn.00403b24
mov edx, dword [0x4ba144]
mov eax, esi
call fcn.0049714c
jmp 0x499453
mov eax, dword [esi + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xd8]
lea edx, [ebp - 0x20]
mov eax, dword [0x4b8c5c]
mov eax, dword [eax]
call fcn.00475340
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004096bc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov ecx, 0x49952c
call fcn.00404c44
mov eax, dword [ebp - 8]
call fcn.00409444
test al, al
jne 0x499204
lea eax, [ebp - 0x24]
call fcn.00479a10
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
mov ecx, 0x499544
call fcn.00404c44
mov eax, dword [ebp - 8]
call fcn.00409444
test al, al
je 0x499453
mov dl, 1
mov eax, dword [0x4177e8]
call fcn.00403af4
mov ebx, eax
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2c]
mov ecx, 0x49955c
mov edx, 0x499570
call fcn.00479a6c
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 0x30], 0
je 0x49926f
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0x2b
jle 0x499284
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
jmp 0x499289
mov eax, 0x2b
test eax, eax
jl 0x49941f
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x14]
jle 0x4993f0
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xc]
call fcn.00478ba0
mov eax, dword [ebp - 0xc]
call fcn.00404bf8
cmp eax, 5
jle 0x499413
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x3e
jne 0x499413
lea eax, [ebp - 0xc]
mov ecx, 4
mov edx, 1
call fcn.00404e98
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x7b
jne 0x4993da
mov eax, dword [ebp - 0xc]
cmp byte [eax + 1], 0x7c
je 0x4993da
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, 1
call fcn.00404e98
cmp byte [0x4ba159], 1
jne 0x499366
mov byte [0x4ba159], 0
mov eax, dword [esi + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x38
jne 0x499356
mov edx, 0x31
mov eax, dword [esi + 0x2f8]
call fcn.0044cb70
jmp 0x499366
mov edx, 0x62
mov eax, dword [esi + 0x2f8]
call fcn.0044cb70
mov edx, dword [ebp - 0xc]
mov eax, 0x499584
call fcn.00404f3c
mov edi, eax
test edi, edi
jle 0x499413
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404e58
lea eax, [ebp - 0xc]
mov ecx, edi
mov edx, 1
call fcn.00404e98
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x2fc]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor edx, edx
mov eax, dword [esi + 0x2f8]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
jmp 0x499413
mov eax, dword [esi + 0x2fc]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x499413
lea ecx, [ebp - 0x38]
mov edx, 0x22
mov al, 0x2d
call fcn.00404fe8
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x2fc]
mov eax, dword [eax + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x49929c
mov eax, ebx
call fcn.00403b24
push 1
mov eax, dword [esi + 0x2f8]
call fcn.0045aca0
push eax
call sub.user32.dll_ShowWindow
push 0x15
push 0
push 0x153
mov eax, dword [esi + 0x2fc]
call fcn.0045aca0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499482
lea eax, [ebp - 0x38]
mov edx, 8
call fcn.0040495c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040495c
ret