Function at 0x402eac
Capabilities:
Encode data using xor
Query or enumerate registry value
Read file on windows

Disassembly:
sub edi, 1
sub edi, ebx
lea edi, [0x4d]
lea eax, [ebx + 0xb9]
lea edi, [6]
inc edi
lea edx, [eax + 8]
add edi, ebx
add edx, edi
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, 0x53
mov edi, eax
push edi
mov ebx, 0x6e
push ebx
mov esi, 0xcd
push esi
xor edx, edx
push edx
mov ebx, dword [sym.imp.USER32.DLL_SendMessageW]
call ebx
or eax, eax
jne section..text
push 0x9ae
pop edx
ror edx, 4
add edx, 0xdd3
sub edx, ebx
sub edx, dword [0x433b69]
sub dword [0x433146], edx
rol edx, 8
sub edx, dword [0x432d85]
add edx, 0x9bd
dec edx
shl edx, 1
add dword [0x432e75], edx
push ecx
push cs
int 0x48
add ah, byte [ebp + 0x6b]
xlatb
sbb edi, dword [eax - 0x1f7106f]
lahf
in al, 0x83
invalid
iretd
sub esi, 1
sub esi, 2
sub edi, 2
lea eax, [0xa]
sub edi, eax
add ebx, edi
call dword [sym.imp.kernel32.dll_ReadFile]
mov edx, 0x1cd08
add edx, 0x415adb
push edx
xor eax, eax
push eax
push 0x54f3b0
pop ecx
push 0x13622c
pop edx
sub ecx, edx
call dword [ecx]
or eax, eax
je 0x40107e
mov eax, 0xffffffff
push eax
mov ecx, 0x619f3264
mov ebx, ecx
push ebx
push 0xf1a7c8
pop ecx
mov ebx, 0xb01758
mov esi, ebx
sub ecx, esi
call dword [ecx]
or eax, eax
jne 0x401097
jmp 0x4012a6
add edi, eax
inc edi
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x6846d21a
push edi
mov ebx, 0x1702dd
add ebx, 0x2c1fb8
push ebx
mov edi, 0x12d5a
mov dword [0x432daa], 0x420bcc
add edi, dword [0x432daa]
push edi
push 0
pop eax
push eax
mov esi, 0x1633b6
mov dword [0x432ab3], 0x2cf547
add esi, dword [0x432ab3]
push esi
push 0x2e44e0
pop eax
add eax, 0x14f00f
push eax
mov edi, 0x53
push edi
mov dword [0x433864], 0
mov ebx, dword [0x433864]
push ebx
mov edi, dword [sym.imp.advapi32.dll_RegEnumValueA]
call edi
or eax, eax
je 0x40119d
leave
ret
lea edx, [edi + 5]
or edi, 0x67
add ebx, 1
or ebx, 0x2a
dec edx
xor esi, esi
push esi
xor esi, esi
push esi
push 0x2b36d6
pop esi
add esi, 0x165a56
push dword [esi]
pop dword [0x433a22]
mov esi, dword [0x433a22]
call esi
or eax, eax
jne 0x401046
xor eax, eax
add dword [0x433a6d], eax
inc eax
mov edi, eax
add edi, 0xbf4
shl edi, 1
sub edi, 0xe12
dec edi
add edi, dword [0x4322bb]
ror edi, 2
sub edi, 0x62a
sub dword [0x433331], edi
jmp 0x4013e6
lea esi, [0xd7]
add eax, edi
xchg esi, esi
call dword [sym.imp.kernel32.dll_ReadFile]
lea ecx, [ebx + str.f0fb]
inc ecx
sub ecx, dword [0x432623]
sub dword [0x4321fe], ecx
rol ecx, 1
sub ecx, 0x708
rol ecx, 7
add ecx, dword [0x4337f3]
sub ecx, eax
add ecx, 0x863
shr ecx, 7
add dword [0x43230c], ecx
ret
mov dword [0x4337c3], ebp
mov eax, dword [0x4337c3]
mov eax, eax
push eax
mov ebp, esp
sub esp, 0x38
push edi
push esi
lea eax, [0x432f89]
push eax
call fcn.00401c7c
mov dword [ebp - 0x10], eax
or eax, eax
jne 0x402ed5
dec edi
push ebx
call fcn.00401ce0
push 0x51ff4
lea eax, [0x432331]
push eax
push eax
call fcn.00401970
mov dword [0x4339e6], eax
or eax, eax
jne 0x402ef9
or eax, 6
push 0
push 0
push 0
push 0
mov ecx, dword [sym.imp.GDI32.DLL_CreateDCA]
call ecx
add edi, esi
push 0
push 0xd48ed
lea eax, [0x432d2a]
push eax
call fcn.004019cc
mov dword [0x4334ac], eax
or eax, eax
je 0x402f29
xchg eax, esi
push 0xc35c9
call fcn.00401858
mov dword [0x433a7d], eax
or eax, eax
jne 0x402f3d
dec edi
lea eax, [0x4322eb]
push eax
sub ebx, eax
mov dword [ebp - 0x2c], esi
push 0xad61c
sub eax, edi
add ebx, esi
push 0x1acf0
push 0x84b7
call fcn.00401b1c
mov dword [ebp - 0x10], eax
or eax, eax
jne 0x402f6c
mov edi, ebx
sub ebx, eax
push 0
push 0xf003f
push 0
push 0
push 0x433892
push 0x80000000
mov ebx, 0x150f6
mov dword [ebp - 0xc], 0x404082
add ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
call ebx
mov edi, 0
mov edx, edi
push edx
mov ecx, 0xc1
mov edi, ecx
push edi
mov dword [0x433b44], 0
mov ebx, dword [0x433b44]
push ebx
push 0
pop ebx
push ebx
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x20]
push esi
mov dword [0x4327ea], 0
mov edx, dword [0x4327ea]
push edx
mov dword [ebp - 0x14], 0x20c84c
mov esi, dword [ebp - 0x14]
shl esi, 1
call dword [esi]
or eax, eax
jne 0x4015dc
mov edi, 0
mov ecx, edi
push ecx
xor edx, edx
push edx
mov ebx, 0x20c896
mov edx, ebx
shl edx, 1
call dword [edx]
or eax, eax
jne 0x4016c4
mov dword [ebp - 0x2c], 1
mov ecx, dword [ebp - 0x2c]
push ecx
mov edi, dword [sym.imp.GDI32.DLL_SaveDC]
call edi
or eax, eax
jne 0x4012c0
push 1
pop edx
push edx
mov ebx, 9
push ebx
mov dword [ebp - 0x24], 0x3ee904
mov esi, dword [ebp - 0x24]
mov dword [0x432db3], 0x2a854
add esi, dword [0x432db3]
push dword [esi]
pop ecx
mov esi, ecx
call esi
or eax, eax
jne 0x401363
xor edi, edi
push edi
xor edx, edx
push edx
mov dword [0x43217a], 0
mov ebx, dword [0x43217a]
push ebx
mov dword [ebp - 0x18], 0
mov edi, dword [ebp - 0x18]
push edi
mov ebx, 4
push ebx
mov dword [ebp - 0x24], 0x10
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, 0xe7
mov ebx, ecx
push ebx
mov eax, 7
push eax
mov eax, dword [sym.imp.GDI32.DLL_ExtTextOutW]
call eax
or eax, eax
jne 0x401097
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push 0
mov dword [0x4320d7], 0x20c860
mov ebx, dword [0x4320d7]
shl ebx, 1
call dword [ebx]
mov ecx, 0
mov edx, ecx
rol edx, 3
add dword [0x433998], edx
sub edx, eax
ror edx, 4
add edx, 0x68d
ror edx, 5
shl edx, 5
add edx, ecx
sub edx, eax
sub dword [0x43345d], edx
mov dword [ebp - 0x30], 0xffffffff
mov ecx, dword [ebp - 0x30]
sub eax, ecx
push eax
push eax
push 0x6c
push eax
push eax
push 0x216401
pop esi
add esi, 0x202ccf
push dword [esi]
pop dword [0x432e62]
mov esi, dword [0x432e62]
call esi
lea esi, [ebx + str._nRJZ]
shr esi, 1
sub dword [0x432c27], esi
add esi, 0x41e
js 0x403143
add esi, ebx
add esi, 0x6a
rol esi, 1
sub esi, dword [0x43284c]
dec esi
sub esi, edi
add dword [0x43219d], esi
mov dword [ebp - 0x38], esi
sub eax, 0x163a35e
xor ebx, ebx
ror ebx, 7
sub ebx, dword [0x43284e]
shr ebx, 1
ror ebx, 2
dec ebx
add ebx, 0xaa
dec ebx
add ebx, ebx
dec ebx
shl ebx, 1
mov dword [ebp - 0x20], ebx
sub eax, 0xfe5c29f7
mov dword [0x432c78], eax
mov dword [0x43222a], 0
mov eax, dword [0x43222a]
push eax
mov edx, 0x90
mov eax, edx
push eax
mov dword [ebp - 0x30], 0x59
mov edi, dword [ebp - 0x30]
push edi
mov esi, 1
mov eax, esi
push eax
mov esi, dword [sym.imp.GDI32.DLL_GetCharWidth32W]
call esi
or eax, eax
jne 0x4013f8
push dword [0x432c78]
mov edi, 0
push edi
mov ebx, 0x59d172
sub ebx, 0x1840ca
call dword [ebx]
or eax, eax
je 0x4015e2
mov edx, 0
inc edx
mov edi, edx
inc edi
shr edi, 7
mov ecx, edi
shl ecx, 1
mov dword [ebp - 0x18], ecx
add ecx, edi
mov dword [ebp - 0x10], ecx
sub dword [0x4326d8], ecx
ret