joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100016d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b248
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10084014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x1007adb0]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x59436f49
mov dword [ebp - 0x28], 0x5e495842
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x17
jb 0x10001714
mov byte [ebp - 0x24], 0
mov cl, 0x44
mov dword [ebp - 0x1c], 0x36212f44
xor eax, eax
mov dword [ebp - 0x18], 0x7728212a
mov dword [ebp - 0x14], 0x28206a76
mov word [ebp - 0x10], 0x28
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x10001753
mov cl, byte [ebp - 0x1c]
jmp 0x10001744
lea eax, [ebp - 0x3b]
mov byte [ebp - 0xf], 0
push eax
lea eax, [ebp - 0x1b]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10018d20
cmp al, 0xe9
jne 0x100017fa
movaps xmm0, xmmword [0x1007b2b0]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x73
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x10
jb 0x10001790
cmp byte [ebp - 0x1f], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x100017bd
xor ecx, ecx
jmp 0x100017cc
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100017c3
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100027b0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.1001c820
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x100017fa
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.100026b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001810
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b278
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10084014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x42
mov dword [ebp - 0x1c], 0x2f2b3642
mov dword [ebp - 0x18], 0x36270527
xor eax, eax
mov dword [ebp - 0x14], 0x272f2b16
mov byte [ebp - 0x10], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xb
jae 0x10001861
mov cl, byte [ebp - 0x1c]
jmp 0x10001852
mov byte [ebp - 0x10], 0
mov cl, 0x50
mov dword [ebp - 0x34], 0x22353b50
xor eax, eax
mov dword [ebp - 0x30], 0x633c353e
mov dword [ebp - 0x2c], 0x3c347e62
mov word [ebp - 0x28], 0x3c
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0xc
jae 0x10001893
mov cl, byte [ebp - 0x34]
jmp 0x10001884
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x33]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10018d20
cmp al, 0xe9
jne 0x1000193a
movaps xmm0, xmmword [0x1007b0a0]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x6e
nop
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x10
jb 0x100018d0
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
jne 0x100018fd
xor ecx, ecx
jmp 0x1000190c
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001903
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x24]
call fcn.100027b0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.1001c820
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1000193a
inc eax
push eax
push dword [ebp - 0x24]
call fcn.100026b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
mov eax, dword [0x10084014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x66
mov dword [ebp - 0x20], 0x12032166
mov dword [ebp - 0x1c], 0xd050f32
xor eax, eax
mov dword [ebp - 0x18], 0x8130925
mov word [ebp - 0x14], 0x12
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x100019a4
mov cl, byte [ebp - 0x20]
jmp 0x10001995
mov byte [ebp - 0x13], 0
mov cl, 0x12
mov dword [ebp - 0x30], 0x60777912
xor eax, eax
mov dword [ebp - 0x2c], 0x217e777c
mov dword [ebp - 0x28], 0x7e763c20
mov word [ebp - 0x24], 0x7e
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 0xc
jae 0x100019d6
mov cl, byte [ebp - 0x30]
jmp 0x100019c7
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x2f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10018d20
cmp al, 0xe9
jne 0x10001ab7
mov bh, 0x36
mov byte [ebp - 0xd], 0x16
mov byte [ebp - 0xe], bh
mov al, 0x2b
mov bh, byte [ebp - 0xd]
mov cl, 0x21
mov byte [ebp - 0x20], 0x42
mov dl, 0x29
xor bh, byte [ebp - 0x20]
mov bl, 1
xor al, byte [ebp - 0x20]
mov ah, 0x2d
mov byte [ebp - 0xd], bh
mov ch, 0x37
mov byte [ebp - 0x1f], bh
mov dh, 0x2c
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x20]
xor cl, al
mov byte [ebp - 0x16], 0
xor dl, al
mov byte [ebp - 0x1d], cl
xor bl, al
mov byte [ebp - 0x1c], dl
xor ah, al
mov byte [ebp - 0x1b], bl
xor ch, al
mov byte [ebp - 0x1a], ah
xor dh, al
mov byte [ebp - 0x19], ch
xor bh, al
mov byte [ebp - 0x18], dh
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x17], bh
mov byte [ebp - 0x16], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jne 0x10001a78
xor ecx, ecx
jmp 0x10001a89
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001a80
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x38]
call fcn.100027b0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.1001c820
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10001ab7
inc eax
push eax
push dword [ebp - 0x38]
call fcn.100026b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001d00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10079ff0]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10001d20
mov byte [ebp - 0x19], 0
mov cl, 4
mov dword [ebp - 0x18], 0x56414f04
xor eax, eax
mov dword [ebp - 0x14], 0x3748414a
mov dword [ebp - 0x10], 0x68602a36
mov word [ebp - 0xc], 0x68
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001d5f
mov cl, byte [ebp - 0x18]
jmp 0x10001d50
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret

Function at 0x10001e70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
ret

Function at 0x10001e80
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007d180
push 0x10068885
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x10084014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001f19
xor al, al
jmp 0x10001fa2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001f44
xor al, al
jmp 0x10001fa2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001f8f
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
Function at 0x10002c20
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov byte [ebp - 0x18], 0x50
mov al, 0x3e
xor al, byte [ebp - 0x18]
mov bl, 0x3c
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x34
mov bh, ah
mov byte [ebp - 9], ah
mov dh, dl
mov byte [ebp - 0xe], 0
xor dl, al
mov byte [ebp - 0xe], 0
xor bl, al
mov byte [ebp - 0x15], dl
xor ah, al
mov byte [ebp - 0x14], bl
xor dh, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x11], dh
mov cl, 0x24
mov byte [ebp - 0x10], bh
xor cl, al
mov ch, 0x7e
xor ch, al
mov byte [ebp - 0x16], cl
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x17]
push eax
mov byte [ebp - 0x12], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [0x1007a2e0]
mov edx, eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x1d272f23
xor eax, eax
mov word [ebp - 0x1c], 0x17
pop ebx
nop dword [eax]
mov cl, byte [ebp - 0x30]
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 0x14
jb 0x10002cb0
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x1b], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
mov edx, 0x10002910
mov ecx, eax
call fcn.10064d30
add esp, 4
mov dword [0x100862f0], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0x40
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret

