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

Disassembly:
sub esp, 0x124
mov eax, dword [0x717dac]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
push ebp
mov ebp, dword [eax]
mov eax, dword [ecx + 8]
mov dword [esp + 0x28], ebp
push dword [eax + 4]
call fcn.0052f9c0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x5080ba
mov eax, 0x1b
pop ebp
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0062f00e
add esp, 0x124
ret
push edi
push eax
call fcn.00566ae0
mov edi, eax
push edi
push ebp
mov dword [esp + 0x90], edi
call fcn.004eacd0
add esp, 0xc
test eax, eax
jne 0x508a58
push ebx
push esi
call fcn.00569490
push eax
call fcn.005686d0
add esp, 4
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x3c], esi
test edi, edi
jle 0x508a4b
nop dword [eax]
push ebx
push dword [esp + 0x34]
call fcn.00566ca0
add esp, 8
mov dword [esp + 0x20], 0
mov edi, eax
mov dword [esp + 0x24], edi
push 0x82031f
push 0
push edi
call fcn.0052fa60
add esp, 4
push eax
push esi
call fcn.0056d4e0
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x34]
push str.Subject
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x44
push 0x82031f
push 0
push edi
call fcn.00568320
add esp, 4
push eax
push esi
call fcn.0056d4e0
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x34]
push str.Issuer
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x44
push edi
call fcn.00573600
push eax
push 0x689858
push esi
call fcn.005695e0
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x34]
push str.Version
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x44
push edi
call fcn.00573f00
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [eax + 4], 0x102
jne 0x508210
push 0x680908
push esi
call fcn.00568870
mov eax, dword [esp + 0x1c]
add esp, 8
xor edi, edi
cmp dword [eax], edi
jle 0x508240
mov ebp, dword [esp + 0x14]
nop word [eax + eax]
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edi]
push eax
push str._02x
push esi
call fcn.005695e0
inc edi
add esp, 0xc
cmp edi, dword [ebp]
jl 0x508220
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x24]
push str.Serial_Number
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x5c]
push edi
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], 0
push eax
mov dword [esp + 0x58], 0
call fcn.005733b0
mov eax, dword [esp + 0x68]
add esp, 0x40
test eax, eax
je 0x5082d2
push dword [eax]
push esi
call fcn.0056d300
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x2c]
push str.Signature_Algorithm
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x3c
push edi
call fcn.005735a0
add esp, 4
test eax, eax
je 0x508331
push eax
push 0
push 0
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00572e30
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
je 0x508331
push eax
push esi
call fcn.0056d300
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x2c]
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x3c
push edi
call fcn.00573550
mov edi, eax
push edi
mov dword [esp + 0x24], edi
call fcn.00566ae0
add esp, 8
test eax, eax
jle 0x50841e
push edi
mov dword [esp + 0x18], 0
call fcn.00566ae0
add esp, 4
test eax, eax
jle 0x50841e
mov esi, dword [esp + 0x14]
nop dword [eax + eax]
push esi
push edi
call fcn.00566ca0
mov dword [esp + 0x1c], eax
call fcn.00569490
push eax
call fcn.005686d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x50841a
push dword [esp + 0x14]
call fcn.00574010
push eax
lea eax, [esp + 0xb8]
push 0x80
push eax
call fcn.0056d440
push 0
push 0
push dword [esp + 0x2c]
push edi
call fcn.00575d10
add esp, 0x20
test eax, eax
jne 0x5083d7
push dword [esp + 0x14]
call fcn.00574530
push eax
push edi
call fcn.0056e990
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push 0
push 0x73
push edi
call fcn.005680a0
mov eax, dword [esp + 0x48]
push dword [eax]
push dword [eax + 4]
lea eax, [esp + 0xc8]
push eax
push ebx
push ebp
call fcn.004eaf30
push edi
call fcn.005681c0
mov edi, dword [esp + 0x44]
inc esi
push edi
call fcn.00566ae0
add esp, 0x2c
cmp esi, eax
jl 0x508370
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
push edi
call fcn.00573560
push eax
push esi
call fcn.0056e1e0
lea eax, [esp + 0x1c]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x30]
push str.Start_date
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x40
push edi
call fcn.00568310
push eax
push esi
call fcn.0056e1e0
lea eax, [esp + 0x1c]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x30]
push str.Expire_date
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x40
push edi
call fcn.00573f10
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne 0x5084c0
push str.___Unable_to_load_public_key_n
push ebp
call fcn.004f1250
add esp, 8
jmp 0x5089a7
push edi
call fcn.004e0d80
add esp, 4
cmp eax, 6
je 0x508859
cmp eax, 0x1c
je 0x5086a5
cmp eax, 0x74
jne 0x50899e
push edi
call fcn.0056f980
mov edi, eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.00570e40
push 0
lea eax, [esp + 0x70]
push eax
push edi
call fcn.005708d0
mov edi, dword [esp + 0x60]
lea eax, [esp + 0xb0]
push 0x6898fc
push 0x689900
push str._s__s_
push 0x20
push eax
call fcn.004e1060
add esp, 0x34
test edi, edi
je 0x508541
push edi
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x44]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x58]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov edi, dword [esp + 0x7c]
lea eax, [esp + 0xc4]
push 0x689904
push 0x689900
push str._s__s_
push 0x20
push eax
call fcn.004e1060
add esp, 0x48
test edi, edi
je 0x5085a3
push edi
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x4c]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x60]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov edi, dword [esp + 0x84]
lea eax, [esp + 0xc4]
push 0x6802d4
push 0x689900
push str._s__s_
push 0x20
push eax
call fcn.004e1060
add esp, 0x48
test edi, edi
je 0x508608
push edi
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x54]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x68]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0xc4]
push str.pub_key
push 0x689900
push str._s__s_
push 0x20
push eax
call fcn.004e1060
add esp, 0x48
test edi, edi
je 0x50866d
push edi
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x5c]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x70]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov edi, dword [esp + 0x4c]
jmp 0x50899b
push edi
call fcn.0056f940
mov edi, eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.005708f0
push 0
lea eax, [esp + 0x90]
push eax
push edi
call fcn.005708d0
mov edi, dword [esp + 0x80]
lea eax, [esp + 0xb0]
push 0x6898fc
push 0x689910
push str._s__s_
push 0x20
push eax
call fcn.004e1060
add esp, 0x34
test edi, edi
je 0x508708
push edi
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x64]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x78]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0xc4]
push 0x689904
push 0x689910
push str._s__s_
push 0x20
push eax
call fcn.004e1060
add esp, 0x48
test edi, edi
je 0x50876d
push edi
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x6c]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x80]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0xc4]
push 0x6802d4
push 0x689910
push str._s__s_
push 0x20
push eax
call fcn.004e1060
add esp, 0x48
test edi, edi
je 0x5087d5
push edi
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x74]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x88]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov edi, dword [esp + 0xac]
lea eax, [esp + 0xc4]
push str.pub_key
push 0x689910
push str._s__s_
push 0x20
push eax
call fcn.004e1060
add esp, 0x48
test edi, edi
je 0x50883d
push edi
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x7c]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x90]
jmp 0x508681
push edi
call fcn.0056f9f0
push 0
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00570200
push dword [esp + 0x40]
call fcn.0056b4a0
push eax
push 0x677edc
push esi
call fcn.005695e0
lea eax, [esp + 0x34]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x48]
push str.RSA_Public_Key
push ebx
push ebp
call fcn.004eaf30
add esp, 0x48
push 0
push 0
push 1
push esi
call fcn.005680a0
mov eax, dword [esp + 0x3c]
push 0x6898f0
push 0x6898f4
push str._s__s_
mov dword [esp + 0x38], eax
lea eax, [esp + 0xac]
push 0x20
push eax
call fcn.004e1060
mov eax, dword [esp + 0x40]
add esp, 0x24
test eax, eax
je 0x5088f3
push eax
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x80]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x94]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
mov eax, dword [esp + 0xb8]
push 0x6898f8
push 0x6898f4
push str._s__s_
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xd0]
push 0x20
push eax
call fcn.004e1060
mov eax, dword [esp + 0x64]
add esp, 0x48
test eax, eax
je 0x508966
push eax
push esi
call fcn.0056c2d0
add esp, 8
lea eax, [esp + 0x88]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x34
push edi
call fcn.0056f890
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x508a03
xor edi, edi
cmp dword [eax], edi
jle 0x5089d4
mov eax, dword [eax + 8]
movzx eax, byte [eax + edi]
push eax
push str._02x:
push esi
call fcn.005695e0
mov eax, dword [esp + 0x2c]
inc edi
add esp, 0xc
cmp edi, dword [eax]
jl 0x5089b5
lea eax, [esp + 0x10]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x24]
push str.Signature
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
add esp, 0x34
mov edi, dword [esp + 0x24]
push edi
push esi
call fcn.00574690
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.005680a0
push eax
push dword [esp + 0x2c]
push str.Cert
push ebx
push ebp
call fcn.004eaf30
push 0
push 0
push 1
push esi
call fcn.005680a0
inc ebx
add esp, 0x3c
cmp ebx, dword [esp + 0x8c]
jl 0x508100
push esi
call fcn.005681c0
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
pop edi
pop ebp
xor ecx, esp
call fcn.0062f00e
add esp, 0x124
ret