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

Disassembly:
sub esp, 0x124
mov eax, dword [0x719dd4]
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.00530b80
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x50928a
mov eax, 0x1b
pop ebp
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0063024e
add esp, 0x124
ret
push edi
push eax
call fcn.00567ca0
mov edi, eax
push edi
push ebp
mov dword [esp + 0x90], edi
call fcn.004ebeb0
add esp, 0xc
test eax, eax
jne 0x509c28
push ebx
push esi
call fcn.0056a650
push eax
call fcn.00569890
add esp, 4
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x3c], esi
test edi, edi
jle 0x509c1b
nop dword [eax]
push ebx
push dword [esp + 0x34]
call fcn.00567e60
add esp, 8
mov dword [esp + 0x20], 0
mov edi, eax
mov dword [esp + 0x24], edi
push 0x82031f
push 0
push edi
call fcn.00530c20
add esp, 4
push eax
push esi
call fcn.0056e6a0
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x34]
push str.Subject
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x44
push 0x82031f
push 0
push edi
call fcn.005694e0
add esp, 4
push eax
push esi
call fcn.0056e6a0
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x34]
push str.Issuer
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x44
push edi
call fcn.005747c0
push eax
push 0x68b9f4
push esi
call fcn.0056a7a0
lea eax, [esp + 0x20]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x34]
push str.Version
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x44
push edi
call fcn.005750c0
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [eax + 4], 0x102
jne 0x5093e0
push 0x682aa8
push esi
call fcn.00569a30
mov eax, dword [esp + 0x1c]
add esp, 8
xor edi, edi
cmp dword [eax], edi
jle 0x509410
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.0056a7a0
inc edi
add esp, 0xc
cmp edi, dword [ebp]
jl 0x5093f0
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x24]
push str.Serial_Number
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
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.00574570
mov eax, dword [esp + 0x68]
add esp, 0x40
test eax, eax
je 0x5094a2
push dword [eax]
push esi
call fcn.0056e4c0
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x2c]
push str.Signature_Algorithm
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x3c
push edi
call fcn.00574760
add esp, 4
test eax, eax
je 0x509501
push eax
push 0
push 0
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00573ff0
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
je 0x509501
push eax
push esi
call fcn.0056e4c0
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x2c]
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x3c
push edi
call fcn.00574710
mov edi, eax
push edi
mov dword [esp + 0x24], edi
call fcn.00567ca0
add esp, 8
test eax, eax
jle 0x5095ee
push edi
mov dword [esp + 0x18], 0
call fcn.00567ca0
add esp, 4
test eax, eax
jle 0x5095ee
mov esi, dword [esp + 0x14]
nop dword [eax + eax]
push esi
push edi
call fcn.00567e60
mov dword [esp + 0x1c], eax
call fcn.0056a650
push eax
call fcn.00569890
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5095ea
push dword [esp + 0x14]
call fcn.005751d0
push eax
lea eax, [esp + 0xb8]
push 0x80
push eax
call fcn.0056e600
push 0
push 0
push dword [esp + 0x2c]
push edi
call fcn.00576ed0
add esp, 0x20
test eax, eax
jne 0x5095a7
push dword [esp + 0x14]
call fcn.005756f0
push eax
push edi
call fcn.0056fb50
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push 0
push 0x73
push edi
call fcn.00569260
mov eax, dword [esp + 0x48]
push dword [eax]
push dword [eax + 4]
lea eax, [esp + 0xc8]
push eax
push ebx
push ebp
call fcn.004ec110
push edi
call fcn.00569380
mov edi, dword [esp + 0x44]
inc esi
push edi
call fcn.00567ca0
add esp, 0x2c
cmp esi, eax
jl 0x509540
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
push edi
call fcn.00574720
push eax
push esi
call fcn.0056f3a0
lea eax, [esp + 0x1c]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x30]
push str.Start_date
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x40
push edi
call fcn.005694d0
push eax
push esi
call fcn.0056f3a0
lea eax, [esp + 0x1c]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x30]
push str.Expire_date
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x40
push edi
call fcn.005750d0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne 0x509690
push str.___Unable_to_load_public_key_n
push ebp
call fcn.004f2430
add esp, 8
jmp 0x509b77
push edi
call fcn.004e1f60
add esp, 4
cmp eax, 6
je 0x509a29
cmp eax, 0x1c
je 0x509875
cmp eax, 0x74
jne 0x509b6e
push edi
call fcn.00570b40
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.00572000
push 0
lea eax, [esp + 0x70]
push eax
push edi
call fcn.00571a90
mov edi, dword [esp + 0x60]
lea eax, [esp + 0xb0]
push 0x68ba98
push 0x68ba9c
push str._s__s_
push 0x20
push eax
call fcn.004e2240
add esp, 0x34
test edi, edi
je 0x509711
push edi
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x44]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x58]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
mov edi, dword [esp + 0x7c]
lea eax, [esp + 0xc4]
push 0x68baa0
push 0x68ba9c
push str._s__s_
push 0x20
push eax
call fcn.004e2240
add esp, 0x48
test edi, edi
je 0x509773
push edi
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x4c]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x60]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
mov edi, dword [esp + 0x84]
lea eax, [esp + 0xc4]
push 0x682474
push 0x68ba9c
push str._s__s_
push 0x20
push eax
call fcn.004e2240
add esp, 0x48
test edi, edi
je 0x5097d8
push edi
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x54]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x68]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0xc4]
push str.pub_key
push 0x68ba9c
push str._s__s_
push 0x20
push eax
call fcn.004e2240
add esp, 0x48
test edi, edi
je 0x50983d
push edi
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x5c]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x70]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
mov edi, dword [esp + 0x4c]
jmp 0x509b6b
push edi
call fcn.00570b00
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.00571ab0
push 0
lea eax, [esp + 0x90]
push eax
push edi
call fcn.00571a90
mov edi, dword [esp + 0x80]
lea eax, [esp + 0xb0]
push 0x68ba98
push 0x68baac
push str._s__s_
push 0x20
push eax
call fcn.004e2240
add esp, 0x34
test edi, edi
je 0x5098d8
push edi
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x64]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x78]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0xc4]
push 0x68baa0
push 0x68baac
push str._s__s_
push 0x20
push eax
call fcn.004e2240
add esp, 0x48
test edi, edi
je 0x50993d
push edi
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x6c]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x80]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0xc4]
push 0x682474
push 0x68baac
push str._s__s_
push 0x20
push eax
call fcn.004e2240
add esp, 0x48
test edi, edi
je 0x5099a5
push edi
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x74]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x88]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
mov edi, dword [esp + 0xac]
lea eax, [esp + 0xc4]
push str.pub_key
push 0x68baac
push str._s__s_
push 0x20
push eax
call fcn.004e2240
add esp, 0x48
test edi, edi
je 0x509a0d
push edi
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x7c]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x90]
jmp 0x509851
push edi
call fcn.00570bb0
push 0
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005713c0
push dword [esp + 0x40]
call fcn.0056c660
push eax
push 0x67a07c
push esi
call fcn.0056a7a0
lea eax, [esp + 0x34]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x48]
push str.RSA_Public_Key
push ebx
push ebp
call fcn.004ec110
add esp, 0x48
push 0
push 0
push 1
push esi
call fcn.00569260
mov eax, dword [esp + 0x3c]
push 0x68ba8c
push 0x68ba90
push str._s__s_
mov dword [esp + 0x38], eax
lea eax, [esp + 0xac]
push 0x20
push eax
call fcn.004e2240
mov eax, dword [esp + 0x40]
add esp, 0x24
test eax, eax
je 0x509ac3
push eax
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x80]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x94]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
mov eax, dword [esp + 0xb8]
push 0x68ba94
push 0x68ba90
push str._s__s_
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xd0]
push 0x20
push eax
call fcn.004e2240
mov eax, dword [esp + 0x64]
add esp, 0x48
test eax, eax
je 0x509b36
push eax
push esi
call fcn.0056d490
add esp, 8
lea eax, [esp + 0x88]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0xa8]
push eax
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x34
push edi
call fcn.00570a50
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x509bd3
xor edi, edi
cmp dword [eax], edi
jle 0x509ba4
mov eax, dword [eax + 8]
movzx eax, byte [eax + edi]
push eax
push str._02x:
push esi
call fcn.0056a7a0
mov eax, dword [esp + 0x2c]
inc edi
add esp, 0xc
cmp edi, dword [eax]
jl 0x509b85
lea eax, [esp + 0x10]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x24]
push str.Signature
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
add esp, 0x34
mov edi, dword [esp + 0x24]
push edi
push esi
call fcn.00575850
lea eax, [esp + 0x18]
push eax
push 0
push 3
push esi
call fcn.00569260
push eax
push dword [esp + 0x2c]
push str.Cert
push ebx
push ebp
call fcn.004ec110
push 0
push 0
push 1
push esi
call fcn.00569260
inc ebx
add esp, 0x3c
cmp ebx, dword [esp + 0x8c]
jl 0x5092d0
push esi
call fcn.00569380
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
pop edi
pop ebp
xor ecx, esp
call fcn.0063024e
add esp, 0x124
ret