Function at 0x4462c0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7d47
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x6319d0]
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 + 8]
mov dword [ebp - 0x224], eax
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x446311
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x446344
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push 1
lea ecx, [ebp - 0x218]
push ecx
push 0x104
mov byte [ebp - 4], 1
call fcn.0049cd20
add esp, 0xc
push 0x5d4634
lea ecx, [ebp - 0x230]
call fcn.00403380
mov edi, eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.00403380
push edi
push eax
lea eax, [ebp - 0x228]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00402910
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call fcn.00402af0
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4463e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44642f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push 0x5d1dc0
push ecx
call fcn.0059adc7
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x446535
mov edx, dword [ebp - 0x21c]
push 0x5d3770
push edx
call fcn.0059adc7
mov edi, eax
add esp, 8
test edi, edi
je 0x44652c
push ebx
lea eax, [ebp - 0x114]
push 0x103
push eax
call fcn.0059bc71
add esp, 0xc
test eax, eax
je 0x446523
jmp 0x446490
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4464a0
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004026b0
push 0x20
lea ecx, [ebp - 0x220]
call fcn.004414e0
mov esi, dword [ebp - 0x220]
cmp dword [esi - 0xc], 0
jl 0x4464f6
push str.DEVTYPE_INI_FILE1
push esi
call fcn.0059a963
add esp, 8
test eax, eax
je 0x4464f6
sub eax, esi
cmp eax, 0xffffffff
je 0x4464f6
push edi
push str.DEVTYPE_UIU_INI_FILE_1
jmp 0x4464fe
push edi
lea edx, [ebp - 0x114]
push edx
call fcn.0059ac05
add esp, 8
push ebx
lea eax, [ebp - 0x114]
push 0x103
push eax
call fcn.0059bc71
add esp, 0xc
test eax, eax
jne 0x446490
push edi
call fcn.0059ab91
add esp, 4
push ebx
call fcn.0059ab91
add esp, 4
mov ecx, dword [ebp - 0x224]
mov edi, dword [ebp - 0x21c]
push 0
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x446572
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446595
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.00599ed4
mov esp, ebp
pop ebp
ret 4