Function at 0x420a04
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486c2c
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0xb
ja case.0x420647.3
movzx eax, byte [eax + 0x420a04]
jmp dword [eax*4 + 0x4209f0]
push edx
lea ecx, [ebp - 0x264]
call fcn.0043bdc0
lea eax, [ebp - 0x259]
mov byte [ebp - 0x259], 1
push eax
lea ecx, [ebp - 0x264]
call fcn.0043be60
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044a6c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp byte [ebp - 0x259], 0
lea eax, [ebp - 0x218]
je 0x4206c9
push str._autorun
push eax
call fcn.00405ce0
add esp, 8
jmp 0x4206d2
push eax
call fcn.00406020
add esp, 4
movzx eax, byte [ebp - 0x259]
push eax
call fcn.004105a0
mov ecx, eax
call fcn.0040e500
jmp case.0x420647.3
push edx
lea ecx, [ebp - 0x220]
call fcn.0043bdc0
lea eax, [ebp - 0x260]
mov byte [ebp - 0x260], 1
push eax
lea ecx, [ebp - 0x220]
call fcn.0043be60
push dword [ebp - 0x260]
call fcn.00416630
add esp, 4
jmp case.0x420647.3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044a6c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.config.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4207a1
push eax
push 0x80
push 2
push eax
push 2
push 0x40000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x4209db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x260], eax
movzx eax, word [ebp - 0x21c]
push eax
movzx eax, word [ebp - 0x21e]
push eax
movzx eax, word [ebp - 0x220]
push eax
movzx eax, word [ebp - 0x222]
push eax
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push 0x490128
push eax
call fcn.00406190
mov esi, dword [ebp - 0x260]
lea eax, [ebp - 0x218]
add esp, 0x20
push eax
push esi
push str.open_time
push str.Feedback
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg case.0x420647.3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp case.0x420647.3
push 0
push 0
push 0x10
push dword [ecx - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00431ab0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne case.0x420647.3
push 0x45
push str.d:jenkins.jenkinsworkspacehalodeskcoral_traymainwndmainwnd.cpp
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], al
call fcn.0040c200
push 3
push 0x48de6c
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.0040c200
mov byte [ebp - 4], 2
call fcn.00431ab0
mov edi, eax
lea ecx, [ebp - 0x2fc]
push 0x26f
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00407a20
mov esi, eax
push str.ipc_quit
push esi
mov byte [ebp - 4], 3
call fcn.00408ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2fc]
call fcn.00408d70
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x42096d
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420963
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4209e5
push edx
push ecx
call fcn.00441e7b
add esp, 8
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
cmp edx, 0x10
jb case.0x420647.3
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4209b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4209ea
push edx
push ecx
call fcn.00441e7b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442126
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00405f60
call fcn.0044db89
call fcn.0044db89
nop
dec esi
push es
inc edx
add byte [eax + ecx + 0x42], bl
add bl, ch
push es
inc edx
add byte [ebx], ah
pop es
inc edx
add byte [esi + 0x4209], bh
add dword [esp + eax], eax
add al, 4
add al, 4
add al, 2
add al, 3