Function at 0x10002da0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movaps xmm0, xmmword [0x1007a740]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x202a1328
mov dword [ebp - 8], 0x37252807
mov word [ebp - 4], 0x37
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x18
jb 0x10002dc7
push 0
lea eax, [ebp - 0x1b]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10002dff
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10002e10
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1000
push 0x40
mov dword [ebp - 8], 0x1000
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
push 0x250000
call dword [sym.imp.MPR.dll_WNetGetProviderNameA]
test eax, eax
jne 0x10002ea7
movaps xmm0, xmmword [0x1007af70]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x6a0c4849
mov dword [ebp - 0x10], 0x49484043
mov word [ebp - 0xc], 0x5f5e
mov byte [ebp - 0xa], al
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x19
jb 0x10002e70
lea eax, [ebp - 0x23]
mov byte [ebp - 0xa], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10002ea7
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
Function at 0x10003450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movaps xmm0, xmmword [0x1007a6c0]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x3d2b712c
mov word [ebp - 4], 0x33
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x10003470
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003950
cmp eax, 0xd73df878
je 0x10003497
xor al, al
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x1007a580]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x3422783d
mov word [ebp - 4], 0x3a
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x100034b1
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003950
cmp eax, 0xd73df878
jne 0x10003491
movaps xmm0, xmmword [0x1007a4c0]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0xa1c460d
mov word [ebp - 4], 4
nop dword [eax]
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x100034f0
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003950
cmp eax, 0xb212610
jne 0x10003491
movaps xmm0, xmmword [0x1007a3e0]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x1b1b3800
mov dword [ebp - 8], 0x5a071f
mov word [ebp - 4], 0x1816
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x19
jb 0x10003536
lea eax, [ebp - 0x1b]
mov byte [ebp - 2], 0
push eax
call fcn.10003950
cmp eax, 0x6694b71f
jne 0x10003491
movaps xmm0, xmmword [0x10079ee0]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10003568
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10003950
cmp eax, 0xef7c0020
sete al
mov esp, ebp
pop ebp
ret
Function at 0x10003810
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x100862f8
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1000383b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10003846
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10003851
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000385c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10003867
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10003872
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000387d
bts eax, 1
test cl, 2
je 0x10003886
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x100862f8], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x10003926
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10003917
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x100862f8], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10003830
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x10071b3c
push eax
or ebx, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x10003997
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x100039e0
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100862f8]
sub edx, 1
jne 0x100039c6
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x100039a0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 4
Function at 0x10003a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
xorps xmm0, xmm0
mov dword [esp + 0x18], 0x7c74707d
movaps xmmword [esp + 0x20], xmm0
xor eax, eax
movq qword [esp + 0x30], xmm0
movaps xmm0, xmmword [0x1007b250]
movups xmmword [esp + 8], xmm0
mov byte [esp + 0x1c], 0
mov cl, byte [esp + 8]
xor byte [esp + eax + 9], cl
inc eax
cmp eax, 0x13
jb 0x10003a42
sub esp, 8
mov byte [esp + 0x24], 0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x11]
call fcn.10022dd0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10006170
Capabilities:
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100062a7
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov bh, 0x67
mov al, 0x28
mov byte [ebp - 8], 0
mov ah, 0x23
mov byte [ebp - 0x10], bh
xor al, bh
mov byte [ebp - 8], 0
xor ah, bh
mov byte [ebp - 0xf], al
push 0
mov byte [ebp - 0xb], ah
mov cl, 0x2b
lea eax, [ebp - 0xf]
mov dl, cl
push eax
mov ch, 0x25
mov dh, 0x20
mov bl, 0x3e
xor cl, bh
push 0
xor dl, bh
mov byte [ebp - 0xe], cl
xor ch, bh
mov byte [ebp - 0xd], dl
xor dh, bh
mov byte [ebp - 0xa], ch
xor bl, bh
mov byte [ebp - 9], dh
push 0
mov byte [ebp - 0xc], bl
call esi
test eax, eax
je 0x10006231
mov bh, 0x49
mov byte [ebp - 8], 0
push 0
push 0
mov al, 6
mov byte [ebp - 0x10], bh
mov ah, 0xd
mov byte [ebp - 8], 0
push 0x10
xor al, bh
xor ah, bh
push 0
mov byte [ebp - 0xf], al
mov cl, 5
mov byte [ebp - 0xb], ah
mov dl, cl
lea eax, [ebp - 0xf]
mov ch, 0xb
push eax
mov dh, 0xe
mov bl, 0x10
push 0
xor cl, bh
xor dl, bh
xor ch, bh
mov byte [ebp - 0xe], cl
xor dh, bh
mov byte [ebp - 0xd], dl
xor bl, bh
mov byte [ebp - 0xa], ch
push 0
mov byte [ebp - 0xc], bl
mov byte [ebp - 9], dh
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dl, 0x6a
mov byte [ebp - 1], 0
mov al, 0x23
mov byte [ebp - 4], dl
xor al, dl
mov byte [ebp - 1], 0
push 0
mov byte [ebp - 3], al
mov cl, 0x2e
lea eax, [ebp - 3]
xor cl, dl
push eax
push 0
push 0
mov byte [ebp - 2], cl
call esi
test eax, eax
je 0x10006290
push 0
push 0
mov dl, 0x48
mov byte [ebp - 1], 0
mov al, 1
mov byte [ebp - 4], dl
push 0x10
xor al, dl
mov byte [ebp - 1], 0
push 0
mov byte [ebp - 3], al
mov cl, 0xc
lea eax, [ebp - 3]
xor cl, dl
push eax
push 0
push 0
mov byte [ebp - 2], cl
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100083a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100084d3
cmp byte [ebx + 0x3d], 0
je 0x100084d3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x100083f9
xor al, al
jmp 0x100084d5
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10007fb0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10008460
sub eax, 1
je 0x10008464
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x100084bc
xor bl, bl
jmp 0x100084be
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x1000849a
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x1000845c
cmp byte [ebx + 0x3d], 0
je 0x100084bc
test edi, edi
lea edi, [ebx + 0x40]
jne 0x10008424
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.10008070
jmp 0x1000841e
mov bl, 1
cmp esi, 0x10
jb 0x100084cf
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
call fcn.100026b0
mov al, bl
jmp 0x100084d5
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret