Function at 0x45b110
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.0x45b15a.5
je 0x45b443
lea ecx, [eax - 1]
cmp ecx, 7
ja case.0x45b15a.5
jmp dword [ecx*4 + 0x45b5a8]
test edi, edi
je 0x45b2a0
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.0046a390
mov al, byte [edi + 0x17]
add esp, 0xc
cmp al, 1
jne 0x45b1c0
push 0x2a
lea eax, [ebp - 0x30]
push eax
push 0x459
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
jmp 0x45b202
cmp al, 2
jne 0x45b202
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 0x45b1d4
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.0045a970
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 0x45b289
mov ecx, dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
lea eax, [ecx + 8]
push eax
lea eax, [ecx + 0x225]
push eax
call fcn.0045b680
add esp, 0xc
test eax, eax
jne 0x45b388
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.004698aa
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x45b2a0
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.0046a390
push 1
push 0
push 0x2a
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x121]
push 0
push eax
call fcn.0045a970
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 0x45b289
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.0045b680
add esp, 0xc
test eax, eax
je 0x45b289
lea eax, [ebp - 0x30]
push eax
push 0x104
push esi
call fcn.0046a4e2
add esp, 0xc
push 1
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x45b2a0
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.004698aa
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.004698aa
mov esp, ebp
pop ebp
ret
push str.SNV5GetDlg_OnCommand___IDPASTE
call fcn.0045f520
add esp, 4
test edi, edi
je 0x45b2a0
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.004698aa
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x42d]
test eax, eax
je 0x45b443
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 0x45b2a0
push 0x29
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x30], 0
push 0
push eax
call fcn.0046a390
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 0x45b489
test byte [edi + 0x18], 2
je 0x45b489
xor eax, eax
cmp ecx, 0x24
jb 0x45b4a3
push 1
push 0
push 0x2a
lea eax, [ebp - 0x30]
push eax
push 0
push eax
call fcn.0045a970
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.004698aa
mov esp, ebp
pop ebp
ret
add eax, 0xfffffba6
cmp eax, 5
ja 0x45b594
cmp dword [ebp + 0x14], 0x300
jne 0x45b2a0
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 0x45b557
cmp byte [edi + 0x1c], 0
jne 0x45b557
cmp dword [ebp + 0xc], esi
jne 0x45b557
cmp eax, 6
jne 0x45b557
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 0x45b514
test edi, edi
je 0x45b585
test byte [edi + 0x18], 2
je 0x45b585
xor eax, eax
cmp ecx, 0x24
sete al
jmp 0x45b4a3
push 1
push 0
push 0x25
lea eax, [ebp - 0x2c]
push eax
jmp 0x45b493
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004698aa
mov esp, ebp
pop ebp
ret