Function at 0x50f730
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d525
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.CRegistrationDlg::OnRegCmd
lea ecx, [ebp - 0x78]
call fcn.00562ae0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp eax, 0x1201
jg 0x510293
je 0x50ffbf
cmp eax, 0x1101
jg 0x50fe4a
je 0x50fd58
sub eax, 0x1001
je 0x50fb66
sub eax, 1
je 0x50f9a0
sub eax, 1
jne case.0x5102a1.4618
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.IDS_REG_GOOD_NO_TYPE
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x5f
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x60
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x61
jbe 0x50f80b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call dword [0x63ea98]
lea ecx, [ebp - 0x40]
call fcn.00417eb0
lea ecx, [ebp - 0x88]
call dword [0x63f5ac]
lea ecx, [ebp - 0x90]
call dword [0x63f5ac]
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x65
push eax
lea ecx, [ebp - 0x88]
call dword [0x63ea94]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.PROGRAM_NAME
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x66
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x67
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x65
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x68
jbe 0x50f8a9
mov eax, dword [eax]
push eax
push 0x64bc08
lea ecx, [ebp - 0x88]
call dword [0x63f42c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x65
call fcn.00417eb0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_GOOD_TITLE
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x69
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x6a
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x65
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x6b
jbe 0x50f921
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x90]
call dword [0x63f5a4]
mov byte [ebp - 4], 0x65
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x50f96e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x50f964
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x50f964
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
push 0
push dword [ebp - 0x90]
mov ecx, esi
push dword [ebp - 0x88]
call fcn.00603c9d
lea ecx, [ebp - 0x90]
call dword [0x63f5a8]
lea ecx, [ebp - 0x88]
call dword [0x63f5a8]
jmp 0x50fe1a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_NEWREGISTR
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x52
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x53
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x54
jbe 0x50f9fa
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call dword [0x63ea98]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x56
cmp ecx, 7
jbe 0x50fa47
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x50fa3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x50fa3d
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
lea ecx, [ebp - 0x88]
call dword [0x63f5ac]
lea ecx, [ebp - 0x90]
call dword [0x63f5ac]
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x58
push eax
lea ecx, [ebp - 0x88]
call dword [0x63ea94]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.PROGRAM_NAME
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x59
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x5a
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x58
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x5b
jbe 0x50fad0
mov eax, dword [eax]
push eax
push 0x64bc08
lea ecx, [ebp - 0x88]
call dword [0x63f42c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x58
call fcn.00417eb0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_GOOD_TITLE
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x5c
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x5d
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x58
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x5e
jbe 0x50fb48
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x90]
call dword [0x63f5a4]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x58
call fcn.00417eb0
jmp 0x50f96e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_NEWREGISTR
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x46
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x47
jbe 0x50fbc0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call dword [0x63ea98]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x49
cmp ecx, 7
jbe 0x50fc0d
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x50fc03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x50fc03
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
lea ecx, [ebp - 0x88]
call dword [0x63f5ac]
lea ecx, [ebp - 0x90]
call dword [0x63f5ac]
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x4b
push eax
lea ecx, [ebp - 0x88]
call dword [0x63ea94]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.PROGRAM_NAME
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x4c
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x4d
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x4b
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x4e
jbe 0x50fc96
mov eax, dword [eax]
push eax
push 0x64bc08
lea ecx, [ebp - 0x88]
call dword [0x63f42c]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x4b
cmp ecx, 7
jbe 0x50fce8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x50fcde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x50fcde
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_GOOD_TITLE
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x4f
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x50
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x4b
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x51
jbe 0x50fd42
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x90]
call dword [0x63f5a4]
mov byte [ebp - 4], 0x4b
jmp 0x50f932
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_SN_INVALID
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x32
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x33
jbe 0x50fdb2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call dword [0x63ea98]
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x50fdfd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x50fdf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
push dword [ebp - 0x8c]
mov ecx, esi
call fcn.00510d30
lea ecx, [ebp - 0x8c]
call dword [0x63f5a8]
lea ecx, [ebp - 0x78]
call fcn.005630c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret 4
add eax, 0xffffeefe
cmp eax, 3
ja case.0x5102a1.4618
jmp dword [eax*4 + 0x5109f4]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_NEWREG_LIMIT
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x36
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x37
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x38
jbe 0x50feb9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call dword [0x63ea98]
mov byte [ebp - 4], 0x3a
jmp 0x50fdc3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_INVALIDKEY
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x3c
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x3d
jbe 0x50ff29
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call dword [0x63ea98]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x3f
call fcn.00417eb0
jmp 0x50fe0d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_INVALID_PRODUCT_ID
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x40
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x41
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x42
jbe 0x50ffa1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call dword [0x63ea98]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x44
call fcn.00417eb0
jmp 0x50fe0d
lea ecx, [ebp - 0x88]
call dword [0x63f5ac]
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x84], esp
xorps xmm0, xmm0
push 0x1d
movups xmmword [ecx], xmm0
push str.IDS_REG_FAIL_SAVE_TO_REGISTRY
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x80], esp
xorps xmm0, xmm0
push 0x10
movups xmmword [ecx], xmm0
push str.CRegistrationDlg
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xorps xmm0, xmm0
push 0xc
movups xmmword [ecx], xmm0
push 0x658dd8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 4
jbe 0x51006b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x88]
call dword [0x63f5a4]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x5100b6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5100ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0xc
movups xmmword [ecx], xmm0
push str.PROGRAM_NAME
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x80], esp
xorps xmm0, xmm0
push 0x10
movups xmmword [ecx], xmm0
push str.CRegistrationDlg
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
xorps xmm0, xmm0
push 0xc
movups xmmword [ecx], xmm0
push 0x658dd8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 7
jbe 0x510152
mov eax, dword [eax]
push eax
push 0x64bc08
lea ecx, [ebp - 0x88]
call dword [0x63f42c]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x5101a2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x510198
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
push 0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x15
movups xmmword [ecx], xmm0
push str.IDS_ALERT_WND_CAPTION
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x80], esp
xorps xmm0, xmm0
push 0x10
movups xmmword [ecx], xmm0
push str.CRegistrationDlg
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
xorps xmm0, xmm0
push 0xc
movups xmmword [ecx], xmm0
push 0x658dd8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0xa
jbe 0x510240
mov eax, dword [eax]
push eax
push dword [ebp - 0x88]
mov ecx, esi
call fcn.00603c9d
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x510288
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51027e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
lea ecx, [ebp - 0x88]
jmp 0x50fe20
add eax, 0xffffedfe
cmp eax, 0xe
ja case.0x5102a1.4618
jmp dword [eax*4 + 0x510a04]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_DB_ERROR
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0xd
jbe 0x510302
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00510d30
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x50fe26
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51033e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
jmp 0x50fe26
lea ecx, [ebp - 0x88]
call dword [0x63f5ac]
lea ecx, [ebp - 0x90]
call dword [0x63f5ac]
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_RESET_TRIAL
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x12
jbe 0x5103c3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x88]
call dword [0x63f5a4]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
cmp ecx, 7
jbe 0x51040e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x510404
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.PROGRAM_NAME
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x15
jbe 0x510468
mov eax, dword [eax]
push eax
push 0x64bc08
lea ecx, [ebp - 0x88]
call dword [0x63f42c]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
cmp ecx, 7
jbe 0x5104b8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5104ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_GOOD_TITLE
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x18
jbe 0x510512
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x90]
call dword [0x63f5a4]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
cmp ecx, 7
jbe 0x51055d
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x510553
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
push 0
push dword [ebp - 0x90]
mov ecx, esi
push dword [ebp - 0x88]
call fcn.00603c9d
lea ecx, [ebp - 0x90]
call dword [0x63f5a8]
lea ecx, [ebp - 0x88]
jmp 0x50fe20
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_BAD_RESPONCE
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x1a
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x1b
jbe 0x510302
jmp 0x510300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_BAD_REQUEST
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x1e
jbe 0x510302
jmp 0x510300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_REGISTR_BAD_KEY
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x20
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x21
jbe 0x510302
jmp 0x510300
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_ALERT_WND_CAPTION
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x22
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x23
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x24
jbe 0x510708
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_EMPTYKEY
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x25
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x26
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x24
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x27
jbe 0x510763
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00603c9d
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x5107a5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51079b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x5107f3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5107e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50f95e
push ecx
push edx
call fcn.00604b8c
add esp, 8
push 0
push 5
push 0x1521
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x50fe26
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_INVALIDKEY
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x29
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x2a
jbe 0x510864
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00510d30
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x50fe26
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
jmp 0x510320
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_INTERNAL_ERR
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x2c
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x2d
jbe 0x510864
jmp 0x510862
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.IDS_REG_UNABLE_CONNECT
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x2e
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.CRegistrationDlg
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 0x2f
mov ecx, esp
push 0x658dd8
call fcn.00414770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x30
jbe 0x510864
jmp 0x510862
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x13
movups xmmword [ecx], xmm0
push str.IDS_REG_BAD_NO_TYPE
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 0x6c
mov ecx, esp
mov dword [ebp - 0x80], esp
xorps xmm0, xmm0
push 0x10
movups xmmword [ecx], xmm0
push str.CRegistrationDlg
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 0x6d
mov ecx, esp
xorps xmm0, xmm0
push 0xc
movups xmmword [ecx], xmm0
push 0x658dd8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0x6e
jbe 0x5109de
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call dword [0x63ea98]
mov byte [ebp - 4], 0x70
jmp 0x50fdc3