Function at 0x49b1e0
Capabilities:
Get file system object information
Move file
Parse pe header
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c4026
mov eax, dword fs:[0]
push eax
mov eax, 0x5d34
call fcn.004af5f0
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x5d30], eax
push ebx
push esi
push edi
mov eax, dword [0x4d8620]
xor eax, esp
push eax
lea eax, [esp + 0x5d44]
mov dword fs:[0], eax
mov ecx, dword [0x527edc]
mov edx, dword [0x513900]
lea eax, [esp + 0x18c]
push eax
push 0x497800
push ecx
push str.VIRSCAN
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x49b83d
lea ecx, [esp + 0x18]
call fcn.00443360
mov dword [esp + 0x5d4c], 0
cmp byte [0x526d89], 0
je 0x49b2a1
push 0x400
lea eax, [esp + 0x1544]
push eax
mov ecx, 0x52dfe8
call fcn.00412e90
lea ecx, [esp + 0x1540]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004430b0
lea ecx, [esp + 0x18]
call fcn.004431e0
mov ebx, 1
jmp 0x49b319
lea ecx, [esp + 0xe4]
call fcn.0046f930
mov ebx, 1
mov byte [esp + 0x5d4c], bl
push 0
lea edx, [esp + 0xe8]
push edx
mov ecx, 0x52d6c0
call fcn.00444810
push 0
push ebx
push 0
push ebx
push 0
lea eax, [esp + 0x2c]
push eax
push 3
lea ecx, [esp + 0x100]
push ecx
call fcn.00468410
test al, al
jne 0x49b305
mov byte [esp + 0x5d4c], al
lea ecx, [esp + 0xe4]
call fcn.00401a70
jmp 0x49b829
mov byte [esp + 0x5d4c], 0
lea ecx, [esp + 0xe4]
call fcn.00401a70
push 0
lea edx, [esp + 0x1d44]
push edx
push str.Rar_VR
call fcn.0048a730
test al, al
je 0x49b829
push 0x400
lea eax, [esp + 0x3544]
push eax
call fcn.0048af80
xor edi, edi
mov byte [esp + 0x12], 0
cmp dword [esp + 0xcc], edi
jbe 0x49b4e3
jmp 0x49b360
cmp byte [0x527e58], 0
jne 0x49b4e3
lea ecx, [esp + 0x1d40]
push ecx
call fcn.0048af60
push edi
lea edx, [esp + 0x2544]
push edx
lea ecx, [esp + 0x20]
call fcn.00443130
push eax
call fcn.00455b40
lea edx, [esp + 0x1540]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x49b3a0
push 0
push 0
lea eax, [esp + 0x1548]
push eax
push 0
call fcn.00432c10
test eax, eax
je 0x49b417
push ebx
lea ecx, [esp + 0x1544]
push ecx
call fcn.00455590
push 0
push 0
lea edx, [esp + 0x1548]
push edx
push 0
call fcn.00432c10
test eax, eax
je 0x49b417
lea eax, [esp + 0x1540]
push eax
push 0x1f7
call fcn.00465ec0
push eax
call fcn.004985f0
add esp, 8
mov ecx, 0x513904
call fcn.004298d0
jmp 0x49b4cc
lea ecx, [esp + 0x1540]
push ecx
call fcn.0048af60
call fcn.00486850
push 0x5362aa
push edi
lea edx, [esp + 0x2548]
push edx
lea ecx, [esp + 0x24]
call fcn.00443130
push eax
call fcn.00455800
cmp byte [0x526d89], 0
jne 0x49b462
push 0
push 0
push 0x5362aa
mov ecx, 0x52dfe8
call fcn.004166e0
cmp dword [0x52e40c], 0
jne 0x49b474
cmp byte [0x52e416], 0
je 0x49b478
mov byte [esp + 0x12], bl
mov eax, dword [0x52e1f4]
mov ecx, dword [0x536ab8]
mov dword [0x53423c], eax
call fcn.0046f5f0
mov ecx, dword [0x536aac]
call fcn.0046f5f0
mov ecx, dword [0x536aac]
push 0x4c579c
call fcn.0046f9d0
mov esi, dword [0x567cb8]
push ebx
push 0
mov ecx, 0x52dfe8
call fcn.00417ad0
cmp esi, dword [0x567cb8]
jne 0x49b4dd
cmp byte [0x526d88], 0
jne 0x49b4e3
add edi, ebx
cmp edi, dword [esp + 0xcc]
jb 0x49b360
jmp 0x49b4e3
mov byte [0x526d88], bl
cmp byte [0x526d88], 0
mov byte [esp + 0x13], 0
jne 0x49b76d
push 0
push 0
push 0x5362aa
push 9
call fcn.0048d9c0
lea ecx, [esp + 0x18c]
push ecx
mov byte [esp + 0x17], al
call fcn.0048b390
push 0x543
call fcn.00465ec0
push eax
call fcn.0048b390
lea edx, [esp + 0x1d40]
push edx
call fcn.0048af60
lea eax, [esp + 0x98c]
push eax
lea ebx, [esp + 0x1d44]
call fcn.00491c80
push 0x2000
push 0x2b4
lea ecx, [esp + 0x1294]
push ecx
push 0
lea edx, [esp + 0x19c]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
jne 0x49b6d2
mov edx, 0x5a4d
cmp ax, dx
je 0x49b58e
mov ecx, 0x4550
cmp ax, cx
jne 0x49b6d2
xor eax, eax
movzx ecx, word [esp + eax + 0x1d40]
mov word [esp + eax + 0x1540], cx
add eax, 2
test cx, cx
jne 0x49b590
lea edx, [esp + 0x1540]
push edx
call fcn.004554c0
lea eax, [esp + 0x1540]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b5c0
sub eax, edx
sar eax, 1
mov esi, eax
call fcn.004b0205
push eax
lea eax, [esp + esi*2 + 0x1544]
push str.Rar_Scan_d.bat
push eax
mov edx, 0x400
call fcn.004a5ca0
add esp, 0xc
push 0
push 0x4c86e0
lea ecx, [esp + 0x1548]
push ecx
call fcn.00432bd0
mov esi, eax
test esi, esi
je 0x49b6d2
cmp word [esp + 0x18c], 0x22
je 0x49b627
lea edx, [esp + 0x18c]
push edx
call fcn.0044af50
lea eax, [esp + 0x98c]
push eax
lea ecx, [esp + 0x190]
push ecx
lea edx, [esp + 0x3d48]
push str.__s__s_r_n_echo._r_n_pause
push edx
mov edx, 0x1000
call fcn.004a5ca0
add esp, 0x10
push 0x1000
lea eax, [esp + 0x2544]
push eax
lea ecx, [esp + 0x3d48]
push ecx
call fcn.00477920
lea eax, [esp + 0x2540]
mov byte [esp + 0x353f], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49b680
sub eax, edx
push esi
push eax
lea edx, [esp + 0x2548]
push 1
push edx
call fcn.004b1c88
push esi
call fcn.004b203e
add esp, 0x14
xor eax, eax
jmp 0x49b6b0
movzx ecx, word [esp + eax + 0x1540]
mov word [esp + eax + 0x18c], cx
add eax, 2
test cx, cx
jne 0x49b6b0
xor eax, eax
mov word [esp + 0x98c], ax
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x998]
push edx
lea eax, [esp + 0x1d50]
push eax
lea ecx, [esp + 0x1a0]
push ecx
push 0
call fcn.004a1740
test al, al
je 0x49b752
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xc8
push edx
call esi
cmp eax, 0x102
jne 0x49b745
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
cmp byte [0x527e58], 0
jne 0x49b745
push 0x14
call edi
call fcn.0044aea0
mov eax, dword [esp + 0x14]
push 0xc8
push eax
call esi
cmp eax, 0x102
je 0x49b720
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49b76d
lea edx, [esp + 0x18c]
push edx
push 0x201
call fcn.00465ec0
push eax
call fcn.004985f0
add esp, 8
lea eax, [esp + 0x3540]
push eax
call fcn.0048af60
cmp byte [esp + 0x12], 0
je 0x49b808
xor eax, eax
jmp 0x49b790
movzx ecx, word [esp + eax + 0x1d40]
mov word [esp + eax + 0x1540], cx
add eax, 2
test cx, cx
jne 0x49b790
lea ecx, [esp + 0x1540]
push ecx
call fcn.00455b40
mov edx, 0x62
mov word [eax + 0xc], dx
lea eax, [esp + 0x1540]
push eax
call fcn.00432420
test al, al
jne 0x49b808
lea ecx, [esp + 0x1540]
push ecx
lea edx, [esp + 0x1d44]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x49b808
xor eax, eax
jmp 0x49b7f0
movzx ecx, word [esp + eax + 0x1540]
mov word [esp + eax + 0x1d40], cx
add eax, 2
test cx, cx
jne 0x49b7f0
lea eax, [esp + 0x1d40]
push eax
call fcn.0048abd0
cmp byte [esp + 0x13], 0
je 0x49b829
mov ecx, dword [0x526d84]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esp + 0x5d4c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00414b00
mov ecx, dword [esp + 0x5d44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5d30]
xor ecx, esp
call fcn.004aedbb
add esp, 0x5d40
ret