Function at 0x4329a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e0
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 8
push edi
mov dword [ebp - 0x1d4], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1d8], ebx
cmp eax, 0x459
jg case.0x432560.5
je 0x4329c2
lea ecx, [eax - 1]
cmp ecx, 7
ja case.0x432560.5
jmp dword [ecx*4 + 0x432c30]
test ebx, ebx
je 0x43279f
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebx + 0x434]
push 0x51
push eax
push 0x462
push edi
call esi
push 0x51
lea eax, [ebx + 0x4d6]
push eax
push 0x464
push edi
call esi
mov al, byte [ebx + 0x18]
xorps xmm0, xmm0
mov byte [ebp - 0x28], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x1d4], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
cmp al, 1
jne 0x4325ff
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0x459
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov al, byte [ebx + 0x20]
cmp al, 2
je 0x43268a
cmp al, 3
je 0x43268a
cmp al, 1
lea eax, [ebx + 0x24]
push 1
jne 0x4325f8
push 0x18
jmp 0x432691
push 0
jmp 0x432691
cmp al, 2
jne 0x4326ad
mov al, byte [ebx + 0x20]
cmp al, 2
je 0x432656
cmp al, 3
je 0x432656
mov eax, 0x1e
lea ebx, [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x1d4], eax
push eax
push ebx
lea eax, [esi + 0x45a]
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov eax, dword [ebp - 0x1d4]
inc esi
sub eax, 4
add ebx, 4
mov dword [ebp - 0x1d4], eax
cmp esi, 6
jb 0x432622
mov ebx, dword [ebp - 0x1d8]
push 1
push 0x18
jmp 0x43268e
xor esi, esi
xor ebx, ebx
lea ebx, [ebx]
mov eax, 0x24
sub eax, esi
push eax
lea eax, [ebp - 0x28]
add eax, esi
push eax
lea eax, [ebx + 0x45a]
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
inc ebx
add esi, eax
cmp ebx, 7
jl 0x432660
mov ebx, dword [ebp - 0x1d8]
push 1
push 0x1d
lea eax, [ebx + 0x24]
push 0
push 0x104
push eax
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00431c20
add esp, 0x1c
mov dword [ebp - 0x1d4], eax
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xa8]
push 0x40
push eax
push 0x258
push dword [ebx]
call esi
push 0x80
lea eax, [ebp - 0x1a8]
push eax
push 0x2bf
push dword [ebx]
call esi
cmp dword [ebp - 0x1d4], 0
jne 0x432788
movdqu xmm0, xmmword [ebx + 8]
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.0040350a
mov esi, eax
lea eax, [ebp - 0x28]
push esi
push eax
push str.SNV3GetDlg_OnCommand____SerialNumber_Validate__s____d
call fcn.004695f0
add esp, 0xc
test esi, esi
jne 0x432788
movzx eax, byte [ebx + 0x1e]
push eax
movzx eax, byte [ebx + 0x1f]
push eax
movzx eax, byte [ebp - 0x1ce]
push eax
push str.SNV3GetDlg_OnCommand____ProductCode_d_ProductLanguage_d_ProductVersion_d
call fcn.004695f0
mov al, byte [ebx + 0x1d]
add esp, 0x10
test al, al
je 0x43274b
cmp byte [ebp - 0x1ce], al
jne 0x432788
mov al, byte [ebx + 0x1f]
test al, al
je 0x43275a
cmp byte [ebp - 0x1cd], al
jne 0x432788
mov al, byte [ebx + 0x1e]
test al, al
je 0x432769
cmp byte [ebp - 0x1d0], al
jne 0x432788
push 1
push edi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x1a8]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x43279f
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebx + 0x434]
push 0x51
push eax
push 0x462
push edi
call esi
push 0x51
lea eax, [ebx + 0x4d6]
push eax
push 0x464
push edi
call esi
xor eax, eax
mov byte [ebp - 0x28], 0
cmp byte [ebx + 0x20], 2
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x27], xmm0
sete al
mov word [ebp - 7], 0
push eax
push 0
push 0
push 0x24
lea eax, [ebp - 0x28]
mov byte [ebp - 5], 0
push eax
lea eax, [ebx + 0x128]
push 0
push eax
movdqu xmmword [ebp - 0x17], xmm0
call fcn.00431c20
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0x1c
mov edi, eax
lea eax, [ebp - 0xa8]
push 0x40
push eax
push 0x258
push dword [ebx]
call esi
push 0x80
lea eax, [ebp - 0x1a8]
push eax
push 0x2bf
push dword [ebx]
call esi
test edi, edi
jne 0x4328e3
movdqu xmm0, xmmword [ebx + 8]
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.0040350a
mov esi, eax
lea eax, [ebp - 0x28]
push esi
push eax
push str.SNV3GetDlg_OnCommand____SerialNumber_Validate__s____d
call fcn.004695f0
add esp, 0xc
test esi, esi
jne 0x4328e3
mov al, byte [ebx + 0x1d]
test al, al
je 0x43289d
cmp byte [ebp - 0x1ce], al
jne 0x4328e3
mov al, byte [ebx + 0x1f]
test al, al
je 0x4328ac
cmp byte [ebp - 0x1cd], al
jne 0x4328e3
mov al, byte [ebx + 0x1e]
test al, al
je 0x4328bb
cmp byte [ebp - 0x1d0], al
jne 0x4328e3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebx + 0x24]
push 0x104
push eax
call fcn.0046fcbd
add esp, 0xc
push 1
push dword [ebp - 0x1d4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x43279f
push 0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x1d4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push 3
push edi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push 2
push edi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push str.SNV3GetDlg_OnCommand___IDPASTE
call fcn.00469290
add esp, 4
test ebx, ebx
je 0x43279f
xor eax, eax
cmp byte [ebx + 0x18], 1
push 0
push 0
setne al
push 0x302
add eax, 0x459
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x22c]
test eax, eax
je 0x4329c2
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x14], 0x300
jne 0x43279f
push 0x24
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0
push eax
xorps xmm0, xmm0
mov word [ebp - 7], 0
push 0x459
push edi
movdqu xmmword [ebp - 0x27], xmm0
mov byte [ebp - 5], 0
movdqu xmmword [ebp - 0x17], xmm0
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov dl, byte [ebx + 0x20]
mov esi, eax
cmp dl, 2
je 0x432a1a
cmp dl, 3
je 0x432a1a
xor ecx, ecx
mov eax, 0x18
cmp dl, 1
cmove ecx, eax
jmp 0x432a1f
mov ecx, 0x1d
xor eax, eax
test byte [ebx + 0x19], 2
je 0x432a2c
cmp esi, 0x18
jb 0x432a4e
xor eax, eax
cmp dl, 2
sete al
push eax
push ecx
push 0
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push eax
call fcn.00431c20
add esp, 0x1c
neg eax
sbb eax, eax
inc eax
push eax
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
add eax, 0xfffffba6
cmp eax, 6
ja 0x432c1c
cmp dword [ebp + 0x14], 0x300
jne 0x43279f
mov al, byte [ebx + 0x20]
cmp al, 2
je 0x432b50
cmp al, 3
je 0x432b50
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
xor ecx, ecx
movq qword [ebp - 0xf], xmm0
movdqu xmmword [ebp - 0x1f], xmm0
mov dword [ebp - 0x1d8], ecx
mov esi, 0x45a
mov dword [ebp - 0x1d4], 6
jmp 0x432ad0
mov eax, 0x19
sub eax, ecx
push eax
lea eax, [ebp - 0x20]
add eax, ecx
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
cmp byte [ebx + 0x23], 0
mov dword [ebp - 0x1dc], eax
jne 0x432b0f
cmp dword [ebp + 0xc], esi
jne 0x432b0f
cmp eax, 4
jne 0x432b0f
push 0
push 0
push 0x28
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x1d8]
inc esi
add ecx, eax
dec dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], ecx
jne 0x432ad0
xor eax, eax
test byte [ebx + 0x19], 2
je 0x432b39
cmp ecx, 0x18
sete al
jmp 0x432a4e
cmp byte [ebx + 0x20], 2
sete al
push eax
push 0x18
push 0
push 0x19
lea eax, [ebp - 0x20]
push eax
jmp 0x432a3e
xorps xmm0, xmm0
mov byte [ebp - 0x24], 0
xor ecx, ecx
movq qword [ebp - 0x13], xmm0
movdqu xmmword [ebp - 0x23], xmm0
mov dword [ebp - 0xb], 0
mov esi, 0x45a
mov byte [ebp - 7], 0
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1d4], 0x4af0b8
mov dword [ebp - 0x1dc], 7
lea ecx, [ecx]
mov eax, 0x1e
sub eax, ecx
push eax
lea eax, [ebp - 0x24]
add eax, ecx
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
cmp byte [ebx + 0x23], 0
mov dword [ebp - 0x1e0], eax
jne 0x432bd4
cmp dword [ebp + 0xc], esi
jne 0x432bd4
mov ecx, dword [ebp - 0x1d4]
cmp eax, dword [ecx]
jne 0x432bd4
push 0
push 0
push 0x28
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x1d8]
inc esi
add dword [ebp - 0x1d4], 4
add ecx, eax
dec dword [ebp - 0x1dc]
mov dword [ebp - 0x1d8], ecx
jne 0x432b90
xor eax, eax
test byte [ebx + 0x19], 2
je 0x432c05
cmp ecx, 0x1d
sete al
jmp 0x432a4e
cmp byte [ebx + 0x20], 2
sete al
push eax
push 0x1d
push 0
push 0x1e
lea eax, [ebp - 0x24]
push eax
jmp 0x432a3e
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret