joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026b9e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10043230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10021910
mov dword [ebp - 0x14], eax
cmp dword [0x10045d68], edi
jne 0x10026c8f
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10026c1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10026d6f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10026d6f
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10026d6f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10045d68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10045d6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10045d70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10045d78], eax
test eax, eax
je 0x10026c8c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10045d74], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10026cb4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10026ca7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x10026cc9
push 4
pop eax
jmp 0x10026d71
cmp dword [ebp - 0x14], edi
je 0x10026cc9
push dword [0x10045d68]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10026cae
mov eax, dword [0x10045d74]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10026d27
cmp dword [0x10045d78], esi
je 0x10026d27
push eax
call ebx
push dword [0x10045d78]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10026d27
test eax, eax
je 0x10026d27
call ecx
test eax, eax
je 0x10026d1c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10026d1c
test byte [ebp - 8], 1
jne 0x10026d27
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10026d57
mov eax, dword [0x10045d6c]
cmp eax, esi
je 0x10026d54
push eax
call ebx
test eax, eax
je 0x10026d54
call eax
mov edi, eax
test edi, edi
je 0x10026d54
mov eax, dword [0x10045d70]
cmp eax, esi
je 0x10026d54
push eax
call ebx
test eax, eax
je 0x10026d54
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10045d68]
call ebx
test eax, eax
je 0x10026d6f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10026d71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001bb54
leave
ret
Function at 0x1002c6a2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10020b4d
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1002c6da
xor eax, eax
jmp 0x1002c706
cmp esi, dword [ebp - 4]
je 0x1002c703
cmp dword [ebp + 0xc], 0
je 0x1002c703
push dword [edi + 0x9c]
call fcn.1002c2b0
push dword [edi + 0x9c]
mov esi, eax
call fcn.10021df2
pop ecx
pop ecx
cmp esi, eax
je 0x1002c6d6
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x1102270
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x11022aa
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0x11022b1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0x1102290
jmp 0x11022b3
mov eax, 0x1505
jmp 0x11022b3
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0x11029d0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x1102b76
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x1102b6f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
mov eax, edx
jmp 0x1102a65
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov eax, 0x15b0
je 0x1102b6f
xor ebx, ebx
cmp eax, 8
mov dword [esp], eax
mov dword [esp + 8], esi
jb 0x1102ae2
mov ebx, eax
and ebx, 0x1ff8
mov edx, 7
movzx eax, byte [ebp + edx - 7]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx - 6]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx - 5]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx - 4]
add esi, eax
mov eax, ecx
xor eax, esi
and ecx, esi
movzx edi, byte [ebp + edx - 3]
add edi, esi
movzx esi, byte [ebp + edx - 2]
add esi, edi
add edi, eax
lea ecx, [edi + ecx*2]
movzx eax, byte [ebp + edx - 1]
add eax, esi
add ecx, esi
movzx edi, byte [ebp + edx]
add edi, eax
add ecx, eax
mov eax, dword [esp]
add ecx, edi
add edx, 8
cmp edx, eax
jb 0x1102a80
add ebp, edx
add ebp, 0xfffffff9
mov esi, dword [esp + 8]
mov edx, ebx
sub edx, eax
jae 0x1102a2d
mov dword [esp + 0xc], edx
and eax, 3
mov dword [esp + 4], ebx
je 0x1102b20
neg eax
xor ebx, ebx
mov edx, ebp
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x1102b00
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x1102a20
jmp 0x1102b2f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x1102a20
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x1102b40
jmp 0x1102a20
shl ecx, 0x10
or ecx, edi
jmp 0x1102b7b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1102b90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1102bbe
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x1102c5c
not eax
test bl, 1
jne 0x1102bc5
mov edx, ebx
cmp ebx, 1
jne 0x1102bf6
jmp 0x1102c5a
xor eax, eax
jmp 0x1102c5c
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x113e80c]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x113e80c]
cmp ebx, 1
je 0x1102c5a
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x113e80c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x113e80c]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x113e80c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x113e80c]
add esi, 2
cmp edx, esi
jne 0x1102c00
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x1107c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1107c2b
mov ebx, dword [esp + 0x18]
cmp eax, 1
jne 0x1107c33
mov word [ebx], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, word [ebx + 4]
add word [ebx], cx
cmp eax, 3
jl 0x1107ccb
mov edx, 2
mov ecx, 2
sub ecx, eax
mov dword [esp], ecx
xor edi, edi
mov ebx, 1
jmp 0x1107c79
movzx ebp, word [esi + edi*4]
add word [esi + ebx*4], bp
mov word [esi + edi*4], bx
inc edi
mov ecx, dword [esp]
add ecx, ebx
inc ecx
inc ebx
cmp ecx, 1
je 0x1107cda
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + edi*4]
cmp edx, eax
jge 0x1107c8e
movzx ebp, word [esi + edx*4]
cmp cx, bp
jae 0x1107ca0
mov word [esi + ebx*4], cx
mov word [esi + edi*4], bx
inc edi
cmp edx, eax
jge 0x1107c60
jmp 0x1107ca9
inc edx
mov word [esi + ebx*4], bp
cmp edx, eax
jge 0x1107c60
cmp edi, ebx
jge 0x1107cc0
movzx ebp, word [esi + edi*4]
movzx ecx, word [esi + edx*4]
cmp bp, cx
jb 0x1107c64
jmp 0x1107cc4
movzx ecx, word [esi + edx*4]
inc edx
add word [esi + ebx*4], cx
jmp 0x1107c6d
lea edx, [eax - 2]
mov word [ebx + eax*4 - 8], 0
jmp 0x1107d62
lea edx, [eax - 2]
mov ebx, dword [esp + 0x18]
mov word [ebx + eax*4 - 8], 0
cmp eax, 3
jl 0x1107d62
lea edi, [eax - 3]
mov ebp, ebx
mov ebx, eax
and ebx, 3
xor ebx, 2
mov esi, edi
je 0x1107d14
mov esi, edi
movzx ecx, word [ebp + esi*4]
movzx ecx, word [ebp + ecx*4]
inc ecx
mov word [ebp + esi*4], cx
dec esi
dec ebx
jne 0x1107d00
mov ebx, dword [esp + 0x18]
cmp edi, 3
jb 0x1107d62
nop
nop
nop
movzx ecx, word [ebx + esi*4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4], cx
movzx ecx, word [ebx + esi*4 - 4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 4], cx
movzx ecx, word [ebx + esi*4 - 8]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 8], cx
movzx ecx, word [ebx + esi*4 - 0xc]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 0xc], cx
add esi, 0xfffffffc
cmp esi, 0xffffffff
jne 0x1107d20
dec eax
mov ecx, 1
xor esi, esi
jmp 0x1107d7c
lea ecx, [edi + edi]
inc esi
test edi, edi
je 0x1107c2b
test edx, edx
mov dword [esp], ecx
js 0x1107db0
lea edi, [edx + 1]
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx + edx*4]
cmp esi, ecx
jne 0x1107dc0
inc ebp
dec edx
cmp edi, ebp
jne 0x1107d90
mov edx, 0xffffffff
jmp 0x1107dc2
xor edi, edi
jmp 0x1107dc5
mov edi, ebp
mov ecx, dword [esp]
mov ebp, ecx
sub ebp, edi
jle 0x1107d70
and ebp, 3
je 0x1107df8
lea ecx, [ebx + eax*4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], si
inc ebx
add ecx, 0xfffffffc
cmp ebp, ebx
jne 0x1107de0
mov ebp, dword [esp]
sub ebp, ebx
sub eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0x1107dfa
mov ebp, ecx
mov ecx, edi
sub ecx, dword [esp]
cmp ecx, 0xfffffffc
ja 0x1107d70
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx + eax*4], si
mov word [ebx + eax*4 - 4], si
mov word [ebx + eax*4 - 8], si
mov word [ebx + eax*4 - 0xc], si
add eax, 0xfffffffc
add ebp, 0xfffffffc
cmp ebp, edi
jg 0x1107e10
jmp 0x1107d70
Function at 0x1108610
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0x1145bd8]
cmp eax, 0x270
jne 0x110866f
mov eax, 0xfffff640
mov edx, dword [0x1145bdc]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0x11465a0]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x1146bd0]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x1146f5c], esi
add eax, 4
jne 0x1108630
mov eax, 0x270
jmp 0x1108685
cmp eax, 0x4e0
jb 0x1108685
mov ecx, 0x1145bd8
call fcn.01108910
mov eax, dword [0x1145bd8]
lea ecx, [eax + 1]
mov dword [0x1145bd8], ecx
mov eax, dword [eax*4 + 0x1145bdc]
mov edx, eax
shr edx, 0xb
and edx, dword [0x1146f5c]
xor edx, eax
mov ecx, edx
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, edx
mov edx, ecx
shl edx, 0xf
and edx, 0xefc40000
xor edx, ecx
shr edx, 0x12
lea eax, [edx + ecx]
and edx, ecx
add edx, edx
sub eax, edx
and eax, 0x7fff
pop esi
ret

Function at 0x1108910
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
and edi, 0x80000000
mov edx, dword [ecx + eax*4 - 0x630]
mov ebx, edx
and ebx, 0x7ffffffe
or ebx, edi
shr ebx, 1
mov esi, edx
and esi, 1
neg esi
and esi, 0x9908b0df
mov edi, ebx
and edi, esi
add esi, ebx
add edi, edi
sub esi, edi
xor esi, dword [ecx + eax*4]
mov edi, edx
mov dword [ecx + eax*4 - 0xff4], esi
inc eax
cmp eax, 0x4e1
jne 0x1108920
mov esi, dword [ecx + 0xd50]
mov eax, 0xe4
mov edx, 0x1c6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebx, [eax - 1]
mov edi, dword [ecx + eax*4 + 0x9c4]
xor ebx, 0x270
mov ebp, edx
and ebp, 0x31e
sub ebp, ebx
mov ebx, ebp
and ebx, 0x18d
xor ebp, 0x18d
lea ebx, [ebx*2]
add ebx, ebp
mov ebp, edi
and ebp, 1
neg ebp
and ebp, 0x9908b0df
xor ebp, dword [ecx + ebx*4 + 4]
mov ebx, edi
and esi, 0x80000000
and ebx, 0x7ffffffe
or ebx, esi
shr ebx, 1
xor ebp, ebx
mov dword [ecx + eax*4], ebp
mov esi, edi
inc eax
add edx, 2
cmp eax, 0x270
jne 0x1108980
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1109950
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c4
push eax
sub esp, 0x7c
mov dword [ebp - 0x40], esp
sub esp, 0x100
mov eax, esp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
push eax
mov ebx, esp
push eax
mov dword [ebp - 0x2c], esp
sub esp, 0x6c
mov dword [ebp - 0x14], esp
sub esp, 0x24
mov dword [ebp - 0x38], esp
sub esp, 8
mov dword [ebp - 0x3c], esp
sub esp, 0x40
mov dword [ebp - 0x28], esp
sub esp, 0x80
mov dword [ebp - 0x34], esp
mov esi, dword [0x1146fb8]
mov dword [ebp - 0x1c], 0x244c2c4b
xor edx, edx
mov al, 1
nop
nop
nop
nop
nop
nop
movzx edi, word [ebp + edx*2 - 0x1c]
lea ecx, [edx + 0xa2f3733]
and ecx, 0xa083317
add ecx, 0xfb7f7fc0
xor ecx, edi
add ecx, 0xd3c26967
mov edi, ecx
and edi, 1
xor ecx, 1
lea ecx, [ecx + edi*2]
mov word [ebp + edx*2 - 0x1c], cx
mov edx, 1
xor ecx, ecx
test al, 1
mov eax, 0
jne 0x11099b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1d0], 0x77527757
mov dword [ebp - 0x1cc], 0x777c7710
mov dword [ebp - 0x1c8], 0x77177717
mov dword [ebp - 0x1c4], 0x77437708
mov dword [ebp - 0x1c0], 0x77457744
mov word [ebp - 0x1bc], 0x772a
nop
nop
nop
lea edx, [ecx + 0x4620]
xor dx, word [ebp + ecx*2 - 0x1d0]
add edx, 0xffffcf00
mov word [ebp + ecx*2 - 0x1d0], dx
inc ecx
cmp ecx, 0xb
jne 0x1109a30
lea edi, [ebp - 0x1d0]
push eax
push 0
push edi
call esi
mov ecx, 0x1146fbc
push eax
call 0x1139230
movzx eax, al
mov eax, dword [eax*4 + 0x1141310]
mov ecx, 0xd6b78ddf
xor ecx, dword [0x1141318]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx
Function at 0x111a020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x18], 0x18e31827
mov dword [esp + 0x1c], 0x18e418f9
mov dword [esp + 0x20], 0x180d18e2
mov eax, 0x4a48
mov ecx, 0xab1cb5b7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + eax*2 - 0x9478]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
lea esi, [edx + edx]
not esi
add esi, edx
add esi, 0x58e5adbf
mov edi, esi
and edi, 1
and esi, 0xfffe
and edx, 1
or edx, esi
xor edx, 1
lea edx, [edx + edi*2]
mov word [esp + eax*2 - 0x9478], dx
inc eax
dec ecx
cmp eax, 0x4a4e
jne 0x111a060
mov dword [esp + 0x30], 0xf8cdf8d0
mov dword [esp + 0x34], 0xf8cbf8ce
mov dword [esp + 0x38], 0xf712f706
mov dword [esp + 0x3c], 0xf8d3f711
mov dword [esp + 0x40], 0xf922f92f
mov dword [esp + 0x44], 0xf92ff923
mov dword [esp + 0x48], 0xf92af92c
mov dword [esp + 0x4c], 0xf933f935
mov dword [esp + 0x50], 0xf6c9f6f2
xor eax, eax
nop
nop
lea ecx, [eax + 0x70f8]
xor cx, word [esp + eax*2 + 0x30]
add ecx, 0x7840
mov word [esp + eax*2 + 0x30], cx
inc eax
cmp eax, 0x12
jne 0x111a0f0
movzx ecx, word [esp + 0x30]
lea eax, [esp + 0x15c]
test cx, cx
je 0x111a143
lea edx, [esp + 0x32]
mov esi, dword [ebp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x111a130
jmp 0x111a146
mov esi, dword [ebp + 0x10]
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x111a171
lea edx, [esi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x111a160
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0x111a1a1
lea edx, [esp + 0x1a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x111a190
mov word [eax], 0
mov edi, dword [ebx]
mov dword [esp + 0x30], 0x5cd0520
mov word [esp + 0x34], 0x7e2c
mov eax, 0xf1fa
mov ecx, 0xe05
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2 - 0x1e3c4]
mov esi, edx
not esi
or esi, ecx
or edx, eax
and edx, esi
add edx, 0x7030
mov word [esp + eax*2 - 0x1e3c4], dx
inc eax
dec ecx
cmp eax, 0xf1fd
jne 0x111a1d0
movzx eax, byte [esp + 0x30]
test al, al
je 0x111a21b
lea ecx, [esp + 0x31]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x111a210
mov dword [esp + 0x10], edi
mov byte [edi], 0
lea eax, [esp + 0x140]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x2c]
lea esi, [esp + 0x15c]
push eax
push ecx
push edx
push esi
call fcn.0110ad10
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x1142580]
mov ecx, 0xf7d41967
xor ecx, dword [0x1142588]
add eax, ecx
inc eax
jmp eax
Function at 0x13fdb30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov dword [esp], 0xeeffee2e
xor eax, eax
mov cl, 1
movzx edi, word [esp + eax*2]
mov edx, eax
or edx, 0x596e3a8e
lea ebx, [edi + edi]
not ebx
add ebx, edi
mov ebp, eax
xor ebp, 1
mov esi, 0xc571
sub esi, eax
or esi, ebp
and esi, edi
not edi
or edi, ebx
and edi, edx
or esi, edi
mov ebx, esi
not ebx
lea edi, [esi + ebx*2]
mov edx, 0xfffffffe
sub edx, edi
mov ebp, edx
xor ebp, 0xd470
mov edi, edx
or edi, 0x2b8f
and edi, ebp
lea esi, [esi + ebx*2]
inc esi
mov ebx, esi
not ebx
and esi, 0xc315
and edx, 0x3cea
or edx, esi
xor edx, 0xe89a
and ebx, 0x2b8f
or ebx, edx
lea edx, [ebx + edi]
inc edx
mov word [esp + eax*2], dx
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x13fdb40
mov eax, dword [esp]
mov eax, dword fs:[eax]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x13fdf90
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx ecx, word [eax]
mov dword [esp + 4], 0x1d827b5c
xor edx, edx
mov bl, 1
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + edx*2 + 4]
lea eax, [edx + edx*2]
mov edi, eax
xor edi, 0xac7e03c9
lea ebp, [esi + esi]
not ebp
add ebp, esi
and ebp, edi
xor eax, 0xfc36
and eax, esi
or eax, ebp
mov esi, eax
not esi
lea eax, [eax + esi*2]
mov esi, 0xffffe1b6
sub esi, eax
mov word [esp + edx*2 + 4], si
mov edx, 1
xor eax, eax
test bl, 1
mov ebx, 0
jne 0x13fdfb0
xor edx, edx
cmp dword [esp + 4], ecx
setne dl
jmp dword [edx*4 + 0x1145b48]

Function at 0x13fe9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x785d785e
xor esi, esi
mov dl, 1
nop
nop
nop
nop
nop
nop
movzx ecx, word [esp + esi*2]
mov ebx, 0x6366
sub ebx, esi
mov eax, esi
add eax, 0x5d6e9c99
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov eax, ebx
mov ecx, ebx
xor ecx, 0x148b1b37
add ecx, ebx
and ebx, 0x140a1b37
and eax, 0x4964e4c8
sub ecx, eax
mov eax, ecx
and eax, ebx
xor ecx, ebx
lea eax, [ecx + eax*2]
inc eax
mov word [esp + esi*2], ax
mov esi, 1
test dl, 1
mov edx, 0
jne 0x13fe9e0
mov eax, dword [esp]
mov edx, dword [0x11482e0]
test edx, edx
je 0x13fea88
xor ebx, ebx
mov ecx, dword [0x11482e4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0xa269eeef
je 0x13fea60
inc ebx
cmp edx, ebx
jne 0x13fea50
jmp 0x13fea88
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x13fea88
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x11482e8]
call fcn.013fc2c0
add esp, 0x20
test edi, edi
je 0x13fea92
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x13feaa1
cmp byte [esp + 0x15], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x13fee20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x13fee40
sar ebx, 1
mov ebp, ebx
and ebp, 0xfffd
mov ecx, ebx
and ecx, 2
or ebx, 2
imul ebx, ecx
xor ecx, 2
imul ecx, ebp
lea ebp, [ecx + ebx]
mov word [esp + 4], bp
add ecx, ebx
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x785d785e
xor eax, eax
mov bl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [esp + eax*2]
mov edi, 0x6366
sub edi, eax
mov ebp, eax
add ebp, 0x5d6e9c99
xor edi, ebp
and edi, ecx
xor edi, ebp
mov ecx, edi
mov ebp, edi
xor ebp, 0x148b1b37
add ebp, edi
and edi, 0x140a1b37
and ecx, 0x4964e4c8
sub ebp, ecx
mov ecx, ebp
and ecx, edi
xor ebp, edi
lea ecx, [ecx*2 + 1]
add ecx, ebp
mov word [esp + eax*2], cx
mov eax, 1
test bl, 1
mov ebx, 0
jne 0x13feec0
mov eax, dword [esp]
mov edi, dword [0x11482e0]
test edi, edi
je 0x13fef65
xor ebx, ebx
mov ebp, dword [0x11482e4]
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xb7847e1b
je 0x13fef41
inc ebx
cmp edi, ebx
jne 0x13fef30
jmp 0x13fef65
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x13fef65
lea eax, [esp + 0xc]
push esi
push eax
push edx
push dword [esp + 0x48]
push 0x10
push edi
push dword [0x11482e8]
call fcn.013fc2c0
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401000
Capabilities:
Get file size
Read file on windows
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10110
call fcn.0040b6a0
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
lea eax, [ebp - 0x10c]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
lea ecx, [eax - 0x5001]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x10110]
push eax
push 0x10000
lea eax, [ebp - 0x1010c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push 3
push ebx
push 3
push 0x10000000
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4010c7
push 0x10
push str.Error
push str.Failed_1
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
lea eax, [ebp - 0x10110]
push eax
push 0x10000
lea eax, [ebp - 0x1010c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4010fd
push 0x10
push str.Error
push str.Failed_2
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 2
jmp 0x4010c1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401364
leave
ret