Function at 0x4243b0
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1178
call fcn.00414e90
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x64], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp + 0x10], eax
mov ax, word [0x43ae4c]
mov word [ebp - 0xffc], ax
mov cl, byte [0x43ae4e]
mov byte [ebp - 0xffa], cl
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x424422
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x24], 1
jle 0x42443e
lea ecx, [ebp - 0xffc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00424000
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.004012e0
lea ecx, [ebp - 0xff8]
call fcn.0041ee40
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x28], 0
je 0x4244eb
push 0x104
lea ecx, [ebp - 0x1108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [0x43be10]
push edx
lea eax, [ebp - 0x1108]
push eax
call fcn.00409690
add esp, 4
add eax, 3
push eax
lea ecx, [ebp - 0x113c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401540
push eax
lea ecx, [ebp - 0x20]
call fcn.00401380
lea ecx, [ebp - 0x113c]
call fcn.00401360
lea edx, [ebp - 0x60]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1140], esp
lea eax, [ebp - 0x20]
push eax
call fcn.00401320
call fcn.00424070
add esp, 0x20
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x28], 0
je 0x4244fb
cmp dword [ebp - 0x50], 1
jne 0x4245ac
cmp dword [ebp - 0x50], 1
jne 0x424561
cmp dword [ebp - 0x5c], 0
je 0x42451a
push 0
push str.Datacard_setup
mov ecx, 0x443500
call fcn.0042a4c0
jmp 0x42452e
push 0x43ae60
push 0x43ae68
mov ecx, 0x443500
call fcn.0042a4c0
cmp dword [ebp - 0x58], 0
je 0x42455f
lea ecx, [ebp - 0xff8]
call fcn.004198c0
test eax, eax
je 0x424552
push str.Set_reg_info_SUS
call fcn.0042a0d0
add esp, 4
jmp 0x42455f
push str.Set_reg_into_Failed
call fcn.0042a070
add esp, 4
jmp 0x424575
push str.temp
push str.E220AutoRunLog.tmp
mov ecx, 0x443500
call fcn.0042a4c0
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xff8]
call fcn.0041d6a0
mov dword [ebp - 0x1144], 0
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1144]
jmp 0x424a88
push 0
push str.DCSHost
mov ecx, 0x443500
call fcn.0042a4c0
movzx edx, al
test edx, edx
jne 0x4245f9
push str.initialize_DCService.exe_LOG_fail
call fcn.0042a070
add esp, 4
mov dword [ebp - 0x1148], 0xffffffff
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1148]
jmp 0x424a88
mov eax, dword [ebp + 0x10]
push eax
push str.parma:___s_
call fcn.0042a0d0
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00420300
push str.HWDeviceService.exe
lea ecx, [ebp - 0x4c]
call fcn.00421570
movzx ecx, al
test ecx, ecx
jne 0x424663
push str.Initialize_ServiceMgr_fail.
call fcn.0042a070
add esp, 4
mov dword [ebp - 0x114c], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x114c]
jmp 0x424a88
cmp dword [ebp - 0x28], 0
je 0x424a5e
push str.remove
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x42473d
push 0x43af30
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.UninstallService_Start
call fcn.0042a0d0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x4c]
call fcn.00421290
movzx eax, al
test eax, eax
jne 0x42470d
mov dword [ebp - 0x110c], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x110c], eax
mov ecx, dword [ebp - 0x110c]
push ecx
push 0x43af60
call fcn.0042a070
add esp, 8
mov dword [ebp - 0x1150], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1150]
jmp 0x424a88
mov dword [ebp - 0x1154], 0
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1154]
jmp 0x424a88
push str.install
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x424805
push 0x43af90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.InstallService_Start
call fcn.0042a0d0
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.00422770
movzx eax, al
test eax, eax
jne 0x4247d5
mov dword [ebp - 0x1110], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1110], eax
mov ecx, dword [ebp - 0x1110]
push ecx
push 0x43afc0
call fcn.0042a070
add esp, 8
mov dword [ebp - 0x1158], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1158]
jmp 0x424a88
mov dword [ebp - 0x115c], 0
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x115c]
jmp 0x424a88
push str.installcount
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4248de
push 0x43aff8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Install_Service_and_count_the_times__Start...
call fcn.0042a0d0
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.00422770
movzx eax, al
test eax, eax
jne 0x42489d
mov dword [ebp - 0x1118], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1118], eax
mov ecx, dword [ebp - 0x1118]
push ecx
push str.install_Service_Error.Error_Code:_d.
call fcn.0042a070
add esp, 8
mov dword [ebp - 0x1160], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1160]
jmp 0x424a88
push 1
lea edx, [ebp - 0x1114]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004200e0
mov dword [ebp - 0x1164], 0
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1164]
jmp 0x424a88
push str.removecount
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4249fc
push 0x43b08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Uninstall_Service_and_count_the_times__Start...
call fcn.0042a0d0
add esp, 4
push 0
lea ecx, [ebp - 0x111c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004200e0
test eax, eax
je 0x42495b
cmp dword [ebp - 0x111c], 0
jbe 0x42495b
mov dword [ebp - 0x1168], 0
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1168]
jmp 0x424a88
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x4c]
call fcn.00421290
movzx edx, al
test edx, edx
jne 0x4249cc
mov dword [ebp - 0x1120], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1120], eax
mov eax, dword [ebp - 0x1120]
push eax
push str.unInstall_Service_Error.Error_Code:_d.
call fcn.0042a070
add esp, 8
mov dword [ebp - 0x116c], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x116c]
jmp 0x424a88
mov dword [ebp - 0x1170], 0
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1170]
jmp 0x424a88
push str.service
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x424a43
lea ecx, [ebp - 0x4c]
call fcn.00422e30
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x1174], edx
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1174]
jmp 0x424a88
lea eax, [ebp - 0xffc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00424000
add esp, 8
mov dword [ebp - 0x28], eax
jmp 0x424663
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x1178], edx
lea ecx, [ebp - 0x4c]
call fcn.00421670
lea ecx, [ebp - 0xff8]
call fcn.00417180
lea ecx, [ebp - 0x20]
call fcn.00401360
mov eax, dword [ebp - 0x1178]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret 0x10