Function at 0x4e2950
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x566ab1
mov eax, dword fs:[0]
push eax
sub esp, 0xcf0
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0xcec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0xd04]
mov dword fs:[0], eax
mov esi, dword [esp + 0xd18]
mov edi, ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
call fcn.004dc320
mov dword [esp + 0xd0c], ebx
push ebx
cmp esi, ebx
je 0x4e2a09
push 0x208
lea eax, [esp + 0x8f8]
push eax
push esi
call fcn.0044cdf0
lea eax, [esp + 0x900]
add esp, 0x10
lea edx, [eax + 2]
jmp 0x4e29e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4e29e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x8f4]
push ecx
lea ecx, [esp + 0xcc]
call fcn.00401e40
or ebp, 0xffffffff
jmp 0x4e2a67
mov edx, dword [edi + 0x444]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x190
push edx
call esi
or ebp, 0xffffffff
cmp eax, ebp
je 0x4e2f4a
cmp eax, 1
jne 0x4e2f4a
mov ecx, dword [edi + 0x444]
lea eax, [esp + 0x24]
push eax
push 1
push 0x191
push ecx
call esi
cmp eax, ebp
je 0x4e2f4a
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xc4]
push edx
push eax
lea ecx, [edi + 0x424]
call fcn.00507e27
push 0x550c
call fcn.00508953
cmp eax, ebx
je 0x4e2a87
push 0x550c
push eax
lea ecx, [esp + 0xd4]
call fcn.00401d70
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0xcc]
call fcn.004060b0
lea ecx, [esp + 0x50]
call fcn.0044c630
cmp eax, 1
jne 0x4e2f4a
mov edx, dword [0x5ed7f0]
lea esi, [edi + 0x478]
push 2
push esi
mov dword [esp + 0x34], edx
mov dword [0x5ed7f0], ebx
xor ebp, ebp
call fcn.00403240
add esp, 8
mov dword [esp + 0x1c], 0xffffffff
cmp eax, ebx
je 0x4e2cbb
call fcn.0050b420
mov ecx, dword [eax + 4]
call fcn.00506b09
mov byte [esp + 0xd0c], 1
call fcn.005089db
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4e2b0f
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
mov byte [esp + 0xd18], 2
call fcn.00407210
add esp, 0xc
test eax, eax
je 0x4e2c7e
mov ecx, dword [esp + 0x1c]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, esi
imul eax, eax, 0x3e8
sub ecx, eax
mov eax, dword [esp + 0xc4]
mov edi, ecx
mov ecx, dword [esp + 0x18]
push ecx
push 0x208
lea edx, [esp + 0x4e8]
push edx
push eax
call fcn.00402990
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xd8]
push ecx
push 0x208
lea edx, [esp + 0xe8]
push edx
push eax
call fcn.00402990
imul edi, edi, 0x1ee8
mov ecx, dword [esi*4 + 0x5b9068]
lea eax, [edi + ecx]
add esp, 0x20
cmp dword [eax + 0xd0], ebx
jle 0x4e2bf2
push 0xffffffffffffffff
push ebx
push 0x54e9
call fcn.0050c4d3
lea ecx, [esp + 0x18]
call fcn.00401b40
lea ecx, [esp + 0x17]
mov byte [esp + 0xd0c], bl
call fcn.0040adf0
mov dword [esp + 0xd0c], 0xffffffff
jmp 0x4e2f51
mov ebp, 1
add dword [eax + 0xcc], ebp
mov edx, dword [esp + 0x1c]
push ebx
push edx
call fcn.00402940
add esp, 8
test eax, eax
je 0x4e2c32
push ebp
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x4e8]
push ecx
mov ecx, dword [esi*4 + 0x5b9068]
add ecx, edi
call fcn.00444390
cmp eax, ebp
je 0x4e2c34
xor ebp, ebp
mov edx, dword [esi*4 + 0x5b9068]
dec dword [edi + edx + 0xcc]
lea eax, [edi + edx + 0xcc]
cmp ebp, ebx
jne 0x4e2c60
mov ecx, dword [esi*4 + 0x5b9068]
push 0x540d
add ecx, edi
call fcn.0043ce10
cmp dword [0x5ed794], ebx
je 0x4e2c7a
cmp ebp, ebx
jne 0x4e2c7a
mov ecx, dword [esi*4 + 0x5b9068]
add ecx, edi
call fcn.0043fa10
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xd0c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2ca6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x17]
mov byte [esp + 0xd0c], bl
call fcn.0040adf0
jmp 0x4e2ec3
push esi
lea ecx, [esp + 0x4e4]
push 0x208
push ecx
call fcn.0053fe1c
lea eax, [esp + 0x4ec]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x4e2ce0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4e2ce0
sub eax, edx
sar eax, 1
mov edi, 0x5c
cmp word [esp + eax*2 + 0x4de], di
je 0x4e2d18
push 0x57c2e0
lea edx, [esp + 0x4e4]
push 0x208
push edx
call fcn.0053fd9f
add esp, 0xc
mov eax, dword [esp + 0xc4]
push eax
lea ecx, [esp + 0x4e4]
push 0x208
push ecx
call fcn.0053fd9f
lea eax, [esp + 0x4ec]
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4e2d40
mov ecx, dword [esp + 0xc8]
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x4e2], dx
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jge 0x4e2d71
push 0x80070057
call fcn.00401340
movzx edx, word [ecx]
mov ebp, edi
cmp bp, dx
je 0x4e2e3b
cmp eax, 3
jle 0x4e2da5
cmp eax, 1
jge 0x4e2d93
push 0x80070057
call fcn.00401340
movzx eax, word [ecx + 2]
mov edx, 0x3a
cmp dx, ax
je 0x4e2e3b
push esi
lea eax, [esp + 0xd4]
push 0x208
push eax
call fcn.0053fe1c
lea eax, [esp + 0xdc]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4e2dc5
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0xce], di
je 0x4e2df3
lea ecx, [esp + 0xd0]
push 0x57c2e0
push ecx
call fcn.00411c90
add esp, 8
mov edx, dword [esp + 0xc8]
push edx
lea eax, [esp + 0xd4]
push 0x208
push eax
call fcn.0053fd9f
lea eax, [esp + 0xdc]
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4e2e20
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0xd2], cx
jmp 0x4e2e51
push ecx
lea edx, [esp + 0xd4]
push 0x208
push edx
call fcn.0053fe1c
add esp, 0xc
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov word [esp + 0x4c], ax
mov eax, dword [0x5ed0c0]
mov ecx, dword [eax + 0x20]
mov eax, 1
lea edx, [esp + 0x4e0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
lea eax, [esp + 0x30]
lea ecx, [esp + 0xd0]
mov edx, 0xc0
push eax
mov dword [esp + 0x40], ecx
mov word [esp + 0x44], dx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, dword [esp + 0x20]
mov ebp, eax
neg ebp
sbb ebp, ebp
inc ebp
cmp ebp, ebx
je 0x4e2f33
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x4e2eea
mov edx, dword [esp + 0x24]
push 0x208
lea ecx, [esp + 0x8f4]
push ecx
push edx
mov ecx, edi
call fcn.004d6110
jmp 0x4e2f00
push eax
lea eax, [esp + 0x8f4]
push 0x208
push eax
call fcn.0053fe1c
add esp, 0xc
mov ecx, dword [esp + 0xd14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x8fc]
push 0x208
push ecx
call fcn.004db670
add esp, 0x14
push ebx
push ebx
mov ecx, edi
call fcn.004e2420
mov edx, dword [esp + 0x2c]
mov dword [0x5ed7f0], edx
mov dword [esp + 0xd0c], 0xffffffff
jmp 0x4e2f51
mov dword [esp + 0xd0c], ebp
lea ecx, [esp + 0x50]
call fcn.004057d0
mov ecx, dword [esp + 0xd04]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcec]
xor ecx, esp
call fcn.0053f73f
add esp, 0xcfc
ret 8