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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a37ca
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5f237c]
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.0056acc0
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 0x5b1720
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 0x4348c0
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 0x4349f1
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 0x4352a1
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 0x434946
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 0x4352ab
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 0x434991
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.0042c260
mov ecx, edi
mov dword [edi + 0x3a0], eax
call fcn.0042fb10
cmp dword [edi + 0x360], 1
lea esi, [edi + 0x364]
jne 0x4349dc
cmp dword [esi + 4], 0
je 0x4349dc
push 0
push 0x3e8
push 0x3e8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4349f1
push 0x3e8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.004492a0
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.0056acc0
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 0x434a70
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.00531290
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x434ae6
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434adc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4352b5
push edx
push ecx
call fcn.0045a50f
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 0x434b40
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.005318e0
mov edx, dword [ebp - 0x2c0]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x434bbd
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434bb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4352ba
push edx
push ecx
call fcn.0045a50f
add esp, 8
push 0xa
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xa
push 0
push eax
call fcn.0044bcb0
add esp, 0xc
mov esi, eax
mov dword [edi + 0x1ec], esi
call fcn.00408cf0
mov ecx, eax
test ecx, ecx
je 0x4352bf
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 0x5b1764
call fcn.0054ca80
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x434c4c
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.0047ce60
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 0x434c97
lea ecx, [eax + 4]
call fcn.00468ce0
mov eax, dword [ebp - 0x29c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x434cbf
lea ebx, [eax + 4]
mov ecx, ebx
call fcn.004759c0
test al, al
je 0x434cbf
lea eax, [ebx - 4]
neg ebx
sbb ebx, ebx
and ebx, eax
push ebx
call fcn.0046c680
add esp, 4
mov byte [ebp - 4], 0x12
test esi, esi
je 0x434ccf
lea ecx, [esi + 4]
call fcn.00468ce0
mov ebx, dword [edi + 0xe8]
mov dword [edi + 0xe8], esi
test ebx, ebx
je 0x434cfe
lea ecx, [ebx + 4]
call fcn.004759c0
test al, al
je 0x434cfe
lea eax, [ebx + 4]
xor ecx, ecx
test eax, eax
cmove ebx, ecx
push ebx
call fcn.0046c680
add esp, 4
mov byte [ebp - 4], 0x13
test esi, esi
je 0x434d24
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.004759c0
test al, al
je 0x434d24
xor eax, eax
test ebx, ebx
cmove esi, eax
push esi
call fcn.0046c680
add esp, 4
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x18
mov ebx, eax
call fcn.0045a4df
mov esi, eax
add esp, 4
mov dword [ebp - 0x2bc], esi
mov byte [ebp - 4], 0x14
test esi, esi
je 0x434d74
lea ecx, [esi + 4]
mov dword [ebp - 0x298], ecx
call fcn.004628d0
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.00443ba0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
jmp 0x434d76
xor esi, esi
push esi
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 8
call fcn.00462dd0
mov dword [ebp - 0x29c], 0x43c4a0
mov byte [ebp - 4], 0x15
call fcn.004714a0
push eax
push 0x2f1
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.00463250
lea ecx, [ebp - 0x2a0]
push ecx
mov ecx, dword [edi + 0xe8]
push eax
call fcn.00474920
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 8
call fcn.00464a30
lea eax, [ebp - 0x298]
push eax
call fcn.0053b130
push 2
push eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x16
push eax
call fcn.0053b240
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 0x434e03
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 0x434e43
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 0x434e64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.004228b0
movzx eax, al
push 1
mov dword [edi + 0x1f0], eax
lea eax, [ebp - 0x298]
push str.Ludashi_software_pm_backup
push eax
call fcn.0053ae90
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 0x434eb2
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.00462f80
push eax
lea ecx, [edi + 0x218]
mov byte [ebp - 4], 0x1a
call fcn.0044fd90
lea ecx, [ebp - 0x2d4]
call fcn.00406670
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x18
cmp edx, 8
jb 0x434f43
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434f39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4352c9
push edx
push ecx
call fcn.0045a50f
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 0x434f81
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.0053ae90
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 0x434fc0
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.00462f80
push eax
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0x1d
call fcn.0044fd90
lea ecx, [ebp - 0x2d4]
call fcn.00406670
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x1b
cmp edx, 8
jb 0x435051
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435047
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4352ce
push edx
push ecx
call fcn.0045a50f
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 0x43508d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.0042a400
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 0x4350eb
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4350e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4352d3
push edx
push ecx
call fcn.0045a50f
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.00531410
jmp 0x435281
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.0045a51d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407940
push 0x80004005
call fcn.00407940
call fcn.0056eeea
call fcn.0056eeea
push 0x80004005
call fcn.00407940
call fcn.0056eeea
call fcn.0056eeea
call fcn.0056eeea
int3