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

Disassembly:
mov eax, 0x34
call fcn.006149d0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x4c]
test ebx, ebx
je 0x4c1739
test edi, edi
je 0x4c1739
test ecx, ecx
jg 0x4c0cb6
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0xba
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0xe0
push 0xd
call fcn.0048b0e0
add esp, 0x18
xor eax, eax
pop edi
pop ebx
add esp, 0x34
ret
push ebp
push esi
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4c0cca
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x20], ebp
test ebp, ebp
jne 0x4c0cd2
mov dword [esp + 0x20], 0
mov ebp, dword [esp + 0x68]
inc ebp
mov dword [esp + 0x68], ebp
cmp ebp, 0x1e
jle 0x4c0d05
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0xc4
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0xc9
jmp 0x4c11ab
movsx ebp, byte [edi]
cmp ebp, 6
ja case.0x4c0d11.3
jmp dword [ebp*4 + 0x4c176c]
mov esi, dword [edi + 8]
test esi, esi
je 0x4c0d79
cmp eax, 0xffffffff
jne 0x4c0d54
cmp byte [esp + 0x60], 0
jne 0x4c0d54
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x70]
push 0
push esi
push ecx
push dword [esp + 0x68]
push ebx
call fcn.004c1790
add esp, 0x24
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x34
ret
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0xd3
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0xaa
jmp 0x4c11ab
push dword [esp + 0x64]
push dword [esp + 0x64]
push edx
push eax
push edi
push ecx
push dword [esp + 0x64]
push ebx
call fcn.004c0160
add esp, 0x20
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x34
ret
cmp eax, 0xffffffff
je 0x4c0dc4
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0xe2
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0xe6
jmp 0x4c11ab
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x64]
mov ebp, dword [ebp]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], ebp
test esi, esi
je 0x4c0e78
cmp byte [esi], 0
je 0x4c0e78
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x14]
add eax, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
test byte [esp + 0x34], 0x80
je 0x4c0f00
mov ebx, 0x66
mov ebp, 0x498
call fcn.0048aed0
push str.asn1_check_tlen
push ebp
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push ebx
push 0xd
call fcn.0048b0e0
add esp, 0x18
test esi, esi
je 0x4c0e53
mov byte [esi], 0
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0xeb
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x8010a
jmp 0x4c11ab
push ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00496c80
mov edx, dword [esp + 0x38]
add esp, 0x14
mov ecx, eax
mov dword [esp + 0x34], ecx
test esi, esi
je 0x4c0ef3
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x48]
sub ebp, dword [esp + 0x38]
test cl, 0x81
mov dword [esi + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ebp
mov byte [esi], 1
jne 0x4c0e15
mov eax, dword [esp + 0x2c]
add eax, ebp
cmp eax, ecx
jle 0x4c0e11
mov ebx, 0x9b
mov ebp, 0x491
jmp 0x4c0e2a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
jmp 0x4c0e15
test al, al
je 0x4c0f34
cmp byte [esp + 0x60], 0
jne 0x4c1137
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0xf4
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x8b
jmp 0x4c11ab
cmp edx, 0x1e
ja 0x4c0f42
mov eax, dword [edx*4 + 0x635ea0]
jmp 0x4c0f44
xor eax, eax
test dword [edi + 4], eax
jne 0x4c0f79
cmp byte [esp + 0x60], 0
jne 0x4c1137
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0xfd
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x8c
jmp 0x4c11ab
push esi
push 0
push 0
push edx
jmp 0x4c0d83
mov ebp, dword [esi + 0x20]
test ebp, ebp
je 0x4c0fb1
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push edx
push eax
push edi
push ecx
push dword [esp + 0x6c]
push ebx
call ebp
add esp, 0x28
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x34
ret
push dword [esp + 0x64]
push dword [esp + 0x64]
push edx
push eax
mov eax, dword [esi + 0x10]
push edi
push ecx
push dword [esp + 0x64]
push ebx
call eax
add esp, 0x20
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x34
ret
cmp eax, 0xffffffff
je 0x4c0feb
call fcn.0048aed0
push str.asn1_item_embed_d2i
push pe_nt_image_headers32
jmp 0x4c0dae
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c1006
push 0
push edi
push ebx
push 4
call eax
add esp, 0x10
test eax, eax
je 0x4c118e
cmp dword [ebx], 0
je 0x4c10aa
push edi
push ebx
call fcn.00507a30
add esp, 8
test eax, eax
js 0x4c1045
cmp eax, dword [edi + 0xc]
jge 0x4c1045
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
lea esi, [eax + ecx*4]
push esi
push ebx
call fcn.00507a50
push esi
push eax
call fcn.004bfb40
push edi
push 0xffffffffffffffff
push ebx
call fcn.00507a60
add esp, 0x1c
mov eax, dword [esp + 0x4c]
mov esi, dword [edi + 8]
mov ebp, dword [eax]
xor eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x48], eax
cmp eax, dword [edi + 0xc]
jge 0x4c1124
mov ebp, dword [esp + 0x50]
push esi
push ebx
call fcn.00507a50
push dword [esp + 0x78]
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], eax
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push 1
push esi
push ebp
push ecx
push eax
call fcn.004c1790
add esp, 0x2c
cmp eax, 0xffffffff
jne 0x4c10d4
mov eax, dword [esp + 0x48]
add esi, 0x14
inc eax
mov dword [esp + 0x48], eax
cmp eax, dword [edi + 0xc]
jl 0x4c1065
jmp 0x4c111d
push dword [esp + 0x70]
push dword [esp + 0x70]
push edi
push ebx
call fcn.004bf820
add esp, 0x10
test eax, eax
jne 0x4c1045
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x120
jmp 0x4c0e62
test eax, eax
jg 0x4c1119
push esi
push dword [esp + 0x3c]
call fcn.004bfb40
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x138
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x8010a
push 0xd
call fcn.0048b0e0
add esp, 0x20
test esi, esi
je 0x4c11b5
jmp 0x4c1715
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x18]
cmp eax, dword [edi + 0xc]
jne 0x4c1164
cmp byte [esp + 0x60], 0
je 0x4c1142
push edi
push ebx
call fcn.004bf840
add esp, 8
pop esi
pop ebp
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x34
ret
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x144
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x8f
jmp 0x4c11ab
push edi
push eax
push ebx
call fcn.00507a60
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4c16db
push 0
push edi
push ebx
push 5
call eax
add esp, 0x10
test eax, eax
jne 0x4c16db
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x1e1
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x64
push 0xd
call fcn.0048b0e0
add esp, 0x18
push dword [edi + 0x18]
push str.Type
push 2
call fcn.004a87d0
add esp, 0xc
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x34
ret
mov ebp, dword [esp + 0x4c]
cmp eax, 0xffffffff
mov ebp, dword [ebp]
mov dword [esp + 0x2c], ebp
mov ebp, 0x10
cmovne ebp, eax
mov dword [esp + 0x38], ebp
xor ebp, ebp
cmp eax, 0xffffffff
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
cmovne ebp, edx
mov dword [esp + 0x40], ebp
test eax, eax
je 0x4c12c9
cmp byte [eax], 0
je 0x4c1248
mov edi, dword [eax + 0x10]
mov ebp, dword [eax + 8]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x4c130e
push ecx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00496c80
mov ecx, dword [esp + 0x78]
mov edx, eax
mov eax, dword [esp + 0x38]
add esp, 0x14
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov ebx, eax
sub ebx, dword [esp + 0x2c]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebp
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x48]
mov byte [ecx], 1
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
test dl, 0x81
jne 0x4c130e
mov eax, dword [esp + 0x3c]
add eax, ebp
cmp eax, ecx
jle 0x4c130a
mov esi, 0x9b
mov ebx, 0x491
jmp 0x4c13a7
push ecx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00496c80
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
jmp 0x4c130e
mov eax, dword [esp + 0x14]
test dl, dl
jns 0x4c1321
mov esi, 0x66
mov ebx, 0x498
jmp 0x4c13a7
cmp dword [esp + 0x38], 0
mov edi, dword [esp + 0x54]
jl 0x4c135a
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
jne 0x4c1392
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
jne 0x4c1392
cmp dword [esp + 0x64], 0
je 0x4c135a
mov ebx, dword [esp + 0x64]
mov byte [ebx], 0
mov ebx, dword [esp + 0x48]
test dl, 1
je 0x4c1367
mov ebp, dword [esp + 0x2c]
sub ebp, eax
add ebp, ecx
mov byte [esp + 0x48], dl
and dl, 0x20
and byte [esp + 0x48], 1
mov dword [esp + 0x18], eax
test esi, esi
je 0x4c13e8
test byte [esi + 4], 4
je 0x4c13e8
mov esi, dword [esp + 0x4c]
mov byte [esp + 0x13], 1
mov ebp, dword [esi]
sub ebp, eax
add ebp, ecx
jmp 0x4c13f0
cmp byte [esp + 0x60], 0
jne 0x4c1137
mov esi, 0xa8
mov ebx, 0x4a2
call fcn.0048aed0
push str.asn1_check_tlen
push ebx
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push esi
push 0xd
call fcn.0048b0e0
mov eax, dword [esp + 0x7c]
add esp, 0x18
test eax, eax
je 0x4c13d4
mov byte [eax], 0
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x15d
jmp 0x4c0e62
mov al, byte [esp + 0x48]
mov byte [esp + 0x13], al
test dl, dl
jne 0x4c1419
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x169
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x95
jmp 0x4c11ab
cmp dword [ebx], 0
jne 0x4c1448
push dword [esp + 0x70]
push dword [esp + 0x70]
push edi
push ebx
call fcn.004bf820
add esp, 0x10
test eax, eax
jne 0x4c1448
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x16f
jmp 0x4c0e62
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c1463
push 0
push edi
push ebx
push 4
call eax
add esp, 0x10
test eax, eax
je 0x4c118e
mov edx, dword [edi + 0xc]
xor eax, eax
mov esi, dword [edi + 8]
mov dword [esp + 0x34], eax
test edx, edx
jle 0x4c14b7
test dword [esi], 0x300
je 0x4c14a8
push 0
push esi
push dword [ebx]
call fcn.005076e0
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
je 0x4c14a4
push eax
push ebx
call fcn.00507a50
push dword [esp + 0x48]
push eax
call fcn.004bfb40
add esp, 0x10
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 0xc]
inc eax
add esi, 0x14
mov dword [esp + 0x34], eax
cmp eax, edx
jl 0x4c1473
mov ecx, dword [edi + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ecx
test edx, edx
jle 0x4c15a3
nop
push 1
push ecx
push dword [ebx]
call fcn.005076e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4c11b5
push esi
push ebx
call fcn.00507a50
add esp, 8
mov edx, eax
mov dword [esp + 0x40], edx
test ebp, ebp
je 0x4c15a3
mov ecx, dword [esp + 0x14]
mov eax, ecx
mov dword [esp + 0x3c], eax
cmp ebp, 2
jl 0x4c151d
cmp byte [ecx], 0
jne 0x4c151d
cmp byte [eax + 1], 0
je 0x4c15e1
mov eax, dword [edi + 0xc]
dec eax
cmp dword [esp + 0x2c], eax
jne 0x4c152e
mov byte [esp + 0x38], 0
jmp 0x4c1536
mov al, byte [esi]
and al, 1
mov byte [esp + 0x38], al
push dword [esp + 0x70]
lea eax, [esp + 0x1c]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x48]
push esi
push ebp
push eax
push edx
call fcn.004c1790
add esp, 0x24
test eax, eax
je 0x4c1715
cmp eax, 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jne 0x4c157e
push esi
push dword [esp + 0x44]
call fcn.004bfb40
add esp, 8
jmp 0x4c1586
mov ecx, dword [esp + 0x3c]
sub ecx, eax
add ebp, ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc eax
add ecx, 0x14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [edi + 0xc]
jl 0x4c14d0
cmp byte [esp + 0x48], 0
je 0x4c1621
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.004bfe40
add esp, 8
test eax, eax
jne 0x4c1619
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x1b8
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x89
jmp 0x4c11ab
cmp byte [esp + 0x48], 0
lea ecx, [eax + 2]
mov dword [esp + 0x14], ecx
jne 0x4c1614
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x191
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x9f
jmp 0x4c11ab
sub ebp, 2
jmp 0x4c1621
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmp byte [esp + 0x13], 0
jne 0x4c1651
test ebp, ebp
je 0x4c1651
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x1bd
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x94
jmp 0x4c11ab
mov ebp, dword [esp + 0x2c]
cmp ebp, dword [edi + 0xc]
jge 0x4c169e
mov eax, dword [esp + 0x1c]
nop
push 1
push eax
push dword [ebx]
call fcn.005076e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4c11b5
test byte [esi], 1
je 0x4c16ee
push esi
push ebx
call fcn.00507a50
push esi
push eax
call fcn.004bfb40
mov eax, dword [esp + 0x2c]
inc ebp
add eax, 0x14
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp ebp, dword [edi + 0xc]
jl 0x4c1660
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x14]
push edi
mov ecx, dword [eax]
mov eax, ebp
sub eax, ecx
push eax
push ecx
push ebx
call fcn.005079a0
add esp, 0x10
test eax, eax
je 0x4c118e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c16db
push 0
push edi
push ebx
push 5
call eax
add esp, 0x10
test eax, eax
je 0x4c118e
mov eax, dword [esp + 0x4c]
pop esi
mov dword [eax], ebp
mov eax, 1
pop ebp
pop edi
pop ebx
add esp, 0x34
ret
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0x1d1
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0x79
push 0xd
call fcn.0048b0e0
add esp, 0x18
push dword [edi + 0x18]
push str.__Type
push dword [esi + 0xc]
push str.Field
push 4
call fcn.004a87d0
add esp, 0x14
xor eax, eax
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x34
ret
call fcn.0048aed0
push str.asn1_item_embed_d2i
push 0xb6
push str.crypto_asn1_tasn_dec.c
call fcn.0048afd0
push 0
push 0xc0102
push 0xd
call fcn.0048b0e0
add esp, 0x18
xor eax, eax
pop edi
pop ebx
add esp, 0x34
ret