Function at 0x420c70
Capabilities:
Create thread
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542691
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5a38c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00428a97
mov ecx, ebx
call fcn.0041eb00
push 0x552228
mov ecx, ebx
call fcn.00431ba7
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x420cd1
mov ecx, 6
mov esi, str.Service_Unavaileble.ini
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x114]
push ecx
movsb byte es:[edi], byte [esi]
xor edi, edi
push edi
push 0x554ec8
push str.LocalSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x420d59
mov edx, dword [ebx + 0x20]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor eax, 0x80000
push eax
mov eax, dword [ebx + 0x20]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push str.User32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, edi
je 0x420d59
push 0x556f8c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x420d52
mov ecx, dword [ebx + 0x20]
push 2
push 0xe6
push edi
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebx + 0x20]
push edi
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.00432fe5
mov dword [ebp - 0x140], eax
cmp eax, edi
je 0x420e19
call fcn.00428115
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420d92
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x138], esi
push 0x65
mov dword [ebp - 4], edi
call fcn.00436518
cmp eax, edi
je 0x420dc6
push 0x65
push eax
lea ecx, [ebp - 0x138]
call fcn.00403540
mov esi, dword [ebp - 0x138]
cmp dword [esi - 0xc], edi
je 0x420df6
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 4]
push edi
push edi
push 0x800
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
push esi
push 0x10
push edi
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420e19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x2b7c]
mov ecx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call esi
mov eax, dword [ebx + 0x2b7c]
mov edx, dword [ebx + 0x20]
push eax
push edi
push 0x80
push edx
call esi
mov ecx, ebx
call fcn.0041dc50
push edi
mov ecx, ebx
call fcn.0042d3ec
mov dword [0x5a4ea8], 0x1fc
mov eax, dword [ebx + 0x20]
mov dword [0x5a4eac], eax
mov dword [0x5a4eb0], 0x80
mov dword [0x5a4eb4], 7
mov dword [0x5a4eb8], 0x464
mov ecx, dword [ebx + 0x2b7c]
mov dword [0x5a4ebc], ecx
push 0x552228
lea ecx, [ebp - 0x13c]
call fcn.00406eb0
mov edx, dword [ebp - 0x13c]
push 0x80
push edx
push 0x5a4ec0
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x5a4ea8
push edi
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0x66
push ebx
lea eax, [ebp - 0x134]
push eax
push 0x50000003
lea ecx, [ebx + 0x295c]
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x128], edi
call fcn.00435685
mov edx, dword [ebx + 0x297c]
lea ecx, [ebp - 0x124]
push ecx
push 3
push 0x404
push edx
mov dword [ebp - 0x124], 0xc8
mov dword [ebp - 0x120], 0x1f4
mov dword [ebp - 0x11c], 0xffffffff
mov dword [ebp - 0x118], edi
call esi
mov eax, dword [ebx + 0x297c]
push 0x556f7c
push edi
push 0x401
push eax
call esi
mov ecx, dword [ebx + 0x297c]
push 0x552228
push 1
push 0x401
push ecx
call esi
mov edx, dword [ebx + 0x297c]
push str._0_
push 2
push 0x401
push edx
call esi
mov ecx, ebx
call fcn.0041f8f0
lea eax, [ebp - 0x114]
push eax
push edi
push str.Port
push str.LocalSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebx + 0x2b6c], eax
cmp eax, edi
jne 0x420fa9
mov dword [ebx + 0x2b6c], 0x1f90
lea ecx, [ebp - 0x114]
push ecx
push edi
push str.TimeSleep
push str.LocalSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebx + 0x2b58], eax
cmp eax, edi
jne 0x420fd5
mov dword [ebx + 0x2b58], 0x1388
lea edx, [ebp - 0x114]
push edx
push edi
push str.CheckHost
push str.LocalSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, edi
jne 0x42100f
lea eax, [ebp - 0x114]
push eax
push edi
push str.CheckIP
push str.LocalSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebx + 0x2b70], eax
mov eax, dword [ebx + 0x2b5c]
cmp eax, 0x1eab9b
je 0x4210b3
cmp eax, 0x132b405
je 0x4210b3
call fcn.00428115
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421045
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x138], eax
mov ecx, dword [ebx + 0x2b6c]
push ecx
lea edx, [ebp - 0x138]
push 0x556f54
push edx
mov byte [ebp - 4], 2
call fcn.00401560
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebx + 0x297c]
add esp, 0xc
push eax
push 1
push 0x401
push ecx
call esi
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4210b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push edi
push ebx
push 0x420870
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x2958], ecx
mov ecx, ebx
call fcn.0041e500
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4210fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527098
mov esp, ebp
pop ebp
ret