Function at 0x403fb0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523e04
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
xor edi, edi
push str.kernel32.dll
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0xfc], edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x404030
push str.SetDllDirectoryW
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x404025
push 0x53a154
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
test edi, edi
jne 0x40403b
push 0x53a154
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
xor esi, esi
mov dword [ebp - 0xf8], esi
call fcn.00402f00
call fcn.00402a00
mov edx, dword [ebp - 0x104]
push edx
push ebx
call fcn.00408240
add esp, 8
or edi, 0xffffffff
test byte [0x593b48], 1
jne 0x40408d
or dword [0x593b48], 1
mov ecx, 0x593b1c
mov dword [ebp - 4], esi
call fcn.00408fd0
push 0x534990
call fcn.004b9fdc
add esp, 4
mov dword [ebp - 4], edi
mov ebx, dword [ebp - 0x100]
push 1
push ebx
mov ecx, 0x593b1c
call fcn.00409480
test byte [0x594520], 1
mov esi, eax
jne 0x4040d3
mov eax, 1
or dword [0x594520], eax
mov ecx, 0x59451c
mov dword [ebp - 4], eax
call fcn.004156e0
push 0x5349b0
call fcn.004b9fdc
add esp, 4
mov dword [ebp - 4], edi
push 1
mov ecx, 0x59451c
call fcn.0041a1d0
test esi, esi
js 0x40419f
call fcn.00425f80
test al, al
jne 0x404190
push str.Global_UPD_Session_MutexName_
call fcn.00401d50
mov esi, eax
add esp, 4
mov dword [ebp - 0x100], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x404118
cmp esi, edi
jne 0x40413e
push str.Another_instance_of_wpsupdate_is_running__exit.
push str.kupdate::Execute
push 0x93
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcwpsupdateimpl.cpp
push 4
call fcn.0041a9b0
add esp, 0x14
mov dword [ebp - 0xf8], edi
jmp 0x404171
lea ecx, [ebp - 0xf4]
call fcn.004212f0
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 3
call fcn.00407170
add esp, 4
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 2
call fcn.00421480
mov dword [ebp - 4], edi
test esi, esi
je 0x404240
cmp esi, edi
je 0x404240
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x404240
mov dword [ebp - 0xf8], 1
jmp 0x404240
push ebx
push str.Faild_parse_command_line:__s.
push str.kupdate::Execute
push 0xa3
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcwpsupdateimpl.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
xor ecx, ecx
mov eax, ebx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4041d7
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x48]
call fcn.00402460
test byte [0x593b18], 1
mov dword [ebp - 4], 4
jne 0x40421b
or dword [0x593b18], 1
push 0x534980
mov byte [0x593b14], 0
call fcn.004b9fdc
add esp, 4
lea edx, [ebp - 0x48]
push edx
push 1
mov ecx, 0x593b14
call fcn.00420160
cmp dword [ebp - 0x34], 8
mov dword [ebp - 4], edi
jb 0x404240
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9008
add esp, 4
test byte [0x593b48], 1
mov esi, 1
jne 0x404275
or dword [0x593b48], esi
mov ecx, 0x593b1c
mov dword [ebp - 4], 5
call fcn.00408fd0
push 0x534990
call fcn.004b9fdc
add esp, 4
mov dword [ebp - 4], edi
push str.runon
mov ecx, 0x593b1c
call fcn.00408780
test al, al
je 0x4042f4
test byte [0x593b48], 1
jne 0x4042b8
or dword [0x593b48], esi
mov ecx, 0x593b1c
mov dword [ebp - 4], 6
call fcn.00408fd0
push 0x534990
call fcn.004b9fdc
add esp, 4
mov dword [ebp - 4], edi
push str.runon
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x593b1c
call fcn.00408870
mov edx, dword [eax + 0x10]
push 5
push str.onkso
push edx
push 0
mov ecx, eax
mov dword [ebp - 4], 7
mov dword [ebp - 0xfc], esi
call fcn.004010d0
test eax, eax
jne 0x4042f4
mov bl, 1
jmp 0x4042f6
xor bl, bl
test byte [ebp - 0xfc], 1
mov dword [ebp - 4], edi
je 0x404314
cmp dword [ebp - 0x34], 8
jb 0x404314
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9008
add esp, 4
test bl, bl
je 0x404321
call fcn.004046d0
test al, al
je 0x404326
call fcn.004072f0
test byte [0x593b48], 1
jne 0x404356
or dword [0x593b48], esi
mov ecx, 0x593b1c
mov dword [ebp - 4], 8
call fcn.00408fd0
push 0x534990
call fcn.004b9fdc
add esp, 4
mov dword [ebp - 4], edi
push 0x539740
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, 0x593b1c
call fcn.00408870
mov esi, eax
push 0x40
xor edx, edx
mov edi, 7
xor ebx, ebx
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoExecuteState
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 9
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00402460
push 0x539ff0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 0xa
call fcn.00402b90
push esi
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 0xb
call fcn.00402bf0
add esp, 0x18
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x4043d5
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x18], esi
jb 0x4043f2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov bl, 0xf
mov byte [ebp - 4], bl
cmp dword [ebp - 0x88], esi
jb 0x40441a
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x80]
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x6c], esi
jae 0x40443e
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0041e750
call fcn.0041f7c0
push str.Update_Exit.
push str.kupdate::Execute
push 0xb6
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcwpsupdateimpl.cpp
push 4
call fcn.0041a9b0
add esp, 0x1c
test byte [0x594518], 1
jne 0x404497
or dword [0x594518], 1
mov ecx, 0x593b50
mov byte [ebp - 4], 0x10
call fcn.004112c0
push 0x5349a0
call fcn.004b9fdc
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [0x593b50]
mov ecx, dword [eax + 0x20]
push 0x593b50
call ecx
mov edi, dword [ebp - 0xf8]
cmp eax, 6
jne 0x4044ba
push edi
call fcn.004035b0
add esp, 4
cmp dword [ebp - 0x6c], esi
jb 0x4044cb
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b9008
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret 0x14