Function at 0x10046c20
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]
cmp dword [ebp + 0x2dc], 0
mov dword [esp + 0x14], ebp
jne 0x10046c54
test ebx, ebx
je 0x10046c54
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.100464f0
add esp, 0xc
test eax, eax
je 0x10046c83
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x150
ret
lea ecx, [esp + 0xb8]
push esi
push ecx
call fcn.100464a0
mov esi, eax
add esp, 4
test esi, esi
je 0x10046ce4
cmp dword [ebp + 0x2dc], 0
je 0x10046cb3
push esi
push str.Subject
push ebx
push ebp
call fcn.10019e40
add esp, 0x10
test ebx, ebx
jne 0x10046cc7
push esi
push ebx
push str._2d_Subject:__s_n
push ebp
call fcn.10022470
add esp, 0x10
push esi
call dword [0x1007f004]
lea edx, [esp + 0x84]
push edx
call fcn.100464a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10046cf3
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x150
ret
cmp dword [ebp + 0x2dc], 0
je 0x10046d0c
push esi
push str.Issuer
push ebx
push ebp
call fcn.10019e40
add esp, 0x10
test ebx, ebx
jne 0x10046d1f
push esi
push str.___Issuer:__s_n
push ebp
call fcn.10022470
add esp, 0xc
push esi
call dword [0x1007f004]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add esp, 4
xor esi, esi
cmp eax, ecx
jae 0x10046d44
movzx edx, byte [eax]
shl esi, 8
inc eax
or esi, edx
cmp eax, ecx
jb 0x10046d37
cmp dword [ebp + 0x2dc], 0
push edi
je 0x10046d7d
push esi
push 0x10074328
call fcn.100270f0
mov edi, eax
add esp, 8
test edi, edi
je case.0x10047324.7
push edi
push str.Version
push ebx
push ebp
call fcn.10019e40
push edi
call dword [0x1007f004]
add esp, 0x14
test ebx, ebx
jne 0x10046d92
push esi
inc esi
push esi
push str.___Version:__lu__0x_lx__n
push ebp
call fcn.10022470
add esp, 0x10
cmp dword [esp + 0x58], 0
jne case.0x10047324.7
movzx ecx, byte [esp + 0x55]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x10047324.7
movzx eax, byte [eax + 0x1004758c]
jmp dword [eax*4 + 0x10047564]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
sub ecx, eax
cmp ecx, 1
je 0x10046dd4
xor eax, eax
mov esi, eax
jmp 0x10046eb7
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x10046de3
mov eax, str.FALSE
push eax
call dword [0x1007f00c]
add esp, 4
mov esi, eax
jmp 0x10046eb7
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.10045a20
mov esi, eax
jmp 0x10046eb7
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
inc eax
cmp eax, ebx
jbe 0x10046e2d
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x10046eb7
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.100459c0
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x10046eb7
push 0x1006c729
call dword [0x1007f00c]
add esp, 4
mov esi, eax
jmp 0x10046eb7
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push 1
push edx
call fcn.10045db0
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x10046eb7
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call fcn.10045f40
mov esi, eax
jmp 0x10046eb7
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push eax
call fcn.10045e30
add esp, 4
mov esi, eax
jmp 0x10046eb7
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x54]
call fcn.10045a70
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.0x10047324.7
cmp dword [ebp + 0x2dc], 0
je 0x10046ed8
push esi
push str.Serial_Number
push ebx
push ebp
call fcn.10019e40
add esp, 0x10
test ebx, ebx
jne 0x10046eeb
push esi
push str.___Serial_Number:__s_n
push ebp
call fcn.10022470
add esp, 0xc
push esi
call dword [0x1007f004]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 4
lea edi, [esp + 0x14c]
call fcn.10046810
mov esi, eax
test esi, esi
je case.0x10047324.7
cmp dword [ebp + 0x2dc], 0
je 0x10046f2c
push esi
push str.Signature_Algorithm
push ebx
push ebp
call fcn.10019e40
add esp, 0x10
test ebx, ebx
jne 0x10046f3f
push esi
push str.___Signature_Algorithm:__s_n
push ebp
call fcn.10022470
add esp, 0xc
push esi
call dword [0x1007f004]
add esp, 4
cmp dword [esp + 0xa8], 0
jne case.0x10047324.7
movzx ecx, byte [esp + 0xa5]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x10047324.7
movzx edx, byte [eax + 0x100475d4]
jmp dword [edx*4 + 0x100475ac]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
sub ecx, eax
cmp ecx, 1
je 0x10046f97
xor eax, eax
mov esi, eax
jmp 0x100470aa
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x10046fa6
mov eax, str.FALSE
push eax
call dword [0x1007f00c]
add esp, 4
mov esi, eax
jmp 0x100470aa
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.10045a20
mov esi, eax
jmp 0x100470aa
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
inc eax
cmp eax, ebx
jbe 0x10047002
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x100470aa
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.100459c0
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x100470aa
push 0x1006c729
call dword [0x1007f00c]
add esp, 4
mov esi, eax
jmp 0x100470aa
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push 1
push edx
call fcn.10045db0
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x100470aa
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
call fcn.10045f40
mov esi, eax
jmp 0x100470aa
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
push eax
call fcn.10045e30
add esp, 4
mov esi, eax
jmp 0x100470aa
mov edx, dword [esp + 0xa0]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xa4]
call fcn.10045a70
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.0x10047324.7
cmp dword [ebp + 0x2dc], 0
je 0x100470cb
push esi
push str.Start_Date
push ebx
push ebp
call fcn.10019e40
add esp, 0x10
test ebx, ebx
jne 0x100470de
push esi
push str.___Start_Date:__s_n
push ebp
call fcn.10022470
add esp, 0xc
push esi
call dword [0x1007f004]
add esp, 4
cmp dword [esp + 0xbc], 0
jne case.0x10047324.7
movzx ecx, byte [esp + 0xb9]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x10047324.7
movzx edx, byte [eax + 0x1004761c]
jmp dword [edx*4 + 0x100475f4]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
sub ecx, eax
cmp ecx, 1
je 0x10047136
xor eax, eax
mov esi, eax
jmp 0x10047249
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x10047145
mov eax, str.FALSE
push eax
call dword [0x1007f00c]
add esp, 4
mov esi, eax
jmp 0x10047249
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.10045a20
mov esi, eax
jmp 0x10047249
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
inc eax
cmp eax, ebx
jbe 0x100471a1
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x10047249
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.100459c0
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x10047249
push 0x1006c729
call dword [0x1007f00c]
add esp, 4
mov esi, eax
jmp 0x10047249
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
push 1
push edx
call fcn.10045db0
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x10047249
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
call fcn.10045f40
mov esi, eax
jmp 0x10047249
mov eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
push eax
call fcn.10045e30
add esp, 4
mov esi, eax
jmp 0x10047249
mov edx, dword [esp + 0xb4]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb8]
call fcn.10045a70
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.0x10047324.7
cmp dword [ebp + 0x2dc], 0
je 0x1004726a
push esi
push str.Expire_Date
push ebx
push ebp
call fcn.10019e40
add esp, 0x10
test ebx, ebx
jne 0x1004727d
push esi
push str.___Expire_Date:__s_n
push ebp
call fcn.10022470
add esp, 0xc
push esi
call dword [0x1007f004]
mov esi, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
add esp, 4
lea edi, [esp + 0x14c]
call fcn.10046810
mov esi, eax
test esi, esi
je case.0x10047324.7
cmp dword [ebp + 0x2dc], 0
je 0x100472c4
push esi
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.10019e40
add esp, 0x10
test ebx, ebx
jne 0x100472d7
push esi
push str.___Public_Key_Algorithm:__s_n
push ebp
call fcn.10022470
add esp, 0xc
mov ebx, dword [esp + 0x168]
push esi
lea eax, [esp + 0x100]
lea ecx, [esp + 0x150]
mov edi, ebp
call fcn.10046a00
push esi
call dword [0x1007f004]
add esp, 8
cmp dword [esp + 0x80], 0
jne case.0x10047324.7
movzx ecx, byte [esp + 0x7d]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x10047324.7
movzx edx, byte [eax + 0x10047664]
jmp dword [edx*4 + 0x1004763c]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
sub ecx, eax
cmp ecx, 1
je 0x10047343
xor eax, eax
mov esi, eax
jmp 0x10047411
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x10047352
mov eax, str.FALSE
push eax
call dword [0x1007f00c]
add esp, 4
mov esi, eax
jmp 0x10047411
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.10045a20
mov esi, eax
jmp 0x10047411
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc eax
cmp eax, ebx
jbe 0x10047395
xor eax, eax
mov esi, eax
jmp 0x10047411
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.100459c0
mov esi, eax
jmp 0x10047411
push 0x1006c729
call dword [0x1007f00c]
add esp, 4
mov esi, eax
jmp 0x10047411
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
push 1
push edx
call fcn.10045db0
add esp, 8
mov esi, eax
jmp 0x10047411
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
call fcn.10045f40
mov esi, eax
jmp 0x10047411
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
push eax
call fcn.10045e30
add esp, 4
mov esi, eax
jmp 0x10047411
mov edx, dword [esp + 0x78]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x7c]
call fcn.10045a70
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.0x10047324.7
cmp dword [ebp + 0x2dc], 0
je 0x10047439
mov edx, dword [esp + 0x168]
push esi
push str.Signature
push edx
push ebp
call fcn.10019e40
add esp, 0x10
cmp dword [esp + 0x168], 0
jne 0x10047452
push esi
push str.___Signature:__s_n
push ebp
call fcn.10022470
add esp, 0xc
push esi
call dword [0x1007f004]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
sub edx, eax
push edx
push eax
push ebp
call fcn.10031dd0
add esp, 0x18
test eax, eax
jne 0x10047556
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x3f]
shr ecx, 6
lea eax, [ecx + eax + 0x36]
inc eax
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x100474bd
mov edx, dword [esp + 0x14]
push edx
call dword [0x1007f004]
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.100467a0
xor ebx, ebx
mov ebp, eax
cmp dword [esp + 0x18], ebx
jbe 0x100474ec
mov eax, dword [esp + 0x14]
add eax, ebx
lea esi, [edi + ebp]
call fcn.100467a0
add ebx, 0x40
add ebp, eax
cmp ebx, dword [esp + 0x18]
jb 0x100474d3
lea esi, [edi + ebp]
mov eax, str._____END_CERTIFICATE_____
call fcn.100467a0
add eax, edi
mov byte [eax + ebp], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x1007f004]
mov esi, dword [esp + 0x20]
add esp, 4
cmp dword [esi + 0x2dc], 0
je 0x10047531
mov edx, dword [esp + 0x168]
push edi
push str.Cert
push edx
push esi
call fcn.10019e40
add esp, 0x10
cmp dword [esp + 0x168], 0
jne 0x1004754a
push edi
push 0x1006d5b8
push esi
call fcn.10022470
add esp, 0xc
push edi
call dword [0x1007f004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret