Function at 0x41f770
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46cd08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x489c88
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.0045b618
push ecx
lea eax, [esp + 0x14]
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov dword [esp + 0x40], ebx
call fcn.0045b31f
mov ecx, esi
call fcn.00424a80
mov ecx, dword [0x492128]
mov edx, dword [ecx + 0x828]
cmp dword [edx + 0x184], ebx
je 0x41f83e
mov eax, edx
push 0x488b20
add eax, 0x2a0
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0045b83f
lea edx, [esp + 0x10]
mov byte [esp + 0x38], 1
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0045b7d9
mov ecx, dword [0x492128]
mov eax, dword [eax]
push eax
mov byte [esp + 0x3c], 2
mov ecx, dword [ecx + 0x828]
add ecx, 0x2350
call fcn.00411610
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.0045b5aa
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call fcn.0045b5aa
mov ecx, dword [0x492128]
xor esi, esi
mov eax, dword [ecx + 0x828]
cmp dword [esi + eax + 0x9d4], ebx
je 0x41fa53
mov edx, dword [esi + eax + 0xaa4]
cmp edx, ebx
jle 0x41f957
xor edi, edi
cmp edx, ebx
jle 0x41f93f
push edi
lea ecx, [esi + eax + 0xa98]
call fcn.0045a698
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.0045b6e3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x41f8db
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push 0x489c7c
push ecx
call fcn.0045b8b3
push ecx
mov byte [esp + 0x3c], 3
mov edx, esp
mov dword [esp + 0x30], esp
push 0x489c70
push eax
push edx
call fcn.0045b83f
mov eax, dword [0x492128]
mov ecx, dword [eax + 0x828]
call fcn.0041d780
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x1c]
jmp 0x41f920
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x489c7c
push edx
call fcn.0045b8b3
push ecx
mov byte [esp + 0x3c], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x489c64
push eax
push ecx
call fcn.0045b83f
mov edx, dword [0x492128]
mov ecx, dword [edx + 0x828]
call fcn.0041d780
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
call fcn.0045b5aa
mov ecx, dword [0x492128]
inc edi
mov eax, dword [ecx + 0x828]
cmp edi, dword [esi + eax + 0xaa4]
jl 0x41f86c
mov eax, dword [ecx + 0x828]
lea ecx, [eax + esi + 0xa98]
call fcn.0045a4c7
mov ecx, dword [0x492128]
mov eax, dword [ecx + 0x828]
mov edx, dword [esi + eax + 0xa88]
cmp edx, ebx
jle 0x41fa53
xor ebp, ebp
cmp edx, ebx
jle 0x41fa53
push ebp
lea ecx, [esi + eax + 0xa7c]
call fcn.0045a698
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.0045b6e3
lea ecx, [esp + 0x10]
push str..ebk
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0045b83f
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0045b5aa
lea edx, [esp + 0x10]
cmp edi, ebx
push edx
push 0x489c54
je 0x41fa01
lea eax, [esp + 0x2c]
push eax
call fcn.0045b8b3
push ecx
mov byte [esp + 0x3c], 5
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x489c48
push eax
push ecx
call fcn.0045b83f
mov ecx, dword [esp + 0x18]
call fcn.00424a80
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x24]
jmp 0x41fa34
lea eax, [esp + 0x30]
push eax
call fcn.0045b8b3
push ecx
mov byte [esp + 0x3c], 6
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x489c3c
push eax
push ecx
call fcn.0045b83f
mov ecx, dword [esp + 0x18]
call fcn.00424a80
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x28]
call fcn.0045b5aa
mov ecx, dword [0x492128]
inc ebp
mov eax, dword [ecx + 0x828]
cmp ebp, dword [esi + eax + 0xa88]
jl 0x41f976
add esi, 0xe0
cmp esi, 0x1180
jl 0x41f840
xor esi, esi
mov eax, dword [ecx + 0x828]
cmp dword [esi + eax + 0x1b54], ebx
je 0x41fc7a
mov edx, dword [esi + eax + 0x1c10]
cmp edx, ebx
jle 0x41fb7e
xor edi, edi
cmp edx, ebx
jle 0x41fb66
push edi
lea ecx, [esi + eax + 0x1c04]
call fcn.0045a698
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.0045b6e3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x41fb02
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push 0x489c7c
push ecx
call fcn.0045b8b3
push ecx
mov byte [esp + 0x3c], 7
mov edx, esp
mov dword [esp + 0x30], esp
push 0x489c70
push eax
push edx
call fcn.0045b83f
mov eax, dword [0x492128]
mov ecx, dword [eax + 0x828]
call fcn.0041d780
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x28]
jmp 0x41fb47
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push 0x489c7c
push edx
call fcn.0045b8b3
push ecx
mov byte [esp + 0x3c], 8
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x489c64
push eax
push ecx
call fcn.0045b83f
mov edx, dword [0x492128]
mov ecx, dword [edx + 0x828]
call fcn.0041d780
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x24]
call fcn.0045b5aa
mov ecx, dword [0x492128]
inc edi
mov eax, dword [ecx + 0x828]
cmp edi, dword [esi + eax + 0x1c10]
jl 0x41fa93
mov eax, dword [ecx + 0x828]
lea ecx, [eax + esi + 0x1c04]
call fcn.0045a4c7
mov ecx, dword [0x492128]
mov eax, dword [ecx + 0x828]
mov edx, dword [esi + eax + 0x1bf4]
cmp edx, ebx
jle 0x41fc7a
xor ebp, ebp
cmp edx, ebx
jle 0x41fc7a
push ebp
lea ecx, [esi + eax + 0x1be8]
call fcn.0045a698
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.0045b6e3
lea ecx, [esp + 0x10]
push str..ebk
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0045b83f
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0045b5aa
lea edx, [esp + 0x10]
cmp edi, ebx
push edx
push 0x489c54
je 0x41fc28
lea eax, [esp + 0x24]
push eax
call fcn.0045b8b3
push ecx
mov byte [esp + 0x3c], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x489c48
push eax
push ecx
call fcn.0045b83f
mov ecx, dword [esp + 0x18]
call fcn.00424a80
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x1c]
jmp 0x41fc5b
lea eax, [esp + 0x20]
push eax
call fcn.0045b8b3
push ecx
mov byte [esp + 0x3c], 0xa
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x489c3c
push eax
push ecx
call fcn.0045b83f
mov ecx, dword [esp + 0x18]
call fcn.00424a80
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
call fcn.0045b5aa
mov ecx, dword [0x492128]
inc ebp
mov eax, dword [ecx + 0x828]
cmp ebp, dword [esi + eax + 0x1bf4]
jl 0x41fb9d
add esi, 0xcc
cmp esi, 0x7f8
jl 0x41fa67
mov ecx, dword [esp + 0x14]
call fcn.0041fcc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045b5aa
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret