Function at 0x4602f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
jne 0x460307
mov eax, 0x80070057
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0x24]
sub eax, 0x10
push eax
call fcn.004053d0
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x24]
sub eax, 0x10
push eax
call fcn.004053d0
add esp, 8
lea edi, [eax + 0x10]
mov eax, dword [ebx + 0x28]
mov dword [ebp - 4], edi
test eax, eax
je 0x460385
push eax
lea eax, [ebp - 4]
push str._CP_CF__u_CE
push eax
call fcn.00405150
add esp, 0xc
lea eax, [ebp - 0xc]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00461a10
push eax
lea ecx, [ebp - 4]
call fcn.00405520
mov edx, dword [ebp - 0xc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460382
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 4]
mov eax, dword [ebx + 0x24]
sub eax, 0x10
push eax
call fcn.004053d0
mov esi, dword [ebx + 0x30]
lea ecx, [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
call fcn.00478d30
lea eax, [ebx + 0x38]
push eax
push str.rewind
lea ecx, [ebp + 8]
call fcn.00479130
lea eax, [ebx + 0x50]
push eax
push str.share_read
lea ecx, [ebp + 8]
call fcn.00479130
lea eax, [ebx + 0x3c]
push eax
push str.outlvl
lea ecx, [ebp + 8]
call fcn.004792f0
lea eax, [ebx + 0x40]
push eax
push str.dmplvl
lea ecx, [ebp + 8]
call fcn.004792f0
lea eax, [ebx + 0x44]
push eax
push str.dmplogcount
lea ecx, [ebp + 8]
call fcn.004792f0
lea eax, [ebx + 0x48]
push eax
push str.dmpfilecount
lea ecx, [ebp + 8]
call fcn.004792f0
lea eax, [ebx + 0x4c]
push eax
push str.dmpfileglobalcount
lea ecx, [ebp + 8]
call fcn.004792f0
lea eax, [ebx + 0x54]
push eax
push str.alignmode
lea ecx, [ebp + 8]
call fcn.004792f0
lea eax, [ebx + 0x58]
push eax
push str.tagwidth
lea ecx, [ebp + 8]
call fcn.004792f0
lea eax, [ebx + 0x5c]
push eax
push str.time_fmt
lea ecx, [ebp + 8]
call fcn.004792e0
lea eax, [ebp - 8]
push eax
push 0x5bd204
lea ecx, [ebp + 8]
call fcn.004792e0
lea eax, [ebx + 0x2c]
push eax
push str.product
lea ecx, [ebp + 8]
call fcn.004792e0
lea eax, [ebx + 0x34]
push eax
push 0x5bd220
lea ecx, [ebp + 8]
call fcn.00479230
test esi, esi
jne 0x4604a0
lea eax, [ebx + 0x30]
push eax
push str.encrypt
lea ecx, [ebp + 8]
call fcn.00479130
push dword [ebp - 8]
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.00461a10
lea esi, [ebx + 0x24]
push eax
mov ecx, esi
call fcn.00405520
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4604d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x4605cb
cmp eax, 0xffffffff
je 0x4605cb
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0042f820
add esp, 8
test al, al
jne 0x460505
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebx + 0x50]
je 0x4605cb
mov eax, dword [ebx]
push ebx
call dword [eax + 0x24]
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jns 0x46051e
or ebx, 0xffffffff
mov esi, eax
jmp 0x4605d0
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004053d0
add esp, 4
lea esi, [eax + 0x10]
mov eax, dword [ebx + 0x28]
mov dword [ebp + 0xc], esi
test eax, eax
je 0x460580
push eax
lea eax, [ebp + 0xc]
push str._CP_CF__u_CE
push eax
call fcn.00405150
add esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push eax
call fcn.00461a10
push eax
lea ecx, [ebp + 0xc]
call fcn.00405520
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46057d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push 3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, ebx
call fcn.004620e0
or ebx, 0xffffffff
mov dword [ebp + 0xc], eax
add esi, 0xfffffff0
test eax, eax
mov eax, ebx
jns 0x4605b7
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4605b2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
jmp 0x4605d0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4605ce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4605ce
or ebx, 0xffffffff
xor esi, esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x4605dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 8]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4605f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46060e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x460626
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8