Function at 0x4c6af0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61dd2e
push eax
mov eax, 0x28f4
mov dword fs:[0], esp
call fcn.005de040
push edi
mov dword [esp + 0x14], ecx
push str.unrar.dll
mov dword [esp + 0x2904], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x4c6b78
mov eax, dword [esp + 0x2908]
add eax, 0xfffffff0
mov dword [esp + 0x2900], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6b5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
pop edi
mov ecx, dword [esp + 0x28f4]
mov dword fs:[0], ecx
add esp, 0x2900
ret 4
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RAROpenArchiveEx
push edi
call esi
push str.RARCloseArchive
push edi
mov ebx, eax
call esi
push str.RARReadHeaderEx
push edi
mov dword [esp + 0x20], eax
call esi
push str.RARProcessFile
push edi
mov ebp, eax
call esi
push str.RARSetChangeVolProc
push edi
mov dword [esp + 0x24], eax
call esi
push str.RARSetProcessDataProc
push edi
mov dword [esp + 0x18], eax
call esi
push str.RARSetPassword
push edi
mov dword [esp + 0x1c], eax
call esi
test ebx, ebx
je 0x4c6e0d
cmp dword [esp + 0x18], 0
je 0x4c6e0d
test ebp, ebp
je 0x4c6e0d
cmp dword [esp + 0x1c], 0
je 0x4c6e0d
cmp dword [esp + 0x10], 0
je 0x4c6e0d
cmp dword [esp + 0x14], 0
je 0x4c6e0d
test eax, eax
je 0x4c6e0d
push 0xa4
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.005d9e90
mov edx, dword [esp + 0x2920]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], 0
call ebx
mov esi, eax
test esi, esi
jne 0x4c6c65
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x2914]
call fcn.00401a50
jmp 0x4c6e42
push 0x4c29d0
push esi
call dword [esp + 0x1c]
lea ecx, [esp + 0xc8]
push ecx
push esi
mov dword [esp + 0x18fc], 0
call ebp
test eax, eax
jne 0x4c6df1
lea ecx, [ecx]
lea edx, [esp + 0xcc8]
push edx
lea ecx, [esp + 0x18]
call fcn.00401eb0
push 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2914], 1
call fcn.00404820
mov eax, dword [eax]
push str..sub
push eax
call fcn.005db99d
add esp, 8
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call fcn.00401a50
test bl, bl
jne 0x4c6d0a
push 0
push 0
push 0
push esi
call dword [esp + 0x2c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x290c], bl
call fcn.00401a50
lea ecx, [esp + 0xc8]
push ecx
push esi
call ebp
test eax, eax
je 0x4c6c90
jmp 0x4c6df1
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x18d4]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x2910], 2
call fcn.0041a720
test al, al
jne 0x4c6d5c
push esi
call dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
call fcn.00526650
lea ecx, [esp + 0x14]
call fcn.00401a50
lea ecx, [esp + 0x2914]
call fcn.00401a50
jmp 0x4c6e42
mov ebx, dword [esp + 0x10]
push ebp
push ebp
push 1
push esi
mov dword [0x71e36c], ebx
mov dword [0x71e370], ebp
call dword [esp + 0x2c]
test eax, eax
jne 0x4c6d2d
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18d4]
mov eax, dword [ebp + 0x114]
mov edx, dword [eax + 0x2c]
add ebp, 0x114
push 0
push ecx
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push 0
push 0
push 0
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x18d4]
mov eax, dword [ebp]
mov edx, dword [eax + 0x38]
push ecx
push ebx
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
xor ebx, ebx
push ebx
push ebx
push ebx
mov ecx, ebp
call edx
lea ecx, [esp + 0x10]
mov dword [0x71e36c], ebx
mov dword [0x71e370], ebx
call fcn.00526650
lea ecx, [esp + 0x14]
mov byte [esp + 0x290c], bl
call fcn.00401a50
push esi
call dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x2914]
call fcn.00401a50
mov al, 1
jmp 0x4c6e44
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x2914]
add eax, 0xfffffff0
mov dword [esp + 0x290c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6e42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x2904]
pop esi
pop ebp
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x2900
ret 4