Function at 0x43d200
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585033
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 4], 0
call fcn.00402270
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x230]
call fcn.0042e580
mov byte [ebp - 4], 1
mov eax, dword [0x63a638]
and eax, 0xf
cmp eax, 2
jb 0x43d305
lea ecx, [ebp + 8]
call fcn.00406030
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x43d286
mov dword [ebp - 0x240], 0
jmp 0x43d2ee
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x43d2ae
mov dword [ebp - 0x244], 0
jmp 0x43d2e2
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0056a8e0
mov dword [ebp - 0x248], esp
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call fcn.00402280
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00405e00
jmp 0x43d3d5
push 0x5f029c
lea edx, [ebp + 8]
push edx
call fcn.00407960
add esp, 8
movzx eax, al
test eax, eax
je 0x43d32c
mov dword [ebp - 0x24c], 0x5f02a0
jmp 0x43d3c3
lea ecx, [ebp + 8]
call fcn.00406030
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x43d34f
mov dword [ebp - 0x250], 0
jmp 0x43d3b7
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x43d377
mov dword [ebp - 0x254], 0
jmp 0x43d3ab
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0056a8e0
mov dword [ebp - 0x258], esp
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call fcn.00402280
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x230]
call fcn.00405e00
push 0x103
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x43d422
cmp dword [ebp - 0x18], 0x7a
je 0x43d422
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5f02a4
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x43d44d
push 0x208
lea eax, [ebp - 0x22c]
push eax
call fcn.004020c0
add esp, 8
push 0x103
push 0x5f02c8
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43d481
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0042e5a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405f70
jmp 0x43d51a
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x230]
call fcn.004027c0
push eax
push 0x5f02f0
push str.report_conf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x43d4dc
push str.ERROR:_ChangeUsbStateFile_failed_n
push str.CNetCmdConfigMgr::ChangeUsbStateFile
call fcn.0040c050
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0042e5a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405f70
jmp 0x43d51a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0042e5a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405f70
jmp 0x43d51a
lea esp, [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret 0x1c