Function at 0x4099e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
push edi
mov ebx, eax
mov esi, 0x4781d0
mov eax, 0x47ae50
call fcn.0046b8cc
mov byte [ebp - 0x95], 4
xor edx, edx
mov eax, dword [0x41131c]
mov dword [ebp - 0x9c], edx
mov dl, 1
mov word [ebp - 0x84], 8
call fcn.00405ee0
mov dword [ebp - 0x9c], eax
mov edx, dword [ebx + 0x44]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov word [ebp - 0x84], 0x14
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x9c]
call fcn.004149bc
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
mov ecx, dword [edx]
lea edx, [esi + 0x8c6]
push ecx
call fcn.004758e8
inc dword [ebp - 0x78]
mov edx, dword [eax]
pop eax
call fcn.0041dd44
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004759a0
pop ecx
test cl, cl
je 0x409ad9
mov byte [ebp - 0x95], 0
mov word [ebp - 0x84], 0x20
lea edx, [esi + 0x8e6]
lea eax, [ebp - 0x14]
call fcn.004758e8
inc dword [ebp - 0x78]
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00403f5c
dec dword [ebp - 0x78]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004759a0
jmp 0x409c8f
mov word [ebp - 0x84], 0x2c
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x9c]
call fcn.004149bc
lea ecx, [ebp - 0x18]
mov eax, dword [ecx]
push eax
lea edx, [esi + 0x903]
lea eax, [ebp - 0x1c]
call fcn.004758e8
inc dword [ebp - 0x78]
mov edx, dword [eax]
pop eax
call fcn.0041dd44
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004759a0
pop ecx
test cl, cl
je 0x409b7d
mov byte [ebp - 0x95], 1
mov word [ebp - 0x84], 0x38
lea edx, [esi + 0x916]
lea eax, [ebp - 0x20]
call fcn.004758e8
inc dword [ebp - 0x78]
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00403f5c
dec dword [ebp - 0x78]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004759a0
jmp 0x409c8f
mov word [ebp - 0x84], 0x44
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x24]
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x9c]
call fcn.004149bc
lea ecx, [ebp - 0x24]
mov eax, dword [ecx]
push eax
lea edx, [esi + 0x931]
lea eax, [ebp - 0x28]
call fcn.004758e8
inc dword [ebp - 0x78]
mov edx, dword [eax]
pop eax
call fcn.0041dd44
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004759a0
pop ecx
test cl, cl
je 0x409c54
mov byte [ebp - 0x95], 2
mov word [ebp - 0x84], 0x50
lea edx, [esi + 0x948]
lea eax, [ebp - 0x2c]
call fcn.004758e8
inc dword [ebp - 0x78]
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00403f5c
dec dword [ebp - 0x78]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004759a0
mov word [ebp - 0x84], 0x5c
lea edx, [esi + 0x967]
lea eax, [ebp - 0x30]
call fcn.004758e8
inc dword [ebp - 0x78]
lea edx, [ebp - 0x30]
mov cl, 1
mov eax, ebx
call fcn.004063ac
dec dword [ebp - 0x78]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004759a0
jmp 0x409c8f
mov byte [ebp - 0x95], 4
mov word [ebp - 0x84], 0x68
lea edx, [esi + 0x986]
lea eax, [ebp - 0x34]
call fcn.004758e8
inc dword [ebp - 0x78]
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.00403f5c
dec dword [ebp - 0x78]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004759a0
mov word [ebp - 0x84], 0x80
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x38]
inc dword [ebp - 0x78]
mov eax, dword [ebx + 0x44]
call fcn.00420f60
lea eax, [ebp - 0x38]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebp - 0x78]
call fcn.00425018
dec dword [ebp - 0x78]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004759a0
mov word [ebp - 0x84], 0x74
mov word [ebp - 0x84], 0x8c
lea edx, [esi + 0x996]
lea eax, [ebp - 0x3c]
call fcn.004758e8
inc dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 4]
inc dword [ebp - 0x78]
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
call fcn.004759f8
lea eax, [ebp - 0x40]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x78]
call fcn.00425018
dec dword [ebp - 0x78]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004759a0
mov word [ebp - 0x84], 0x74
mov word [ebp - 0x84], 0x98
xor eax, eax
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x44]
inc dword [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00425058
lea eax, [ebp - 0x44]
mov eax, dword [eax]
call fcn.00420c5c
xor edx, edx
mov dl, al
lea eax, [ebp - 0x44]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x78]
call fcn.004759a0
pop ecx
test cl, cl
je 0x409dab
lea eax, [ebx + 0x44]
cmp dword [eax], 0
je 0x409d9a
mov edx, dword [eax]
jmp 0x409da0
lea edx, [esi + 0x99e]
push edx
call sub.KERNEL32.DLL_DeleteFileA
jmp 0x409f62
mov word [ebp - 0x84], 0xb0
lea edx, [esi + 0x9a4]
lea eax, [ebp - 0x58]
call fcn.004758e8
inc dword [ebp - 0x78]
lea ecx, [ebp - 0x58]
push ecx
call fcn.00422628
fstp qword [ebp - 0xa4]
lea eax, [ebp - 0xa4]
xor edx, edx
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0x5c]
inc dword [ebp - 0x78]
pop edx
call fcn.00476028
lea eax, [ebp - 0x5c]
push eax
xor ecx, ecx
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x50]
inc dword [ebp - 0x78]
lea edx, [ebp - 0x95]
mov eax, ebx
call fcn.00409ffc
lea eax, [ebp - 0x50]
push eax
lea edx, [esi + 0x99f]
lea eax, [ebp - 0x4c]
call fcn.004758e8
inc dword [ebp - 0x78]
xor edx, edx
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0x54]
inc dword [ebp - 0x78]
pop edx
call fcn.004759f8
lea eax, [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x48]
inc dword [ebp - 0x78]
pop edx
call fcn.004759f8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004759a0
mov word [ebp - 0x84], 0xa4
mov word [ebp - 0x84], 0xbc
xor eax, eax
mov dword [ebp - 0x64], eax
lea edx, [ebp - 0x64]
inc dword [ebp - 0x78]
mov eax, dword [ebx + 0x44]
call fcn.00421028
lea ecx, [ebp - 0x64]
push ecx
xor eax, eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x60]
inc dword [ebp - 0x78]
lea edx, [ebp - 0x48]
lea eax, [ebp - 8]
call fcn.004759f8
lea eax, [ebp - 0x60]
xor edx, edx
mov dword [ebp - 0x68], edx
lea ecx, [ebp - 0x68]
inc dword [ebp - 0x78]
pop edx
call fcn.004759f8
lea edx, [ebp - 0x68]
lea eax, [ebp - 4]
call fcn.004759d0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004759a0
cmp dword [ebp - 4], 0
je 0x409f2a
mov ecx, dword [ebp - 4]
jmp 0x409f30
lea ecx, [esi + 0x9b7]
push ecx
lea eax, [ebx + 0x44]
cmp dword [eax], 0
je 0x409f3d
mov edx, dword [eax]
jmp 0x409f43
lea edx, [esi + 0x9b6]
push edx
call sub.KERNEL32.DLL_MoveFileA
dec dword [ebp - 0x78]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004759a0
mov word [ebp - 0x84], 0x74
dec dword [ebp - 0x78]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004759a0
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004759a0
mov word [ebp - 0x84], 8
mov word [ebp - 0x84], 0
mov ebx, dword [ebp - 0x9c]
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x409fc5
mov eax, dword [ebx]
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x84], 0xd4
mov edx, 3
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x84], 0xc8
cmp word [ebp - 0x82], 0
je 0x409fd0
ret
mov al, byte [ebp - 0x95]
mov edx, dword [ebp - 0x94]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xac]
mov ebx, dword [ebp - 0xa8]
pop ebp
ret