Function at 0x44447c
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.0043220e
pop ecx
test al, al
jne 0x444776
lea ecx, [ebp + 0xc]
call fcn.0040b48a
test al, al
jne 0x444776
push esi
call fcn.004442ad
pop ecx
test al, al
jne 0x4444bf
push 2
call fcn.00458880
pop ecx
jmp 0x44477b
push esi
lea ecx, [ebp + 0xc]
call fcn.00427645
test al, al
je 0x4444d3
mov al, 1
jmp 0x44477d
test byte [ebp + 0x18], 0x80
mov edi, 0x49bb64
je 0x444521
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00445367
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.00444edd
add esp, 0x14
lea ecx, [ebp + 0xc]
push eax
call fcn.00425696
lea ecx, [ebp - 0x18]
call fcn.00426428
lea ecx, [ebp - 0xc]
call fcn.00426428
xor ebx, ebx
test dword [ebp + 0x18], 0x200
je 0x444547
push ebx
sub esp, 0xc
mov eax, esp
push esi
push eax
call fcn.004451c4
pop ecx
pop ecx
lea eax, [ebp + 0xc]
push eax
call fcn.00445b0a
add esp, 0x14
test byte [ebp + 0x18], 0x40
je 0x44456e
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.0044319c
pop ecx
test al, al
je 0x44456e
push 5
call fcn.00458880
pop ecx
jmp 0x44477f
push closesocket
push esi
lea ecx, [ebp + 0xc]
call fcn.0042559b
test eax, eax
je 0x4445f6
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00446346
pop ecx
pop ecx
test al, al
jne 0x4445f6
test byte [ebp + 0x18], 1
je 0x4445b4
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.004442ad
pop ecx
test al, al
jne 0x4445b4
push 2
jmp 0x444563
test byte [ebp + 0x18], 2
je 0x4445d2
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.004442ad
pop ecx
test al, al
je 0x4445f6
push 0x50
jmp 0x444563
test byte [ebp + 0x18], 8
jne 0x4445f6
cmp dword [ebp + 0xc], ebx
mov eax, edi
push 0x800
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.00443fe4
pop ecx
pop ecx
test al, al
je 0x44477f
test byte [ebp + 0x18], 4
je 0x44460c
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.00441d38
pop ecx
test byte [ebp + 0x18], 8
je 0x44475f
call fcn.0045760b
test al, al
je 0x4446b4
mov ecx, dword [0x4df804]
test ecx, ecx
je 0x444653
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 0x444653
push 0xaa
call fcn.00458880
xor eax, eax
pop ecx
inc eax
jmp 0x444781
call sub.KERNEL32.dll_GetLastError
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.00458b6f
mov ecx, edi
mov dword [esp], 0x4a6b4c
cmp dword [eax], ebx
cmovne ecx, dword [eax]
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.00444edd
mov ecx, edi
cmp dword [eax], ebx
cmovne ecx, dword [eax]
push ecx
call fcn.004442ad
add esp, 0x10
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00426428
lea ecx, [ebp - 0x30]
call fcn.00426428
push esi
call fcn.00458880
pop ecx
test bl, bl
jne 0x4446af
xor ebx, ebx
jmp 0x444783
mov esi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x18]
call fcn.00428af1
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x18]
push ebx
cmovne edi, dword [ebp + 0xc]
push 0x49be48
push ebx
push eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.0044611a
pop ecx
pop ecx
push eax
call fcn.004595fe
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00426428
lea ecx, [ebp - 0xc]
call fcn.00428af1
push ebx
push 0x49be48
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.0044611a
pop ecx
pop ecx
push eax
call fcn.004595fe
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00426428
cmp dword [ebp - 0xc], 0
mov ecx, 0x49bb60
mov eax, ecx
cmovne eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
push eax
cmovne ecx, dword [ebp - 0x18]
push ecx
call fcn.0044874c
pop ecx
pop ecx
test al, al
je 0x44474d
push 0xaa
call fcn.00458880
pop ecx
mov bl, 1
lea ecx, [ebp - 0xc]
call fcn.00426428
lea ecx, [ebp - 0x18]
call fcn.00426428
jmp 0x444783
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 0x444783
mov bl, 1
jmp 0x444783
call fcn.0045888e
xor al, al
mov bl, al
mov al, bl
mov bl, al
lea ecx, [ebp + 0xc]
call fcn.00426428
pop edi
pop esi
mov al, bl
pop ebx
leave
ret