joyce8/EMBER2024-capa huggingface dataset:
Function at 0x595390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634350
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ATL::CComObject_class_Smartui::CQtlColumnDefinition_.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.ATL::CComObject_class_Smartui::CQtlColumnDefinition_.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], vtable.ATL::CComObject_class_Smartui::CQtlColumnDefinition_.2.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], vtable.ATL::CComObject_class_Smartui::CQtlColumnDefinition_.3.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0xc0000001
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00518de0
mov edx, dword [0x70bd40]
mov eax, dword [edx]
mov ecx, dword [0x70bd40]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [ebp - 0x10]
call fcn.00566fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5ba460
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x5ba4a4
mov ecx, dword [ebp + 8]
push ecx
call fcn.005d1d50
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x5ba49a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x5ba5c9
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x5ba57e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a0]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x5ba56d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5ba4e3
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a0]
mov eax, dword [edx]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5ba507
xor al, al
jmp 0x5ba5c9
cmp dword [ebp - 4], 2
jne 0x5ba50f
jmp 0x5ba56d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5ba568
cmp dword [ebp - 4], 3
je 0x5ba524
cmp dword [ebp - 4], 1
jne 0x5ba568
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jl 0x5ba568
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x120]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dword [edx + 8], ecx
jmp 0x5ba4c9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x7c]
mov dword [eax + 0x84], edx
jmp 0x5ba5bd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x5ba5bd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [edx + 0x14], 0x15
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov dword [ecx + eax + 0x18], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ba6c0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x5ba6c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x5ba6fa
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x190]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
movzx eax, byte [edx + 8]
test eax, eax
je 0x5ba7c7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x60]
jae 0x5ba78f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5ba755
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x194]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 8]
jne 0x5ba78d
xor al, al
jmp 0x5ba7ed
jmp 0x5ba70f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
mov edx, dword [ecx + 4]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
mov eax, dword [edx]
call eax
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
jmp 0x5ba6fa
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x41]
test eax, eax
je 0x5ba7db
mov dword [ebp - 4], 0xce
jmp 0x5ba7e2
mov dword [ebp - 4], 0xcd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x14], edx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x5bebe0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x5bec05
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
je 0x5bec05
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x5c97ab
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x5c97fa
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x10]
push edi
push eax
push esi
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5c97fa
cmp esi, dword [ebp + 0x10]
je 0x5c97f5
push 0x6a1958
push 1
push edi
push edi
call fcn.005c86dd
jmp 0x5c9808
xor eax, eax
inc eax
jmp 0x5c980d
mov eax, 0x6a1958
push eax
push eax
push edi
push edi
call fcn.005c86c0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x5c99ed
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x5c9a17
mov eax, 0x6a1958
push eax
push eax
push 0
push 0
call fcn.005c86c0
add esp, 0x10
xor eax, eax
pop ebp
ret
xor eax, eax
inc eax
pop ebp
ret
Function at 0x5ca9fd
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x5cb46c
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret
Function at 0x5dd880
Capabilities:
Check mutex on windows

Disassembly:
push 0xa4
mov eax, 0x63851d
call fcn.005b9a51
mov esi, ecx
mov dword [ebp - 0xa0], esi
xor ebx, ebx
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
push 0x41
lea eax, [ebp - 0x98]
push eax
call fcn.005dd692
add esp, 0x14
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x98]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x9c], edi
test edi, edi
je 0x5dd9cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5dd8f9
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], ebx
call fcn.005dd72e
test eax, eax
je 0x5dd92e
mov dword [esi], eax
mov eax, dword [esi]
inc dword [eax + 0x5bc]
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebx, ebx
jne 0x5dd9cc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5dd9cc
push 0x5c0
call fcn.005ddce0
pop ecx
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x5dd951
push edi
mov ecx, eax
call fcn.005ddbe6
jmp 0x5dd953
mov eax, ebx
mov byte [ebp - 4], bl
mov dword [esi], eax
test eax, eax
je 0x5dd9d4
xor ebx, ebx
inc ebx
mov dword [ebp - 0xb0], ebx
push eax
call fcn.005dd7a7
pop ecx
test eax, eax
jne 0x5dd907
mov dword [ebp - 0xa8], 3
push 0x6f0774
lea eax, [ebp - 0xa8]
jmp 0x5dd9e9
mov eax, esi
call fcn.005b9ab1
ret
mov dword [ebp - 0xa4], 1
push 0x6f0774
lea eax, [ebp - 0xa4]
push eax
call fcn.00600a9c
int3

Function at 0x5ddb3f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebx]
add ecx, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x5a8]
mov dword [ecx + 0x5b0], eax
call fcn.005dde64
mov edi, eax
test edi, edi
je 0x5ddbca
mov eax, dword [ebp - 4]
cmp eax, dword [edi]
jne 0x5ddb7a
mov esi, edi
jmp 0x5ddbb6
push dword [edi]
push 1
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
jne 0x5ddbaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5ddba2
mov ecx, dword [ebx]
push edi
add ecx, 8
call fcn.005dde2f
jmp 0x5ddbb6
push 0x6aa860
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x5ddbb6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx]
add ecx, 8
call fcn.005dde64
mov edi, eax
test edi, edi
jne 0x5ddb6f
test esi, esi
jne 0x5ddbdf
mov ecx, dword [ebx]
add ecx, 8
call fcn.005ddd80
mov esi, eax
test esi, esi
je 0x5ddbdf
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x5ddbe6
Capabilities:
Allocate thread local storage

