Function at 0x4cb870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x700
mov eax, dword [0x6dc0b8]
xor eax, esp
mov dword [esp + 0x6fc], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 8], 0
mov dword [0x6f2f90], edi
call fcn.004ebc70
lea ecx, [esp + 0x20]
call fcn.004f0280
mov esi, dword [0x6f5c84]
call fcn.0050b2c0
push 0x6921e8
mov ecx, esi
call fcn.004ebf20
test al, al
je 0x4cbaaf
mov eax, dword [0x40003c]
push 0
mov esi, dword [eax + 0x400008]
call fcn.005eee69
add esp, 4
sub eax, esi
sbb edx, 0
mov dword [esp + 0xc], edx
js 0x4cbc59
jg 0x4cb8fb
cmp eax, 0xd2f00
jb 0x4cbc59
call fcn.004cb7d0
test al, al
jne 0x4cbc59
push 0x691362
lea ecx, [esp + 0x6f0]
call fcn.00414c10
push 0x691362
lea ecx, [esp + 0x6d8]
call fcn.00414c10
push 0x691362
lea ecx, [esp + 0x6c0]
call fcn.00414c10
push 0x691362
lea ecx, [esp + 0x6a8]
call fcn.00414c10
push 0x691362
lea ecx, [esp + 0x690]
call fcn.00414c10
push 0x691362
lea ecx, [esp + 0x678]
call fcn.00414c10
push 0x691362
lea ecx, [esp + 0x660]
call fcn.00414c10
push 0x691362
lea ecx, [esp + 0x648]
call fcn.00414c10
push 0x691362
lea ecx, [esp + 0x630]
call fcn.00414c10
push str.call_update_from_main
lea ecx, [esp + 0x618]
call fcn.00414c10
push 0x6b0674
lea ecx, [esp + 0x600]
call fcn.00414c10
lea eax, [esp + 0x6ec]
push eax
lea eax, [esp + 0x6d8]
push eax
lea eax, [esp + 0x6c4]
push eax
lea eax, [esp + 0x6b0]
push eax
lea eax, [esp + 0x69c]
push eax
lea eax, [esp + 0x688]
push eax
lea eax, [esp + 0x674]
push eax
lea eax, [esp + 0x660]
push eax
lea eax, [esp + 0x64c]
push eax
lea edx, [esp + 0x638]
lea ecx, [esp + 0x620]
call fcn.0050d6d0
add esp, 0x24
lea ecx, [esp + 0x5fc]
call fcn.00414d60
lea ecx, [esp + 0x614]
call fcn.00414d60
lea ecx, [esp + 0x62c]
call fcn.00414d60
lea ecx, [esp + 0x644]
call fcn.00414d60
lea ecx, [esp + 0x65c]
call fcn.00414d60
lea ecx, [esp + 0x674]
call fcn.00414d60
lea ecx, [esp + 0x68c]
call fcn.00414d60
lea ecx, [esp + 0x6a4]
call fcn.00414d60
lea ecx, [esp + 0x6bc]
call fcn.00414d60
lea ecx, [esp + 0x6d4]
call fcn.00414d60
lea ecx, [esp + 0x6ec]
call fcn.00414d60
call fcn.004c90a0
jmp 0x4cbc59
push str.assoc_settingdlg
mov ecx, esi
call fcn.004ebf20
test al, al
je 0x4cbae7
mov eax, dword [0x6f5c04]
test al, 1
jne 0x4cbadd
or eax, 1
push 0x65fbf0
mov dword [0x6f5c04], eax
call fcn.00545b3b
add esp, 4
call fcn.004acc80
jmp 0x4cbc59
push str.assoc
mov ecx, esi
call fcn.004ebf20
test al, al
jne 0x4cbc26
push str.register_application
mov ecx, esi
call fcn.004ebf20
test al, al
jne 0x4cbc26
push str.unregister_application
mov ecx, esi
call fcn.004ebf20
test al, al
je 0x4cbb2e
call fcn.004cb7a0
call fcn.004acf70
jmp 0x4cbc59
call fcn.004cb7a0
call fcn.004ad060
call fcn.0050d0c0
lea ecx, [esp + 0x10]
call fcn.004a9fd0
push edi
lea ecx, [esp + 0x14]
call fcn.004aa1d0
lea ecx, [esp + 0x50]
call fcn.004cd1a0
push 0
push 0
push 0
push 0
push 0
push 0x86880000
push 0
lea ecx, [esp + 0x6c]
call fcn.0054fd8c
push 0
push 0
push 0x110
push dword [esp + 0x2a4]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x298]
lea ecx, [esp + 0x290]
call fcn.0054e7c1
push 1
push dword [esp + 0x29c]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004ad250
test al, al
jne 0x4cbbe5
call fcn.004cb7a0
call fcn.004acff0
test al, al
jne 0x4cbbe5
push 3
mov edx, 0x6adfe8
mov ecx, str._fT
call fcn.0042f0f0
add esp, 4
cmp eax, 1
jne 0x4cbbe5
call fcn.004cb7a0
call fcn.004ab7e0
push dword [esp + 0x298]
mov ecx, dword [esp + 0x1c]
call fcn.0055e288
lea ecx, [esp + 0x50]
call fcn.004cbcb0
mov ecx, dword [esp + 0x1c]
call fcn.00505660
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4cbc15
mov eax, dword [ecx]
push 1
call dword [eax]
call dword [sym.imp.ole32.dll_OleUninitialize]
lea ecx, [esp + 0x10]
call fcn.004aa130
jmp 0x4cbc59
mov eax, dword [0x40003c]
push 0
mov esi, dword [eax + 0x400008]
call fcn.005eee69
add esp, 4
sub eax, esi
sbb edx, 0
mov dword [esp + 0xc], edx
js 0x4cbc59
jg 0x4cbc4f
cmp eax, 0xd2f00
jb 0x4cbc59
call fcn.004cb7a0
call fcn.004ab7e0
cmp dword [0x6f5c98], 0
je 0x4cbc70
call fcn.004f0300
mov eax, dword [esp + 0x4c]
mov dword [0x6f5c98], eax
lea ecx, [esp + 0x38]
call fcn.004f0410
push 1
push dword [esp + 0x3c]
call fcn.0040ef10
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x704]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00545b50
mov esp, ebp
pop ebp
ret 0x10