Function at 0x401de7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x46e60e
call fcn.0044a938
sub esp, 0xcd8
push ebx
mov ebx, ecx
push esi
push edi
movzx eax, word [ebx + 0x520]
mov edi, dword [ebp + 0xc]
cmp edi, eax
jge 0x402410
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 1
push esi
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x30]
and byte [ebp - 0x54], 0
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push str.Version
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 0xf
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x401e7e
push 0x40
push str.Newer_Internet_Explorer_version_required
push str.Internet_Explorer_4.0x_or_later_must_be_installed_for_this_operation_to_function_correctly.
push dword [ebx + 0x1f4]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402410
lea ecx, [ebp - 0x124]
call fcn.0040395c
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], esi
call fcn.00403a2f
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 1
call fcn.0040ebf6
lea ecx, [ebp - 0x2dc]
call fcn.0040ebf6
mov esi, 0xff
lea eax, [ebp - 0x4e4]
push esi
push str.sign.reallegal.com
push eax
lea ecx, [ebx + 0xbc]
push str.SigningServer
call fcn.0040edee
push esi
lea eax, [ebp - 0x3e0]
push str._signatures_api_trancert.dll
push eax
push str.SigningAppPath
lea ecx, [ebx + 0xbc]
call fcn.0040edee
mov eax, dword [ebx + 0x5b4]
push 0x9c
cmp dword [eax + 0x1c], 0xffffffff
jle 0x401f2e
call fcn.0045db27
mov esi, eax
pop ecx
mov dword [ebp + 0xc], esi
test esi, esi
mov byte [ebp - 4], 2
je 0x401f23
mov ecx, esi
call fcn.004367f5
mov dword [esi], 0x473988
jmp 0x401f25
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp + 0xc], esi
jmp 0x401f53
call fcn.0045db27
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x401f48
mov ecx, eax
call fcn.004367f5
jmp 0x401f4a
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov esi, eax
mov eax, ebx
lea ecx, [ebx + 0x1f0]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
lea eax, [ebp - 0x3e0]
push 1
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.0043694d
test eax, eax
jne 0x401fb2
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x401f89
mov eax, 0x473984
push 0x30
push str.Internet_Connection_Failed
push eax
push dword [ebx + 0x1f4]
call dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
je 0x4023f2
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4023f2
mov esi, dword [ebx + 0x524]
lea eax, [edi + edi*2]
shl eax, 4
add esi, eax
mov dword [ebp - 0x124], 0x2af9
mov dword [ebp - 0x120], 0x4272
mov dword [ebp - 0x14], esi
mov edi, dword [esi + 4]
push edi
call fcn.0044ae90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x11c]
call fcn.0040343b
mov edi, dword [esi + 0xc]
push edi
call fcn.0044ae90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10c]
call fcn.0040343b
mov edi, dword [esi + 0x10]
push edi
call fcn.0044ae90
pop ecx
push eax
push edi
lea ecx, [ebp - 0xfc]
call fcn.0040343b
mov edi, dword [esi + 8]
push edi
call fcn.0044ae90
pop ecx
push eax
push edi
lea ecx, [ebp - 0xec]
call fcn.0040343b
mov esi, dword [esi + 0x14]
push esi
call fcn.0044ae90
pop ecx
push eax
push esi
lea ecx, [ebp - 0xdc]
call fcn.0040343b
lea esi, [ebx + 0x510]
lea edi, [ebp - 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x484]
push esi
call fcn.0044ae90
pop ecx
push eax
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040343b
mov edi, dword [ebp - 0x14]
mov esi, dword [ebx + 0x5b4]
lea ecx, [ebp - 0x1fc]
fld qword [edi + 0x20]
fstp qword [ebp - 0xa4]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x9c], eax
movsx eax, word [esi + 0x20]
mov dword [ebp - 0x98], eax
movsx eax, word [esi + 0x22]
and dword [ebx + 0x84c], 0
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x138]
push eax
push dword [ebx + 0x250]
call fcn.0040eb0e
test eax, eax
je 0x4023f2
mov ecx, dword [ebx + 0x250]
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, ax
push 0x14
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xcc], eax
call fcn.0040e7c9
test eax, eax
je 0x402100
lea eax, [ebp - 0x138]
push 0x14
push eax
push dword [ebp - 0x78]
call fcn.0044af10
add esp, 0xc
mov eax, dword [edi + 0x1c]
mov edi, dword [edi + 0x18]
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x10], eax
call fcn.0040e7c9
test eax, eax
je 0x402125
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x64]
call fcn.0044af10
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1c], 0x40
mov dword [ebp - 0x2c], 0x473980
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edi, dword [esi + 4]
mov esi, dword [esi]
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040e7c9
test eax, eax
je 0x402161
push edi
push esi
push dword [ebp - 0x28]
call fcn.0044af10
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040e64c
mov al, byte [ebp + 0xb]
xor edi, edi
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call fcn.004033ff
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 5
push dword [ebp - 0x28]
call fcn.0040e9d9
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x402199
mov eax, 0x473984
push eax
lea ecx, [ebp - 0x90]
call fcn.00403923
push edi
lea esi, [ebx + 0x850]
push dword [ebp + 8]
mov dword [esi], edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, eax
push esi
neg edi
push str.Verify_transcript_signature...
push dword [ebx + 0x1f4]
sbb edi, edi
inc edi
call fcn.0042100b
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x10], 0
add esp, 0xc
mov dword [ebx + 0x84c], eax
lea eax, [ebp - 0x124]
push eax
call fcn.004369c8
test eax, eax
jne 0x402205
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
test eax, eax
jne 0x4021fe
mov eax, 0x473984
push 0x30
jmp 0x4022b8
cmp dword [esi], 0
jne 0x40224b
call fcn.0042116c
mov ecx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov eax, 0x5dc
cmp ecx, eax
jge 0x402226
mov ecx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
jmp 0x402228
mov ecx, eax
push eax
push ecx
push dword [ebx + 0x84c]
call fcn.00421129
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push 0x64
call fcn.00436a45
test eax, eax
je 0x402205
cmp dword [esi], 0
je 0x402258
mov ecx, dword [ebp + 0xc]
call fcn.00436b2a
jmp 0x4023a0
push 1
push 1
push dword [ebx + 0x84c]
call fcn.00421129
add esp, 0xc
push dword [ebx + 0x84c]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.0042116c
push dword [ebx + 0x1f4]
push dword [ebx + 0x84c]
call fcn.004210ec
mov esi, dword [ebp + 0xc]
and dword [ebx + 0x84c], 0
pop ecx
lea eax, [ebp - 0x19c]
pop ecx
push eax
mov ecx, esi
call fcn.00436aa1
test eax, eax
jne 0x4022c2
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x4022b6
mov eax, 0x473984
push 0x10
push str.Verification_Failed
jmp 0x402393
lea eax, [ebp - 0xce4]
push str.Verification_successful:_This_transcript_was_signed_by
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x108]
test eax, eax
jne 0x4022e3
mov eax, 0x473984
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
lea eax, [ebp - 0xce4]
push eax
call esi
mov ecx, dword [ebp - 0x164]
test ecx, ecx
jne 0x402302
mov ecx, 0x473984
mov eax, dword [ebp - 0x108]
test eax, eax
jne 0x402311
mov eax, 0x473984
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x402352
lea eax, [ebp - 0xce4]
push str.__now
push eax
call esi
mov eax, dword [ebp - 0x164]
test eax, eax
jne 0x40233a
mov eax, 0x473984
push eax
lea eax, [ebp - 0xce4]
push eax
call esi
lea eax, [ebp - 0xce4]
push 0x485480
push eax
call esi
lea eax, [ebp - 0xce4]
push str._on
push eax
call esi
lea eax, [ebp - 0x27c]
push 0x80
push eax
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.00407198
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xce4]
push eax
call esi
push 0x40
push str.Signature_Successfully_Verified
lea eax, [ebp - 0xce4]
push eax
push dword [ebx + 0x1f4]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4023ad
mov eax, dword [ecx]
push 1
call dword [eax]
test edi, edi
je 0x4023bc
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x84c]
test eax, eax
je 0x4023d4
push dword [ebx + 0x1f4]
push eax
call fcn.004210ec
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004033ff
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0x473980
call fcn.0045db50
pop ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.004024d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00402421
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8