Function at 0x431aa0
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e44a
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5ec374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2bc], edi
push 0
push eax
call fcn.005663c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5ac588
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431b30
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x13c]
call fcn.0040c920
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431c61
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x298], esp
mov dword [ebp - 0x29c], esi
call fcn.00408b70
mov ecx, eax
test ecx, ecx
je 0x43250a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.disable_switch_count
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004077e0
test al, al
jne 0x431bb6
push 0x14
push str.disable_switch_count
mov ecx, esi
call fcn.0040a800
push ecx
mov esi, esp
mov dword [ebp - 4], 1
mov dword [ebp - 0x29c], esi
call fcn.00408b70
mov ecx, eax
test ecx, ecx
je 0x432514
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.inst
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004077e0
test al, al
jne 0x431c01
push 4
push str.inst
mov ecx, esi
call fcn.0040a800
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00429cc0
mov ecx, edi
mov dword [edi + 0x3a0], eax
call fcn.0042d570
cmp dword [edi + 0x360], 1
lea esi, [edi + 0x364]
jne 0x431c4c
cmp dword [esi + 4], 0
je 0x431c4c
push 0
push 0x3e8
push 0x3e8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x431c61
push 0x3e8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.00445960
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov dword [ebp - 4], 3
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
push 0x30
push eax
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 4
push eax
call fcn.005663c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x2a8], 0
mov ecx, edx
mov dword [ebp - 0x2a4], 7
xor eax, eax
mov word [ebp - 0x2b8], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431ce0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b8]
call fcn.0040c920
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x294]
call fcn.0052d930
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x431d56
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431d4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43251e
push edx
push ecx
call fcn.0045673f
add esp, 8
xor eax, eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov edx, dword [str.op_type]
mov ecx, edx
mov byte [ebp - 4], 8
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431db0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2d4]
call fcn.0040c920
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x294]
call fcn.0052df80
mov edx, dword [ebp - 0x2c0]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x431e2d
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431e23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432523
push edx
push ecx
call fcn.0045673f
add esp, 8
push 0xa
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xa
push 0
push eax
call fcn.00447fa0
add esp, 0xc
mov esi, eax
mov dword [edi + 0x1ec], esi
call fcn.00408b70
mov ecx, eax
test ecx, ecx
je 0x432528
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x29c], eax
push esi
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0xb
push str.ex_ary_type__d
push eax
call fcn.00414f50
add esp, 0xc
call fcn.00415120
mov esi, dword [ebp - 0x29c]
mov ecx, eax
push 0
push 0
push 1
push esi
push 0x5ac5cc
call fcn.005481a0
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431ebc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str.computerz_quit
mov dword [ebp - 4], 8
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [edi + 0x168], eax
lea eax, [ebp - 0x29c]
push eax
call fcn.004791a0
add esp, 4
mov eax, dword [ebp - 0x29c]
mov esi, eax
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x431f07
lea ecx, [eax + 4]
call fcn.00465030
mov eax, dword [ebp - 0x29c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x431f2f
lea ebx, [eax + 4]
mov ecx, ebx
call fcn.00471d00
test al, al
je 0x431f2f
lea eax, [ebx - 4]
neg ebx
sbb ebx, ebx
and ebx, eax
push ebx
call fcn.004689d0
add esp, 4
mov byte [ebp - 4], 0x12
test esi, esi
je 0x431f3f
lea ecx, [esi + 4]
call fcn.00465030
mov ebx, dword [edi + 0xe8]
mov dword [edi + 0xe8], esi
test ebx, ebx
je 0x431f6e
lea ecx, [ebx + 4]
call fcn.00471d00
test al, al
je 0x431f6e
lea eax, [ebx + 4]
xor ecx, ecx
test eax, eax
cmove ebx, ecx
push ebx
call fcn.004689d0
add esp, 4
mov byte [ebp - 4], 0x13
test esi, esi
je 0x431f94
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00471d00
test al, al
je 0x431f94
xor eax, eax
test ebx, ebx
cmove esi, eax
push esi
call fcn.004689d0
add esp, 4
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x18
mov ebx, eax
call fcn.0045670f
mov esi, eax
add esp, 4
mov dword [ebp - 0x2bc], esi
mov byte [ebp - 4], 0x14
test esi, esi
je 0x431fe4
lea ecx, [esi + 4]
mov dword [ebp - 0x298], ecx
call fcn.0045eb70
mov dword [esi], method.._AU__BindState_V__RunnableAdapter_P8SoftwarePMUIWnd__AEXXZ_internal_base____A6AXPAVSoftwarePMUIWnd___Z__A6AXV__UnretainedWrapper_VSoftwarePMUIWnd___23__Z_internal_base__.virtual_0
mov dword [esi + 8], fcn.00440580
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
jmp 0x431fe6
xor esi, esi
push esi
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 8
call fcn.0045f0d0
mov dword [ebp - 0x29c], 0x438ea0
mov byte [ebp - 4], 0x15
call fcn.0046d7f0
push eax
push 0x2f2
push str.d:jenkins.jenkinsworkspacegroup_clean_software_pm_software_pm_software_pm_ui_src_software_pm_ui_wnd.cc
push str.SoftwarePMUIWnd::OnCreate
lea ecx, [ebp - 0x2b0]
call fcn.0045f550
lea ecx, [ebp - 0x2a0]
push ecx
mov ecx, dword [edi + 0xe8]
push eax
call fcn.00470c70
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 8
call fcn.00460d30
lea eax, [ebp - 0x298]
push eax
call fcn.00536f00
push 2
push eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x16
push eax
call fcn.00537010
add esp, 0x10
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 0x17
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432073
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xc8]
call fcn.0040c920
mov edx, dword [ebp - 0x29c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4320b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x298]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4320d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.00421ac0
movzx eax, al
push 1
mov dword [edi + 0x1f0], eax
lea eax, [ebp - 0x298]
push str.Ludashi_software_pm_backup
push eax
call fcn.00536c60
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432122
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b8]
call fcn.0040c920
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x2d4]
call fcn.0045f280
push eax
lea ecx, [edi + 0x218]
mov byte [ebp - 4], 0x1a
call fcn.0044c080
lea ecx, [ebp - 0x2d4]
call fcn.004064f0
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x18
cmp edx, 8
jb 0x4321b3
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4321a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432532
push edx
push ecx
call fcn.0045673f
add esp, 8
mov edx, dword [ebp - 0x298]
xor eax, eax
mov word [ebp - 0x2b8], ax
add edx, 0xfffffff0
mov dword [ebp - 0x2a8], 0
mov eax, ebx
mov dword [ebp - 0x2a4], 7
mov byte [ebp - 4], 8
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4321f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea eax, [ebp - 0x298]
push str.Ludashi_software_pmicon
push eax
call fcn.00536c60
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432230
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b8]
call fcn.0040c920
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x2d4]
call fcn.0045f280
push eax
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0x1d
call fcn.0044c080
lea ecx, [ebp - 0x2d4]
call fcn.004064f0
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x1b
cmp edx, 8
jb 0x4322c1
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4322b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432537
push edx
push ecx
call fcn.0045673f
add esp, 8
mov edx, dword [ebp - 0x298]
xor eax, eax
mov dword [ebp - 0x2a8], 0
add edx, 0xfffffff0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
mov byte [ebp - 4], 8
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4322fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
lea eax, [edi + 0x2c]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [edi + 0x1ac]
call fcn.004131d0
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x432354
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43234a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43253c
push edx
push ecx
call fcn.0045673f
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.0052dab0
jmp 0x4324ea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045674d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004077c0
push 0x80004005
call fcn.004077c0
call fcn.0056a5ea
call fcn.0056a5ea
push 0x80004005
call fcn.004077c0
call fcn.0056a5ea
call fcn.0056a5ea
call fcn.0056a5ea
int3