Function at 0x451e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x78f76f
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x548], eax
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x560]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], ebx
call fcn.004687e0
mov edi, dword [esi + 8]
push 7
push str.ReferId
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], 0x3ff
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
push 0x80000002
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x574], ebx
push edi
lea edx, [esp + 0x164]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 1
call fcn.005ad870
test al, al
je 0x451eff
cmp dword [esp + 0x1c], 1
mov byte [esp + 0x17], 1
je 0x451f03
mov byte [esp + 0x17], bl
mov dword [esp + 0x568], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x451f22
mov edx, dword [esp + 0x24]
push edx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x17], bl
je 0x451f5d
mov eax, dword [esp + 0x18]
mov byte [esp + eax + 0x154], bl
lea eax, [esp + 0x154]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x451f40
sub eax, edx
push eax
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esi + 0x884]
call fcn.004016e0
push 7
push str.ReferId
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
lea edi, [esi + 0x884]
mov ebx, edi
lea eax, [esp + 0x58]
mov dword [esp + 0x568], 1
mov dword [esp + 0x48], edi
call fcn.00438cb0
push eax
lea eax, [esp + 0x24]
lea ebx, [esp + 0x78]
mov ecx, esi
mov byte [esp + 0x56c], 2
call fcn.0046a250
lea ecx, [esp + 0x90]
mov byte [esp + 0x568], 3
call fcn.00438d30
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x574], 4
call fcn.00401530
cmp dword [esp + 0xa8], 0x10
jb 0x451ff8
mov edx, dword [esp + 0x94]
push edx
call fcn.006441c7
add esp, 4
cmp dword [esp + 0x8c], 8
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x452028
mov eax, dword [esp + 0x78]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x70], 8
mov edi, 7
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
jb 0x452056
mov edx, dword [esp + 0x5c]
push edx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x70], edi
or edi, 0xffffffff
xor eax, eax
mov dword [esp + 0x568], edi
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
jb 0x452083
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
push 0xc
push str.RegisterLink
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0x3ff
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
push 0x80000002
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x570], 5
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x164]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 2
call fcn.005ad870
test al, al
je 0x4520f2
cmp dword [esp + 0x1c], 1
mov byte [esp + 0x17], 1
je 0x4520f6
mov byte [esp + 0x17], bl
mov dword [esp + 0x568], edi
cmp dword [esp + 0x38], 0x10
jb 0x452111
mov edx, dword [esp + 0x24]
push edx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x17], bl
je 0x452156
mov eax, dword [esp + 0x18]
mov byte [esp + eax + 0x154], bl
lea eax, [esp + 0x154]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x452130
sub eax, edx
push eax
lea edx, [esp + 0x158]
lea ecx, [esi + 0x3bc]
push edx
mov dword [esp + 0x50], ecx
call fcn.004016e0
jmp 0x45223e
add esi, 0x5c
push esi
mov edi, str.http:__www.popcap.com_register.php_theGame
lea esi, [esp + 0x94]
call fcn.00403060
add esp, 4
push eax
mov edi, 0x81dad8
lea esi, [esp + 0x78]
mov dword [esp + 0x56c], 6
call fcn.00402fb0
add esp, 4
mov ecx, dword [esp + 0x48]
push ecx
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0x570], 7
call fcn.00402f10
add esp, 8
push 0xffffffffffffffff
mov byte [esp + 0x56c], 8
mov ecx, dword [esp + 0x50]
push ebx
add ecx, 0x3bc
push eax
mov dword [esp + 0x54], ecx
call fcn.00401530
cmp dword [esp + 0x70], 0x10
jb 0x4521d8
mov edx, dword [esp + 0x5c]
push edx
call fcn.006441c7
add esp, 4
mov esi, 0x10
mov edi, 0xf
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x8c], esi
jb 0x452204
mov eax, dword [esp + 0x78]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x568], 0xffffffff
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0xa8], esi
jb 0x45223a
mov ecx, dword [esp + 0x94]
push ecx
call fcn.006441c7
add esp, 4
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
push 9
push str.Variation
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0x3ff
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
push 0x80000002
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x574], 9
push edi
lea edx, [esp + 0x164]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 4
call fcn.005ad870
test al, al
je 0x4522ad
cmp dword [esp + 0x1c], 1
mov byte [esp + 0x17], 1
je 0x4522b1
mov byte [esp + 0x17], bl
mov dword [esp + 0x568], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x4522d0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x17], bl
je 0x45230d
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x154]
mov byte [esp + edx + 0x154], bl
lea edx, [eax + 1]
jmp 0x4522f0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4522f0
sub eax, edx
push eax
lea eax, [esp + 0x158]
push eax
lea ecx, [esi + 0x8a0]
call fcn.004016e0
push 0xb
push str.PartnerName
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0x3ff
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
push 0x80000002
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x574], 0xa
push edi
lea edx, [esp + 0x164]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 8
call fcn.005ad870
test al, al
je 0x452378
cmp dword [esp + 0x1c], 1
mov byte [esp + 0x17], 1
je 0x45237c
mov byte [esp + 0x17], bl
mov dword [esp + 0x568], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x45239b
mov eax, dword [esp + 0x24]
push eax
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4523d0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x154]
mov byte [esp + ecx + 0x154], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4523b6
sub eax, edx
push eax
lea edx, [esp + 0x158]
push edx
lea ecx, [esi + 0x40]
call fcn.004016e0
push 0xa
push str.DontUpdate
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
push 0x80000002
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x574], 0xb
push edi
lea edx, [esp + 0x50]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0x10
call fcn.005ad870
test al, al
je 0x452438
cmp dword [esp + 0x1c], 4
mov byte [esp + 0x17], 1
je 0x45243c
mov byte [esp + 0x17], bl
mov dword [esp + 0x568], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x45245b
mov edx, dword [esp + 0x24]
push edx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x17], bl
je 0x45246e
cmp dword [esp + 0x40], ebx
setne al
mov byte [esi + 0x8e1], al
push 0xa
push str.DownloadId
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
push 0x80000002
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x574], 0xc
push edi
lea edx, [esp + 0x50]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0x20
call fcn.005ad870
test al, al
je 0x4524d6
cmp dword [esp + 0x1c], 4
mov byte [esp + 0x17], 1
je 0x4524da
mov byte [esp + 0x17], bl
mov dword [esp + 0x568], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x4524f9
mov eax, dword [esp + 0x24]
push eax
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x17], bl
je 0x452509
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x8bc], ecx
push 0x15
push str.LastVerCheckQueryTime
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
lea eax, [esp + 0x40]
mov dword [esp + 0x568], 0xd
mov edx, dword [edi]
mov edx, dword [edx + 0xb4]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x568], 0xffffffff
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x17], al
jb 0x45256d
mov eax, dword [esp + 0x24]
push eax
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x17], bl
je 0x45257c
mov ecx, dword [esp + 0x40]
jmp 0x452617
push 0x15
push str.LastVerCheckQueryTime
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
push 0x80000002
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x574], 0xe
push edi
lea edx, [esp + 0x50]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], pe_nt_image_headers32
call fcn.005ad870
test al, al
je 0x4525dc
cmp dword [esp + 0x1c], 4
mov byte [esp + 0x17], 1
je 0x4525e0
mov byte [esp + 0x17], bl
cmp dword [esp + 0x38], 0x10
jb 0x4525f4
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x17], bl
je 0x452606
mov edx, dword [esp + 0x40]
mov dword [esi + 0x8dc], edx
jmp 0x45261d
lea eax, [esp + 0x4c]
push eax
call fcn.00644e55
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esi + 0x8dc], ecx
mov eax, 0xf
mov dword [esp + 0x150], eax
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
mov dword [esp + 0x568], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x13c]
push eax
mov byte [esp + 0x570], 0x10
push esi
lea edx, [esp + 0x58]
lea ecx, [esp + 0x128]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x48], ebx
call fcn.004518c0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x140]
mov dword [esi + 0x95c], ecx
push eax
lea ecx, [esi + 0x904]
mov dword [esi + 0x960], edx
call fcn.00401530
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x124]
lea edi, [esi + 0x93c]
push ecx
mov ecx, edi
call fcn.00401530
lea edx, [esi + 0x920]
push edx
push esi
mov ecx, edi
call fcn.00451490
or byte [esi + 0x958], al
push 0xc
push str.RegisterLink
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
mov edi, dword [esp + 0x48]
mov ebx, edi
lea eax, [esp + 0x90]
mov byte [esp + 0x568], 0x11
call fcn.00438cb0
push eax
lea eax, [esp + 0x24]
lea ebx, [esp + 0x78]
mov ecx, esi
mov byte [esp + 0x56c], 0x12
call fcn.0046a250
lea ecx, [esp + 0x58]
mov byte [esp + 0x568], 0x13
call fcn.00438d30
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x574], 0x14
call fcn.00401530
mov edi, 0x10
cmp dword [esp + 0x70], edi
jb 0x452768
mov eax, dword [esp + 0x5c]
push eax
call fcn.006441c7
add esp, 4
cmp dword [esp + 0x8c], 8
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jb 0x45278f
mov ecx, dword [esp + 0x78]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
cmp dword [esp + 0xa8], 8
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
jb 0x4527c2
mov eax, dword [esp + 0x94]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov byte [esp + 0x568], 0x10
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
cmp dword [esp + 0x38], edi
jb 0x4527f9
mov edx, dword [esp + 0x24]
push edx
call fcn.006441c7
add esp, 4
push 0xa
push str.DontUpdate
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
mov byte [esp + 0x568], 0x15
movzx eax, byte [esi + 0x8e1]
push eax
lea eax, [esp + 0x24]
mov ecx, esi
call fcn.0046a070
mov byte [esp + 0x568], 0x10
mov byte [esi + 0x8e1], al
cmp dword [esp + 0x38], edi
jb 0x452855
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
push 0xb
push str.PartnerName
lea ecx, [esp + 0xb4]
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.004016e0
lea edi, [esi + 0x40]
mov ebx, edi
lea eax, [esp + 0xc8]
mov byte [esp + 0x568], 0x16
call fcn.00438cb0
push eax
lea eax, [esp + 0xb0]
lea ebx, [esp + 0x104]
mov ecx, esi
mov byte [esp + 0x56c], 0x17
call fcn.0046a250
lea ecx, [esp + 0xe4]
mov byte [esp + 0x568], 0x18
call fcn.00438d30
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x574], 0x19
call fcn.00401530
mov esi, 0x10
cmp dword [esp + 0xfc], esi
jb 0x4528ff
mov edx, dword [esp + 0xe8]
push edx
call fcn.006441c7
add esp, 4
mov edi, 8
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x118], edi
jb 0x452936
mov eax, dword [esp + 0x104]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov dword [esp + 0x118], 7
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], cx
cmp dword [esp + 0xe0], edi
jb 0x45296b
mov edx, dword [esp + 0xcc]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], ax
cmp dword [esp + 0xc4], esi
jb 0x4529a0
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.006441c7
add esp, 4
cmp dword [esp + 0x134], esi
jb 0x4529b9
mov edx, dword [esp + 0x120]
push edx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x134], 0xf
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
cmp dword [esp + 0x150], esi
jb 0x4529eb
mov eax, dword [esp + 0x13c]
push eax
call fcn.006441c7
add esp, 4
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret