Function at 0x4158a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
mov esi, 0x4824cc
push ebx
mov ebx, 0x4824c9
sub esp, 0x14c
mov eax, dword [0x4a2c54]
mov dword [esp + 4], 1
lea ebp, [esp + 0x40]
mov byte [0x4a2c58], 1
lea edi, [esp + 0x3f]
mov dword [esp], eax
call fcn.00468e50
call fcn.00406ef0
jmp 0x415922
movzx eax, byte [0x4a2cba]
mov edx, 0x4824d0
mov dword [esp + 8], str.Quiet_mode__s_n
xor eax, 1
test al, al
mov byte [0x4a2cba], al
mov eax, 0x4824d8
cmove edx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x100
mov dword [esp], ebp
call fcn.00471bd0
mov dword [esp], ebp
call fcn.00406ff0
mov dword [ebp], 0x6f5d4e5b
mov dword [ebp + 4], 0x6c616d72
mov dword [ebp + 8], 0x5d435b20
mov dword [ebp + 0xc], 0x7261656c
mov dword [ebp + 0x10], 0x5d535b20
mov dword [ebp + 0x14], 0x6e656c69
mov dword [ebp + 0x18], 0x6f6d2074
mov dword [ebp + 0x1c], 0x28206564
mov dword [ebp + 0x20], 0x61736964
mov dword [ebp + 0x24], 0x20656c62
mov dword [ebp + 0x28], 0x206c6c61
mov dword [ebp + 0x2c], 0x7074756f
mov dword [ebp + 0x30], 0xa297475
mov byte [ebp + 0x34], 0
mov dword [esp], ebp
call fcn.00406ff0
mov eax, ebx
mov ecx, ebx
cmp byte [0x4a2c59], 0
mov edx, ebx
mov dword [esp + 8], str._D_ebug:_s_n_P_er_device:_s_n_Q_uiet:_s_n_V_erbose:_s_n_R_PC_debug:_s_n_W_orkTime_details:_s_nco_M_pact:__s_n_L_og_interval:_d_n_Z_ero_statistics_n
mov dword [esp + 4], 0x100
cmove eax, esi
cmp byte [0x4a2d29], 0
mov dword [esp + 0x24], eax
mov eax, ebx
mov dword [esp], ebp
cmove ecx, esi
cmp byte [0x4a2cb8], 0
mov dword [esp + 0x20], ecx
mov ecx, ebx
cmove eax, esi
cmp byte [0x4a0b60], 0
mov dword [esp + 0x1c], eax
mov eax, ebx
cmove ecx, esi
cmp byte [0x4a2cba], 0
mov dword [esp + 0x18], ecx
mov ecx, dword [0x47e038]
cmove eax, esi
cmp byte [0x4a2c94], 0
mov dword [esp + 0x14], eax
mov eax, ebx
mov dword [esp + 0x28], ecx
cmove edx, esi
cmp byte [0x4a0b61], 0
mov dword [esp + 0x10], edx
cmove eax, esi
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp], ebp
call fcn.00406ff0
mov dword [ebp], 0x656c6553
mov dword [ebp + 4], 0x61207463
mov dword [ebp + 8], 0x706f206e
mov dword [ebp + 0xc], 0x6e6f6974
mov dword [ebp + 0x10], 0x20726f20
mov dword [ebp + 0x14], 0x20796e61
mov dword [ebp + 0x18], 0x6568746f
mov dword [ebp + 0x1c], 0x656b2072
mov dword [ebp + 0x20], 0x6f742079
mov dword [ebp + 0x24], 0x74657220
mov dword [ebp + 0x28], 0xa6e7275
mov byte [ebp + 0x2c], 0
mov dword [esp], ebp
call fcn.00406ff0
call fcn.00406ea0
mov eax, dword [0x4a0eec]
mov dword [esp], eax
call fcn.0046c1c0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x48256f
mov dword [esp], edi
mov byte [esp + 0x3f], al
call fcn.0047a348
test eax, eax
je 0x4158e0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x482580
mov dword [esp], edi
call fcn.0047a348
test eax, eax
jne 0x415b03
movzx eax, byte [0x4a0b60]
mov edx, 0x4824d8
xor eax, 1
test al, al
mov byte [0x4a0b60], al
je 0x415af2
mov byte [0x4a2cba], 0
mov edx, 0x4824d0
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Verbose_mode__s_n
jmp 0x41590a
mov dword [esp + 8], 1
mov dword [esp + 4], 0x482593
mov dword [esp], edi
call fcn.0047a348
test eax, eax
je 0x415bf0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x482595
mov dword [esp], edi
call fcn.0047a348
test eax, eax
jne 0x415b80
movzx eax, byte [0x4a0b61]
mov edx, 0x4824d8
xor eax, 1
test al, al
mov byte [0x4a0b61], al
mov byte [0x4a0b60], al
je 0x415b68
mov byte [0x4a2cba], 0
mov edx, 0x4824d0
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Debug_mode__s_n
jmp 0x41590a
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4825a6
mov dword [esp], edi
call fcn.0047a348
test eax, eax
jne 0x415c61
movzx eax, byte [0x4a2c59]
mov edx, 0x4824d0
mov dword [esp + 8], str.Compact_mode__s_n
mov dword [esp + 4], 0x100
mov dword [esp], ebp
xor eax, 1
test al, al
mov byte [0x4a2c59], al
mov eax, 0x4824d8
cmove edx, eax
mov dword [esp + 0xc], edx
call fcn.00471bd0
mov dword [esp], ebp
call fcn.00406ff0
call fcn.00406e40
jmp 0x415922
mov dword [ebp], 0x7074754f
mov dword [ebp + 4], 0x6d207475
mov dword [ebp + 8], 0x2065646f
mov dword [ebp + 0xc], 0x65736572
mov dword [ebp + 0x10], 0x6f742074
mov dword [ebp + 0x14], 0x726f6e20
mov dword [ebp + 0x18], 0xa6c616d
mov byte [ebp + 0x1c], 0
mov dword [esp], ebp
mov byte [0x4a0b60], 0
mov byte [0x4a0b61], 0
mov byte [0x4a2cba], 0
mov byte [0x4a2cb8], 0
mov byte [0x4a2c59], 0
mov byte [0x4a2c94], 0
call fcn.00406ff0
call fcn.00406e40
jmp 0x415922
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4825b9
mov dword [esp], edi
call fcn.0047a348
test eax, eax
jne 0x415cb1
movzx eax, byte [0x4a2c94]
mov edx, 0x4824d0
mov dword [esp + 8], str.Per_device_stats__s_n
xor eax, 1
test al, al
mov byte [0x4a2c94], al
mov byte [0x4a0b60], al
mov eax, 0x4824d8
cmove edx, eax
mov dword [esp + 0xc], edx
jmp 0x41590a
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4825d0
mov dword [esp], edi
call fcn.0047a348
test eax, eax
jne 0x415d02
movzx eax, byte [0x4a2cb8]
mov edx, 0x4824d8
xor eax, 1
test al, al
mov byte [0x4a2cb8], al
je 0x415cf1
mov byte [0x4a2cba], 0
mov edx, 0x4824d0
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.RPC_protocol_debugging__s_n
jmp 0x41590a
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4825ed
mov dword [esp], edi
call fcn.0047a348
test eax, eax
je 0x415e35
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4825ef
mov dword [esp], edi
call fcn.0047a348
test eax, eax
jne 0x415d88
mov dword [esp], str.Interval_in_seconds
call fcn.00415860
cmp eax, 0x270f
jbe 0x415df3
mov dword [ebp], 0x61766e49
mov dword [ebp + 4], 0x2064696c
mov dword [ebp + 8], 0x656c6573
mov dword [ebp + 0xc], 0x6f697463
mov word [ebp + 0x10], 0xa6e
mov byte [ebp + 0x12], 0
mov dword [esp], ebp
call fcn.00406ff0
jmp 0x415922
mov dword [esp + 8], 1
mov dword [esp + 4], 0x480f60
mov dword [esp], edi
call fcn.0047a348
test eax, eax
je 0x415e61
mov dword [esp + 8], 1
mov dword [esp + 4], 0x482628
mov dword [esp], edi
call fcn.0047a348
test eax, eax
jne 0x415e09
movzx eax, byte [0x4a2d29]
mov edx, 0x4824d0
mov dword [esp + 8], str.WorkTime_details__s_n
xor eax, 1
test al, al
mov byte [0x4a2d29], al
mov eax, 0x4824d8
cmove edx, eax
mov dword [esp + 0xc], edx
jmp 0x41590a
mov dword [0x47e038], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Log_interval_set_to__d_seconds_n
jmp 0x41590a
mov dword [esp + 8], 1
mov dword [esp + 4], 0x48263f
mov dword [esp], edi
call fcn.0047a348
test eax, eax
jne 0x415e35
call fcn.00406b30
lea esi, [esi]
jmp 0x415922
call fcn.00406ef0
mov eax, dword [0x4a2c54]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00468e50
mov byte [0x4a2c58], 0
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [0x4a2db0], 1
jmp 0x415e3a