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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a52ba
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5f537c]
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.0056c750
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 0x5b3750
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 0x434b20
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x13c]
call fcn.0040cb10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434c51
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x298], esp
mov dword [ebp - 0x29c], esi
call fcn.00408cf0
mov ecx, eax
test ecx, ecx
je 0x435501
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.00407960
test al, al
jne 0x434ba6
push 0x14
push str.disable_switch_count
mov ecx, esi
call fcn.0040a9f0
push ecx
mov esi, esp
mov dword [ebp - 4], 1
mov dword [ebp - 0x29c], esi
call fcn.00408cf0
mov ecx, eax
test ecx, ecx
je 0x43550b
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.00407960
test al, al
jne 0x434bf1
push 4
push str.inst
mov ecx, esi
call fcn.0040a9f0
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0042c290
mov ecx, edi
mov dword [edi + 0x3a0], eax
call fcn.0042fd80
cmp dword [edi + 0x360], 1
lea esi, [edi + 0x364]
jne 0x434c3c
cmp dword [esi + 4], 0
je 0x434c3c
push 0
push 0x3e8
push 0x3e8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x434c51
push 0x3e8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.00449660
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.0056c750
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 0x434cd0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b8]
call fcn.0040cb10
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x294]
call fcn.00532d00
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x434d46
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434d3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435515
push edx
push ecx
call fcn.0045a8df
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 0x434da0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2d4]
call fcn.0040cb10
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x294]
call fcn.00533350
mov edx, dword [ebp - 0x2c0]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x434e1d
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434e13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43551a
push edx
push ecx
call fcn.0045a8df
add esp, 8
push 0xa
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xa
push 0
push eax
call fcn.0044c070
add esp, 0xc
mov esi, eax
mov dword [edi + 0x1ec], esi
call fcn.00408cf0
mov ecx, eax
test ecx, ecx
je 0x43551f
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.00415590
add esp, 0xc
call fcn.00415af0
mov esi, dword [ebp - 0x29c]
mov ecx, eax
push 0
push 0
push 1
push esi
push 0x5b3794
call fcn.0054e080
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x434eac
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.0047d240
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 0x434ef7
lea ecx, [eax + 4]
call fcn.004690b0
mov eax, dword [ebp - 0x29c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x434f1f
lea ebx, [eax + 4]
mov ecx, ebx
call fcn.00475da0
test al, al
je 0x434f1f
lea eax, [ebx - 4]
neg ebx
sbb ebx, ebx
and ebx, eax
push ebx
call fcn.0046ca60
add esp, 4
mov byte [ebp - 4], 0x12
test esi, esi
je 0x434f2f
lea ecx, [esi + 4]
call fcn.004690b0
mov ebx, dword [edi + 0xe8]
mov dword [edi + 0xe8], esi
test ebx, ebx
je 0x434f5e
lea ecx, [ebx + 4]
call fcn.00475da0
test al, al
je 0x434f5e
lea eax, [ebx + 4]
xor ecx, ecx
test eax, eax
cmove ebx, ecx
push ebx
call fcn.0046ca60
add esp, 4
mov byte [ebp - 4], 0x13
test esi, esi
je 0x434f84
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00475da0
test al, al
je 0x434f84
xor eax, eax
test ebx, ebx
cmove esi, eax
push esi
call fcn.0046ca60
add esp, 4
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x18
mov ebx, eax
call fcn.0045a8af
mov esi, eax
add esp, 4
mov dword [ebp - 0x2bc], esi
mov byte [ebp - 4], 0x14
test esi, esi
je 0x434fd4
lea ecx, [esi + 4]
mov dword [ebp - 0x298], ecx
call fcn.00462ca0
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.00443f50
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
jmp 0x434fd6
xor esi, esi
push esi
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 8
call fcn.004631a0
mov dword [ebp - 0x29c], 0x43c760
mov byte [ebp - 4], 0x15
call fcn.00471890
push eax
push 0x2f3
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.00463620
lea ecx, [ebp - 0x2a0]
push ecx
mov ecx, dword [edi + 0xe8]
push eax
call fcn.00474d10
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 8
call fcn.00464e00
lea eax, [ebp - 0x298]
push eax
call fcn.0053cbb0
push 2
push eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x16
push eax
call fcn.0053ccc0
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 0x435063
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xc8]
call fcn.0040cb10
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 0x4350a3
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 0x4350c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.004228c0
movzx eax, al
push 1
mov dword [edi + 0x1f0], eax
lea eax, [ebp - 0x298]
push str.Ludashi_software_pm_backup
push eax
call fcn.0053c910
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 0x435112
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b8]
call fcn.0040cb10
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00463350
push eax
lea ecx, [edi + 0x218]
mov byte [ebp - 4], 0x1a
call fcn.00450150
lea ecx, [ebp - 0x2d4]
call fcn.00406670
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x18
cmp edx, 8
jb 0x4351a3
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435199
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435529
push edx
push ecx
call fcn.0045a8df
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 0x4351e1
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.0053c910
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 0x435220
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b8]
call fcn.0040cb10
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00463350
push eax
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0x1d
call fcn.00450150
lea ecx, [ebp - 0x2d4]
call fcn.00406670
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x1b
cmp edx, 8
jb 0x4352b1
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4352a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43552e
push edx
push ecx
call fcn.0045a8df
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 0x4352ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.0042a440
mov ecx, edi
lea eax, [edi + 0x2c]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [edi + 0x1ac]
call fcn.004137e0
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x43534b
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435341
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435533
push edx
push ecx
call fcn.0045a8df
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.00532e80
jmp 0x4354e1
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.0045a8ed
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407940
push 0x80004005
call fcn.00407940
call fcn.0057097a
call fcn.0057097a
push 0x80004005
call fcn.00407940
call fcn.0057097a
call fcn.0057097a
call fcn.0057097a
int3