Function at 0x40a2e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ca80
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
push str..tmp
xor eax, eax
mov dword [ebp - 0x88], edi
mov ebx, ecx
mov dword [ebp - 0x84], 0
call fcn.004040bb
cmp eax, 0xffffffff
jne 0x40a56e
lea ecx, [ebp - 0x48]
call fcn.0040a240
mov esi, eax
lea eax, [ebp - 0x64]
push str..tmp
push eax
mov dword [ebp - 4], 1
call fcn.0040680b
lea ecx, [ebp - 0x2c]
push ecx
mov edx, esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040a1a0
add esp, 0xc
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004026c0
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.004026c0
lea edx, [ebp - 0x120]
push edx
call fcn.00402ec2
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.0040632c
add esp, 4
push str.helper::change_to_random_name
lea ecx, [ebp - 0x64]
call fcn.0040258f
push str.E:code_b5m_client_bang5taoB5TClientSourceB5TLibcommonhelper_inl.h
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.0040258f
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 8
call fcn.00402f86
push eax
lea edx, [ebp - 0x64]
push edx
push 0x473
lea eax, [ebp - 0x48]
push eax
push 1
push ecx
mov byte [ebp - 4], 9
call fcn.00439dc3
add esp, 4
push eax
call fcn.0043a160
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.004026c0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.004025cc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.004025cc
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00402f43
lea ecx, [ebp - 0xd0]
call fcn.004029cc
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040d3a0
add esp, 4
test al, al
jne 0x40a562
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40a455
lea eax, [ebp - 0x2c]
push eax
mov eax, ebx
call fcn.00402758
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40a4a0
xor ebx, ebx
push 0xffffffffffffffff
xor edx, edx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
push ebx
lea eax, [ebp - 0x2c]
mov ecx, edi
mov word [edi], dx
call fcn.00403f7d
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], bl
call fcn.004026c0
jmp 0x40a58b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x120]
push eax
call fcn.00403575
push esi
push ecx
lea ecx, [ebp - 0x120]
push 0x4768dc
push ecx
mov byte [ebp - 4], 0xa
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push str.helper::change_to_random_name
lea ecx, [ebp - 0x48]
call fcn.0040258f
push str.E:code_b5m_client_bang5taoB5TClientSourceB5TLibcommonhelper_inl.h
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.0040258f
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xc
call fcn.00403624
push eax
lea eax, [ebp - 0x48]
push eax
push 0x478
push 2
mov byte [ebp - 4], 0xd
call fcn.00439dc3
lea ecx, [ebp - 0x64]
mov ebx, eax
call fcn.00439e02
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.004025cc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.004025cc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.004025cc
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.004035e1
lea ecx, [ebp - 0xd0]
call fcn.00402925
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004026c0
push 0x476ee0
mov esi, edi
call fcn.00402684
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret