joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18109dc8
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x20], edi
lea esi, [edi + 0x10]
movzx edx, byte [esi]
lea esi, [esi + 4]
movzx eax, byte [esi - 3]
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [esi - 2]
shl eax, 8
or edx, eax
movzx eax, byte [esi - 1]
or edx, eax
mov dword [ebp + ecx*4 - 0x124], edx
inc ecx
cmp ecx, 0x10
jl 0x18109dde
push 0x40
pop eax
sub eax, ecx
lea ebx, [ebp + ecx*4 - 0x12c]
mov dword [ebp - 4], eax
mov edi, eax
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x18109e1d
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x50]
mov ebx, eax
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x6c]
xor edi, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov ecx, edx
mov esi, ebx
xor ecx, ebx
ror esi, 0xd
and ecx, dword [ebp - 0x10]
and edx, ebx
xor ecx, edx
mov eax, ebx
rol eax, 0xa
xor esi, eax
mov eax, ebx
ror eax, 2
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 8]
mov edx, ecx
mov eax, ecx
rol eax, 7
ror edx, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x18]
xor edx, eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 8]
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
add edx, dword [edi + 0x1819a370]
add edx, dword [ebp + edi - 0x124]
add edi, 4
add edx, dword [ebp - 4]
mov dword [ebp - 4], eax
add ecx, edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], ebx
lea ebx, [edx + esi]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp edi, 0x100
jl 0x18109e8e
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add eax, ebx
add dword [edi + 0x60], ecx
add dword [edi + 0x54], edx
mov ecx, dword [ebp - 0x14]
add dword [edi + 0x64], ecx
mov edx, dword [ebp - 0x10]
add dword [edi + 0x58], edx
mov ecx, dword [ebp - 0x18]
add dword [edi + 0x68], ecx
mov edx, dword [ebp - 0x1c]
add dword [edi + 0x5c], edx
mov ecx, dword [ebp - 4]
add dword [edi + 0x6c], ecx
mov dword [edi + 0x50], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18109f60
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax], fcn.18109f60
mov dword [eax + 0x50], 0x6a09e667
mov dword [eax + 0x54], 0xbb67ae85
mov dword [eax + 0x58], 0x3c6ef372
mov dword [eax + 0x5c], 0xa54ff53a
mov dword [eax + 0x60], 0x510e527f
mov dword [eax + 0x64], 0x9b05688c
mov dword [eax + 0x68], 0x1f83d9ab
mov dword [eax + 0x6c], 0x5be0cd19
pop ebp
ret
Function at 0x1810cb19
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x214]
push edi
xor edi, edi
call fcn.18015061
mov esi, dword [eax]
xor eax, eax
mov word [ebp - 0x210], ax
test esi, esi
je 0x1810cb6b
cmp word [esi], di
je 0x1810cb6b
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.18006f72
cmp byte [ebx], 0
je 0x1810cb94
call fcn.1801f853
lea eax, [ebp - 0x218]
push eax
call fcn.18020f77
xor ebx, ebx
inc ebx
jmp 0x1810cbaa
call fcn.1801f853
lea eax, [ebp - 0x214]
push eax
call fcn.1801fb8f
push 2
mov ebx, edi
pop edi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1800a0da
mov esi, eax
test edi, edi
je 0x1810cbc8
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.18006f72
test ebx, ebx
je 0x1810cbda
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [esi + 0x10]
call fcn.1800ce8f
lea ecx, [esi]
call fcn.18006f72
cmp word [ebp - 0x210], 0
je 0x1810cc00
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x18115e7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x181da9a0]
push edi
push 0xf0
push eax
xor edi, edi
mov dword [ebp - 0x130], ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x18116001
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x18116001
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x18116001
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x18116000
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x134], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x18115f79
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.181374a0
add esp, 0xc
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
push 3
push esi
call fcn.1804d8df
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x130]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc eax
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x108], eax
je 0x18115fee
push dword [ebp - 0x108]
call fcn.1813b3b3
pop ecx
jmp 0x18115fee
mov ecx, 0x1234
cmp cx, ax
jne 0x18115fee
or dword [ebp - 0x128], 0xffffffff
lea eax, [ebp - 0x234]
push 3
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x238], eax
call fcn.1804d8df
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x124], eax
cmp eax, ecx
je 0x18115fcb
push eax
call fcn.1813b3b3
pop ecx
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x130]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x18115ffe
add esi, dword [ebp - 0x134]
test edi, edi
jne 0x18115edb
jmp 0x18116000
xor edi, edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.181227f8
leave
ret 4

Function at 0x1811963f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.1802745d
test al, al
je 0x18119676
push 0x7dc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x181196ae
and dword [ebp - 8], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.180076e8
lea eax, [ebp - 8]
mov ecx, esi
push eax
push 0x7dc
call fcn.18119473
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.181227f8
leave
ret 8
Function at 0x1811cd29
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov dword [eax], 1
mov ebx, ecx
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
push dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x48
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.181374a0
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x5c], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x28], 0
mov edx, eax
mov dword [ebp - 0x60], edx
je 0x1811cd92
mov ecx, dword [ebx + 0x38]
jmp 0x1811cda0
cmp byte [ebx + 0x27], 0
je 0x1811cd9d
mov ecx, dword [ebx + 0x34]
jmp 0x1811cda0
mov ecx, dword [ebx + 0x30]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x44]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 2
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_RoundRect]
cmp byte [ebx + 0x29], 0
je 0x1811cdec
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor edi, edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x1811ce84
mov dword [ebp - 8], edi
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
inc esi
lea ecx, [ebp - 8]
push esi
call fcn.180075b2
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.18009ed8
push dword [ebx + 0x2c]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x27
mov eax, ebx
pop ecx
cmp byte [ecx + eax], 0
je 0x1811ce4b
mov eax, dword [ebx + 0x40]
jmp 0x1811ce4e
mov eax, dword [ebx + 0x3c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x25
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push dword [eax - 0xc]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret 0x10
Function at 0x18122422
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 4
pop edx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x1819f410]
sub edx, 1
jne 0x18122425
mov eax, ecx
ret
Function at 0x18152a1a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.18152697

Function at 0x18159794
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1815960a

Function at 0x1815e150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1815e17d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1815e17d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x12cb3ff0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12cb3ffa
pushal
call 0x12cb4000
pop ebp
sub ebp, 0x10
sub ebp, 0x2cb3ff0
mov al, byte [esp + 0x28]
cmp al, 1
je 0x12cb4024
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x12cb402d
mov eax, 0x2cb3ff0
add eax, ebp
add eax, 0x63
mov ecx, 0x5ac
mov edx, 0x5c1eed9f
xor byte [eax], dl
inc eax
dec ecx
jne 0x12cb4044
jmp 0x12cb4057
adc al, 0x52
adc al, 0x16
mov dword [0x1e9f9f9f], eax
pop esi
lahf
lahf
lahf
pushfd
push edx
daa
cdq
lahf
lahf
lahf
and eax, 0x9f9f9fb7
push 0x14579c7d
push ds
xchg ebx, eax
lahf
lahf
lahf
pushfd
pop edx
iretd
Function at 0x2311d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d64000]
push edi
or ebp, 0xffffffff
jmp 0x2311d22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x2311d29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2311d18
mov eax, 1
add ebx, ebx
jne 0x2311d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x2311d4c
jne 0x2311d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2311d6b
dec eax
add ebx, ebx
jne 0x2311d58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x2311d30
add ebx, ebx
jne 0x2311d67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x2311dbd
xor ecx, ecx
sub eax, 3
jb 0x2311d83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x2311df2
sar eax, 1
mov ebp, eax
jmp 0x2311d8e
add ebx, ebx
jne 0x2311d8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2311d5c
inc ecx
add ebx, ebx
jne 0x2311d9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2311d5c
add ebx, ebx
jne 0x2311da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x2311d9e
jne 0x2311dba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x2311d9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x2311ddc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x2311dce
jmp 0x2311d1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x2311ddc
add edi, ecx
jmp 0x2311d1e
pop esi
mov edi, esi
mov ecx, 0x1aeb9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x2311dfa
cmp byte [edi], 0xb5
jne 0x2311dfa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x2311dff
lea edi, [esi + 0x1ed4000]
mov eax, dword [edi]
or eax, eax
je 0x2311e6e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3777724]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3777868]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x2311e2c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3777870]
or eax, eax
je 0x2311e68
mov dword [ebx], eax
add ebx, 4
jmp 0x2311e49
call dword [esi + 0x377786c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x2311e9f
cmp al, 0xef
ja 0x2311e92
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x2311e74
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x2311e81
mov ebp, dword [esi + 0x3777874]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x2311ed3
sub esp, 0xffffff80
jmp 0x9300e4
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5cdb4d7d
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x33b8785c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x40893f
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
and edi, ecx
sub edi, ecx
call fcn.00408960
xor dword [esi], eax
mov edi, edi
inc esi
sub ecx, edi
add ecx, 1
cmp esi, edx
jne fcn.0040893f
ret
Function at 0x402a49
Capabilities:
Create process on windows

Disassembly:
push 0xb4
mov eax, 0x40b570
call fcn.00404a84
mov dword [ebp - 0x84], ecx
call fcn.0040347d
lea eax, [ebp - 0x48]
push 0x80000001
push eax
call fcn.00403838
lea eax, [ebp - 0x48]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00403102
add esp, 0xc
test al, al
jne 0x402ab2
lea eax, [ebp - 0x64]
push 0x80000002
push eax
call fcn.00403838
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401a1a
push edi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.00401395
lea eax, [ebp - 0x48]
push eax
call fcn.00403102
pop ecx
test al, al
jne 0x402ae6
lea eax, [ebp - 0x64]
push eax
call fcn.004035f9
pop ecx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00401a1a
push edi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.00401395
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x402af2
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.004019e9
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.00403102
pop ecx
mov bl, al
push edi
neg bl
push 1
lea ecx, [ebp - 0x64]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.00401395
inc bl
je 0x402b36
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401395
or eax, 0xffffffff
call fcn.00404ace
ret
mov ecx, dword [ebp - 0x84]
push ecx
lea eax, [ebp - 0x80]
push eax
call fcn.0040285a
mov byte [ebp - 4], 4
cmp dword [ebp - 0x70], edi
jne 0x402b6c
or ebx, 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401395
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401395
mov eax, ebx
jmp 0x402b30
xor eax, eax
push 0xffffffffffffffff
mov word [ebp - 0x2c], ax
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00401708
mov esi, 0x40c32c
push esi
mov byte [ebp - 4], 5
call fcn.00404541
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401846
mov esi, 0x40c328
push esi
call fcn.00404541
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401846
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004017a3
push 0x38
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.00404f10
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0xc0], 0x3c
mov dword [ebp - 0xbc], 0x400
mov dword [ebp - 0xb4], str.open
jae 0x402c06
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x84]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x402c1d
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
xor esi, esi
lea eax, [ebp - 0xc0]
inc esi
push eax
mov dword [ebp - 0xa4], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push esi
lea ecx, [ebp - 0x2c]
mov ebx, eax
call fcn.00401395
jmp 0x402b52