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

Disassembly:
push 0xffffffffffffffff
push 0x50a4ed
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5894dc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5894dc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x70]
test ebp, ebp
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ecx
mov dword [ebx], 0
jne 0x47f658
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.null_reference_passed_to_BER_decoder
call eax
xor al, al
jmp 0x47fa5a
mov esi, dword [esp + 0x74]
cmp esi, 2
jae 0x47f674
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.invalid_length_passed_to_BER_decoder
call eax
xor al, al
jmp 0x47fa5a
mov dword [esp + 0x20], 0
jmp 0x47f688
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
test edi, edi
mov al, byte [ebp]
mov byte [esp + 0x16], al
je 0x47f6b9
movzx ecx, al
push ecx
lea edx, [esp + 0x40]
push str.id__x__n
push edx
call fcn.004ed7f9
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.00407b70
mov al, byte [esp + 0x16]
test al, al
je 0x47fa79
mov cl, al
shr cl, 6
test al, 0x20
mov byte [esp + 0x17], cl
mov byte [esp + 0x15], 1
je 0x47f6d8
mov byte [esp + 0x15], 0
and eax, 0x1f
cmp eax, 0x1f
mov dword [esp + 0x2c], eax
jne 0x47f73f
add dword [ebx], 1
mov edx, dword [ebx]
xor ecx, ecx
add ebp, 1
sub esi, 1
je 0x47fab8
movzx eax, byte [ebp]
xor edi, edi
test al, al
jns 0x47f72f
shl ecx, 7
and eax, 0x7f
or eax, ecx
add edx, 1
add ebp, 1
sub esi, 1
mov ecx, eax
mov dword [ebx], edx
je 0x47facc
add edi, 1
cmp edi, 3
jg 0x47fae3
mov al, byte [ebp]
test al, al
js 0x47f701
movzx edx, byte [ebp]
and edx, 0x7f
shl ecx, 7
or edx, ecx
mov dword [esp + 0x2c], edx
add dword [ebx], 1
mov edx, dword [ebx]
add ebp, 1
sub esi, 1
je 0x47fafa
mov al, byte [ebp]
xor edi, edi
cmp al, 0x80
mov byte [esp + 0x16], 0
jne 0x47f765
mov byte [esp + 0x16], 1
jmp 0x47f7b3
test al, al
jns 0x47f7b0
and eax, 0x7f
je 0x47fb11
cmp eax, 4
ja 0x47fb28
xor edi, edi
xor ecx, ecx
test eax, eax
jbe 0x47f7b3
jmp 0x47f789
mov edx, dword [esp + 0x1c]
add edx, 1
add ebp, 1
sub esi, 1
mov dword [esp + 0x1c], edx
mov dword [ebx], edx
je 0x47fb79
movzx edx, byte [ebp]
shl edi, 8
add ecx, 1
or edi, edx
cmp ecx, eax
jb 0x47f785
jmp 0x47f7b3
movzx edi, al
cmp dword [esp + 0x24], 0
je 0x47f7ee
cmp byte [esp + 0x15], 0
push edi
je 0x47f7ce
push str.len_d_n
lea eax, [esp + 0x44]
push eax
jmp 0x47f7d8
push str.totalLen_d_n
lea ecx, [esp + 0x44]
push ecx
call fcn.004ed7f9
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
call fcn.00407b70
add dword [ebx], 1
add ebp, 1
sub esi, 1
mov dword [esp + 0x1c], esi
je 0x47fb90
cmp byte [esp + 0x16], 0
jne 0x47f979
cmp edi, esi
ja 0x47fc01
push 0x30
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x68], 1
je 0x47f839
mov ecx, eax
call fcn.0047f500
mov esi, eax
jmp 0x47f83b
xor esi, esi
test edi, edi
movzx eax, byte [esp + 0x17]
mov ecx, dword [esp + 0x2c]
mov byte [esi + 0x10], al
mov al, byte [esp + 0x15]
mov dword [esp + 0x68], 0xffffffff
mov dword [esi + 0x18], edi
mov byte [esi + 0x11], al
mov dword [esi + 0x14], ecx
mov byte [esi + 0x12], 0
jbe 0x47f94d
test al, al
je 0x47f8b7
cmp edi, 4
ja 0x47f884
push edi
lea edx, [esi + 0x1c]
push ebp
push edx
call fcn.004ed460
add esp, 0xc
jmp 0x47f94d
push 0x20
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x68], 2
je 0x47f8ad
mov ecx, eax
call fcn.00404230
mov dword [esi + 0x20], eax
jmp 0x47f93c
xor eax, eax
mov dword [esi + 0x20], eax
jmp 0x47f93c
cmp byte [esp + 0x80], 0
je 0x47f914
push 0x18
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x68], 3
je 0x47f8e4
mov ecx, eax
call fcn.00422c60
jmp 0x47f8e6
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x40]
push ecx
push 1
push 0
push eax
push edi
push ebp
mov dword [esp + 0x88], 0xffffffff
mov dword [esi + 0x24], eax
call fcn.0047f5e0
add esp, 0x20
jmp 0x47f94d
push 0x20
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x68], 4
je 0x47f937
mov ecx, eax
call fcn.00404230
jmp 0x47f939
xor eax, eax
mov dword [esi + 0x28], eax
push edi
push ebp
mov ecx, eax
mov dword [esp + 0x70], 0xffffffff
call fcn.004050c0
mov ecx, dword [esp + 0x30]
push esi
call fcn.00422e70
mov eax, dword [esp + 0x7c]
add dword [ebx], edi
sub dword [esp + 0x1c], edi
add dword [esp + 0x20], 1
add ebp, edi
test eax, eax
je 0x47fa4d
cmp dword [esp + 0x20], eax
jmp 0x47fa4b
push 0x30
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x68], 5
je 0x47f99e
mov ecx, eax
call fcn.0047f500
mov esi, eax
jmp 0x47f9a0
xor esi, esi
mov dl, byte [esp + 0x17]
mov al, byte [esp + 0x15]
mov ecx, dword [esp + 0x2c]
push 0x18
mov dword [esp + 0x6c], 0xffffffff
mov dword [esi + 0x18], edi
mov byte [esi + 0x10], dl
mov byte [esi + 0x11], al
mov dword [esi + 0x14], ecx
mov byte [esi + 0x12], 1
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x68], 6
je 0x47f9e7
mov ecx, eax
call fcn.00422c60
jmp 0x47f9e9
xor eax, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push edx
push ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x3c]
push edx
push ecx
push 0
push eax
push edi
push ebp
mov dword [esp + 0x88], 0xffffffff
mov dword [esi + 0x24], eax
call fcn.0047f5e0
mov ecx, dword [esp + 0x50]
add esp, 0x20
push esi
call fcn.00422e70
mov eax, dword [esp + 0x34]
add dword [ebx], eax
add dword [esp + 0x20], 1
sub edi, eax
add ebp, eax
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x1c], edi
je 0x47fa4d
mov edx, dword [esp + 0x7c]
cmp dword [esp + 0x20], edx
jge 0x47fa58
cmp dword [esp + 0x1c], 2
jae 0x47f680
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004ec47e
add esp, 0x58
ret
add dword [ebx], 1
add esi, 0xffffffff
mov eax, dword [ebx]
jne 0x47fa97
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.premature_end_of_BER_encoding__F_
call edx
xor al, al
jmp 0x47fa5a
cmp byte [ebp + 1], 0
jne 0x47faa4
add eax, 1
mov dword [ebx], eax
jmp 0x47fa58
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.error_in_BER_encoding:_tag_is_zero_but_length_is_not.
call edx
xor al, al
jmp 0x47fa5a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.premature_end_of_BER_encoding__A_
call edx
xor al, al
jmp 0x47fa5a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.premature_end_of_BER_encoding__B_
call edx
xor al, al
jmp 0x47fa5a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.cannot_parse_BER_tag___4_octets
call edx
xor al, al
jmp 0x47fa5a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.premature_end_of_BER_encoding__C_
call edx
xor al, al
jmp 0x47fa5a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.Invalid_length._Definite_long_form_is_0.
call edx
xor al, al
jmp 0x47fa5a
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.ASN.1_length_cannot_be_more_than_4_bytes_in_definite_long_form.
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.This_error_typically_occurs_when_trying_to_decode_data_that_is_not_ASN.1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.A_common_cause_is_when_decrypting_ASN.1_data_with_an_invalid_password_
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.which_results_in_garbage_data._An_attempt_is_made_to_decode_the_garbage_bytes
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.as_ASN.1__and_this_error_occurs...
mov ecx, esi
call edx
xor al, al
jmp 0x47fa5a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.premature_end_of_BER_encoding__D_
call edx
xor al, al
jmp 0x47fa5a
test edi, edi
jne 0x47fbea
push 0x30
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x38], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x68], esi
je 0x47fbb5
mov ecx, eax
call fcn.0047f500
jmp 0x47fbb7
xor eax, eax
mov cl, byte [esp + 0x17]
mov dl, byte [esp + 0x15]
mov byte [eax + 0x10], cl
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x30]
push eax
mov dword [esp + 0x6c], 0xffffffff
mov dword [eax + 0x18], esi
mov byte [eax + 0x11], dl
mov byte [eax + 0x12], 0
call fcn.00422e70
jmp 0x47fa58
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.premature_end_of_BER_encoding__E_
call eax
xor al, al
jmp 0x47fa5a
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.premature_end_of_BER_encoding__F_
call eax
xor al, al
jmp 0x47fa5a