Function at 0x44f0b4
Capabilities:
Check if file exists
Copy file
Create thread
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x44f0bd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00406eb8
mov eax, dword [ebp - 0x30]
call fcn.0040a32c
mov eax, dword [ebp + 0x10]
call fcn.0040a32c
xor eax, eax
push ebp
push 0x44faa0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
mov edx, dword [0x40c458]
call fcn.00408d3c
lea eax, [ebp - 0x44]
mov edx, dword [0x40c458]
call fcn.00408d3c
lea eax, [ebp - 0x48]
mov edx, dword [0x40c458]
call fcn.00408d3c
test esi, esi
je 0x44f12f
xor eax, eax
mov dword [esi], eax
cmp byte [ebp + 0x14], 0
je 0x44f1e6
cmp byte [ebp + 0xc], 0
jne 0x44f1e6
mov eax, 0xfa
call fcn.00435cf0
test al, al
jne 0x44f1e6
cmp dword [ebp - 0x50], 0
je 0x44f170
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x50]
push eax
call sub.user32.dll_SetWindowPos
push 0x10
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov ebx, eax
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407220
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x30]
call fcn.0040a2d0
movzx eax, byte [ebp + 0x18]
mov byte [ebx + 8], al
lea eax, [ebx + 0xc]
mov edx, dword [ebp + 0x10]
call fcn.0040a2d0
lea eax, [ebp - 0x58]
push eax
push 0
push ebx
push 0x44f074
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x44f1d3
mov bl, 1
test esi, esi
je 0x44f1c8
mov dword [esi], eax
jmp 0x44fa04
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x44fa04
mov eax, ebx
mov edx, dword [0x45021c]
call fcn.004083e4
push ebx
call sub.kernel32.dll_LocalFree_1
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2a8]
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2b0]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x148]
cmp dword [ebp - 0x5c], 0
jne 0x44f28e
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
cmp dword [ebp - 0x60], 0
je 0x44f28e
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
lea eax, [ebp - 0x28]
call fcn.004496e8
dec eax
jle 0x44f26f
lea eax, [ebp - 0x64]
push eax
mov cl, 0x2c
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040f708
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x28]
call fcn.00407268
lea ecx, [ebp - 0x68]
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.00449734
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
mov edx, 0x44fac4
call fcn.00407530
jmp 0x44f29c
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x148]
lea ecx, [ebp - 8]
mov edx, 0x44fadc
mov eax, dword [ebp - 4]
call fcn.0044ef54
lea ecx, [ebp - 0xc]
mov edx, 0x44faf8
mov eax, dword [ebp - 4]
call fcn.0044ef54
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 8]
call fcn.004361d0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x24]
mov ecx, dword [ebp - 8]
call fcn.004361d0
lea eax, [ebp - 0x3c]
call fcn.004496c4
mov byte [ebp - 0x51], 0
lea eax, [ebp - 0x18]
call fcn.00406de8
lea eax, [ebp - 0x1c]
call fcn.00406de8
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x44f34e
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
jne 0x44f34e
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
jne 0x44f34e
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
je 0x44f62f
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x154]
test al, al
je 0x44f4d5
lea edx, [ebp - 0x6c]
mov eax, dword [ebp + 0x10]
call fcn.0044e0bc
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x18]
call fcn.00434a34
lea eax, [ebp - 0xc]
call fcn.00434bf8
cmp dword [ebp - 0xc], 0
je 0x44f4d5
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x18]
call fcn.004347b8
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0xc]
call fcn.004074d8
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x15c]
test al, al
je 0x44f3d8
lea eax, [ebp - 0x38]
call fcn.0040a2b8
push eax
push 0x44fb0c
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x44f3d8
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x44f3d8
xor ebx, ebx
jmp 0x44f3da
mov bl, 1
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x15c]
test al, al
je 0x44f416
push 0
mov eax, dword [ebp - 0xc]
call fcn.004076c4
push eax
mov eax, dword [ebp - 0x18]
call fcn.004076c4
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x44f416
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x164]
mov byte [ebp - 0x51], al
jmp 0x44f426
mov eax, dword [ebp - 0xc]
call fcn.004076c4
push eax
call sub.kernel32.dll_DeleteFileA
mov bl, 1
test bl, bl
je 0x44f489
lea eax, [ebp - 0x38]
call fcn.0040a2b8
push eax
push 0x44fb0c
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x44f450
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x44f454
xor ebx, ebx
jmp 0x44f456
mov bl, 1
push 1
mov eax, dword [ebp + 0x10]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0044e704
test al, al
jne 0x44f47b
mov eax, dword [ebp - 0xc]
call fcn.004076c4
push eax
call sub.kernel32.dll_DeleteFileA
test bl, bl
je 0x44f489
xor edx, edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004076c4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44f4d1
lea edx, [ebp - 0x74]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x174]
mov eax, dword [ebp - 0x74]
push eax
push 0x44fb28
lea edx, [ebp - 0x78]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x16c]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
jmp 0x44f4d5
mov byte [ebp - 0x51], 0
cmp dword [ebp - 0x30], 0
je 0x44f598
lea eax, [ebp - 0x1c]
call fcn.00434bf8
cmp dword [ebp - 0x1c], 0
je 0x44f598
lea eax, [ebp - 0x1c]
mov edx, 0x44fb40
call fcn.004074d8
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x17c]
cmp eax, 0x19000
jg 0x44f520
je 0x44f538
sub eax, 4
je 0x44f530
sub eax, 0xc7fc
je 0x44f534
jmp 0x44f544
sub eax, 0x32000
je 0x44f53c
sub eax, 0x19000
je 0x44f540
jmp 0x44f544
mov bl, 1
jmp 0x44f546
mov bl, 2
jmp 0x44f546
mov bl, 3
jmp 0x44f546
mov bl, 4
jmp 0x44f546
mov bl, 5
jmp 0x44f546
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004076c4
push eax
call sub.kernel32.dll_DeleteFileA
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
je 0x44f598
lea edx, [ebp - 0x7c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x194]
mov eax, dword [ebp - 0x7c]
push eax
push 0x44fb5c
lea edx, [ebp - 0x80]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18c]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea edx, [ebp - 0x84]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x19c]
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x44f605
inc ebx
xor esi, esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x19c]
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 8]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x18]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0x1c]
inc esi
dec ebx
jne 0x44f5be
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x50]
push eax
movzx eax, byte [ebp + 0x18]
push eax
movzx eax, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x10]
call fcn.004497f4
jmp 0x44f637
lea eax, [ebp - 0x4c]
call fcn.0040a2b8
lea edx, [ebp - 0x8c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x150]
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x28], 0
je 0x44f66c
mov ecx, dword [ebp - 0x28]
mov edx, 0x44fb74
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x20], 0
je 0x44f682
mov ecx, dword [ebp - 0x20]
mov edx, 0x44fb8c
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x24], 0
je 0x44f698
mov ecx, dword [ebp - 0x24]
mov edx, 0x44fba4
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x2c], 0
je 0x44f6ae
mov ecx, dword [ebp - 0x2c]
mov edx, 0x44fbbc
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x44f77a
lea edx, [ebp - 0x90]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x128]
cmp dword [ebp - 0x90], 0
je 0x44f76d
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.0044a19c
test al, al
je 0x44f76d
push 0
push 0
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 0
lea edx, [ebp - 0x94]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x138]
mov eax, dword [ebp - 0x94]
push eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x140]
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x130]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x128]
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
call fcn.0044dde4
test al, al
jne 0x44f771
xor eax, eax
jmp 0x44f773
mov al, 1
mov bl, al
jmp 0x44f8bf
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
je 0x44f7e2
cmp dword [ebp - 0x2c], 0
je 0x44f7d5
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.0044a19c
test al, al
je 0x44f7d5
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0x19
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
xor eax, eax
call fcn.0044dde4
test al, al
jne 0x44f7d9
xor eax, eax
jmp 0x44f7db
mov al, 1
mov bl, al
jmp 0x44f8bf
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
je 0x44f8bd
cmp dword [ebp - 0x2c], 0
je 0x44f8b3
lea edx, [ebp - 0xa0]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x108]
cmp dword [ebp - 0xa0], 0
je 0x44f8b3
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.0044a19c
test al, al
je 0x44f8b3
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
push 0
lea edx, [ebp - 0xa4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [ebp - 0xa4]
push eax
lea edx, [ebp - 0xa8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x118]
mov eax, dword [ebp - 0xa8]
push eax
lea edx, [ebp - 0xac]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x120]
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x110]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
xor eax, eax
call fcn.0044dde4
test al, al
jne 0x44f8b7
xor eax, eax
jmp 0x44f8b9
mov al, 1
mov bl, al
jmp 0x44f8bf
xor ebx, ebx
cmp dword [ebp - 0x4c], 0
je 0x44f8cd
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x38]
cmp dword [ebp - 0x1c], 0
je 0x44f8f4
test bl, bl
jne 0x44f8e6
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
jne 0x44f8f4
mov eax, dword [ebp - 0x1c]
call fcn.004076c4
push eax
call sub.kernel32.dll_DeleteFileA
test bl, bl
jne 0x44f9a8
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
je 0x44f92c
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x50]
push eax
movzx eax, byte [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
call fcn.0044a394
mov ebx, eax
test bl, bl
jne 0x44f974
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + pe_nt_image_headers32]
test al, al
je 0x44f974
cmp byte [ebp + 0x18], 0
jne 0x44f974
mov byte [ebp - 0x51], 0
cmp dword [ebp - 0x50], 0
je 0x44f964
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x50]
push eax
call sub.user32.dll_SetWindowPos
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
call fcn.0044a818
mov bl, al
test bl, bl
jne 0x44f9a8
cmp byte [ebp + 0x18], 0
jne 0x44f9a8
push 0x10
push 0
lea edx, [ebp - 0xb0]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x300]
mov eax, dword [ebp - 0xb0]
call fcn.004076c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.user32.dll_MessageBoxA_1
cmp bl, 1
jne 0x44fa04
lea eax, [ebp - 0x38]
call fcn.0040a2b8
push eax
push 0x44fb0c
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x44f9d1
mov dl, 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp byte [ebp - 0x51], 0
je 0x44fa04
cmp dword [ebp - 0x18], 0
je 0x44fa04
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x164]
test al, al
je 0x44fa04
push 0
mov eax, dword [ebp - 0x18]
call fcn.004076c4
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44faaa
lea eax, [ebp - 0xb0]
mov edx, 9
call fcn.00406e54
lea eax, [ebp - 0x8c]
call fcn.0040a2b8
lea eax, [ebp - 0x88]
mov edx, dword [0x433780]
mov ecx, 2
call fcn.004082d4
lea eax, [ebp - 0x80]
mov edx, 0xa
call fcn.00406e54
lea eax, [ebp - 0x4c]
call fcn.0040a2b8
lea eax, [ebp - 0x48]
mov edx, dword [0x40c458]
mov ecx, 3
call fcn.004082d4
lea eax, [ebp - 0x3c]
call fcn.0040a2b8
lea eax, [ebp - 0x38]
call fcn.0040a2b8
lea eax, [ebp - 0x34]
call fcn.0040a2b8
lea eax, [ebp - 0x30]
call fcn.0040a2b8
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.00406e54
lea eax, [ebp + 0x10]
call fcn.0040a2b8
ret