Function at 0x443a65
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.004319de
pop ecx
test al, al
jne 0x443d5f
lea ecx, [ebp + 0xc]
call fcn.0040b453
test al, al
jne 0x443d5f
push esi
call fcn.00443896
pop ecx
test al, al
jne 0x443aa8
push 2
call fcn.00457a13
pop ecx
jmp 0x443d64
push esi
lea ecx, [ebp + 0xc]
call fcn.00426e1a
test al, al
je 0x443abc
mov al, 1
jmp 0x443d66
test byte [ebp + 0x18], 0x80
mov edi, 0x49ab64
je 0x443b0a
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00444950
mov ecx, edi
cmp dword [eax], 0
cmovne ecx, dword [eax]
mov eax, edi
cmp dword [ebp + 0xc], 0
push ecx
cmovne eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004444c6
add esp, 0x14
lea ecx, [ebp + 0xc]
push eax
call fcn.00424f5b
lea ecx, [ebp - 0x18]
call fcn.00425c1b
lea ecx, [ebp - 0xc]
call fcn.00425c1b
xor ebx, ebx
test dword [ebp + 0x18], 0x200
je 0x443b30
push ebx
sub esp, 0xc
mov eax, esp
push esi
push eax
call fcn.004447ad
pop ecx
pop ecx
lea eax, [ebp + 0xc]
push eax
call fcn.004450f3
add esp, 0x14
test byte [ebp + 0x18], 0x40
je 0x443b57
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.00442785
pop ecx
test al, al
je 0x443b57
push 5
call fcn.00457a13
pop ecx
jmp 0x443d68
push closesocket
push esi
lea ecx, [ebp + 0xc]
call fcn.00424e60
test eax, eax
je 0x443bdf
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0044592f
pop ecx
pop ecx
test al, al
jne 0x443bdf
test byte [ebp + 0x18], 1
je 0x443b9d
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.00443896
pop ecx
test al, al
jne 0x443b9d
push 2
jmp 0x443b4c
test byte [ebp + 0x18], 2
je 0x443bbb
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.00443896
pop ecx
test al, al
je 0x443bdf
push 0x50
jmp 0x443b4c
test byte [ebp + 0x18], 8
jne 0x443bdf
cmp dword [ebp + 0xc], ebx
mov eax, edi
push 0x800
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.004435cd
pop ecx
pop ecx
test al, al
je 0x443d68
test byte [ebp + 0x18], 4
je 0x443bf5
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.00441377
pop ecx
test byte [ebp + 0x18], 8
je 0x443d48
call fcn.004567b6
test al, al
je 0x443c9d
mov ecx, dword [0x4db2a4]
test ecx, ecx
je 0x443c3c
cmp dword [ebp + 0xc], ebx
mov eax, edi
push 5
cmovne eax, dword [ebp + 0xc]
push eax
push esi
call ecx
test eax, eax
je 0x443c3c
push 0xaa
call fcn.00457a13
xor eax, eax
pop ecx
inc eax
jmp 0x443d6a
call sub.KERNEL32.dll_GetLastError
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.00457d02
mov ecx, edi
mov dword [esp], 0x4a5828
cmp dword [eax], ebx
cmovne ecx, dword [eax]
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.004444c6
mov ecx, edi
cmp dword [eax], ebx
cmovne ecx, dword [eax]
push ecx
call fcn.00443896
add esp, 0x10
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00425c1b
lea ecx, [ebp - 0x30]
call fcn.00425c1b
push esi
call fcn.00457a13
pop ecx
test bl, bl
jne 0x443c98
xor ebx, ebx
jmp 0x443d6c
mov esi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x18]
call fcn.004282a8
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x18]
push ebx
cmovne edi, dword [ebp + 0xc]
push 0x49ae48
push ebx
push eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00445703
pop ecx
pop ecx
push eax
call fcn.00458769
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00425c1b
lea ecx, [ebp - 0xc]
call fcn.004282a8
push ebx
push 0x49ae48
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00445703
pop ecx
pop ecx
push eax
call fcn.00458769
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00425c1b
cmp dword [ebp - 0xc], 0
mov ecx, 0x49ab60
mov eax, ecx
cmovne eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
push eax
cmovne ecx, dword [ebp - 0x18]
push ecx
call fcn.00447d35
pop ecx
pop ecx
test al, al
je 0x443d36
push 0xaa
call fcn.00457a13
pop ecx
mov bl, 1
lea ecx, [ebp - 0xc]
call fcn.00425c1b
lea ecx, [ebp - 0x18]
call fcn.00425c1b
jmp 0x443d6c
cmp dword [ebp + 0xc], ebx
cmovne edi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x443d6c
mov bl, 1
jmp 0x443d6c
call fcn.00457a21
xor al, al
mov bl, al
mov al, bl
mov bl, al
lea ecx, [ebp + 0xc]
call fcn.00425c1b
pop edi
pop esi
mov al, bl
pop ebx
leave
ret