Function at 0x422980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50abe8
mov eax, dword fs:[0]
push eax
mov eax, 0x10d0
call fcn.0048c040
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x24], edi
sub eax, 0
je 0x422a0e
sub eax, 1
jne 0x42332b
mov eax, dword [ebp + 0xc]
cmp eax, 0x201
jne 0x4229fe
push dword [ebx + 0x5c]
push 1
push 0xf7
push dword [ebx + 0x24]
mov dword [ebx + 0x20], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x20], 0
jmp 0x42331b
cmp eax, 0x202
jne 0x42332b
push dword [ebx + 0x58]
jmp 0x4229db
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp eax, 0x110
jne 0x422ade
push esi
push ecx
mov eax, esp
mov dword [ebx + 0x20], 1
mov dword [eax], ecx
mov ecx, ebx
call fcn.0041e790
mov dword [edi], eax
cmp dword [ebx + 0x20], 0
jne 0x422e86
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp + 0xc], 0x8006
lea ecx, [ebx + 0x1a4]
jne 0x42332b
mov dword [ebx + 0x20], 1
call fcn.00402350
sub esp, 0x18
cmp dword [ebp + 0x10], 0
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
je 0x4232ba
push 0x11
push str.uninstall_success
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 5
mov ecx, esp
push 9
push str.uninstall
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.0040e880
lea ecx, [ebx + 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x42331b
cmp eax, 0x86
jne 0x422baf
mov dword [ebx + 0x20], 1
test ecx, ecx
je 0x422b95
cmp byte [ebx + 0x82], 0
jne 0x422b95
cmp byte [ebx + 0x80], 0
mov esi, str.uninstall
mov byte [ebx + 0x82], 1
jne 0x422b1f
mov esi, str.install
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xd
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.window_active
mov byte [ecx], 0
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 0
mov edx, esp
mov ecx, esi
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov dword [ebp - 0x24], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422b70
sub ecx, dword [ebp - 0x24]
push ecx
push esi
mov ecx, edx
call fcn.0040e880
lea ecx, [ebx + 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
mov dword [edi], 1
cmp dword [ebx + 0x20], 0
je 0x422a3f
mov eax, 1
jmp 0x42332d
cmp eax, 0x83
jne 0x422bdc
mov eax, ecx
neg eax
sbb eax, eax
and eax, 1
mov dword [ebx + 0x20], eax
mov dword [edi], 0
cmp dword [ebx + 0x20], 0
je 0x422a3f
mov eax, 1
jmp 0x42332d
cmp eax, 0x136
jne 0x422c03
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x20], 1
mov dword [edi], eax
cmp dword [ebx + 0x20], 0
je 0x422a3f
mov eax, 1
jmp 0x42332d
cmp eax, 0x138
jne 0x422ca1
push 0x3f4
push dword [ebx + 4]
mov dword [ebx + 0x20], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, eax
jne 0x422c3a
push 0xebe4df
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [ebx + 0x7c]
jmp 0x422c8b
push 0x6b3a1d
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebx + 4]
mov dword [ebp - 0x14], 0
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
neg ecx
push 0
push ecx
neg eax
push eax
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
mov eax, dword [ebx + 0x78]
mov dword [edi], eax
cmp dword [ebx + 0x20], 0
je 0x422a3f
mov eax, 1
jmp 0x42332d
cmp eax, 0x84
jne 0x422d26
push 0x3e9
push dword [ebx + 4]
movsx edi, si
shr esi, 0x10
mov dword [ebx + 0x20], 1
movsx esi, si
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x422d04
mov eax, 2
jmp 0x422d0d
mov dword [ebx + 0x20], 0
xor eax, eax
mov edi, dword [ebp - 0x24]
mov dword [edi], eax
cmp dword [ebx + 0x20], 0
je 0x422a3f
mov eax, 1
jmp 0x42332d
cmp eax, 0x4e
jne 0x422e53
mov dword [ebx + 0x20], 1
cmp ecx, 1
jne 0x422d69
cmp dword [esi + 8], 0xfffffb1f
jne 0x422d5e
mov eax, dword [esi + 0xc]
shr eax, 4
and eax, ecx
push dword [ebx + eax*4 + 0x54]
push ecx
push 0xf7
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4231d9
cmp ecx, 0x3ee
jne 0x422d5e
cmp dword [esi + 8], 0xfffffffe
jne 0x422d5e
push 0x10b8
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x10dc]
push eax
call fcn.004af910
add esp, 0xc
lea ecx, [ebp - 0x106c]
mov eax, 0x512850
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x422dc6
test dx, dx
je 0x422dc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x422dc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x422da0
xor eax, eax
jmp 0x422dcb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x422dd6
mov eax, str.https:__www.reasonsecurity.com_privacy_policy
jmp 0x422e19
lea ecx, [ebp - 0x106c]
mov eax, 0x5128b4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x422e07
test dx, dx
je 0x422e03
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x422e07
add eax, 4
add ecx, 4
test dx, dx
jne 0x422de1
xor eax, eax
jmp 0x422e0c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x422d5e
mov eax, str.https:__www.reasonsecurity.com_terms
push 1
push 0
push 0
push eax
push str.open
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x422d5e
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push str.Error
push str.Could_not_open_link._n_nIn_order_to_use_web_links__you_need_to_have_a_web_browser__e.g._Internet_Explorer_._In_order_to_use_mail_links__you_need_to_have_an_email_client__e.g._Windows_Live_Mail_or_Outlook_.
push dword [ebx + 4]
call esi
jmp 0x4231d9
cmp eax, 0x111
jne 0x422fff
movzx eax, cx
mov edx, 0x3f0
cmp dx, ax
jne 0x422e90
push 0
push 0xf020
push 0x112
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [edi], 0
mov eax, 1
jmp 0x42332d
mov edx, 1
cmp dx, ax
jne 0x422eb8
lea edx, [ebp - 0x24]
shr ecx, 0x10
push edx
push esi
push 1
push ecx
mov ecx, ebx
call fcn.0041f860
mov dword [edi], eax
mov eax, 1
jmp 0x42332d
mov edx, 2
cmp dx, ax
jne 0x422edf
lea eax, [ebp - 0x24]
shr ecx, 0x10
push eax
push esi
push edx
push ecx
mov ecx, ebx
call fcn.0041dd90
mov dword [edi], eax
mov eax, 1
jmp 0x42332d
mov ecx, 0x3fb
cmp cx, ax
jne 0x422a3f
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
push esi
push 0
fstp qword [ebp - 0x18]
call dword [sym.imp.USER32.dll_ReleaseDC]
fld qword [ebp - 0x18]
fdiv qword [0x513a20]
fmul qword [0x513a10]
fld qword [0x5139f0]
fmul st(1), st(0)
faddp st(1)
call fcn.0048ca00
cmp byte [ebx + 0x83], 0
push 0x3fb
push dword [ebx + 4]
sete cl
mov dword [ebp - 0x24], eax
mov byte [ebx + 0x83], cl
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [ebx + 0x83], 0
mov esi, eax
mov eax, dword [ebp - 0x24]
push 0
push eax
push eax
push 1
je 0x422f6c
push 0xd1
jmp 0x422f71
push 0xd2
push dword [0x5459d4]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0xf7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x24]
push 0x16
push eax
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [ebx + 0x83], 0
mov esi, str.checked
jne 0x422fb3
mov esi, str.unchecked
sub esp, 0x18
mov ecx, esi
mov edx, esp
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422fd1
sub ecx, dword [ebp - 0x24]
push ecx
push esi
mov ecx, edx
call fcn.0040e880
lea ecx, [ebx + 0x84]
call fcn.0040bec0
mov dword [edi], 0
mov eax, 1
jmp 0x42332d
cmp eax, 0x8000
jne 0x42302d
push esi
push ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 1
call fcn.0041d890
mov dword [edi], eax
cmp dword [ebx + 0x20], 0
je 0x422a3f
mov eax, 1
jmp 0x42332d
cmp eax, 0x8001
jne 0x4230c5
sub esp, 0x18
mov dword [ebx + 0x20], 1
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x16
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.update_api_query_error
mov byte [ecx], 0
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.install
mov byte [ecx], 0
call fcn.0040e880
lea ecx, [ebx + 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
mov esi, dword [ebx + 0x184]
mov dword [ebx + 0x184], 0
test esi, esi
je 0x4231b9
mov ecx, esi
call fcn.00401ce0
push 0x24
jmp 0x4231b0
cmp eax, 0x8002
jne 0x4230f3
push esi
push ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 1
call fcn.0041e570
mov dword [edi], eax
cmp dword [ebx + 0x20], 0
je 0x422a3f
mov eax, 1
jmp 0x42332d
cmp eax, 0x8003
jne 0x423121
push esi
push ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 1
call fcn.0041e170
mov dword [edi], eax
cmp dword [ebx + 0x20], 0
je 0x422a3f
mov eax, 1
jmp 0x42332d
cmp eax, 0x8004
jne 0x4231f3
sub esp, 0x18
mov dword [ebx + 0x20], 1
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.download_error
mov byte [ecx], 0
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.install
mov byte [ecx], 0
call fcn.0040e880
lea ecx, [ebx + 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
mov esi, dword [ebx + 0x1a0]
mov dword [ebx + 0x1a0], 0
test esi, esi
je 0x4231b9
mov ecx, esi
call fcn.00403110
push 0xc
push esi
call fcn.0048bf7f
add esp, 8
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push str.Error
push str.An_error_occurred_while_downloading_the_files._nPlease_check_your_internet_connection_and_try_again.
push dword [ebx + 4]
call esi
push 0
mov ecx, ebx
call fcn.00420bb0
mov dword [edi], 0
cmp dword [ebx + 0x20], 0
je 0x422a45
mov eax, 1
jmp 0x42332d
cmp eax, 0x8005
jne 0x422a3f
lea ecx, [ebx + 0x1a4]
mov dword [ebx + 0x20], 1
call fcn.00402350
sub esp, 0x18
cmp dword [ebp + 0x10], 0
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
je 0x423253
push 0xf
push str.install_success
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
push 7
push str.install
jmp 0x422aa6
push 0xd
push str.install_error
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.install
mov byte [ecx], 0
call fcn.0040e880
lea ecx, [ebx + 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
push 0
mov ecx, ebx
call fcn.00420bb0
push 0
push str.Error
push str.Installation_failed.
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42331b
push 0xf
push str.uninstall_error
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 6
mov ecx, esp
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.uninstall
mov byte [ecx], 0
call fcn.0040e880
lea ecx, [ebx + 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
push 4
mov ecx, ebx
call fcn.00420bb0
push 0
push str.Error
push str.Uninstallation_failed.
push dword [ebx + 4]
call esi
mov dword [edi], 0
cmp dword [ebx + 0x20], 0
jne 0x422e86
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret 0x18