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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x599850]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x64], 0
mov esi, dword [edi + 0x508]
mov esi, dword [esi]
mov dword [ebp - 0x68], esi
mov ebx, dword [esi + 0x4e2c]
mov dword [ebp - 0x60], ebx
test ebx, ebx
jne 0x4e2ab8
cmp dword [esi + 0x4e24], ebx
jne 0x4e2aaf
push edi
call fcn.004c4440
add esp, 4
mov dword [esi + 0x4e28], eax
mov dword [esi + 0x4e24], 1
mov eax, dword [esi + 0x4e28]
mov dword [ebp - 0x60], eax
push 0
push 7
push edi
call fcn.004bc4a0
mov edx, eax
add esp, 0xc
mov dword [ebp - 8], edx
test edx, edx
je 0x4e3609
mov ax, word [edx + 4]
mov ecx, dword [edx]
mov bl, byte [edx + 6]
mov word [ebp - 0x18], ax
movzx eax, al
shl eax, 8
mov dword [ebp - 0x1c], ecx
shr ecx, 0x18
or ecx, eax
mov byte [ebp - 0x16], bl
mov eax, dword [ebp - 0x18]
shr eax, 8
movzx eax, al
cdq
mov dword [esi + 0x10], ecx
mov ecx, eax
mov dword [ebp - 0x54], edx
movzx eax, bl
cdq
shld edx, eax, 8
shl eax, 8
or ecx, eax
or dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], ecx
ja 0x4e2b20
cmp ecx, 0x20
jb 0x4e329d
mov eax, dword [ebp - 8]
push 5
add eax, 2
push eax
push 0
call fcn.004fc8e0
push 0
push 7
push edi
mov dword [ebp - 8], eax
call fcn.004bc4c0
add esp, 0x18
test byte [esi + 0x10], 0x10
jne 0x4e35f9
xor eax, eax
mov byte [esi + 0xf], 0
mov word [esi + 0x34], ax
xorps xmm0, xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movq qword [esi + 0x48], xmm0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff9
push 0
push eax
push edi
call fcn.004bc4a0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x5c], ebx
test ebx, ebx
je 0x4e3609
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff9
push eax
push ebx
push dword [ebp - 8]
call fcn.004fc8e0
movzx ecx, byte [ebp - 0x1b]
add esp, 0xc
movzx edx, ax
movzx eax, byte [ebp - 0x1c]
shl ecx, 8
or ecx, eax
cmp edx, ecx
je 0x4e2bec
push str.Header_CRC_error
jmp 0x4e35fe
movups xmm0, xmmword [ebx]
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff9
add eax, ebx
mov dword [ebp - 0x18], eax
mov al, byte [ebx + 0x18]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x20], al
movq xmm0, qword [ebx + 0x10]
add ebx, 0x19
movq qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x28]
shr eax, 0x10
mov byte [esi + 0xf], al
lea eax, [ebp - 0x2b]
push eax
mov dword [ebp - 0x40], ebx
call fcn.004cb160
push eax
call fcn.004e13e0
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x2f]
push eax
mov dword [esi + 0x2c], edx
call fcn.004cb160
mov dword [esi + 4], eax
add esp, 0xc
mov eax, dword [esi + 0x10]
test al, 4
je 0x4e2c6f
push 1
push dword [ebp - 0x58]
call fcn.004c2f40
push str.RAR_encryption_support_unavailable.
push 0x2a
push edi
mov dword [esi + 0x4e50], 1
call fcn.004c2100
mov eax, dword [esi + 0x10]
add esp, 0x14
test eax, 0x100
je 0x4e2cb6
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
add ebx, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x40], ebx
call fcn.004cb190
mov dword [ebp - 0x3c], eax
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x48], edx
mov dword [esi + 0x1c], edx
call fcn.004cb190
add esp, 8
jmp 0x4e2cdb
lea eax, [ebp - 0x38]
push eax
call fcn.004cb160
mov dword [ebp - 0x3c], eax
xor edx, edx
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x48], edx
mov dword [esi + 0x1c], edx
call fcn.004cb160
add esp, 8
xor edx, edx
mov ecx, dword [ebp - 0x48]
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
mov dword [ebp - 8], eax
test ecx, ecx
jl 0x4e35f2
mov eax, dword [ebp - 0x3c]
jg 0x4e2cfc
test eax, eax
jb 0x4e35f2
test edx, edx
jl 0x4e35f2
jg 0x4e2d10
cmp dword [ebp - 8], 0
jb 0x4e35f2
cmp byte [ebp + 0x10], 0x7a
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
jne 0x4e2d59
mov edx, dword [ebp - 0x4c]
sub ebx, dword [ebp - 0x5c]
add edx, eax
push 0
adc dword [ebp - 0x54], ecx
mov dword [ebp - 0x4c], edx
lea eax, [edx - 7]
push eax
push edi
call fcn.004bc4a0
add esp, 0xc
test eax, eax
je 0x4e3609
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff9
add ecx, eax
add ebx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x40], ebx
jmp 0x4e2d5c
mov ecx, dword [ebp - 0x18]
movzx ebx, byte [ebp - 0x24]
movzx eax, byte [ebp - 0x25]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 0x40]
add eax, ebx
cmp eax, ecx
jbe 0x4e2d7c
push str.Invalid_filename_size
jmp 0x4e35fe
lea eax, [ebx + ebx]
mov dword [ebp - 0x3c], eax
add eax, 2
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x44], eax
jae 0x4e2daa
push eax
push dword [esi + 0x38]
call fcn.0050bb08
add esp, 8
test eax, eax
je 0x4e3203
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x44], eax
mov edi, dword [esi + 0x38]
push ebx
push dword [ebp - 0x40]
mov dword [ebp - 0x5c], edi
push edi
call fcn.00504640
add esp, 0xc
mov byte [edi + ebx], 0
test dword [esi + 0x10], 0x200
je 0x4e2fda
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e2dd3
sub ecx, edx
cmp ebx, ecx
je 0x4e2f87
mov edx, edi
mov dword [ebp - 8], ebx
xor ebx, ebx
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4e2df0
sub edx, ecx
xor ah, ah
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x44], ah
mov al, byte [edx + ecx + 1]
add edx, 2
mov byte [ebp - 0x41], al
xor al, al
mov dword [ebp - 0x48], edx
cmp edx, dword [ebp - 8]
jae 0x4e2f0c
mov esi, dword [ebp - 0x3c]
nop dword [eax]
cmp ebx, esi
jae 0x4e2ef8
test al, al
jne 0x4e2e38
mov ah, byte [edx + ecx]
mov al, 8
inc edx
mov byte [ebp - 0x44], ah
mov dword [ebp - 0x48], edx
add al, 0xfe
mov byte [ebp - 0x43], al
mov cl, byte [ebp - 0x43]
movzx eax, ah
shr eax, cl
and eax, 3
jmp dword [eax*4 + 0x4e3620]
mov esi, dword [ebp - 0x68]
jbe 0x4e2f0c
push str.Invalid_filename
push 0x2a
push dword [ebp - 0x50]
jmp 0x4e3601
mov byte [edi + ebx], 0
inc ebx
mov byte [edi + ebx], 0
mov eax, dword [esi + 0x4e34]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4e2f48
push 1
push str.UTF_16BE
push dword [ebp - 0x50]
call fcn.004c4370
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov dword [esi + 0x4e34], eax
test eax, eax
je 0x4e3609
mov edx, dword [ebp - 0x48]
movzx eax, byte [edi]
mov ecx, edi
test al, al
jne 0x4e2f5d
movzx eax, byte [edi + 1]
test al, al
jne 0x4e2f5d
xor eax, eax
jmp 0x4e2f62
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e3004
mov eax, 0x5c00
nop
cmp word [ecx], ax
jne 0x4e2f79
mov byte [ecx + 1], 0x2f
add ecx, 2
cmp word [ecx], 0
jne 0x4e2f70
jmp 0x4e3004
mov eax, dword [esi + 0x4e30]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4e2fb7
push 1
push 0x556220
push dword [ebp - 0x50]
call fcn.004c4370
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov dword [esi + 0x4e30], eax
test eax, eax
je 0x4e3609
push 0x5c
push edi
call fcn.00504f90
add esp, 8
test eax, eax
je 0x4e3002
push 0x5c
push edi
mov byte [eax], 0x2f
call fcn.00504f90
add esp, 8
test eax, eax
jne 0x4e2fc6
jmp 0x4e3002
mov eax, dword [ebp - 0x60]
push 0x5c
push edi
mov dword [ebp - 0x3c], eax
call fcn.00504f90
add esp, 8
test eax, eax
je 0x4e3002
nop
push 0x5c
push edi
mov byte [eax], 0x2f
call fcn.00504f90
add esp, 8
test eax, eax
jne 0x4e2ff0
mov edx, ebx
mov eax, dword [ebp - 0x40]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4e31ad
cmp ebx, dword [esi + 0x40]
jne 0x4e31ad
mov ecx, dword [esi + 0x38]
lea edi, [ebx + 1]
mov edx, eax
sub edi, 4
jb 0x4e3041
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4e3046
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4e3030
cmp edi, 0xfffffffc
je 0x4e3083
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4e31aa
cmp edi, 0xfffffffd
je 0x4e3083
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4e31aa
cmp edi, 0xfffffffe
je 0x4e3083
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4e31aa
cmp edi, 0xffffffff
je 0x4e3083
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4e31aa
mov ebx, dword [ebp - 0x4c]
mov ecx, ebx
mov eax, dword [ebp - 0x54]
sub ecx, 7
mov edi, dword [ebp - 0x50]
sbb eax, 0
push eax
push ecx
push edi
call fcn.004bc4c0
mov eax, dword [esi + 0xd8]
add esp, 0xc
mov ecx, dword [esi + 0xdc]
inc eax
mov dword [esi + 0xd8], eax
cmp eax, ecx
jb 0x4e313f
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esi + 0xd4]
call fcn.0050bb08
mov ecx, eax
add esp, 8
mov dword [esi + 0xd4], ecx
test ecx, ecx
je 0x4e3203
mov eax, dword [esi + 0xd8]
mov edx, dword [ebp - 0x54]
lea eax, [eax + eax*2]
mov dword [ecx + eax*8], ebx
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esi + 0xd8]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xd4]
mov dword [eax + ecx*8 + 8], 0xffffffff
mov dword [eax + ecx*8 + 0xc], 0xffffffff
mov eax, dword [esi + 0xd8]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xd4]
mov dword [eax + ecx*8 + 0x10], 0xffffffff
mov dword [eax + ecx*8 + 0x14], 0xffffffff
mov eax, dword [esi + 0xd8]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xd4]
cmp dword [eax + ecx*8 + 0xc], 0
lea edx, [eax + ecx*8]
jg 0x4e3450
jl 0x4e3162
cmp dword [edx + 8], 0
jae 0x4e3450
mov ecx, dword [edi + 0x230]
pop edi
mov eax, dword [ecx]
mov dword [edx + 8], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xd8]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xd4]
lea edx, [eax + ecx*8]
mov ecx, dword [edx + 8]
add ecx, dword [esi + 0x18]
mov eax, dword [edx + 0xc]
adc eax, dword [esi + 0x1c]
mov dword [edx + 0x10], ecx
pop esi
mov dword [edx + 0x14], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x3c]
cmp byte [esi + 0xe0], 0
je 0x4e31c5
push str.Mismatch_of_file_parts_split_across_multi_volume_archive
push 0x2a
push dword [ebp - 0x50]
jmp 0x4e3601
lea edi, [ebx + 1]
push edi
push eax
call fcn.0050bb08
push edi
push dword [esi + 0x38]
mov dword [esi + 0x3c], eax
push eax
call fcn.00504640
push dword [esi + 0xd4]
mov dword [esi + 0x40], ebx
call fcn.0050bae2
push 0x18
push 1
call fcn.0050bad7
add esp, 0x20
mov dword [esi + 0xd4], eax
test eax, eax
jne 0x4e320f
mov edi, dword [ebp - 0x50]
push str.Couldnt_allocate_memory.
push 0xc
jmp 0x4e3600
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
mov dword [eax], edi
mov dword [eax + 4], edx
mov eax, dword [esi + 0xd4]
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [esi + 0xd4]
mov dword [eax + 0x10], 0xffffffff
mov dword [eax + 0x14], 0xffffffff
mov edx, dword [esi + 0x10]
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 1
test edx, 0x400
je 0x4e327e
mov edi, dword [ebp - 8]
lea ecx, [edi + 8]
cmp ecx, dword [ebp - 0x18]
ja 0x4e329a
mov eax, dword [edi]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x4c]
mov dword [esi + 0x4c], eax
mov eax, ecx
jmp 0x4e3281
mov eax, dword [ebp - 8]
test edx, 0x1000
je 0x4e32a7
push dword [ebp - 0x18]
push esi
push eax
call fcn.004e28d0
add esp, 0xc
test eax, eax
jns 0x4e32a7
mov edi, dword [ebp - 0x50]
push str.Invalid_header_size
jmp 0x4e35fe
mov eax, dword [ebp - 0x54]
sub edi, 7
sbb eax, 0
push eax
push edi
mov edi, dword [ebp - 0x50]
push edi
call fcn.004bc4c0
mov ecx, dword [edi + 0x230]
add esp, 0xc
mov edx, dword [esi + 0xd4]
mov eax, dword [ecx]
mov dword [edx + 8], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
mov edx, dword [esi + 0xd4]
mov ecx, dword [edx + 8]
add ecx, dword [esi + 0x18]
mov eax, dword [edx + 0xc]
adc eax, dword [esi + 0x1c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
movsx eax, byte [ebp - 0x30]
cmp eax, 5
ja case.default.0x4e32fa
jmp dword [eax*4 + 0x4e3630]
lea eax, [ebp - 0x23]
push eax
call fcn.004cb160
add esp, 4
mov ecx, 0x8000
test al, 0x10
mov eax, 0x4049
cmove eax, ecx
mov ecx, 0x1a4
or ax, cx
jmp 0x4e3332
lea eax, [ebp - 0x23]
push eax
call fcn.004cb160
add esp, 4
movzx eax, ax
mov word [esi + 0x34], ax
push dword [esi + 0xbc]
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x2f0], 0
mov dword [esi + 0x2f4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x4e40], 0
mov dword [esi + 0x4e44], 0
mov dword [esi + 0xc8], 0
mov byte [esi + 0xc5], 0
mov byte [esi + 0xb0], 1
mov byte [esi + 0x32b], 0
mov byte [esi + 0x328], 1
call fcn.0050bae2
push 0x194
lea eax, [esi + 0x154]
mov dword [esi + 0xbc], 0
push 0
push eax
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0x20000
call fcn.00504e30
lea eax, [esi + 0x330]
push eax
call dword [0x55bb88]
add esp, 0x14
mov word [esi + 0x329], 0
cmp byte [ebp + 0x10], 0x7a
jne 0x4e3463
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret
push dword [esi + 0x30]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push dword [ebp - 0x58]
call fcn.004c2fc0
push dword [esi + 0x68]
push dword [esi + 0x64]
push dword [esi + 0x60]
push dword [ebp - 0x58]
call fcn.004c2dc0
push dword [esi + 0x58]
push dword [esi + 0x54]
push dword [esi + 0x50]
push dword [ebp - 0x58]
call fcn.004c2ce0
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ebp - 0x58]
call fcn.004c3110
movzx eax, word [esi + 0x34]
push eax
push dword [ebp - 0x58]
call fcn.004c2fa0
add esp, 0x44
push dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
push ebx
call fcn.004c21c0
add esp, 0x10
test eax, eax
je 0x4e3504
call fcn.0050f6ae
cmp dword [eax], 0xc
jne 0x4e34e1
push str.Cant_allocate_memory_for_Pathname
push 0xc
jmp 0x4e3600
push dword [ebp - 0x3c]
call fcn.004c42e0
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.004c2100
mov edx, 0xffffffec
add esp, 0x14
mov dword [ebp - 0x64], edx
jmp 0x4e3506
xor edx, edx
mov ax, word [esi + 0x34]
mov ecx, 0xf000
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x4e35c3
push 0
push 0
push ebx
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
call fcn.004c3110
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x508]
push 0
mov ebx, dword [eax]
push dword [ebx + 0x18]
push edi
call fcn.004bc4a0
add esp, 0x18
test eax, eax
je 0x4e3609
push dword [ebp - 0x60]
push dword [ebx + 0x18]
push eax
push dword [ebp - 0x58]
call fcn.004c21d0
add esp, 0x10
test eax, eax
je 0x4e35aa
call fcn.0050f6ae
cmp dword [eax], 0xc
jne 0x4e358a
push str.Cant_allocate_memory_for_link
push 0xc
jmp 0x4e3600
push dword [ebp - 0x60]
call fcn.004c42e0
push eax
push str.link_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.004c2100
add esp, 0x14
mov dword [ebp - 8], 0xffffffec
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push edi
call fcn.004bc4c0
mov edx, dword [ebp - 0x64]
add esp, 0xc
cmp edx, dword [ebp - 8]
cmovg edx, dword [ebp - 8]
mov ecx, dword [esi + 0x88]
or ecx, dword [esi + 0x8c]
jne 0x4e35d8
mov byte [esi + 0xc5], 1
pop edi
pop esi
mov eax, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret
push str.Unknown_file_attributes_from_RAR_files_host_OS
jmp 0x4e35fe
push str.Invalid_sizes_specified.
jmp 0x4e35fe
push str.RAR_solid_archive_support_unavailable.
push 0x2a
push edi
call fcn.004c2100
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, 0xffffffe2
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff754
mov esp, ebp
pop ebp
ret