Disassembly:
push 4
mov eax, 0x63855b
call fcn.005b99af
mov esi, ecx
mov dword [ebp - 0x10], esi
and dword [esi], 0
lea ecx, [esi + 8]
or dword [esi + 4], 0xffffffff
call fcn.005ddd47
and dword [ebp - 4], 0
and dword [esi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x5ddc32
mov eax, dword [ebp + 8]
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.005b9a8b
ret 4
push 0x6f0774
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
call fcn.00600a9c
int3

Function at 0x629503
Capabilities:
Set environment variable

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

Function at 0x62db3e
Capabilities:
Read file on windows

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

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x268c7197
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x53da644d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x12475555
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2751490f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x40de38
mov ecx, 0x6be11555
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7ba132e3
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406a26
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a4a
xor eax, eax
test eax, eax
je 0x406a5d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a5d
xor ecx, ecx
jmp 0x406a60
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b83
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45bdec], 0
push esi
jne 0x406bba
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b94
mov dword [ecx*4 + 0x45bde8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b8f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406beb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45bde8]
xor eax, esi
inc ecx
dec edx
jne 0x406bcd
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
push 0x40eae0
pop edi
or ecx, edx
inc ecx
call fcn.0040edb1
and edx, ecx
add edx, 0x8fdd6b21
xor dword [esi], edi
push 0x85ba6acd
pop ecx
sub ecx, 0x3f5b900f
inc esi
mov ecx, 0xc2909073
cmp esi, eax
jne fcn.0040ed7c
add ecx, 0x6564f5c5
ret
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4113ff
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp]
add al, ah
dec esi
mov bh, 0xb6
or ecx, dword [ebp - 0x37ccfea5]
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4141c8]
dec edi
jne 0x411406
pop edi
not eax
pop ebx
ret
Function at 0x10001aef
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov dword [esp + 8], 0x30fc
mov eax, ecx
cmp dword [esp + 8], 0x3331
push esi
push edi
mov dword [esp + 0x14], eax
jle 0x10001b72
push 0x2f7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetLayout]
xor esi, esi
mov edi, esi
mov ebx, 0x6f22
mov eax, edi
lea ecx, [esp + 0x18]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10001b4d
mov eax, dword [eax]
push eax
call fcn.100402ac
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.10004889
dec edi
dec ebx
jne 0x10001b35
inc esi
cmp esi, 0x3159
jl 0x10001b2e
mov eax, dword [esp + 0x14]
cmp byte [ebp + 0x14], 0
je 0x10001b80
mov eax, dword [ebp + 8]
and dword [eax], 0
jmp 0x10001b8f
cmp byte [eax], 0
je 0x10001b8f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
cmp dword [esp + 0x10], 0x2d23
jge 0x10001ba4
push str.leuljwijb_liw_blsvttqe_vhmgwo_grniyjhi_reilvo_orbw_btbr_fzolkvlio_nwyxreii_ltwrj_kdfrulfmw_rvwbpxtg_suincpu
call fcn.100402ac
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001be4
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10058c21
call fcn.100586e8
sub esp, 0x1c
push ebx
push esi
mov dword [ebp - 0x20], 0x757d
cmp dword [ebp - 0x20], 0x774e
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edx
jle 0x10001c44
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
add eax, ebx
mov ecx, 0x10073018
or eax, edi
cdq
push edx
push eax
call fcn.1000421d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x165
jl 0x10001c13
inc ebx
cmp ebx, 0x2e6b
jl 0x10001c0e
inc edi
cmp edi, 0x4290
jl 0x10001c0c
mov dword [ebp - 0x1c], 0x5a51
cmp dword [ebp - 0x1c], 0x5e1d
jle 0x10001cc5
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea eax, [ebx + edi]
xor eax, ecx
mov ecx, 0x10073018
cdq
push edx
push eax
call fcn.1000421d
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0xe56
jl 0x10001c5d
inc ebx
cmp ebx, 0xc01
jl 0x10001c58
inc edi
cmp edi, 0x65e5
jl 0x10001c56
push 0xee6
push 0x123e
push 0x2ed
push 0x115f
push 0xb86
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawStateW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x5a07
jge 0x10001ce1
mov edx, str.fmgykthcf_emq_tbcdbyqa
mov ecx, 0x10073018
call fcn.100065e2
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 8], 0
je 0x10001d1d
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x10001d30
mov edx, 0x7afe
xor cl, cl
call fcn.10002294
jmp 0x10001d30
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x10001d30
push 0x1411
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0x750a
jge 0x10001d4f
mov edx, str.rcq_fxpmowz_knqrzzynw_bdesosr_uji_ebjumofqx_jhqhmv_bscwxgy_gokao_qqqahjhc_luuwfjkrj_pucx_tievt
mov ecx, 0x10073018
call fcn.100065e2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret