Function at 0x40189f
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x436a41
call fcn.0042b128
sub esp, 0xcc8
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, word [ebx + 0x40c]
cmp esi, eax
push edi
jge 0x401db0
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push 1
push edi
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x18]
and byte [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x28]
push eax
push edi
push edi
push str.Version
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xf
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x401936
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 + 0x10c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401db0
lea ecx, [ebp - 0x188]
call fcn.00428025
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], edi
call fcn.00402288
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 1
call fcn.0040233b
mov byte [ebp - 4], 2
call fcn.00405cbd
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [ebp - 0x4d4]
push 0x104
push eax
push str.sign.reallegal.com
push str.SignServer
push str.Defaults
call edi
call fcn.00405cbd
push eax
lea eax, [ebp - 0x3d0]
push 0x104
push eax
push str._signatures_api_trancert.dll
push str.SignAppPath
push str.Defaults
call edi
mov eax, ebx
lea ecx, [ebx + 0x108]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x188]
push eax
lea eax, [ebp - 0x3d0]
push 1
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.0042817d
test eax, eax
jne 0x401a04
mov eax, dword [ebp - 0x10c]
test eax, eax
jne 0x4019eb
mov eax, 0x438530
push 0x30
push str.Internet_Connection_Failed
push eax
push dword [ebx + 0x10c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401d83
lea eax, [esi + esi*2]
mov esi, dword [ebx + 0x410]
shl eax, 4
add esi, eax
mov dword [ebp - 0xd8], 0x2af9
mov dword [ebp - 0xd4], 0x4272
mov dword [ebp - 0x10], esi
mov edi, dword [esi + 4]
push edi
call fcn.0042a950
pop ecx
push eax
push edi
lea ecx, [ebp - 0xd0]
call fcn.004020ca
mov edi, dword [esi + 0xc]
push edi
call fcn.0042a950
pop ecx
push eax
push edi
lea ecx, [ebp - 0xc0]
call fcn.004020ca
mov edi, dword [esi + 0x10]
push edi
call fcn.0042a950
pop ecx
push eax
push edi
lea ecx, [ebp - 0xb0]
call fcn.004020ca
mov edi, dword [esi + 8]
push edi
call fcn.0042a950
pop ecx
push eax
push edi
lea ecx, [ebp - 0xa0]
call fcn.004020ca
mov esi, dword [esi + 0x14]
push esi
call fcn.0042a950
pop ecx
push eax
push esi
lea ecx, [ebp - 0x90]
call fcn.004020ca
lea esi, [ebx + 0x3fc]
lea edi, [ebp - 0x7c]
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 + 0x370]
push esi
call fcn.0042a950
pop ecx
push eax
push esi
lea ecx, [ebp - 0x6c]
call fcn.004020ca
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24c]
fld qword [esi + 0x20]
fstp qword [ebp - 0x58]
call fcn.00408f58
and dword [ebx + 0x708], 0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x24c]
push dword [ebx + 0x144]
call fcn.00408e70
test eax, eax
je 0x401d83
mov ecx, dword [ebx + 0x144]
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, ax
push 0x14
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x80], eax
call fcn.00408c3f
test eax, eax
je 0x401b2e
lea eax, [ebp - 0xec]
push 0x14
push eax
push dword [ebp - 0x4c]
call fcn.0042a9d0
add esp, 0xc
mov edi, dword [esi + 0x1c]
mov esi, dword [esi + 0x18]
push edi
lea ecx, [ebp - 0x3c]
call fcn.00408c3f
test eax, eax
je 0x401b4e
push edi
push esi
push dword [ebp - 0x38]
call fcn.0042a9d0
add esp, 0xc
and dword [ebx + 0x70c], 0
push 0
push dword [ebp + 8]
lea esi, [ebx + 0x70c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, eax
push esi
neg edi
push str.Verify_transcript_signature...
push dword [ebx + 0x10c]
sbb edi, edi
inc edi
call fcn.00416ef2
and dword [ebp + 0xc], 0
add esp, 0xc
mov dword [ebx + 0x708], eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x188]
call fcn.004281f8
test eax, eax
jne 0x401bb7
mov eax, dword [ebp - 0x10c]
test eax, eax
jne 0x401bb0
mov eax, 0x438530
push 0x30
jmp 0x401c74
cmp dword [esi], 0
jne 0x401c00
call fcn.00417053
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov eax, 0x5dc
cmp ecx, eax
jge 0x401bd8
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
jmp 0x401bda
mov ecx, eax
push eax
push ecx
push dword [ebx + 0x708]
call fcn.00417010
add esp, 0xc
lea ecx, [ebp - 0x188]
push 0x64
call fcn.00428275
test eax, eax
je 0x401bb7
cmp dword [esi], 0
je 0x401c10
lea ecx, [ebp - 0x188]
call fcn.0042835a
jmp 0x401d5c
push 1
push 1
push dword [ebx + 0x708]
call fcn.00417010
add esp, 0xc
push dword [ebx + 0x708]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00417053
push dword [ebx + 0x10c]
push dword [ebx + 0x708]
call fcn.00416fd3
and dword [ebx + 0x708], 0
pop ecx
pop ecx
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x188]
call fcn.004282d1
test eax, eax
jne 0x401c7e
mov eax, dword [ebp - 0x10c]
test eax, eax
jne 0x401c72
mov eax, 0x438530
push 0x10
push str.Verification_Failed
jmp 0x401d4f
lea eax, [ebp - 0xcd4]
push str.Verification_successful:_This_transcript_was_signed_by
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x401c9f
mov eax, 0x438530
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
lea eax, [ebp - 0xcd4]
push eax
call esi
mov ecx, dword [ebp - 0x1b4]
test ecx, ecx
jne 0x401cbe
mov ecx, 0x438530
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x401ccd
mov eax, 0x438530
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x401d0e
lea eax, [ebp - 0xcd4]
push str.__now
push eax
call esi
mov eax, dword [ebp - 0x1b4]
test eax, eax
jne 0x401cf6
mov eax, 0x438530
push eax
lea eax, [ebp - 0xcd4]
push eax
call esi
lea eax, [ebp - 0xcd4]
push 0x43d1b0
push eax
call esi
lea eax, [ebp - 0xcd4]
push str._on
push eax
call esi
lea eax, [ebp - 0x2cc]
push 0x80
push eax
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.00404d57
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0xcd4]
push eax
call esi
push 0x40
push str.Signature_Successfully_Verified
lea eax, [ebp - 0xcd4]
push eax
push dword [ebx + 0x10c]
call dword [sym.imp.USER32.dll_MessageBoxA]
test edi, edi
je 0x401d6b
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x708]
test eax, eax
je 0x401d83
push dword [ebx + 0x10c]
push eax
call fcn.00416fd3
pop ecx
pop ecx
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 1
call fcn.00401e63
and byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00401dc1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.004280ec
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8