Function at 0x44457e
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.0043230e
pop ecx
test al, al
jne 0x444878
lea ecx, [ebp + 0xc]
call fcn.0040b48a
test al, al
jne 0x444878
push esi
call fcn.004443af
pop ecx
test al, al
jne 0x4445c1
push 2
call fcn.00458bb0
pop ecx
jmp 0x44487d
push esi
lea ecx, [ebp + 0xc]
call fcn.00427745
test al, al
je 0x4445d5
mov al, 1
jmp 0x44487f
test byte [ebp + 0x18], 0x80
mov edi, 0x49bb64
je 0x444623
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00445469
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.00444fdf
add esp, 0x14
lea ecx, [ebp + 0xc]
push eax
call fcn.00425796
lea ecx, [ebp - 0x18]
call fcn.00426528
lea ecx, [ebp - 0xc]
call fcn.00426528
xor ebx, ebx
test dword [ebp + 0x18], 0x200
je 0x444649
push ebx
sub esp, 0xc
mov eax, esp
push esi
push eax
call fcn.004452c6
pop ecx
pop ecx
lea eax, [ebp + 0xc]
push eax
call fcn.00445c0c
add esp, 0x14
test byte [ebp + 0x18], 0x40
je 0x444670
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.0044329e
pop ecx
test al, al
je 0x444670
push 5
call fcn.00458bb0
pop ecx
jmp 0x444881
push closesocket
push esi
lea ecx, [ebp + 0xc]
call fcn.0042569b
test eax, eax
je 0x4446f8
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00446448
pop ecx
pop ecx
test al, al
jne 0x4446f8
test byte [ebp + 0x18], 1
je 0x4446b6
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.004443af
pop ecx
test al, al
jne 0x4446b6
push 2
jmp 0x444665
test byte [ebp + 0x18], 2
je 0x4446d4
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.004443af
pop ecx
test al, al
je 0x4446f8
push 0x50
jmp 0x444665
test byte [ebp + 0x18], 8
jne 0x4446f8
cmp dword [ebp + 0xc], ebx
mov eax, edi
push 0x800
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.004440e6
pop ecx
pop ecx
test al, al
je 0x444881
test byte [ebp + 0x18], 4
je 0x44470e
cmp dword [ebp + 0xc], ebx
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.00441e3a
pop ecx
test byte [ebp + 0x18], 8
je 0x444861
call fcn.00457938
test al, al
je 0x4447b6
mov ecx, dword [0x4df81c]
test ecx, ecx
je 0x444755
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 0x444755
push 0xaa
call fcn.00458bb0
xor eax, eax
pop ecx
inc eax
jmp 0x444883
call sub.KERNEL32.dll_GetLastError
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.00458ff4
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.00444fdf
mov ecx, edi
cmp dword [eax], ebx
cmovne ecx, dword [eax]
push ecx
call fcn.004443af
add esp, 0x10
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00426528
lea ecx, [ebp - 0x30]
call fcn.00426528
push esi
call fcn.00458bb0
pop ecx
test bl, bl
jne 0x4447b1
xor ebx, ebx
jmp 0x444885
mov esi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x18]
call fcn.00428bf1
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.0044621c
pop ecx
pop ecx
push eax
call fcn.00459a83
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00426528
lea ecx, [ebp - 0xc]
call fcn.00428bf1
push ebx
push 0x49be48
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.0044621c
pop ecx
pop ecx
push eax
call fcn.00459a83
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00426528
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.0044884e
pop ecx
pop ecx
test al, al
je 0x44484f
push 0xaa
call fcn.00458bb0
pop ecx
mov bl, 1
lea ecx, [ebp - 0xc]
call fcn.00426528
lea ecx, [ebp - 0x18]
call fcn.00426528
jmp 0x444885
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 0x444885
mov bl, 1
jmp 0x444885
call fcn.00458bbe
xor al, al
mov bl, al
mov al, bl
mov bl, al
lea ecx, [ebp + 0xc]
call fcn.00426528
pop edi
pop esi
mov al, bl
pop ebx
leave
ret