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

Disassembly:
sub esp, 0x150
mov eax, dword [esp + 0x154]
push ebx
mov ebx, dword [esp + 0x15c]
push ebp
mov ebp, dword [eax]
test byte [ebp + 0x880], 1
mov dword [esp + 0x14], ebp
jne 0x10047d44
test ebx, ebx
je 0x10047d44
pop ebp
xor eax, eax
pop ebx
add esp, 0x150
ret
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call fcn.100474d0
add esp, 0xc
test eax, eax
je 0x10047d73
pop ebp
mov eax, 0x3c
pop ebx
add esp, 0x150
ret
lea ecx, [esp + 0xb8]
push esi
push ecx
call fcn.10047480
mov esi, eax
add esp, 4
test esi, esi
je 0x10047dd4
test byte [ebp + 0x880], 1
je 0x10047da3
push esi
push str.Subject
push ebx
push ebp
call fcn.10011960
add esp, 0x10
test ebx, ebx
jne 0x10047db7
push esi
push ebx
push str._2d_Subject:__s_n
push ebp
call fcn.100148c0
add esp, 0x10
push esi
call dword [0x1007b004]
lea edx, [esp + 0x84]
push edx
call fcn.10047480
mov esi, eax
add esp, 8
test esi, esi
jne 0x10047de3
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x150
ret
test byte [ebp + 0x880], 1
je 0x10047dfc
push esi
push str.Issuer
push ebx
push ebp
call fcn.10011960
add esp, 0x10
test ebx, ebx
jne 0x10047e0f
push esi
push str.___Issuer:__s_n
push ebp
call fcn.100148c0
add esp, 0xc
push esi
call dword [0x1007b004]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add esp, 4
xor esi, esi
cmp eax, ecx
jae 0x10047e34
movzx edx, byte [eax]
shl esi, 8
inc eax
or esi, edx
cmp eax, ecx
jb 0x10047e27
test byte [ebp + 0x880], 1
push edi
je 0x10047e6d
push esi
push 0x10074228
call fcn.100357a0
mov edi, eax
add esp, 8
test edi, edi
je case.0x10048415.7
push edi
push str.Version
push ebx
push ebp
call fcn.10011960
push edi
call dword [0x1007b004]
add esp, 0x14
test ebx, ebx
jne 0x10047e82
push esi
inc esi
push esi
push str.___Version:__lu__0x_lx__n
push ebp
call fcn.100148c0
add esp, 0x10
cmp dword [esp + 0x58], 0
jne case.0x10048415.7
movzx ecx, byte [esp + 0x55]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x10048415.7
movzx eax, byte [eax + 0x10048678]
jmp dword [eax*4 + 0x10048650]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
sub ecx, eax
cmp ecx, 1
je 0x10047ec4
xor eax, eax
mov esi, eax
jmp 0x10047fa7
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x10047ed3
mov eax, str.FALSE
push eax
call dword [0x1007b00c]
add esp, 4
mov esi, eax
jmp 0x10047fa7
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.10046a60
mov esi, eax
jmp 0x10047fa7
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
inc eax
cmp eax, ebx
jbe 0x10047f1d
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x10047fa7
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.10046a00
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x10047fa7
push 0x1007728b
call dword [0x1007b00c]
add esp, 4
mov esi, eax
jmp 0x10047fa7
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push 1
push edx
call fcn.10046e10
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x10047fa7
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call fcn.10046fa0
mov esi, eax
jmp 0x10047fa7
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push eax
call fcn.10046e90
add esp, 4
mov esi, eax
jmp 0x10047fa7
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x54]
call fcn.10046ab0
xor ecx, ecx
add esp, 8
test eax, eax
setl cl
dec ecx
and ecx, dword [esp + 0x10]
mov esi, ecx
test esi, esi
je case.0x10048415.7
test byte [ebp + 0x880], 1
je 0x10047fc8
push esi
push str.Serial_Number
push ebx
push ebp
call fcn.10011960
add esp, 0x10
test ebx, ebx
jne 0x10047fdb
push esi
push str.___Serial_Number:__s_n
push ebp
call fcn.100148c0
add esp, 0xc
push esi
call dword [0x1007b004]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 4
lea edi, [esp + 0x14c]
call fcn.100478a0
mov esi, eax
test esi, esi
je case.0x10048415.7
test byte [ebp + 0x880], 1
je 0x1004801c
push esi
push str.Signature_Algorithm
push ebx
push ebp
call fcn.10011960
add esp, 0x10
test ebx, ebx
jne 0x1004802f
push esi
push str.___Signature_Algorithm:__s_n
push ebp
call fcn.100148c0
add esp, 0xc
push esi
call dword [0x1007b004]
add esp, 4
cmp dword [esp + 0xa8], 0
jne case.0x10048415.7
movzx ecx, byte [esp + 0xa5]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x10048415.7
movzx edx, byte [eax + 0x100486c0]
jmp dword [edx*4 + 0x10048698]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
sub ecx, eax
cmp ecx, 1
je 0x10048087
xor eax, eax
mov esi, eax
jmp 0x1004819a
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x10048096
mov eax, str.FALSE
push eax
call dword [0x1007b00c]
add esp, 4
mov esi, eax
jmp 0x1004819a
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.10046a60
mov esi, eax
jmp 0x1004819a
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
inc eax
cmp eax, ebx
jbe 0x100480f2
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x1004819a
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.10046a00
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x1004819a
push 0x1007728b
call dword [0x1007b00c]
add esp, 4
mov esi, eax
jmp 0x1004819a
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push 1
push edx
call fcn.10046e10
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x1004819a
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
call fcn.10046fa0
mov esi, eax
jmp 0x1004819a
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
push eax
call fcn.10046e90
add esp, 4
mov esi, eax
jmp 0x1004819a
mov edx, dword [esp + 0xa0]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xa4]
call fcn.10046ab0
xor ecx, ecx
add esp, 8
test eax, eax
setl cl
dec ecx
and ecx, dword [esp + 0x10]
mov esi, ecx
test esi, esi
je case.0x10048415.7
test byte [ebp + 0x880], 1
je 0x100481bb
push esi
push str.Start_Date
push ebx
push ebp
call fcn.10011960
add esp, 0x10
test ebx, ebx
jne 0x100481ce
push esi
push str.___Start_Date:__s_n
push ebp
call fcn.100148c0
add esp, 0xc
push esi
call dword [0x1007b004]
add esp, 4
cmp dword [esp + 0xbc], 0
jne case.0x10048415.7
movzx ecx, byte [esp + 0xb9]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x10048415.7
movzx edx, byte [eax + 0x10048708]
jmp dword [edx*4 + 0x100486e0]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
sub ecx, eax
cmp ecx, 1
je 0x10048226
xor eax, eax
mov esi, eax
jmp 0x10048339
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x10048235
mov eax, str.FALSE
push eax
call dword [0x1007b00c]
add esp, 4
mov esi, eax
jmp 0x10048339
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.10046a60
mov esi, eax
jmp 0x10048339
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
inc eax
cmp eax, ebx
jbe 0x10048291
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x10048339
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.10046a00
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x10048339
push 0x1007728b
call dword [0x1007b00c]
add esp, 4
mov esi, eax
jmp 0x10048339
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
push 1
push edx
call fcn.10046e10
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x10048339
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
call fcn.10046fa0
mov esi, eax
jmp 0x10048339
mov eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
push eax
call fcn.10046e90
add esp, 4
mov esi, eax
jmp 0x10048339
mov edx, dword [esp + 0xb4]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb8]
call fcn.10046ab0
xor ecx, ecx
add esp, 8
test eax, eax
setl cl
dec ecx
and ecx, dword [esp + 0x10]
mov esi, ecx
test esi, esi
je case.0x10048415.7
test byte [ebp + 0x880], 1
je 0x1004835a
push esi
push str.Expire_Date
push ebx
push ebp
call fcn.10011960
add esp, 0x10
test ebx, ebx
jne 0x1004836d
push esi
push str.___Expire_Date:__s_n
push ebp
call fcn.100148c0
add esp, 0xc
push esi
call dword [0x1007b004]
mov esi, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
add esp, 4
lea edi, [esp + 0x14c]
call fcn.100478a0
mov esi, eax
test esi, esi
je case.0x10048415.7
test byte [ebp + 0x880], 1
je 0x100483b4
push esi
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.10011960
add esp, 0x10
test ebx, ebx
jne 0x100483c7
push esi
push str.___Public_Key_Algorithm:__s_n
push ebp
call fcn.100148c0
add esp, 0xc
mov edi, dword [esp + 0x168]
push esi
push edi
lea eax, [esp + 0x104]
lea ecx, [esp + 0x154]
mov ebx, ebp
call fcn.10047aa0
push esi
call dword [0x1007b004]
add esp, 0xc
cmp dword [esp + 0x80], 0
jne case.0x10048415.7
movzx ecx, byte [esp + 0x7d]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x10048415.7
movzx edx, byte [eax + 0x10048750]
jmp dword [edx*4 + 0x10048728]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
sub ecx, eax
cmp ecx, 1
je 0x10048434
xor eax, eax
mov esi, eax
jmp 0x10048509
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x10048443
mov eax, str.FALSE
push eax
call dword [0x1007b00c]
add esp, 4
mov esi, eax
jmp 0x10048509
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.10046a60
mov esi, eax
jmp 0x10048509
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc eax
cmp eax, ebx
jbe 0x10048486
xor eax, eax
mov esi, eax
jmp 0x10048509
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.10046a00
mov esi, eax
jmp 0x10048509
push 0x1007728b
call dword [0x1007b00c]
add esp, 4
mov esi, eax
jmp 0x10048509
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
push 1
push edx
call fcn.10046e10
add esp, 8
mov esi, eax
jmp 0x10048509
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
call fcn.10046fa0
mov esi, eax
jmp 0x10048509
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
push eax
call fcn.10046e90
mov edi, dword [esp + 0x16c]
add esp, 4
mov esi, eax
jmp 0x10048509
mov edx, dword [esp + 0x78]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x7c]
call fcn.10046ab0
xor ecx, ecx
add esp, 8
test eax, eax
setl cl
dec ecx
and ecx, dword [esp + 0x10]
mov esi, ecx
test esi, esi
je case.0x10048415.7
test byte [ebp + 0x880], 1
je 0x1004852a
push esi
push str.Signature
push edi
push ebp
call fcn.10011960
add esp, 0x10
test edi, edi
jne 0x1004853d
push esi
push str.___Signature:__s_n
push ebp
call fcn.100148c0
add esp, 0xc
push esi
call dword [0x1007b004]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
sub ecx, eax
push ecx
push eax
push ebp
call fcn.1003d8b0
add esp, 0x18
test eax, eax
jne 0x10048644
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x3f]
shr edx, 6
lea eax, [edx + eax + 0x36]
inc eax
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x100485a8
mov eax, dword [esp + 0x14]
push eax
call dword [0x1007b004]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x150
ret
mov eax, str._____BEGIN_CERTIFICATE_____
mov esi, edi
call fcn.10047830
xor ebp, ebp
mov ebx, eax
cmp dword [esp + 0x18], ebp
jbe 0x100485da
mov edi, edi
mov ecx, dword [esp + 0x14]
lea eax, [ecx + ebp]
lea esi, [edi + ebx]
call fcn.10047830
add ebp, 0x40
add ebx, eax
cmp ebp, dword [esp + 0x18]
jb 0x100485c0
lea esi, [edi + ebx]
mov eax, str._____END_CERTIFICATE_____
call fcn.10047830
add eax, edi
mov byte [eax + ebx], 0
mov edx, dword [esp + 0x14]
push edx
call dword [0x1007b004]
mov esi, dword [esp + 0x20]
add esp, 4
test byte [esi + 0x880], 1
je 0x1004861f
mov eax, dword [esp + 0x168]
push edi
push str.Cert
push eax
push esi
call fcn.10011960
add esp, 0x10
cmp dword [esp + 0x168], 0
jne 0x10048638
push edi
push 0x1006a3f4
push esi
call fcn.100148c0
add esp, 0xc
push edi
call dword [0x1007b004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret