Function at 0x4388e4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4388ec
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x438be5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xb4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x438bca
inc eax
mov dword [ebp - 8], eax
xor esi, esi
test esi, esi
jne 0x43896f
lea ecx, [ebp - 0xc]
mov edx, 0x438c00
mov eax, dword [ebx + 0xb0]
call fcn.00415470
cmp dword [ebp - 0xc], 0
jne 0x4389fc
xor ecx, ecx
mov edx, 0x438c10
mov eax, dword [ebx + 0xb0]
call fcn.00415b58
xor ecx, ecx
mov edx, 0x438c24
mov eax, dword [ebx + 0xb0]
call fcn.00415b58
jmp 0x438bc0
lea edx, [ebp - 0x18]
lea edi, [esi + 1]
mov eax, edi
call fcn.00408050
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x438c00
call fcn.00404b6c
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov eax, dword [ebx + 0xb0]
call fcn.00415470
cmp dword [ebp - 0x10], 0
jne 0x4389fc
lea edx, [ebp - 0x20]
mov eax, edi
call fcn.00408050
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x438c10
call fcn.00404b6c
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebx + 0xb0]
call fcn.00415b58
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00408050
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x438c24
call fcn.00404b6c
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebx + 0xb0]
call fcn.00415b58
jmp 0x438bc0
lea ecx, [ebp - 0x30]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408700
mov eax, dword [ebp - 0x2c]
call fcn.004085b0
test al, al
jne 0x438a5d
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408700
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x438c38
call fcn.00404b6c
mov eax, dword [ebp - 0x34]
call fcn.00424998
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x40]
call fcn.0040857c
test al, al
je 0x438ab6
cmp byte [ebx + 0xa4], 0
jne 0x438ab6
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x48]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x438c58
call fcn.00404b6c
mov eax, dword [ebp - 0x44]
call fcn.00424998
jmp 0x438bca
lea ecx, [ebp - 0x4c]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x4c]
call fcn.0040857c
test al, al
je 0x438b2b
cmp byte [ebx + 0xa4], 1
jne 0x438b2b
lea ecx, [ebp - 0x50]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x50]
call fcn.00408698
test al, al
jne 0x438b2b
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x58]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0x438c80
call fcn.00404b6c
mov eax, dword [ebp - 0x54]
call fcn.00424998
jmp 0x438bca
lea ecx, [ebp - 0x5c]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x5c]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x64]
mov edx, esi
mov eax, dword [ebx + 0xb4]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x64]
push 0x438ca8
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x68]
call fcn.0040813c
push dword [ebp - 0x68]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404be0
mov eax, dword [ebp - 0x60]
call fcn.00404d20
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
jne 0x438bc0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov edx, esi
mov eax, dword [ebx + 0xb8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x438cbc
call fcn.00404b6c
mov eax, dword [ebp - 0x6c]
call fcn.00424998
jmp 0x438bca
inc esi
dec dword [ebp - 8]
jne 0x438925
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438bec
lea eax, [ebp - 0x70]
mov edx, 0x1a
call fcn.00404884
ret