Function at 0x44d050
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e195e
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x65b4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 4], 0
push 1
push 2
lea ecx, [ebp - 0x12c]
call fcn.0040b160
mov byte [ebp - 4], 1
push 0x620d18
lea eax, [ebp - 0x12c]
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00409610
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
call fcn.0040bf30
push eax
push str.CP2PRename::HandleInpute_nat
push 0x28
push str..P2PRename.cpp
push 0x15
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.0040c050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00409ef0
push 1
push 2
lea ecx, [ebp - 0xac]
call fcn.0040b160
mov byte [ebp - 4], 3
push 0x620d54
lea ecx, [ebp - 0x2c]
call fcn.0040bf50
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004fb4b0
test eax, eax
je 0x44d2e6
lea ecx, [ebp - 0x2c]
call fcn.004068e0
test eax, eax
je 0x44d2e6
push 0x620d58
lea ecx, [ebp - 0x148]
call fcn.0040bf50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x148]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004fb4b0
test eax, eax
je 0x44d2c1
lea ecx, [ebp - 0x148]
call fcn.004068e0
test eax, eax
je 0x44d2c1
lea edx, [ebp - 0x1b8]
push edx
call fcn.00404950
mov ecx, eax
call fcn.004092f0
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x228]
push edx
lea eax, [ebp - 0x180]
push eax
call fcn.0041e4f0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1b8]
call fcn.0040c050
lea ecx, [ebp - 0x1d4]
push ecx
call fcn.00404950
mov ecx, eax
call fcn.004092f0
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], edx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
lea edx, [ebp - 0x164]
push edx
call fcn.0041e4f0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1d4]
call fcn.0040c050
lea ecx, [ebp - 0x164]
call fcn.0040bf30
push eax
lea ecx, [ebp - 0x180]
call fcn.0040bf30
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x44d280
push 0x620d5c
lea eax, [ebp - 0xac]
push eax
call fcn.00409c80
add esp, 8
jmp 0x44d2a1
call sub.WS2_32.dll_WSAGetLastError
push eax
push 0x620d64
lea ecx, [ebp - 0xac]
push ecx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.0041c060
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x164]
call fcn.0040c050
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.0040c050
jmp 0x44d2d5
push 0x620d74
lea edx, [ebp - 0xac]
push edx
call fcn.00409c80
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x148]
call fcn.0040c050
jmp 0x44d2fa
push 0x620d88
lea eax, [ebp - 0xac]
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x1f4]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00409610
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x238]
call fcn.0040bfe0
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x1d5], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f4]
call fcn.0040c050
movzx ecx, byte [ebp - 0x1d5]
test ecx, ecx
je 0x44d3ab
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0xac]
call fcn.00409610
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x240]
call fcn.0040bf30
push eax
lea ecx, [ebp + 0xc]
call fcn.0040bf30
push eax
call fcn.00519eb0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x210]
call fcn.0040c050
mov dword [ebp - 0x214], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0040c050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00409ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040c050
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b0968
mov esp, ebp
pop ebp
ret 0x20