Function at 0x44494e
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.00432539
pop ecx
test al, al
jne 0x444c48
lea ecx, [ebp + 0xc]
call fcn.0040b4c6
test al, al
jne 0x444c48
push esi
call fcn.0044477f
pop ecx
test al, al
jne 0x444991
push 2
call fcn.0045907c
pop ecx
jmp 0x444c4d
push esi
lea ecx, [ebp + 0xc]
call fcn.00427832
test al, al
je 0x4449a5
mov al, 1
jmp 0x444c4f
test byte [ebp + 0x18], 0x80
mov edi, 0x49cb74
je 0x4449f3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00445839
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.004453af
add esp, 0x14
lea ecx, [ebp + 0xc]
push eax
call fcn.00425883
lea ecx, [ebp - 0x18]
call fcn.00426615
lea ecx, [ebp - 0xc]
call fcn.00426615
xor ebx, ebx
test dword [ebp + 0x18], 0x200
je 0x444a19
push ebx
sub esp, 0xc
mov eax, esp
push esi
push eax
call fcn.00445696
pop ecx
pop ecx
lea eax, [ebp + 0xc]
push eax
call fcn.00445fdc
add esp, 0x14
test byte [ebp + 0x18], 0x40
je 0x444a40
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.004435e0
pop ecx
test al, al
je 0x444a40
push 5
call fcn.0045907c
pop ecx
jmp 0x444c51
push closesocket
push esi
lea ecx, [ebp + 0xc]
call fcn.00425788
test eax, eax
je 0x444ac8
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00446818
pop ecx
pop ecx
test al, al
jne 0x444ac8
test byte [ebp + 0x18], 1
je 0x444a86
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.0044477f
pop ecx
test al, al
jne 0x444a86
push 2
jmp 0x444a35
test byte [ebp + 0x18], 2
je 0x444aa4
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.0044477f
pop ecx
test al, al
je 0x444ac8
push 0x50
jmp 0x444a35
test byte [ebp + 0x18], 8
jne 0x444ac8
cmp dword [ebp + 0xc], ebx
mov eax, edi
push 0x800
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.004444b6
pop ecx
pop ecx
test al, al
je 0x444c51
test byte [ebp + 0x18], 4
je 0x444ade
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.0044217c
pop ecx
test byte [ebp + 0x18], 8
je 0x444c31
call fcn.00457e07
test al, al
je 0x444b86
mov ecx, dword [0x4e085c]
test ecx, ecx
je 0x444b25
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 0x444b25
push 0xaa
call fcn.0045907c
xor eax, eax
pop ecx
inc eax
jmp 0x444c53
call sub.KERNEL32.dll_GetLastError
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.004594c0
mov ecx, edi
mov dword [esp], 0x4a7b84
cmp dword [eax], ebx
cmovne ecx, dword [eax]
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.004453af
mov ecx, edi
cmp dword [eax], ebx
cmovne ecx, dword [eax]
push ecx
call fcn.0044477f
add esp, 0x10
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00426615
lea ecx, [ebp - 0x30]
call fcn.00426615
push esi
call fcn.0045907c
pop ecx
test bl, bl
jne 0x444b81
xor ebx, ebx
jmp 0x444c55
mov esi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x18]
call fcn.00428cde
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x18]
push ebx
cmovne edi, dword [ebp + 0xc]
push 0x49ce58
push ebx
push eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.004465ec
pop ecx
pop ecx
push eax
call fcn.00459f4f
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00426615
lea ecx, [ebp - 0xc]
call fcn.00428cde
push ebx
push 0x49ce58
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.004465ec
pop ecx
pop ecx
push eax
call fcn.00459f4f
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00426615
cmp dword [ebp - 0xc], 0
mov ecx, 0x49cb70
mov eax, ecx
cmovne eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
push eax
cmovne ecx, dword [ebp - 0x18]
push ecx
call fcn.00448c9a
pop ecx
pop ecx
test al, al
je 0x444c1f
push 0xaa
call fcn.0045907c
pop ecx
mov bl, 1
lea ecx, [ebp - 0xc]
call fcn.00426615
lea ecx, [ebp - 0x18]
call fcn.00426615
jmp 0x444c55
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 0x444c55
mov bl, 1
jmp 0x444c55
call fcn.0045908a
xor al, al
mov bl, al
mov al, bl
mov bl, al
lea ecx, [ebp + 0xc]
call fcn.00426615
pop edi
pop esi
mov al, bl
pop ebx
leave
ret