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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov al, byte [esp + 0x80]
test ecx, ecx
mov dword [esp + 8], edx
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
mov byte [esp + 7], al
mov byte [esp + 0x13], 0
je 0x47d123
mov edx, dword [esp + 0x74]
cmp byte [edx], 5
je 0x47cfb0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x34], 0xfffffffc
je 0x47cf90
cmp ebx, 0xffffffff
je 0x47d0a0
mov edx, dword [esp + 8]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
sub esp, 0xc
push edi
movsx ecx, byte [esp + 0x17]
push ecx
push esi
push ebx
push ebp
lea ebp, [esp + 0x5c]
push ebp
lea esi, [esp + 0x57]
push esi
lea ebx, [esp + 0x5a]
push ebx
push 0
xor edx, edx
lea eax, [esp + 0x5c]
call sym._asn1_check_tlen
add esp, 0x30
test eax, eax
je 0x47d070
inc eax
mov edx, 0xffffffff
je 0x47d08d
mov edx, dword [esp + 0x34]
lea ebx, [edx - 0x10]
cmp ebx, 1
mov dword [esp], 0
jbe 0x47cfc0
cmp edx, 0xfffffffd
je 0x47d0d0
cmp byte [esp + 0x33], 0
je 0x47d137
mov bl, byte [esp + 0x32]
mov edx, dword [esp + 0x3c]
and ebx, 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov byte [esp + 6], bl
mov esi, esi
test edi, edi
jle 0x47d21e
cmp edi, 1
mov ebp, edx
jle 0x47ceee
cmp byte [edx], 0
jne 0x47ceee
cmp byte [edx + 1], 0
je 0x47d352
sub esp, 0xc
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x3f]
push edx
lea esi, [esp + 0x42]
push esi
push 0
xor edx, edx
lea eax, [esp + 0x44]
call sym._asn1_check_tlen
add esp, 0x30
test eax, eax
je 0x47d319
cmp byte [esp + 0x1b], 0
jne 0x47d32a
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x47cf74
lea eax, [esp + 0x40]
test eax, eax
je 0x47cf70
mov esi, dword [esp + 0x40]
lea ecx, [esi + ebx]
sub esp, 8
push ecx
lea edx, [esp + 0x4c]
push edx
call sym._BUF_MEM_grow_clean
add esp, 0x10
test eax, eax
je 0x47d37b
add esi, dword [esp + 0x44]
push edx
push ebx
mov eax, dword [esp + 0x24]
push eax
push esi
call sym._memcpy
add esp, 0x10
add dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x1c]
mov ebx, edx
sub ebx, ebp
sub edi, ebx
jmp 0x47ced0
test ebx, ebx
js 0x47d0b0
sub esp, 0xc
push 0x31e
push str..crypto_asn1_tasn_dec.c
push 0x7f
jmp 0x47d07f
mov dword [esp + 0x34], ebx
mov ebx, 0xffffffff
jmp 0x47ce16
cmp edx, 0xfffffffd
je 0x47d0d0
cmp byte [esp + 0x33], 0
je 0x47d2ee
mov al, byte [esp + 0x32]
mov edi, dword [esp + 8]
test al, al
mov esi, dword [edi]
je 0x47d0ed
movsx ecx, al
mov edx, dword [esp + 0x3c]
test cl, cl
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x27], cl
mov dword [esp + 0x28], edx
jne 0x47d14b
lea ebp, [edx + ebx]
mov dword [esp + 0x3c], ebp
mov ebx, dword [esp + 0x3c]
sub ebx, esi
mov esi, esi
sub esp, 8
mov ebp, dword [esp + 0x7c]
push ebp
lea edi, [esp + 0x1f]
push edi
mov eax, dword [esp + 0x44]
push eax
push ebx
push esi
mov ecx, dword [esp + 0x28]
push ecx
call sym._asn1_ex_c2i
add esp, 0x20
test eax, eax
je 0x47d046
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 8]
mov dword [ebx], esi
mov dword [esp], 1
cmp byte [esp + 0x13], 0
je 0x47d059
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x47d10f
mov edx, dword [esp]
add esp, 0x5c
pop ebx
pop esi
pop edi
mov eax, edx
pop ebp
ret
sub esp, 0xc
push 0x33e
push str..crypto_asn1_tasn_dec.c
push 0x3a
push 0x6c
push 0xd
call sym._ERR_put_error
xor edx, edx
add esp, 0x20
add esp, 0x5c
pop ebx
pop esi
pop edi
mov eax, edx
pop ebp
ret
mov ebx, dword [esp + 0x34]
xor esi, esi
jmp 0x47ce2a
cmp byte [esp + 7], 0
je 0x47d263
sub esp, 0xc
push 0x324
push str..crypto_asn1_tasn_dec.c
push 0x7e
jmp 0x47d07f
test edi, edi
je 0x47cfd4
mov byte [edi], 0
mov al, byte [esp + 0x32]
mov edi, dword [esp + 8]
test al, al
mov esi, dword [edi]
jne 0x47cfe6
mov edi, dword [esp + 0x3c]
mov eax, edi
mov ebp, dword [esp + 0x2c]
sub eax, esi
add edi, ebp
lea ebx, [eax + ebp]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], 0
jmp 0x47d010
sub esp, 0xc
push eax
call sym._CRYPTO_free
add esp, 0x10
mov edx, dword [esp]
jmp 0x47d05c
sub esp, 0xc
push 0x30b
push str..crypto_asn1_tasn_dec.c
push 0x7d
jmp 0x47d07f
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
lea edx, [esi + ebx]
mov dword [esp + 0x3c], edx
jmp 0x47d010
test ebx, ebx
mov ebp, 1
jle 0x47d1e0
nop
lea esi, [esi]
cmp ebx, 1
jle 0x47d190
cmp byte [edx], 0
jne 0x47d190
cmp byte [edx + 1], 0
jne 0x47d190
add edx, 2
dec ebp
mov dword [esp + 0x28], edx
je 0x47d2b0
sub ebx, 2
jmp 0x47d1d4
sub esp, 0xc
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
mov edi, edx
lea edx, [esp + 0x48]
push edx
push 0
lea eax, [esp + 0x4f]
push eax
push 0
xor edx, edx
lea eax, [esp + 0x50]
call sym._asn1_check_tlen
add esp, 0x30
test eax, eax
je 0x47d33e
cmp byte [esp + 0x27], 0
je 0x47d210
inc ebp
mov edx, dword [esp + 0x28]
mov ecx, edx
sub ecx, edi
sub ebx, ecx
test ebx, ebx
jg 0x47d160
test ebp, ebp
je 0x47d2b0
sub esp, 0xc
push 0x45f
push str..crypto_asn1_tasn_dec.c
push 0x89
push 0xbe
push 0xd
call sym._ERR_put_error
add esp, 0x20
jmp 0x47d046
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0x28]
mov dword [esp + 0x28], edx
jmp 0x47d1ce
cmp byte [esp + 6], 0
jne 0x47d2b9
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
lea ebp, [ebx + 1]
sub esp, 8
push ebp
lea edi, [esp + 0x4c]
push edi
call sym._BUF_MEM_grow_clean
add esp, 0x10
test eax, eax
je 0x47d305
mov esi, dword [esp + 0x44]
mov byte [ebx + esi], 0
mov esi, dword [esp + 0x44]
mov byte [esp + 0x13], 1
jmp 0x47d010
mov edx, dword [esp + 8]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
sub esp, 0xc
push edi
push 0
push 0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0
lea edx, [esp + 0x67]
push edx
lea edx, [esp + 0x64]
xor eax, eax
call sym._asn1_check_tlen
add esp, 0x30
test eax, eax
je 0x47d2e1
cmp byte [esp + 0x3b], 0
je 0x47ce21
mov dword [esp + 0x34], 0xfffffffd
jmp 0x47ce21
mov dword [esp + 0x3c], edx
jmp 0x47d008
sub esp, 0xc
push 0x4a4
push str..crypto_asn1_tasn_dec.c
push 0x89
push 0x6a
push 0xd
call sym._ERR_put_error
add esp, 0x20
mov byte [esp + 0x13], 1
jmp 0x47d046
sub esp, 0xc
push 0x32d
jmp 0x47d078
sub esp, 0xc
push 0x353
push str..crypto_asn1_tasn_dec.c
push 0x9c
jmp 0x47d07f
sub esp, 0xc
push 0x37b
push str..crypto_asn1_tasn_dec.c
push 0x41
jmp 0x47d07f
sub esp, 0xc
push 0x48f
push str..crypto_asn1_tasn_dec.c
push 0x3a
jmp 0x47d2cb
sub esp, 0xc
push 0x49a
push str..crypto_asn1_tasn_dec.c
push 0xc5
jmp 0x47d2cb
sub esp, 0xc
push 0x454
push str..crypto_asn1_tasn_dec.c
push 0x3a
jmp 0x47d1f2
add edx, 2
cmp byte [esp + 6], 0
mov dword [esp + 0x1c], edx
jne 0x47d229
sub esp, 0xc
push 0x485
push str..crypto_asn1_tasn_dec.c
push 0x9f
jmp 0x47d2cb
sub esp, 0xc
push 0x4b3
push str..crypto_asn1_tasn_dec.c
push 0x41
push 0x8c
jmp 0x47d2cd