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

Disassembly:
sub esp, 0x94
mov eax, dword [0x647bb0]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
push ebp
mov ebp, dword [eax]
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], ebp
push dword [eax + 4]
call fcn.00581850
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4af0da
mov eax, 0x1b
pop ebp
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.005badf4
add esp, 0x94
ret
push edi
push eax
call fcn.004bf3d0
mov edi, eax
push edi
push ebp
mov dword [esp + 0x80], edi
call fcn.00494220
add esp, 0xc
test eax, eax
jne 0x4af980
push ebx
push esi
call fcn.004c1db0
push eax
call fcn.004c0fd0
add esp, 4
xor ebx, ebx
mov esi, eax
test edi, edi
jle 0x4af973
nop dword [eax + eax]
push ebx
push dword [esp + 0x2c]
call fcn.004bf590
add esp, 8
mov dword [esp + 0x1c], 0
mov edi, eax
mov dword [esp + 0x24], edi
push 0x82031f
push 0
push edi
call fcn.004cc4c0
add esp, 4
push eax
push esi
call fcn.004c5d50
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x34]
push str.Subject
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
add esp, 0x44
push 0x82031f
push 0
push edi
call fcn.004c0c20
add esp, 4
push eax
push esi
call fcn.004c5d50
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x34]
push str.Issuer
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
add esp, 0x44
push edi
call fcn.004cbbd0
push eax
push 0x5cd0e0
push esi
call fcn.004c1ec0
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x34]
push str.Version
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
add esp, 0x44
push edi
call fcn.004cc4b0
add esp, 4
mov dword [esp + 0x18], eax
cmp dword [eax + 4], 0x102
jne 0x4af230
push 0x5c3bb8
push esi
call fcn.004c1170
mov eax, dword [esp + 0x20]
add esp, 8
xor edi, edi
cmp dword [eax], edi
jle 0x4af260
mov ebp, dword [esp + 0x18]
nop word [eax + eax]
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edi]
push eax
push str._02x
push esi
call fcn.004c1ec0
inc edi
add esp, 0xc
cmp edi, dword [ebp]
jl 0x4af240
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x24]
push str.Serial_Number
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x4c]
push edi
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x54], 0
push eax
mov dword [esp + 0x54], 0
call fcn.004cb980
mov eax, dword [esp + 0x58]
add esp, 0x40
test eax, eax
je 0x4af2f2
push dword [eax]
push esi
call fcn.004c5b70
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x2c]
push str.Signature_Algorithm
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
add esp, 0x3c
push edi
call fcn.004cbb70
add esp, 4
test eax, eax
je 0x4af351
push eax
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004cb440
mov eax, dword [esp + 0x28]
add esp, 0x14
test eax, eax
je 0x4af351
push eax
push esi
call fcn.004c5b70
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x2c]
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
add esp, 0x3c
push edi
call fcn.004cbb20
push eax
push ebx
push ebp
call fcn.004ae4a0
push edi
call fcn.004cbb30
push eax
push esi
call fcn.004c6a50
lea eax, [esp + 0x2c]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x40]
push str.Start_date
push ebx
push ebp
call fcn.004944b0
add esp, 0x40
push 0
push 0
push 1
push esi
call fcn.004c0990
push edi
call fcn.004c0c00
push eax
push esi
call fcn.004c6a50
lea eax, [esp + 0x2c]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x40]
push str.Expire_date
push ebx
push ebp
call fcn.004944b0
add esp, 0x40
push 0
push 0
push 1
push esi
call fcn.004c0990
push edi
call fcn.004cc490
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4af3fd
push str.___Unable_to_load_public_key_n
push ebp
call fcn.00499280
add esp, 8
jmp 0x4af8cc
push edi
call fcn.004c4fc0
add esp, 4
cmp eax, 6
je 0x4af787
cmp eax, 0x1c
je 0x4af5dc
cmp eax, 0x74
jne 0x4af8c3
push edi
call fcn.004c81c0
mov edi, eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.004c9640
push 0
lea eax, [esp + 0x60]
push eax
push edi
call fcn.004c90d0
mov edi, dword [esp + 0x50]
lea eax, [esp + 0xa0]
push 0x5cd184
push 0x5cd188
push str._s__s_
push 0x20
push eax
call fcn.0049c6e0
add esp, 0x34
test edi, edi
je 0x4af47e
push edi
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x34]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov edi, dword [esp + 0x6c]
lea eax, [esp + 0xb4]
push 0x5cd18c
push 0x5cd188
push str._s__s_
push 0x20
push eax
call fcn.0049c6e0
add esp, 0x48
test edi, edi
je 0x4af4e0
push edi
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x3c]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov edi, dword [esp + 0x74]
lea eax, [esp + 0xb4]
push 0x5cd190
push 0x5cd188
push str._s__s_
push 0x20
push eax
call fcn.0049c6e0
add esp, 0x48
test edi, edi
je 0x4af542
push edi
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x44]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov edi, dword [esp + 0x7c]
lea eax, [esp + 0xb4]
push str.pub_key
push 0x5cd188
push str._s__s_
push 0x20
push eax
call fcn.0049c6e0
add esp, 0x48
test edi, edi
je 0x4af5a4
push edi
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x4c]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x60]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov edi, dword [esp + 0x48]
jmp 0x4af8c0
push edi
call fcn.004c8180
mov edi, eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.004c90f0
push 0
lea eax, [esp + 0x80]
push eax
push edi
call fcn.004c90d0
mov edi, dword [esp + 0x70]
lea eax, [esp + 0xa0]
push 0x5cd184
push 0x5cd19c
push str._s__s_
push 0x20
push eax
call fcn.0049c6e0
add esp, 0x34
test edi, edi
je 0x4af63c
push edi
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x54]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0xb4]
push 0x5cd18c
push 0x5cd19c
push str._s__s_
push 0x20
push eax
call fcn.0049c6e0
add esp, 0x48
test edi, edi
je 0x4af6a1
push edi
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x5c]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov edi, dword [esp + 0x94]
lea eax, [esp + 0xb4]
push 0x5cd190
push 0x5cd19c
push str._s__s_
push 0x20
push eax
call fcn.0049c6e0
add esp, 0x48
test edi, edi
je 0x4af706
push edi
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x64]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0xb4]
push str.pub_key
push 0x5cd19c
push str._s__s_
push 0x20
push eax
call fcn.0049c6e0
add esp, 0x48
test edi, edi
je 0x4af76b
push edi
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x6c]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x80]
jmp 0x4af5b8
push edi
call fcn.004c8230
push 0
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.004c8a00
push dword [esp + 0x34]
call fcn.004c3d50
push eax
push 0x5c7c78
push esi
call fcn.004c1ec0
lea eax, [esp + 0x34]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x48]
push str.RSA_Public_Key
push ebx
push ebp
call fcn.004944b0
add esp, 0x48
push 0
push 0
push 1
push esi
call fcn.004c0990
mov eax, dword [esp + 0x30]
push 0x5cd178
push 0x5cd17c
push str._s__s_
mov dword [esp + 0x30], eax
lea eax, [esp + 0x9c]
push 0x20
push eax
call fcn.0049c6e0
mov eax, dword [esp + 0x38]
add esp, 0x24
test eax, eax
je 0x4af81e
push eax
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x70]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
mov eax, dword [esp + 0xa8]
push 0x5cd180
push 0x5cd17c
push str._s__s_
mov dword [esp + 0x54], eax
lea eax, [esp + 0xc0]
push 0x20
push eax
call fcn.0049c6e0
mov eax, dword [esp + 0x5c]
add esp, 0x48
test eax, eax
je 0x4af88e
push eax
push esi
call fcn.004c4b80
add esp, 8
lea eax, [esp + 0x78]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
add esp, 0x34
push edi
call fcn.004c80d0
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4af92e
xor edi, edi
cmp dword [eax], edi
jle 0x4af8ff
nop word [eax + eax]
mov eax, dword [eax + 8]
movzx eax, byte [eax + edi]
push eax
push str._02x:
push esi
call fcn.004c1ec0
mov eax, dword [esp + 0x28]
inc edi
add esp, 0xc
cmp edi, dword [eax]
jl 0x4af8e0
lea eax, [esp + 0x10]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x24]
push str.Signature
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
add esp, 0x34
mov edi, dword [esp + 0x24]
push edi
push esi
call fcn.004ccc30
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.004c0990
push eax
push dword [esp + 0x2c]
push str.Cert
push ebx
push ebp
call fcn.004944b0
push 0
push 0
push 1
push esi
call fcn.004c0990
inc ebx
add esp, 0x3c
cmp ebx, dword [esp + 0x7c]
jl 0x4af120
push esi
call fcn.004c0ab0
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
pop edi
pop ebp
xor ecx, esp
call fcn.005badf4
add esp, 0x94
ret