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

Disassembly:
sub esp, 0x60
mov eax, dword [0x7c2580]
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 0x4817bf
cmp dword [ebx + 0x4e4c], esi
jne 0x4817b5
push ebp
call fcn.00491b80
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.00463260
mov edi, eax
add esp, 0xc
test edi, edi
je 0x48235e
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 0x481826
cmp ecx, 0x20
jb 0x481fbd
push 5
lea eax, [edi + 2]
push eax
push 0
call fcn.006be3c0
push 0
push 7
push ebp
mov dword [esp + 0x74], eax
call fcn.00463280
add esp, 0x18
test byte [ebx + 0x10], 0x10
jne 0x48234e
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.00463260
mov esi, eax
add esp, 0xc
test esi, esi
je 0x48235e
push edi
push esi
push dword [esp + 0x64]
call fcn.006be3c0
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 0x4818ea
push str.Header_CRC_error
jmp 0x482353
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.00466770
push eax
call fcn.0047e9a0
mov dword [ebx + 0x28], eax
lea eax, [esp + 0x51]
push eax
mov dword [ebx + 0x2c], edx
call fcn.00466770
add esp, 0xc
mov dword [ebx + 4], eax
test byte [ebx + 0x10], 4
je 0x48196f
push 1
push dword [esp + 0x24]
call fcn.004658a0
push str.RAR_encryption_support_unavailable.
push 0x2a
push ebp
mov dword [ebx + 0x4e78], 1
call fcn.004649c0
add esp, 0x14
test dword [ebx + 0x10], 0x100
je 0x4819bf
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.004667a0
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.004667a0
add esp, 8
jmp 0x4819e8
lea eax, [esp + 0x40]
push eax
call fcn.00466770
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.00466770
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 0x482347
mov eax, dword [esp + 0x14]
jg 0x481a0c
test eax, eax
jb 0x482347
test edx, edx
jl 0x482347
jg 0x481a21
cmp dword [esp + 0x5c], 0
jb 0x482347
cmp byte [esp + 0x7c], 0x7a
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
jne 0x481a68
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.00463260
add esp, 0xc
test eax, eax
je 0x48235e
lea ecx, [eax - 7]
add ecx, esi
add edi, eax
mov dword [esp + 0x38], ecx
jmp 0x481a6c
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 0x481a8c
push str.Invalid_filename_size
jmp 0x482353
lea eax, [esi + esi]
mov dword [esp + 0x14], eax
add eax, 2
mov dword [esp + 0x5c], eax
cmp dword [ebx + 0x44], eax
jae 0x481abd
push eax
push dword [ebx + 0x38]
call fcn.006e3909
add esp, 8
test eax, eax
je 0x481f25
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.006d8770
add esp, 0xc
mov byte [esi + ebp], 0
test dword [ebx + 0x10], 0x200
je 0x481cf4
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x481ae1
sub ecx, edx
cmp esi, ecx
je 0x481c9a
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 0x481b00
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 0x481c1d
mov ebx, dword [esp + 0x14]
nop
cmp esi, ebx
jae 0x481c07
test ch, ch
jne 0x481b4a
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 + 0x482378]
mov ebx, dword [esp + 0x34]
jbe 0x481c1d
push str.Invalid_filename
push 0x2a
push dword [esp + 0x24]
jmp 0x482356
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 0x481c5d
push 1
push str.UTF_16BE
push dword [esp + 0x24]
call fcn.00491ab0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [ebx + 0x4e5c], eax
test eax, eax
je 0x48235e
mov edx, dword [esp + 0x10]
movzx eax, byte [ebp]
mov ecx, ebp
test al, al
jne 0x481c73
movzx eax, byte [ebp + 1]
test al, al
jne 0x481c73
xor eax, eax
jmp 0x481c78
sbb eax, eax
or eax, 1
test eax, eax
je 0x481c93
mov eax, 0x5c00
cmp word [ecx], ax
jne 0x481c8a
mov byte [ecx + 1], 0x2f
add ecx, 2
cmp word [ecx], 0
jne 0x481c81
add edi, edx
jmp 0x481d24
mov eax, dword [ebx + 0x4e58]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x481ccd
push 1
push 0x70d938
push dword [esp + 0x24]
call fcn.00491ab0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [ebx + 0x4e58], eax
test eax, eax
je 0x48235e
push 0x5c
push ebp
call fcn.006d8ef0
add esp, 8
test eax, eax
je 0x481d22
nop dword [eax]
push 0x5c
push ebp
mov byte [eax], 0x2f
call fcn.006d8ef0
add esp, 8
test eax, eax
jne 0x481ce0
jmp 0x481d22
mov eax, dword [esp + 0x2c]
push 0x5c
push ebp
mov dword [esp + 0x1c], eax
call fcn.006d8ef0
add esp, 8
test eax, eax
je 0x481d22
nop dword [eax + eax]
push 0x5c
push ebp
mov byte [eax], 0x2f
call fcn.006d8ef0
add esp, 8
test eax, eax
jne 0x481d10
add edi, esi
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x10], edi
test eax, eax
je 0x481ecd
cmp esi, dword [ebx + 0x40]
jne 0x481ecd
mov ecx, dword [ebx + 0x38]
lea edi, [esi + 1]
mov edx, eax
sub edi, 4
jb 0x481d61
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x481d66
add ecx, 4
add edx, 4
sub edi, 4
jae 0x481d50
cmp edi, 0xfffffffc
je 0x481da3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x481eca
cmp edi, 0xfffffffd
je 0x481da3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x481eca
cmp edi, 0xfffffffe
je 0x481da3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x481eca
cmp edi, 0xffffffff
je 0x481da3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x481eca
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.00463280
mov eax, dword [ebx + 0xd8]
add esp, 0xc
mov ecx, dword [ebx + 0xdc]
inc eax
mov dword [ebx + 0xd8], eax
cmp eax, ecx
jb 0x481e57
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.006e3909
mov ecx, eax
add esp, 8
mov dword [ebx + 0xd4], ecx
test ecx, ecx
je 0x481f25
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 0x482199
jl 0x481e80
cmp dword [edx + 8], 0
jae 0x482199
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.006d66cb
add esp, 0x60
ret
mov eax, dword [ebx + 0x3c]
cmp byte [ebx + 0xe0], 0
je 0x481ee6
push str.Mismatch_of_file_parts_split_across_multi_volume_archive
push 0x2a
push dword [esp + 0x24]
jmp 0x482356
lea edi, [esi + 1]
push edi
push eax
call fcn.006e3909
push edi
push dword [ebx + 0x38]
mov dword [ebx + 0x3c], eax
push eax
call fcn.006d8770
push dword [ebx + 0xd4]
mov dword [ebx + 0x40], esi
call fcn.006e27a3
push 0x18
push 1
call fcn.006dc77f
add esp, 0x20
mov dword [ebx + 0xd4], eax
test eax, eax
jne 0x481f31
mov ebp, dword [esp + 0x1c]
push str.Couldnt_allocate_memory.
push 0xc
jmp 0x482355
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 0x481f9f
lea edx, [ecx + 8]
cmp edx, dword [esp + 0x38]
ja 0x481fb9
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 0x481fc7
push dword [esp + 0x38]
push ebx
push ecx
call fcn.004813a0
add esp, 0xc
test eax, eax
jns 0x481fc7
mov ebp, dword [esp + 0x1c]
push str.Invalid_header_size
jmp 0x482353
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.00463280
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.0x482021
jmp dword [eax*4 + 0x482388]
lea eax, [esp + 0x55]
push eax
call fcn.00466770
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 0x48205f
lea eax, [esp + 0x55]
push eax
call fcn.00466770
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.006e27a3
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.006d8cf0
lea eax, [ebx + 0x358]
push eax
call dword [0x719574]
add esp, 0x14
mov word [ebx + 0x350], 0
cmp byte [esp + 0x7c], 0x7a
mov dword [ebx + 0x330], 0xffffffff
mov dword [ebx + 0x334], getpeername
jne 0x4821ae
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.006d66cb
add esp, 0x60
ret
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [esp + 0x2c]
call fcn.00465920
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [esp + 0x3c]
call fcn.00465610
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push dword [esp + 0x4c]
call fcn.00465530
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [esp + 0x58]
call fcn.00465a40
movzx eax, word [ebx + 0x34]
push eax
push dword [esp + 0x60]
call fcn.00465900
add esp, 0x44
push dword [esp + 0x14]
push esi
push ebp
mov ebp, dword [esp + 0x2c]
push ebp
call fcn.00464ae0
add esp, 0x10
test eax, eax
je 0x482257
call fcn.006e39b1
cmp dword [eax], 0xc
jne 0x482232
push str.Cant_allocate_memory_for_Pathname
push 0xc
push edi
jmp 0x482356
push dword [esp + 0x14]
call fcn.00491a20
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.004649c0
mov edx, 0xffffffec
add esp, 0x14
mov dword [esp + 0x30], edx
jmp 0x482259
xor edx, edx
mov ax, word [ebx + 0x34]
mov ecx, 0xf000
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x482313
push 0
push 0
push ebp
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
call fcn.00465a40
mov eax, dword [edi + 0x440]
xor ebp, ebp
push ebp
mov esi, dword [eax]
push dword [esi + 0x18]
push edi
call fcn.00463260
add esp, 0x18
test eax, eax
je 0x48235e
push dword [esp + 0x2c]
push dword [esi + 0x18]
push eax
push dword [esp + 0x2c]
call fcn.00464af0
add esp, 0x10
test eax, eax
je 0x4822fb
call fcn.006e39b1
cmp dword [eax], 0xc
jne 0x4822dc
push str.Cant_allocate_memory_for_link
push 0xc
push edi
jmp 0x482356
push dword [esp + 0x2c]
call fcn.00491a20
push eax
push str.link_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.004649c0
add esp, 0x14
mov ebp, 0xffffffec
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edi
call fcn.00463280
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 0x482328
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.006d66cb
add esp, 0x60
ret
push str.Unknown_file_attributes_from_RAR_files_host_OS
push 0x2a
push edi
jmp 0x482356
push str.Invalid_sizes_specified.
jmp 0x482353
push str.RAR_solid_archive_support_unavailable.
push 0x2a
push ebp
call fcn.004649c0
add esp, 0xc
mov ecx, dword [esp + 0x6c]
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006d66cb
add esp, 0x60
ret