Function at 0x45b3d5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 8
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b4], edi
cmp eax, 0x459
jg case.0x45b10a.5
je 0x45b3f3
lea ecx, [eax - 1]
cmp ecx, 7
ja case.0x45b10a.5
jmp dword [ecx*4 + 0x45b558]
test edi, edi
je 0x45b250
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [edi + 0x635]
push 0x51
push eax
push 0x462
push ebx
call esi
push 0x51
lea eax, [edi + 0x6d7]
push eax
push 0x464
push ebx
call esi
push 0x29
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x30], 0
push 0
push eax
call fcn.0046a330
mov al, byte [edi + 0x17]
add esp, 0xc
cmp al, 1
jne 0x45b170
push 0x2a
lea eax, [ebp - 0x30]
push eax
push 0x459
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
jmp 0x45b1b2
cmp al, 2
jne 0x45b1b2
mov eax, 0x2a
lea edi, [ebp - 0x30]
xor esi, esi
mov dword [ebp - 0x1b8], eax
push eax
push edi
lea eax, [esi + 0x45a]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov eax, dword [ebp - 0x1b8]
inc esi
sub eax, 6
add edi, 6
mov dword [ebp - 0x1b8], eax
cmp esi, 6
jb 0x45b184
mov edi, dword [ebp - 0x1b4]
push 1
push 0
lea eax, [edi + 0x1d]
push 0x104
push eax
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.0045a930
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0xb0]
push 0x40
push eax
mov eax, dword [ebp - 0x1b4]
push 0x258
push dword [eax]
call esi
push 0x80
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x1b4]
push 0x2bf
push dword [eax]
call esi
test edi, edi
jne 0x45b239
mov ecx, dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
lea eax, [ecx + 8]
push eax
lea eax, [ecx + 0x225]
push eax
call fcn.0045b630
add esp, 0xc
test eax, eax
jne 0x45b338
push 0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x1b0]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x45b250
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [edi + 0x635]
push 0x51
push eax
push 0x462
push ebx
call esi
push 0x51
lea eax, [edi + 0x6d7]
push eax
push 0x464
push ebx
call esi
push 0x29
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x30], 0
push 0
push eax
call fcn.0046a330
push 1
push 0
push 0x2a
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x121]
push 0
push eax
call fcn.0045a930
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0x24
mov edi, eax
lea eax, [ebp - 0xb0]
push 0x40
push eax
mov eax, dword [ebp - 0x1b4]
push 0x258
push dword [eax]
call esi
push 0x80
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x1b4]
push 0x2bf
push dword [eax]
call esi
test edi, edi
jne 0x45b239
mov ecx, dword [ebp - 0x1b4]
lea esi, [ecx + 0x1d]
lea eax, [ecx + 8]
push esi
push eax
lea eax, [ecx + 0x225]
push eax
call fcn.0045b630
add esp, 0xc
test eax, eax
je 0x45b239
lea eax, [ebp - 0x30]
push eax
push 0x104
push esi
call fcn.0046a482
add esp, 0xc
push 1
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x45b250
push 3
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
push 2
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
push str.SNV5GetDlg_OnCommand___IDPASTE
call fcn.0045f4c0
add esp, 4
test edi, edi
je 0x45b250
xor eax, eax
cmp byte [edi + 0x17], 1
push 0
push 0
setne al
push 0x302
add eax, 0x459
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x42d]
test eax, eax
je 0x45b3f3
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 0x45b250
push 0x29
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x30], 0
push 0
push eax
call fcn.0046a330
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x2a
push eax
push 0x459
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov ecx, eax
test edi, edi
je 0x45b439
test byte [edi + 0x18], 2
je 0x45b439
xor eax, eax
cmp ecx, 0x24
jb 0x45b453
push 1
push 0
push 0x2a
lea eax, [ebp - 0x30]
push eax
push 0
push eax
call fcn.0045a930
add esp, 0x18
neg eax
sbb eax, eax
inc eax
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
add eax, 0xfffffba6
cmp eax, 5
ja 0x45b544
cmp dword [ebp + 0x14], 0x300
jne 0x45b250
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0
movdqu xmmword [ebp - 0x2b], xmm0
mov dword [ebp - 0x1b8], ecx
mov esi, 0x45a
movdqu xmmword [ebp - 0x1b], xmm0
mov dword [ebp - 0x1b4], 6
mov eax, 0x25
sub eax, ecx
push eax
lea eax, [ebp - 0x2c]
add eax, ecx
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov dword [ebp - 0x1bc], eax
test edi, edi
je 0x45b507
cmp byte [edi + 0x1c], 0
jne 0x45b507
cmp dword [ebp + 0xc], esi
jne 0x45b507
cmp eax, 6
jne 0x45b507
push 0
push 0
push 0x28
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1b8]
inc esi
add ecx, eax
dec dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ecx
jne 0x45b4c4
test edi, edi
je 0x45b535
test byte [edi + 0x18], 2
je 0x45b535
xor eax, eax
cmp ecx, 0x24
sete al
jmp 0x45b453
push 1
push 0
push 0x25
lea eax, [ebp - 0x2c]
push eax
jmp 0x45b443
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret