Function at 0x418360
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f7b9
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x48b370]
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
mov dword [ebp - 0x8c], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
call edx
push ebx
mov ecx, edi
call fcn.00418a50
lea eax, [ebp - 0x30]
call fcn.0040264e
mov byte [ebp - 4], 1
lea eax, [ebx + 0x19]
mov ecx, str.net_stop_B5TUpdateService
lea esi, [ebp - 0x30]
call fcn.00404017
push 1
push 0x7d0
push 1
push ebx
push ebx
xor edx, edx
mov ecx, esi
call fcn.0040ce80
add esp, 0x14
mov byte [ebp - 4], bl
call fcn.004026c0
lea esi, [edi + 0x58]
mov dword [ebp - 0x88], esi
cmp dword [esi + 0x14], 8
jb 0x4183fb
mov eax, dword [esi]
jmp 0x4183fd
mov eax, esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add edi, 4
mov dword [ebp - 0x90], edi
push 0x476dc8
lea eax, [ebp - 0x84]
push eax
mov ebx, edi
call fcn.0040680b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
push ecx
call fcn.0040d3a0
add esp, 0xc
test al, al
je 0x418471
push 0x476dc8
lea edx, [ebp - 0x4c]
push edx
mov ebx, esi
call fcn.0040680b
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebp - 0x84]
call fcn.00409f50
mov byte [ebp - 4], 2
lea esi, [ebp - 0x4c]
call fcn.004026c0
mov edi, dword [ebp - 0x90]
jmp 0x41852c
lea eax, [ebp - 0x128]
push eax
call fcn.00402ec2
mov byte [ebp - 4], 4
push str.b5mservice_installer::install_copy_failed_and_file_path:
lea ecx, [ebp - 0x128]
push ecx
call fcn.004064bf
push eax
lea ecx, [ebp - 0x84]
call fcn.0040632c
add esp, 0xc
push str.b5mservice_installer::install
lea ecx, [ebp - 0x4c]
call fcn.0040258f
mov byte [ebp - 4], 5
push str.b5mservice_installer.cpp
lea ecx, [ebp - 0x30]
call fcn.0040258f
mov bl, 6
mov byte [ebp - 4], bl
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x128]
call fcn.00402f86
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x22
lea ecx, [ebp - 0x30]
push ecx
push 1
call fcn.00439dc3
push eax
call fcn.0043a160
mov byte [ebp - 4], bl
lea esi, [ebp - 0x68]
call fcn.004026c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004025cc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.004025cc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.00402f43
lea ecx, [ebp - 0xd8]
call fcn.004029cc
push str.B5TUpdateService.exe
lea edx, [ebp - 0x4c]
push edx
mov ebx, dword [ebp - 0x88]
call fcn.0040680b
mov esi, eax
mov byte [ebp - 4], 8
push str.B5TUpdateService.exe
lea eax, [ebp - 0x68]
push eax
mov ebx, edi
call fcn.0040680b
mov ebx, eax
mov byte [ebp - 4], 9
push esi
call fcn.0040d3a0
add esp, 0x14
test al, al
je 0x418576
mov ecx, esi
mov edx, ebx
call fcn.00409e40
test al, al
jne 0x418593
mov eax, 8
cmp dword [esi + 0x14], eax
jb 0x418582
mov esi, dword [esi]
cmp dword [ebx + 0x14], eax
jb 0x418589
mov ebx, dword [ebx]
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 8
lea esi, [ebp - 0x68]
call fcn.004026c0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x4c]
call fcn.004026c0
push str.B5TAssist.exe
lea ecx, [ebp - 0x4c]
push ecx
mov ebx, dword [ebp - 0x88]
call fcn.0040680b
mov esi, eax
mov byte [ebp - 4], 0xa
push str.B5TAssist.exe
lea edx, [ebp - 0x68]
push edx
mov ebx, edi
call fcn.0040680b
mov ebx, eax
mov byte [ebp - 4], 0xb
push esi
call fcn.0040d3a0
add esp, 0x14
test al, al
je 0x4185f5
mov ecx, esi
mov edx, ebx
call fcn.00409e40
test al, al
jne 0x418612
mov eax, 8
cmp dword [esi + 0x14], eax
jb 0x418601
mov esi, dword [esi]
cmp dword [ebx + 0x14], eax
jb 0x418608
mov ebx, dword [ebx]
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x68]
call fcn.004026c0
mov bl, 2
mov byte [ebp - 4], bl
lea esi, [ebp - 0x4c]
call fcn.004026c0
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.00418a50
lea eax, [ebp - 0x30]
call fcn.0040264e
mov byte [ebp - 4], 0xc
mov eax, 0x1a
mov ecx, str.net_start_B5TUpdateService
lea esi, [ebp - 0x30]
call fcn.00404017
push 1
push 0x7d0
push 1
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.0040ce80
add esp, 0x14
mov byte [ebp - 4], bl
call fcn.004026c0
mov byte [ebp - 4], 0
lea esi, [ebp - 0x84]
call fcn.004026c0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x418764
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.0044cdc7
mov esp, ebp
pop ebp
ret