Function at 0x4a8e90
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516075
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
mov eax, dword [0x569f5c]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebx + 0x17c]
push eax
lea ecx, [ebp - 0x148]
push ecx
xor esi, esi
mov byte [ebx + 0x125], 0
mov byte [ebx + 0x124], 0
call fcn.0049acc0
mov edi, eax
lea edx, [ebx + 0x160]
push edx
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 4], esi
call fcn.0049acc0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebx + 4]
add ecx, 0x24
push ecx
lea edx, [ebp - 0xc4]
push str.http:__www.popcap.com_beta_validate.php_prod
push edx
mov byte [ebp - 4], 1
call fcn.00403b70
push str.version
push eax
lea eax, [ebp - 0x1a8]
push eax
mov byte [ebp - 4], 2
call fcn.00403c10
mov ecx, dword [ebx + 4]
add ecx, 0x354
push ecx
push eax
lea edx, [ebp - 0x18c]
push edx
mov byte [ebp - 4], 3
call fcn.004034c0
push 0x535ee8
push eax
lea eax, [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 4
call fcn.00403c10
add esp, 0x40
mov ecx, dword [ebp - 0x38]
push ecx
push eax
lea edx, [ebp - 0x70]
push edx
mov byte [ebp - 4], 5
call fcn.004034c0
push str.pass
push eax
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 6
call fcn.00403c10
push edi
push eax
lea ecx, [ebp - 0xe4]
push ecx
mov byte [ebp - 4], 7
call fcn.004034c0
add esp, 0x24
mov eax, dword [ebp - 0xe8]
mov edi, 0x10
cmp eax, edi
jb 0x4a8fbd
mov edx, dword [ebp - 0xfc]
push edx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x58], edi
mov dword [ebp - 0xe8], 0xf
mov dword [ebp - 0xec], esi
mov byte [ebp - 0xfc], 0
jb 0x4a8fe5
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x1ac], edi
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x6c], 0
jb 0x4a900a
mov ecx, dword [ebp - 0x1c0]
push ecx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x174], edi
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], esi
mov byte [ebp - 0x1c0], 0
jb 0x4a9038
mov edx, dword [ebp - 0x188]
push edx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x190], edi
mov dword [ebp - 0x174], 0xf
mov dword [ebp - 0x178], esi
mov byte [ebp - 0x188], 0
jb 0x4a9066
mov eax, dword [ebp - 0x1a4]
push eax
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0xac], edi
mov dword [ebp - 0x190], 0xf
mov dword [ebp - 0x194], esi
mov byte [ebp - 0x1a4], 0
jb 0x4a9094
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x114], edi
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], esi
mov byte [ebp - 0xc0], 0
jb 0x4a90c2
mov edx, dword [ebp - 0x128]
push edx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x130], edi
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], esi
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 9
jb 0x4a90f4
mov eax, dword [ebp - 0x144]
push eax
call fcn.004fb06d
add esp, 4
lea ecx, [ebp - 0xe4]
lea edi, [ebx + 0x28]
push ecx
mov ecx, edi
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], esi
mov byte [ebp - 0x144], 0
call fcn.004a8d60
push 0xf
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x164], esi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x7f00
push esi
mov dword [ebp - 0x154], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f04
push esi
mov dword [ebp - 0x158], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [0x5a33c0]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x170]
push eax
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x16c], 0x4a6b80
mov dword [ebp - 0x14c], str.ValidateWindow
mov dword [ebp - 0x150], esi
call dword [sym.imp.USER32.dll_RegisterClassA]
push esi
push 0x82ca0000
lea ecx, [ebp - 0x110]
push ecx
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], pe_nt_image_headers32
mov dword [ebp - 0x104], 0x40
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov edx, dword [0x5a33c0]
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
push esi
push edx
mov edx, dword [ebp - 0x10c]
push esi
push esi
sub eax, edx
push eax
sub ecx, dword [ebp - 0x110]
push ecx
push 0x40
push 0x40
push 0x82ca0000
push str.Validating_Beta
push str.ValidateWindow
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0xffffffffffffffeb
push eax
mov dword [ebx + 0x18], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebx + 0x18]
push esi
push 0x14
push esi
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebx + 0x18]
push esi
push 0x3e8
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x5a33c0]
push esi
push ecx
mov edx, dword [ebx + 0x18]
push esi
push edx
push 0x18
push 0xe0
push 0xa
push 0x14
push 0x50000800
push str.Please_Wait
push str.EDIT
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebx + 0x10]
push esi
push ecx
push 0x30
push eax
mov dword [ebx + 0x1c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x5a33c0]
mov eax, dword [ebx + 0x18]
push esi
push edx
push 2
push eax
push 0x16
push 0x60
push 0x24
push 0x48
push 0x50000001
push str.Abort
push str.BUTTON
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebx + 8]
push esi
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx + 0x18]
push edx
mov ecx, ebx
call fcn.00496db0
mov eax, dword [ebx + 0x18]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.00496e30
mov ecx, dword [ebx + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, edi
mov dword [ebx + 0x18], esi
call fcn.004a6a60
test eax, eax
mov ecx, edi
jne 0x4a99f3
lea edx, [ebp - 0xa8]
push edx
call fcn.004a6a70
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x11
call fcn.004a3670
cmp dword [ebp - 0x90], 0x10
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x12
jae 0x4a9323
lea eax, [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.004a2b60
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0xc8]
call fcn.0049b5a0
mov eax, 0xf
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x15
call fcn.00496d90
test al, al
jne 0x4a95e5
lea esp, [esp]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0049b5a0
xor edi, edi
mov dword [ebp - 0xe8], 0xf
mov dword [ebp - 0xec], edi
mov byte [ebp - 0xfc], 0
push 1
push edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
mov byte [ebp - 0x14], 0x20
call fcn.004624d0
mov esi, eax
cmp esi, 0xffffffff
je 0x4a9479
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040e8e0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x18
call fcn.00402f60
cmp dword [ebp - 0x130], 0x10
mov byte [ebp - 4], 0x17
jb 0x4a940e
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.004fb06d
add esp, 4
push esi
push edi
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], edi
mov byte [ebp - 0x144], 0
call fcn.0040e8e0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x19
call fcn.00402f60
cmp dword [ebp - 0x114], 0x10
mov byte [ebp - 4], 0x17
jb 0x4a9462
mov eax, dword [ebp - 0x128]
push eax
call fcn.004fb06d
add esp, 4
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], edi
mov byte [ebp - 0x128], 0
mov eax, str.:ERROR
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9481
mov esi, dword [ebp - 0x5c]
sub eax, edx
cmp esi, esi
mov edi, eax
mov dword [ebp - 0x38], edi
mov edx, esi
jae 0x4a9498
test edx, edx
je 0x4a94ca
cmp edx, edi
mov ecx, edx
jb 0x4a94a4
mov ecx, edi
cmp dword [ebp - 0x58], 0x10
mov esi, dword [ebp - 0x6c]
jae 0x4a94b0
lea esi, [ebp - 0x6c]
mov edi, str.:ERROR
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4a94c0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, dword [ebp - 0x5c]
jne 0x4a94f0
mov edi, dword [ebp - 0x38]
cmp edx, edi
jb 0x4a94f0
xor eax, eax
cmp edx, edi
setne al
test eax, eax
jne 0x4a94f0
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00402f60
jmp 0x4a9575
mov eax, str.:UPDATEURL
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a94f8
sub eax, edx
push eax
push str.:UPDATEURL
push esi
push 0
lea ecx, [ebp - 0x70]
call fcn.00401a00
test eax, eax
jne 0x4a952a
push 0xffffffffffffffff
push eax
lea edx, [ebp - 0x100]
push edx
lea ecx, [ebp - 0x54]
call fcn.00402f60
jmp 0x4a9575
mov eax, str.:COMMENTURL
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9532
sub eax, edx
push eax
mov eax, dword [ebp - 0x5c]
push str.:COMMENTURL
push eax
push 0
lea ecx, [ebp - 0x70]
call fcn.00401a00
test eax, eax
jne 0x4a956a
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebx + 0x128]
call fcn.00402f60
jmp 0x4a9575
mov eax, dword [ebp - 0x5c]
test eax, eax
jbe 0x4a9575
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 0xe8]
mov edi, 0x10
cmp eax, edi
jb 0x4a9593
mov edx, dword [ebp - 0xfc]
push edx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x58], edi
mov esi, 0xf
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xec], 0
mov byte [ebp - 0xfc], 0
mov byte [ebp - 4], 0x15
jb 0x4a95c4
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004fb06d
add esp, 4
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
call fcn.00496d90
test al, al
je 0x4a9380
mov eax, str.SUCCEEDED
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a95f0
mov ecx, dword [ebp - 0x78]
sub eax, edx
push eax
push str.SUCCEEDED
push ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x8c]
call fcn.00401a00
neg eax
sbb al, al
inc al
mov byte [ebp - 0x14], al
jne 0x4a9647
mov eax, str.FAILED
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9624
sub eax, edx
mov edx, dword [ebp - 0x78]
push eax
push str.FAILED
push edx
push edi
lea ecx, [ebp - 0x8c]
call fcn.00401a00
test eax, eax
jne 0x4a9652
mov al, byte [ebp - 0x15]
test al, al
je 0x4a9712
mov esi, 0x10
push esi
push str.Validation_Failed_
push str.Unable_to_parse_Beta_Validation_results__Check_your_internet_connection_and_try_again
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x3c], esi
jb 0x4a967a
mov eax, dword [ebp - 0x50]
push eax
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x1c], esi
mov ebx, 0xf
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x50], 0
jb 0x4a969a
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x74], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
jb 0x4a96b8
mov edx, dword [ebp - 0x88]
push edx
call fcn.004fb06d
add esp, 4
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x88], 0
call fcn.0049b480
cmp dword [ebp - 0x90], esi
jb 0x4a96e7
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0xcc], esi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], edi
mov byte [ebp - 0xa4], 0
jb 0x4a9a3a
mov ecx, dword [ebp - 0xe0]
push ecx
jmp 0x4a9a32
mov eax, str.SUCCEEDED
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9720
sub eax, edx
mov edx, dword [ebp - 0x78]
push eax
push str.SUCCEEDED
push edx
push edi
lea ecx, [ebp - 0x8c]
call fcn.00401a00
test eax, eax
jne 0x4a97fd
mov eax, dword [ebp - 0x3c]
mov esi, 0x10
cmp eax, esi
jb 0x4a975f
mov eax, dword [ebp - 0x50]
push eax
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x1c], esi
mov ebx, 0xf
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x50], 0
jb 0x4a977f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x74], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
jb 0x4a979d
mov edx, dword [ebp - 0x88]
push edx
call fcn.004fb06d
add esp, 4
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x88], 0
call fcn.0049b480
cmp dword [ebp - 0x90], esi
jb 0x4a97cc
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0xcc], esi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], edi
mov byte [ebp - 0xa4], 0
jb 0x4a97f6
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.004fb06d
add esp, 4
mov al, 1
jmp 0x4a9a3c
lea edx, [ebp - 0x8c]
push str.FAILED
push edx
call fcn.00402400
add esp, 8
test al, al
je 0x4a99b3
lea eax, [ebp - 0x34]
push str.Update_Needed
push eax
call fcn.00402400
add esp, 8
test al, al
je 0x4a98a5
push 7
push edi
lea ecx, [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040e8e0
push str.http:__
push eax
mov byte [ebp - 4], 0x1a
call fcn.00402400
add esp, 8
lea ecx, [ebp - 0x1e0]
mov bl, al
mov byte [ebp - 4], 0x15
call fcn.00402220
test bl, bl
je 0x4a98a5
push 0x30
push str.Update_Required_
push str.A_new_version_of_this_product_is_now_available._Click_OK_to_open_a_page_to_download_it_from.
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x4a99b3
cmp dword [ebp - 0x3c], 0x10
mov eax, dword [ebp - 0x50]
jae 0x4a988f
lea eax, [ebp - 0x50]
push 1
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4a9972
lea edx, [ebp - 0x34]
push str.Server_Error
push edx
call fcn.00402400
add esp, 8
test al, al
je 0x4a98cb
push 0x40
push str.Server_Error
push str.Internal_Server_Error__Try_again_later.
jmp 0x4a996b
lea eax, [ebp - 0x34]
push str.Beta_Discontinued
push eax
call fcn.00402400
add esp, 8
test al, al
je 0x4a98ee
push 0x40
push str.Beta_Discontinued
push str.This_product_has_been_removed_from_the_PopCap_Beta_program._nThanks_for_helping_us_test_during_the_beta_period_
jmp 0x4a996b
lea ecx, [ebp - 0x34]
push str.Invalid_Username
push ecx
call fcn.00402400
add esp, 8
test al, al
je 0x4a9911
push 0x10
push str.Invalid_User_Name_
push str.Unable_to_locate_a_PopCap_Beta_account_for_the_supplied_user_name.
jmp 0x4a996b
lea edx, [ebp - 0x34]
push str.Account_Disabled
push edx
call fcn.00402400
add esp, 8
test al, al
je 0x4a9934
push 0x10
push str.Account_Disabled_
push str.This_PopCap_Beta_account_has_been_disabled_
jmp 0x4a996b
lea eax, [ebp - 0x34]
push str.Invalid_Password
push eax
call fcn.00402400
add esp, 8
test al, al
je 0x4a9957
push 0x10
push str.Invalid_Password_
push str.The_password_you_supplied_did_not_match_this_account.
jmp 0x4a996b
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x4a9963
lea eax, [ebp - 0x30]
push 0x10
push str.Error_
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x54]
call fcn.00402220
lea ecx, [ebp - 0x34]
call fcn.00402220
lea ecx, [ebp - 0x8c]
call fcn.00402220
lea ecx, [ebp - 0xc8]
call fcn.0049b480
lea ecx, [ebp - 0xa8]
call fcn.00402220
lea ecx, [ebp - 0xe4]
call fcn.00402220
jmp 0x4a9a3a
lea ecx, [ebp - 0x54]
call fcn.00402220
lea ecx, [ebp - 0x34]
call fcn.00402220
lea ecx, [ebp - 0x8c]
call fcn.00402220
lea ecx, [ebp - 0xc8]
call fcn.0049b480
lea ecx, [ebp - 0xa8]
call fcn.00402220
lea ecx, [ebp - 0xe4]
call fcn.00402220
mov al, 1
jmp 0x4a9a3c
call fcn.004a6a60
cmp eax, 5
jne 0x4a9a0f
cmp dword [ebp - 0xcc], 0x10
jb 0x4a9a3a
mov ecx, dword [ebp - 0xe0]
push ecx
jmp 0x4a9a32
push 0x10
push str.Validation_Failed_
push str.Beta_Validation_failed__Check_your_internet_connection_and_try_again.
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0xcc], 0x10
jb 0x4a9a3a
mov edx, dword [ebp - 0xe0]
push edx
call fcn.004fb06d
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.004fb7a4
mov esp, ebp
pop ebp
ret