Function at 0x43e6c33c
Capabilities:
Move file
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x43e6c345
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 eax, dword [ebp - 4]
call fcn.43e539b0
mov eax, dword [ebp - 8]
call fcn.43e539b0
mov eax, dword [ebp - 0xc]
call fcn.43e539b0
xor eax, eax
push ebp
push 0x43e6c58c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.43e687a0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.43e6b640
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.43e536d4
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.43e68ad0
mov eax, dword [ebp - 0x1c]
call fcn.43e539c0
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, dword [ebp - 4]
call fcn.43e698d4
mov esi, eax
test esi, esi
je 0x43e6c564
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.43e68b4c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov ecx, 0x43e6c5a4
call fcn.43e5380c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.43e69508
test al, al
je 0x43e6c564
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0x10]
call fcn.43e539c0
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
test edi, edi
je 0x43e6c564
mov eax, dword [ebp - 0xc]
call fcn.43e539c0
push eax
mov eax, dword [ebp - 8]
call fcn.43e539c0
mov ecx, eax
mov edx, esi
mov eax, edi
call fcn.43e6bca0
test al, al
jne 0x43e6c44e
mov eax, dword [ebp - 0x10]
call fcn.43e6873c
jmp 0x43e6c564
xor edi, edi
mov eax, esi
call fcn.43e6b680
cmp al, 2
jne 0x43e6c481
push 0x43e6c5b4
push dword [ebp - 0x10]
push 0x43e6c5cc
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.43e53880
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.43e69928
mov edi, eax
mov eax, esi
call fcn.43e6b680
cmp al, 1
jne 0x43e6c498
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.43e69928
mov edi, eax
push 0x3e8
call sub.kernel32.dll_Sleep
test edi, edi
je 0x43e6c564
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.43e6b81c
mov eax, dword [ebp - 0x28]
call fcn.43e6b880
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e6c564
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax + 0x204]
jne 0x43e6c4d6
mov bl, 1
test bl, bl
je 0x43e6c4e4
mov eax, 0x43e6c5e4
call fcn.43e691c0
mov eax, edi
call fcn.43e6b838
push 0x3e8
call sub.kernel32.dll_Sleep
test bl, bl
jne 0x43e6c50b
mov eax, dword [ebp - 0x10]
call fcn.43e686c4
mov eax, dword [ebp - 8]
call fcn.43e686c4
jmp 0x43e6c564
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.43e688f0
push 1
lea eax, [ebp - 0x2c]
mov ecx, 0x43e6c610
mov edx, dword [ebp - 4]
call fcn.43e5380c
mov eax, dword [ebp - 0x2c]
call fcn.43e539c0
push eax
mov eax, dword [ebp - 4]
call fcn.43e539c0
mov esi, eax
push esi
call sub.kernel32.dll_MoveFileExA
test eax, eax
je 0x43e6c564
push 1
push esi
mov eax, dword [ebp - 0x10]
call fcn.43e539c0
push eax
call sub.kernel32.dll_MoveFileExA
test eax, eax
je 0x43e6c564
mov eax, 0x43e6c620
call fcn.43e691c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e6c593
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.43e53660
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.43e53660
ret