Function at 0x43dbd4
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 0x43dbdd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404fcc
mov eax, dword [ebp - 8]
call fcn.00406888
mov eax, dword [ebp + 0x10]
call fcn.00406888
xor eax, eax
push ebp
push 0x43e5ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
mov edx, dword [0x408274]
call fcn.004060b4
lea eax, [ebp - 0x4c]
mov edx, dword [0x408274]
call fcn.004060b4
lea eax, [ebp - 0x50]
mov edx, dword [0x408274]
call fcn.004060b4
test esi, esi
je 0x43dc4f
xor eax, eax
mov dword [esi], eax
cmp byte [ebp + 0x14], 0
je 0x43dd05
cmp byte [ebp + 0xc], 0
jne 0x43dd05
mov eax, 0xfa
call fcn.0042c778
test al, al
jne 0x43dd05
cmp dword [ebp - 0xc], 0
je 0x43dc90
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0xc]
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.00404b70
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.0040682c
mov al, byte [ebp + 0x18]
mov byte [ebx + 8], al
lea eax, [ebx + 0xc]
mov edx, dword [ebp + 0x10]
call fcn.0040682c
lea eax, [ebp - 0x58]
push eax
push 0
push ebx
push 0x43db94
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x43dcf2
mov bl, 1
test esi, esi
je 0x43dce7
mov dword [esi], eax
jmp 0x43e53d
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x43e53d
mov eax, ebx
mov edx, dword [0x43db58]
call fcn.00405798
push ebx
call sub.kernel32.dll_LocalFree_1
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2a8]
lea edx, [ebp - 0x30]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2b0]
lea edx, [ebp - 0x38]
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 0x43ddad
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
cmp dword [ebp - 0x60], 0
je 0x43ddad
lea edx, [ebp - 0x34]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
lea eax, [ebp - 0x34]
call fcn.004386e0
dec eax
jle 0x43dd8e
lea eax, [ebp - 0x64]
push eax
mov cl, 0x2c
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.0040a8d8
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x34]
call fcn.00404bb4
lea ecx, [ebp - 0x68]
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.00438724
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x34]
mov edx, 0x43e60c
call fcn.00404e28
jmp 0x43ddbb
lea edx, [ebp - 0x34]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x148]
lea eax, [ebp - 0x10]
call fcn.00404b1c
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x43e620
call fcn.00409aac
mov ebx, eax
test ebx, ebx
jle 0x43de3d
push 0x7fffffff
lea ecx, [ebx + 0xa]
mov edx, dword [ebp - 4]
mov eax, 0x43e640
call fcn.00409aac
mov esi, eax
test esi, esi
jle 0x43de3d
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040503c
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, 0x43e64c
call fcn.00409aac
mov ebx, eax
lea eax, [ebp - 0x10]
mov ecx, ebx
mov edx, 1
call fcn.0040507c
lea eax, [ebp - 0x10]
call fcn.004092d8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
call fcn.0042cc64
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
call fcn.0042cc64
lea eax, [ebp - 0x44]
call fcn.004386bc
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x20]
call fcn.00404b1c
lea eax, [ebp - 0x28]
call fcn.00404b1c
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x43dec7
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
jne 0x43dec7
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
jne 0x43dec7
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
je 0x43e16c
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x154]
test al, al
je 0x43e014
lea edx, [ebp - 0x6c]
mov eax, dword [ebp + 0x10]
call fcn.0043cd4c
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x20]
call fcn.0042b5d4
lea eax, [ebp - 0x14]
call fcn.0042b774
cmp dword [ebp - 0x14], 0
je 0x43e014
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x20]
call fcn.0042b368
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x14]
call fcn.00404de4
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x15c]
test al, al
je 0x43df51
lea eax, [ebp - 0x40]
call fcn.00406814
push eax
push 0x43e650
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x43df51
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x43df51
xor ebx, ebx
jmp 0x43df53
mov bl, 1
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x15c]
test al, al
je 0x43df8f
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404fdc
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404fdc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x43df8f
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x164]
mov byte [ebp - 0x21], al
jmp 0x43df9f
mov eax, dword [ebp - 0x14]
call fcn.00404fdc
push eax
call sub.kernel32.dll_DeleteFileA
mov bl, 1
test bl, bl
je 0x43dfc8
push 1
mov eax, dword [ebp + 0x10]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0043d358
test al, al
jne 0x43dfc8
mov eax, dword [ebp - 0x14]
call fcn.00404fdc
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x14]
call fcn.00404fdc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43e010
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 0x43e668
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 - 0x14]
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
jmp 0x43e014
mov byte [ebp - 0x21], 0
cmp dword [ebp - 8], 0
je 0x43e0d7
lea eax, [ebp - 0x28]
call fcn.0042b774
cmp dword [ebp - 0x28], 0
je 0x43e0d7
lea eax, [ebp - 0x28]
mov edx, 0x43e67c
call fcn.00404de4
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x17c]
cmp eax, 0x19000
jg 0x43e05f
je 0x43e077
sub eax, 4
je 0x43e06f
sub eax, 0xc7fc
je 0x43e073
jmp 0x43e083
sub eax, 0x32000
je 0x43e07b
sub eax, 0x19000
je 0x43e07f
jmp 0x43e083
mov bl, 1
jmp 0x43e085
mov bl, 2
jmp 0x43e085
mov bl, 3
jmp 0x43e085
mov bl, 4
jmp 0x43e085
mov bl, 5
jmp 0x43e085
xor ebx, ebx
mov eax, dword [ebp - 0x28]
call fcn.00404fdc
push eax
call sub.kernel32.dll_DeleteFileA
mov ecx, ebx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
je 0x43e0d7
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 0x43e694
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 - 0x28]
mov eax, dword [ebp - 0x44]
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 esi, eax
dec esi
test esi, esi
jl 0x43e144
inc esi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
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 - 0x10]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
mov edi, dword [eax]
call dword [edi + 0x1c]
inc ebx
dec esi
jne 0x43e0fd
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov al, byte [ebp + 0x18]
push eax
mov al, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x10]
call fcn.004387dc
jmp 0x43e174
lea eax, [ebp - 0x54]
call fcn.00406814
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 - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x34], 0
je 0x43e1a9
mov ecx, dword [ebp - 0x34]
mov edx, 0x43e6a8
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x2c], 0
je 0x43e1bf
mov ecx, dword [ebp - 0x2c]
mov edx, 0x43e6bc
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x30], 0
je 0x43e1d5
mov ecx, dword [ebp - 0x30]
mov edx, 0x43e6d0
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x38], 0
je 0x43e1eb
mov ecx, dword [ebp - 0x38]
mov edx, 0x43e6e4
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
je 0x43e252
cmp dword [ebp - 0x38], 0
je 0x43e245
mov al, byte [ebp + 0x18]
xor al, 1
call fcn.00439124
test al, al
je 0x43e245
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0x19
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
xor eax, eax
call fcn.0043ca78
test al, al
jne 0x43e249
xor eax, eax
jmp 0x43e24b
mov al, 1
mov bl, al
jmp 0x43e3f9
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
je 0x43e32f
cmp dword [ebp - 0x38], 0
je 0x43e322
lea edx, [ebp - 0x90]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x108]
cmp dword [ebp - 0x90], 0
je 0x43e322
mov al, byte [ebp + 0x18]
xor al, 1
call fcn.00439124
test al, al
je 0x43e322
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x94]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [ebp - 0x94]
push eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x118]
mov eax, dword [ebp - 0x98]
push eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x120]
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x110]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
xor eax, eax
call fcn.0043ca78
test al, al
jne 0x43e326
xor eax, eax
jmp 0x43e328
mov al, 1
mov bl, al
jmp 0x43e3f9
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x43e3f7
lea edx, [ebp - 0xa0]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x128]
cmp dword [ebp - 0xa0], 0
je 0x43e3ed
mov al, byte [ebp + 0x18]
xor al, 1
call fcn.00439124
test al, al
je 0x43e3ed
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x3c]
push eax
push 0
lea edx, [ebp - 0xa4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x138]
mov eax, dword [ebp - 0xa4]
push eax
lea edx, [ebp - 0xa8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x140]
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x130]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea edx, [ebp - 0xac]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x128]
mov eax, dword [ebp - 0xac]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
call fcn.0043ca78
test al, al
jne 0x43e3f1
xor eax, eax
jmp 0x43e3f3
mov al, 1
mov bl, al
jmp 0x43e3f9
xor ebx, ebx
cmp dword [ebp - 0x54], 0
je 0x43e407
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx + 0x38]
cmp dword [ebp - 0x28], 0
je 0x43e42e
test bl, bl
jne 0x43e420
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
jne 0x43e42e
mov eax, dword [ebp - 0x28]
call fcn.00404fdc
push eax
call sub.kernel32.dll_DeleteFileA
test bl, bl
jne 0x43e4e1
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
je 0x43e465
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov al, byte [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.004392f0
mov ebx, eax
test bl, bl
jne 0x43e4ad
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + pe_nt_image_headers32]
test al, al
je 0x43e4ad
cmp byte [ebp + 0x18], 0
jne 0x43e4ad
mov byte [ebp - 0x21], 0
cmp dword [ebp - 0xc], 0
je 0x43e49d
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetWindowPos
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.00439760
mov bl, al
test bl, bl
jne 0x43e4e1
cmp byte [ebp + 0x18], 0
jne 0x43e4e1
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.00404fdc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_MessageBoxA_1
cmp bl, 1
jne 0x43e53d
lea eax, [ebp - 0x40]
call fcn.00406814
push eax
push 0x43e650
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x43e50a
mov dl, 1
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp byte [ebp - 0x21], 0
je 0x43e53d
cmp dword [ebp - 0x20], 0
je 0x43e53d
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x164]
test al, al
je 0x43e53d
push 0
mov eax, dword [ebp - 0x20]
call fcn.00404fdc
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 0x43e5f8
lea eax, [ebp - 0xb0]
mov edx, 9
call fcn.00404b40
lea eax, [ebp - 0x8c]
call fcn.00406814
lea eax, [ebp - 0x88]
mov edx, dword [0x42ac74]
mov ecx, 2
call fcn.004056ac
lea eax, [ebp - 0x80]
mov edx, 0xa
call fcn.00404b40
lea eax, [ebp - 0x54]
call fcn.00406814
lea eax, [ebp - 0x50]
mov edx, dword [0x408274]
mov ecx, 3
call fcn.004056ac
lea eax, [ebp - 0x44]
call fcn.00406814
lea eax, [ebp - 0x40]
call fcn.00406814
lea eax, [ebp - 0x3c]
call fcn.00406814
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00404b40
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00404b40
lea eax, [ebp - 8]
call fcn.00406814
lea eax, [ebp - 4]
call fcn.00404b1c
lea eax, [ebp + 0x10]
call fcn.00406814
ret