Function at 0x486af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov eax, dword [0x75a1c0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [ebp + 0x440]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], 0
mov ebx, dword [eax]
mov dword [esp + 0x34], ebx
mov esi, dword [ebx + 0x4e54]
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x486b5f
cmp dword [ebx + 0x4e4c], esi
jne 0x486b55
push ebp
call fcn.00496f20
add esp, 4
mov dword [ebx + 0x4e50], eax
mov dword [ebx + 0x4e4c], 1
mov eax, dword [ebx + 0x4e50]
mov dword [esp + 0x2c], eax
push 0
push 7
push ebp
call fcn.00468650
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4876fe
mov si, word [edi + 4]
mov edx, dword [edi]
mov cl, byte [edi + 6]
mov dword [esp + 0x38], edx
mov word [esp + 0x3c], si
movzx eax, byte [esp + 0x3c]
shl eax, 8
shr edx, 0x18
or eax, edx
shr si, 8
mov dword [ebx + 0x10], eax
movzx eax, cl
cdq
mov ecx, eax
movzx eax, si
shld edx, ecx, 8
mov dword [esp + 0x28], edx
shl ecx, 8
cdq
or ecx, eax
or dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
ja 0x486bc6
cmp ecx, 0x20
jb 0x48735d
push 5
lea eax, [edi + 2]
push eax
push 0
call fcn.006792e0
push 0
push 7
push ebp
mov dword [esp + 0x74], eax
call fcn.00468670
add esp, 0x18
test byte [ebx + 0x10], 0x10
jne 0x4876ee
mov edi, dword [esp + 0x24]
xor eax, eax
push eax
add edi, 0xfffffff9
mov byte [ebx + 0xf], 0
xorps xmm0, xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov word [ebx + 0x34], ax
movq qword [ebx + 0x48], xmm0
push edi
push ebp
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
call fcn.00468650
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4876fe
push edi
push esi
push dword [esp + 0x64]
call fcn.006792e0
movzx ecx, byte [esp + 0x45]
add esp, 0xc
movzx edx, ax
movzx eax, byte [esp + 0x38]
shl ecx, 8
or ecx, eax
cmp edx, ecx
je 0x486c8a
push str.Header_CRC_error
jmp 0x4876f3
mov eax, dword [esp + 0x24]
lea edi, [esi + 0x19]
movups xmm0, xmmword [esi]
add eax, 0xfffffff9
add eax, esi
mov dword [esp + 0x38], eax
mov al, byte [esi + 0x18]
movups xmmword [esp + 0x40], xmm0
mov byte [esp + 0x58], al
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x50]
shr eax, 0x10
mov byte [ebx + 0xf], al
lea eax, [esp + 0x4d]
push eax
call fcn.0046bb20
push eax
call fcn.00483d40
mov dword [ebx + 0x28], eax
lea eax, [esp + 0x51]
push eax
mov dword [ebx + 0x2c], edx
call fcn.0046bb20
add esp, 0xc
mov dword [ebx + 4], eax
test byte [ebx + 0x10], 4
je 0x486d0f
push 1
push dword [esp + 0x24]
call fcn.0046ac90
push str.RAR_encryption_support_unavailable.
push 0x2a
push ebp
mov dword [ebx + 0x4e78], 1
call fcn.00469db0
add esp, 0x14
test dword [ebx + 0x10], 0x100
je 0x486d5f
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
mov eax, dword [edi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 4]
add edi, 8
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
call fcn.0046bb50
mov dword [esp + 0x18], eax
mov dword [ebx + 0x18], eax
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x18], edx
mov dword [ebx + 0x1c], edx
call fcn.0046bb50
add esp, 8
jmp 0x486d88
lea eax, [esp + 0x40]
push eax
call fcn.0046bb20
mov dword [esp + 0x18], eax
xor edx, edx
mov dword [ebx + 0x18], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x18], edx
mov dword [ebx + 0x1c], edx
call fcn.0046bb20
add esp, 8
xor edx, edx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x20], eax
mov dword [esp + 0x5c], eax
test ecx, ecx
jl 0x4876e7
mov eax, dword [esp + 0x14]
jg 0x486dac
test eax, eax
jb 0x4876e7
test edx, edx
jl 0x4876e7
jg 0x486dc1
cmp dword [esp + 0x5c], 0
jb 0x4876e7
cmp byte [esp + 0x7c], 0x7a
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
jne 0x486e08
sub edi, esi
mov esi, dword [esp + 0x24]
add esi, eax
push 0
adc dword [esp + 0x2c], ecx
mov dword [esp + 0x28], esi
lea eax, [esi - 7]
push eax
push ebp
call fcn.00468650
add esp, 0xc
test eax, eax
je 0x4876fe
lea ecx, [eax - 7]
add ecx, esi
add edi, eax
mov dword [esp + 0x38], ecx
jmp 0x486e0c
mov ecx, dword [esp + 0x38]
movzx esi, byte [esp + 0x54]
movzx eax, byte [esp + 0x53]
shl esi, 8
or esi, eax
lea eax, [esi + edi]
cmp eax, ecx
jbe 0x486e2c
push str.Invalid_filename_size
jmp 0x4876f3
lea eax, [esi + esi]
mov dword [esp + 0x14], eax
add eax, 2
mov dword [esp + 0x5c], eax
cmp dword [ebx + 0x44], eax
jae 0x486e5d
push eax
push dword [ebx + 0x38]
call fcn.006883c0
add esp, 8
test eax, eax
je 0x4872c5
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x44], eax
mov ebp, dword [ebx + 0x38]
push esi
push edi
push ebp
call fcn.0067d850
add esp, 0xc
mov byte [esi + ebp], 0
test dword [ebx + 0x10], 0x200
je 0x487094
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x486e81
sub ecx, edx
cmp esi, ecx
je 0x48703a
mov edx, ebp
mov dword [esp + 0x5c], esi
xor esi, esi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x486ea0
sub edx, ecx
xor ch, ch
mov al, byte [edx + edi + 1]
add edx, 2
mov byte [esp + 0x1a], al
xor al, al
mov dword [esp + 0x10], edx
mov byte [esp + 0x1b], al
cmp edx, dword [esp + 0x5c]
jae 0x486fbd
mov ebx, dword [esp + 0x14]
nop
cmp esi, ebx
jae 0x486fa7
test ch, ch
jne 0x486eea
mov al, byte [edx + edi]
mov ch, 8
inc edx
mov byte [esp + 0x1b], al
mov dword [esp + 0x10], edx
add ch, 0xfe
movzx eax, al
mov cl, ch
shr eax, cl
and eax, 3
jmp dword [eax*4 + 0x487718]
mov ebx, dword [esp + 0x34]
jbe 0x486fbd
push str.Invalid_filename
push 0x2a
push dword [esp + 0x24]
jmp 0x4876f6
mov byte [esi + ebp], 0
inc esi
mov byte [esi + ebp], 0
mov eax, dword [ebx + 0x4e5c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x486ffd
push 1
push str.UTF_16BE
push dword [esp + 0x24]
call fcn.00496e50
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [ebx + 0x4e5c], eax
test eax, eax
je 0x4876fe
mov edx, dword [esp + 0x10]
movzx eax, byte [ebp]
mov ecx, ebp
test al, al
jne 0x487013
movzx eax, byte [ebp + 1]
test al, al
jne 0x487013
xor eax, eax
jmp 0x487018
sbb eax, eax
or eax, 1
test eax, eax
je 0x487033
mov eax, 0x5c00
cmp word [ecx], ax
jne 0x48702a
mov byte [ecx + 1], 0x2f
add ecx, 2
cmp word [ecx], 0
jne 0x487021
add edi, edx
jmp 0x4870c4
mov eax, dword [ebx + 0x4e58]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x48706d
push 1
push 0x6ae758
push dword [esp + 0x24]
call fcn.00496e50
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [ebx + 0x4e58], eax
test eax, eax
je 0x4876fe
push 0x5c
push ebp
call fcn.0067dfd0
add esp, 8
test eax, eax
je 0x4870c2
nop dword [eax]
push 0x5c
push ebp
mov byte [eax], 0x2f
call fcn.0067dfd0
add esp, 8
test eax, eax
jne 0x487080
jmp 0x4870c2
mov eax, dword [esp + 0x2c]
push 0x5c
push ebp
mov dword [esp + 0x1c], eax
call fcn.0067dfd0
add esp, 8
test eax, eax
je 0x4870c2
nop dword [eax + eax]
push 0x5c
push ebp
mov byte [eax], 0x2f
call fcn.0067dfd0
add esp, 8
test eax, eax
jne 0x4870b0
add edi, esi
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x10], edi
test eax, eax
je 0x48726d
cmp esi, dword [ebx + 0x40]
jne 0x48726d
mov ecx, dword [ebx + 0x38]
lea edi, [esi + 1]
mov edx, eax
sub edi, 4
jb 0x487101
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x487106
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4870f0
cmp edi, 0xfffffffc
je 0x487143
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48726a
cmp edi, 0xfffffffd
je 0x487143
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48726a
cmp edi, 0xfffffffe
je 0x487143
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48726a
cmp edi, 0xffffffff
je 0x487143
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x48726a
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edi, dword [esp + 0x28]
sub ecx, 7
mov ebp, dword [esp + 0x1c]
mov eax, edi
sbb eax, 0
push eax
push ecx
push ebp
call fcn.00468670
mov eax, dword [ebx + 0xd8]
add esp, 0xc
mov ecx, dword [ebx + 0xdc]
inc eax
mov dword [ebx + 0xd8], eax
cmp eax, ecx
jb 0x4871f7
lea eax, [ecx + 1]
mov dword [ebx + 0xdc], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [ebx + 0xd4]
call fcn.006883c0
mov ecx, eax
add esp, 8
mov dword [ebx + 0xd4], ecx
test ecx, ecx
je 0x4872c5
mov eax, dword [ebx + 0xd8]
lea eax, [eax + eax*2]
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebx + 0xd8]
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0xd4]
mov dword [eax + ecx*8 + 8], 0xffffffff
mov dword [eax + ecx*8 + 0xc], 0xffffffff
mov eax, dword [ebx + 0xd8]
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0xd4]
mov dword [eax + ecx*8 + 0x10], 0xffffffff
mov dword [eax + ecx*8 + 0x14], 0xffffffff
mov eax, dword [ebx + 0xd8]
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0xd4]
cmp dword [eax + ecx*8 + 0xc], 0
lea edx, [eax + ecx*8]
jg 0x487539
jl 0x487220
cmp dword [edx + 8], 0
jae 0x487539
mov eax, dword [ebp + 0x168]
pop edi
pop esi
pop ebp
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0xd8]
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0xd4]
lea edx, [eax + ecx*8]
mov ecx, dword [edx + 8]
add ecx, dword [ebx + 0x18]
mov eax, dword [edx + 0xc]
adc eax, dword [ebx + 0x1c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0067bc9f
add esp, 0x60
ret
mov eax, dword [ebx + 0x3c]
cmp byte [ebx + 0xe0], 0
je 0x487286
push str.Mismatch_of_file_parts_split_across_multi_volume_archive
push 0x2a
push dword [esp + 0x24]
jmp 0x4876f6
lea edi, [esi + 1]
push edi
push eax
call fcn.006883c0
push edi
push dword [ebx + 0x38]
mov dword [ebx + 0x3c], eax
push eax
call fcn.0067d850
push dword [ebx + 0xd4]
mov dword [ebx + 0x40], esi
call fcn.00687807
push 0x18
push 1
call fcn.00681a00
add esp, 0x20
mov dword [ebx + 0xd4], eax
test eax, eax
jne 0x4872d1
mov ebp, dword [esp + 0x1c]
push str.Couldnt_allocate_memory.
push 0xc
jmp 0x4876f5
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edi
mov eax, dword [ebx + 0xd4]
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ebx + 0xd4]
mov dword [eax + 0x10], 0xffffffff
mov dword [eax + 0x14], 0xffffffff
mov edi, dword [ebx + 0x10]
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 1
test edi, 0x400
je 0x48733f
lea edx, [ecx + 8]
cmp edx, dword [esp + 0x38]
ja 0x487359
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebx + 0x4c], ecx
mov ecx, edx
mov dword [ebx + 0x48], eax
test edi, 0x1000
je 0x487367
push dword [esp + 0x38]
push ebx
push ecx
call fcn.00486740
add esp, 0xc
test eax, eax
jns 0x487367
mov ebp, dword [esp + 0x1c]
push str.Invalid_header_size
jmp 0x4876f3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub eax, 7
mov edi, dword [esp + 0x1c]
sbb ecx, 0
push ecx
push eax
push edi
call fcn.00468670
mov eax, dword [edi + 0x168]
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0xd4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0xd4]
mov ecx, dword [edx + 8]
add ecx, dword [ebx + 0x18]
mov eax, dword [edx + 0xc]
adc eax, dword [ebx + 0x1c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
movsx eax, byte [esp + 0x48]
cmp eax, 5
ja case.default.0x4873c1
jmp dword [eax*4 + 0x487728]
lea eax, [esp + 0x55]
push eax
call fcn.0046bb20
add esp, 4
mov ecx, 0x8000
test al, 0x10
mov eax, 0x4049
cmove eax, ecx
movzx eax, ax
mov word [ebx + 0x34], ax
or eax, 0x1a4
jmp 0x4873ff
lea eax, [esp + 0x55]
push eax
call fcn.0046bb20
add esp, 4
mov edx, 0x34
movzx eax, ax
mov ecx, ebx
mov word [ecx + edx], ax
push dword [ebx + 0xbc]
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0x2f0], 0
mov dword [ebx + 0x2f4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0x4e68], 0
mov dword [ebx + 0x4e6c], 0
mov dword [ebx + 0xc8], 0
mov byte [ebx + 0xc5], 0
mov byte [ebx + 0xb0], 1
mov byte [ebx + 0x352], 0
mov byte [ebx + 0x318], 1
call fcn.00687807
push 0x194
lea eax, [ebx + 0x154]
mov dword [ebx + 0xbc], 0
push 0
push eax
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0x20000
call fcn.0067ddd0
lea eax, [ebx + 0x358]
push eax
call dword [0x6ba39c]
add esp, 0x14
mov word [ebx + 0x350], 0
cmp byte [esp + 0x7c], 0x7a
mov dword [ebx + 0x330], 0xffffffff
mov dword [ebx + 0x334], connect
jne 0x48754e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0067bc9f
add esp, 0x60
ret
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [esp + 0x2c]
call fcn.0046ad10
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [esp + 0x3c]
call fcn.0046aa00
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push dword [esp + 0x4c]
call fcn.0046a920
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [esp + 0x58]
call fcn.0046ae30
movzx eax, word [ebx + 0x34]
push eax
push dword [esp + 0x60]
call fcn.0046acf0
add esp, 0x44
push dword [esp + 0x14]
push esi
push ebp
mov ebp, dword [esp + 0x2c]
push ebp
call fcn.00469ed0
add esp, 0x10
test eax, eax
je 0x4875f7
call fcn.00688468
cmp dword [eax], 0xc
jne 0x4875d2
push str.Cant_allocate_memory_for_Pathname
push 0xc
push edi
jmp 0x4876f6
push dword [esp + 0x14]
call fcn.00496dc0
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.00469db0
mov edx, 0xffffffec
add esp, 0x14
mov dword [esp + 0x30], edx
jmp 0x4875f9
xor edx, edx
mov ax, word [ebx + 0x34]
mov ecx, 0xf000
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x4876b3
push 0
push 0
push ebp
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
call fcn.0046ae30
mov eax, dword [edi + 0x440]
xor ebp, ebp
push ebp
mov esi, dword [eax]
push dword [esi + 0x18]
push edi
call fcn.00468650
add esp, 0x18
test eax, eax
je 0x4876fe
push dword [esp + 0x2c]
push dword [esi + 0x18]
push eax
push dword [esp + 0x2c]
call fcn.00469ee0
add esp, 0x10
test eax, eax
je 0x48769b
call fcn.00688468
cmp dword [eax], 0xc
jne 0x48767c
push str.Cant_allocate_memory_for_link
push 0xc
push edi
jmp 0x4876f6
push dword [esp + 0x2c]
call fcn.00496dc0
push eax
push str.link_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.00469db0
add esp, 0x14
mov ebp, 0xffffffec
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edi
call fcn.00468670
mov edx, dword [esp + 0x3c]
add esp, 0xc
cmp edx, ebp
cmovg edx, ebp
mov ecx, dword [ebx + 0x88]
or ecx, dword [ebx + 0x8c]
jne 0x4876c8
mov byte [ebx + 0xc5], 1
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0067bc9f
add esp, 0x60
ret
push str.Unknown_file_attributes_from_RAR_files_host_OS
push 0x2a
push edi
jmp 0x4876f6
push str.Invalid_sizes_specified.
jmp 0x4876f3
push str.RAR_solid_archive_support_unavailable.
push 0x2a
push ebp
call fcn.00469db0
add esp, 0xc
mov ecx, dword [esp + 0x6c]
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0067bc9f
add esp, 0x60
ret