joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008fbcb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100cebf8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1008fc0b
cmp byte [ebx], 0xa
jne 0x1008fc0b
or byte [eax + edi + 0x28], 4
jmp 0x1008fc10
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1008fd0e
mov al, byte [edx]
cmp al, 0x1a
je 0x1008fcf0
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1008fc3f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x1008fc64
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1008fc6e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x1008fc21
jmp 0x1008fd0e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008fceb
cmp dword [ebp - 0xc], 0
je 0x1008fceb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100cebf8]
test byte [eax + edi + 0x28], 0x48
je 0x1008fcc5
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1008fcb0
mov byte [esi], dl
jmp 0x1008fcc1
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100cebf8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1008fd0e
cmp byte [ebp - 1], 0xa
jne 0x1008fcd4
cmp esi, ebx
jne 0x1008fcd4
mov byte [esi], 0xa
jmp 0x1008fd0d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1008adb6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1008fd0e
mov byte [esi], 0xd
jmp 0x1008fd0d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100cebf8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1008fd0a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1008fd0e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1008fd17
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x100cebf8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1008fd5a
cmp word [esi], dx
jne 0x1008fd5a
or byte [edi + eax + 0x28], 4
jmp 0x1008fd5f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1008feb2
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1008fe92
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1008fda1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1008fdd7
cmp eax, edx
jae 0x1008fde3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1008fd79
jmp 0x1008feb2
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008fe8e
cmp dword [ebp - 0x14], 0
je 0x1008fe8e
mov eax, dword [ebx*4 + 0x100cebf8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1008fe66
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1008fe2f
mov word [esi], cx
jmp 0x1008fe62
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100cebf8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x100cebf8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100cebf8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x1008feb2
pop ebx
cmp word [ebp - 4], bx
jne 0x1008fe77
cmp esi, dword [ebp + 0xc]
jne 0x1008fe77
mov word [esi], bx
jmp 0x1008feaf
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1008adb6
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1008feb2
push 0xd
jmp 0x1008feab
mov ecx, dword [ebx*4 + 0x100cebf8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1008fea9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1008feb2
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1009404a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b9eb4
push 0x100b9eac
push str.FlsAlloc
push 0x1e
call fcn.10093e77
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009407e
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a7374]
call esi
jmp 0x10094084
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100940c8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b9ec4
push 0x100b9ebc
push str.FlsGetValue
push 0x20
call fcn.10093e77
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100940ff
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a7374]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10094bbd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10094a2e
Function at 0x1009b611
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1009b6ae
push ebx
push esi
call fcn.1009b5da
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10099b4f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009b65b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009b6ad
push edi
push eax
call fcn.10094f45
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1009b67b
call fcn.10093b9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009b6ac
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10099b4f
add esp, 0x20
test eax, eax
jne 0x1009b69a
push edi
call fcn.10093b9c
jmp 0x1009b6a2
push ebx
call fcn.10093b9c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1009b6b1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1009b6c2
pop esi
ret
push ebx
push edi
push esi
call fcn.1009b5da
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10094f45
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1009b6ea
push ebx
push esi
push edi
call fcn.1007c640
add esp, 0xc
push 0
call fcn.10093b9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1009baae
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009b6ff
Function at 0x1009c070
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1009bfec
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1009c1e8
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1009c1e8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1009c197
jg 0x1009c0c9
test eax, eax
je 0x1009c18d
push 1
push 0x1000
call fcn.10093b3f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1009c0ef
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1009c184
push 0x8000
push ebx
call fcn.1009bf1d
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1009c11b
jg 0x1009c116
cmp ecx, 0x1000
jb 0x1009c11b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10090e31
add esp, 0x10
cmp eax, 0xffffffff
je 0x1009c160
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1009c116
jl 0x1009c147
test ecx, ecx
jne 0x1009c108
push dword [ebp - 0xc]
push ebx
call fcn.1009bf1d
push esi
call fcn.10093b9c
add esp, 0xc
xor edi, edi
jmp 0x1009c1f9
cmp byte [edi + 0x24], 0
je 0x1009c177
cmp dword [edi + 0x20], 5
jne 0x1009c177
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1009c182
mov edi, dword [edi + 0x18]
jmp 0x1009c184
xor edi, edi
push esi
call fcn.10093b9c
pop ecx
jmp 0x1009c1f9
test ecx, ecx
jg 0x1009c159
jl 0x1009c197
test eax, eax
jae 0x1009c159
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008adb6
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1009c1ba
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1009c159
jmp 0x1009c1f1
push ebx
call fcn.10097a1d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1009c159
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1009c1f9
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1009c1f6
mov edi, dword [edi + 0x18]
jmp 0x1009c1f9
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1008adb6
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100098ea
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10009994
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10009937
push 0x4f1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x10009992
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.1000e833
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x10009986
mov dword [ebp - 4], 1
jmp 0x1000998a
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x100099cb
lea eax, [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
push dword [eax]
push 0x1726
push 0x69b8
push 0
push 0x7729
push 0x49b7
push 0x2939
call fcn.10003975
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x100144d6
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push esi
je 0x100144ea
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x1001450a
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1001450a
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x636717b3
inc dword [edx]
cmp dword [edx], 3
jl 0x100144f8
pop esi
pop ebp
ret

Function at 0x10014d55
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005e9c3
call fcn.1005ddd8
sub esp, 0x14
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x10014d8d
cmp byte [ecx], 0
je 0x10014e68
push 0
push 0
push 0x161e
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x10014e68
mov dword [ebp - 0x18], 0x5067
cmp dword [ebp - 0x18], 0x5141
jle 0x10014df3
xor esi, esi
mov dword [ebp - 0x14], esi
xor edi, edi
mov ecx, edi
mov dword [ebp - 0x1c], esi
xor ebx, ebx
sar esi, cl
mov eax, esi
mov ecx, 0x10079158
xor eax, ebx
cdq
push edx
push eax
call fcn.1000e4b2
inc ebx
cmp ebx, 0x4ab3
jl 0x10014dad
mov esi, dword [ebp - 0x14]
inc edi
cmp edi, 0x69e4
jl 0x10014da4
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x1baf
jl 0x10014da2
push 0
push 0
push 0x1894
push 0x137e
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x4e5b
jge 0x10014e0f
mov edx, str.mlmu_njtouoa_rfrv_dukv_rag_gaone_shm_omurry_hcnoc_qxfrq_biorzttxt
mov ecx, 0x10079158
call fcn.10012e6f
mov eax, dword [ebp + 0x10]
xor edx, edx
mov esi, dword [ebp + 0x24]
mov edi, 0x2ba8
mov eax, dword [eax]
cmp dword [eax], edx
mov eax, dword [ebp + 0x1c]
setne dl
inc dword [esi]
xor ecx, ecx
cmp edx, edi
mov eax, dword [eax]
setg cl
xor edx, edx
mov dword [eax + 4], edi
mov edi, dword [ebp + 0x28]
mov eax, dword [edi]
cmp ecx, eax
mov ecx, dword [esi]
mov esi, dword [ebp + 0x20]
setl dl
imul ecx, edx
xor edx, edx
mov eax, dword [esi]
cmp ecx, eax
mov eax, dword [edi]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp + 0x14]
setle cl
mov dword [esi], ecx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
add ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001690b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x10016922
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

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

Disassembly:
push esi
mov edx, 0x1039cd74
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x1039d100
jl 0x10016952
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x1039d3a4
jl 0x10016992
mov ecx, dword [0x1039e0f0]
xor ecx, dword [0x1039cd74]
and ecx, edi
xor ecx, dword [0x1039e0f0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x1039cd70], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x1039d3a4]
mov dword [0x1039d730], eax
pop esi
ret

Function at 0x100171ea
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push esi
je 0x10017218
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 3
jg 0x10017228
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
cmp dword [eax + ecx*4], 0
jne 0x10017228
inc dword [edx]
cmp dword [edx], 3
jle 0x10017205
jmp 0x10017228
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x10017228
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
pop esi
pop ebp
ret
Function at 0x1001b992
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005edd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
cmp byte [ebp + 0x14], 0
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0x14], ebx
je 0x1001b9da
cmp byte [ebp + 0xc], 0
je 0x1001b9cd
mov byte [ecx], 1
jmp 0x1001baba
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x1001baba
mov dword [esp + 0x10], 0x1814
cmp dword [esp + 0x10], 0x182d
jle 0x1001ba59
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0xc], ecx
lea eax, [edi + esi]
and eax, ecx
lea ecx, [esp + 0x18]
and eax, ebx
cdq
push edx
push eax
call fcn.10001a94
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001ba15
mov eax, dword [eax]
push eax
call fcn.10045eb3
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.1000efb0
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x7c17
jl 0x1001b9f8
inc ebx
cmp ebx, 0x1172
jl 0x1001b9f2
inc edi
cmp edi, 0x5224
jl 0x1001b9f0
inc esi
cmp esi, 0x636c
jl 0x1001b9ee
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x10], 0x15d9
jge 0x1001ba6e
push str.srycbgh_obdfxmms_myngzatqu_kzqvtbpfj_aiqlp_ljrsmatmh_niq
call fcn.10045eb3
pop ecx
or dword [esp + 0x54], 0xffffffff
cmp byte [ebp + 8], 0
je 0x1001baac
mov eax, dword [ebp + 0x1c]
mov ecx, ebx
push 0xffffffffffffffff
push dword [eax]
lea eax, [esp + 0x38]
push eax
call fcn.1001cc15
mov ecx, dword [ebp + 0x18]
push eax
mov dword [esp + 0x58], 2
call fcn.1001ccc8
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.1000f2e8
jmp 0x1001baba
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x1001baba
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001e2de
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
test dl, dl
je 0x1001e30c
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1001e31c
push 1
push 0x44fa
push 0
push 0x2895
mov dl, 1
mov ecx, 0x6aac
call fcn.1001e974
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x1001e31c
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
pop ebp
ret
Function at 0x1001e974
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005ef15
call fcn.1005ddd8
sub esp, 0x10
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x14], dl
je 0x1001ea28
cmp byte [ebp + 0x14], 0
je 0x1001e9b3
mov eax, dword [ecx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0x5458
cmp dword [ebp + 0xc], 0x577f
jle 0x1001e9ea
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x10079158
xor eax, esi
cdq
push edx
push eax
call fcn.1000e4b2
inc edi
cmp edi, 0x64d5
jl 0x1001e9c7
inc esi
cmp esi, 0x57b5
jl 0x1001e9c5
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0x515d
jge 0x1001ea06
mov edx, str.cfpetpci_hbkoc_raynvpb_ttkunpn_wuxldnfep
mov ecx, 0x10079158
call fcn.10012e6f
mov eax, dword [ebp + 8]
and dword [eax], 0
jmp 0x1001e9a2
test dl, dl
je 0x1001ea41
push 0xea1
push 0x1e91
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x1001e9a2
mov dword [ebp - 0x1c], 0x5060
cmp dword [ebp - 0x1c], 0x50fa
jle 0x1001ea90
xor esi, esi
mov dword [ebp - 0x18], esi
mov ebx, 0x70d8
xor edi, edi
mov dword [ebp + 0xc], ebx
mov esi, edi
mov ebx, 0x7111
mov eax, esi
mov ecx, 0x10079158
cdq
push edx
push eax
call fcn.1000e4b2
dec esi
dec ebx
jne 0x1001ea67
mov esi, dword [ebp - 0x18]
add edi, esi
dec dword [ebp + 0xc]
jne 0x1001ea60
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x63ef
jl 0x1001ea56
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x1001eaac
push 0x225d
push 0
push 0x1224
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1c], 0x5015
jge 0x1001e9a2
mov edx, str.ogu_pjvamcya_nvlibnkzu_mqydlrhdt_xqlzq
mov ecx, 0x10079158
call fcn.10012e6f
jmp 0x1001e9a2
Function at 0x100226aa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov dword [esp + 8], 0x2586
mov eax, ecx
cmp dword [esp + 8], 0x291b
push esi
push edi
mov dword [esp + 0x14], eax
jle 0x10022746
push 0x1d31
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
xor esi, esi
xor edi, edi
xor ebx, ebx
mov ecx, ebx
mov eax, edi
shl eax, cl
lea ecx, [esp + 0x18]
and eax, esi
cdq
push edx
push eax
call fcn.10001a94
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100226ff
mov eax, dword [eax]
push eax
call fcn.10045eb3
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.1000efb0
inc ebx
cmp ebx, 0x6dca
jl 0x100226e1
inc edi
cmp edi, 0x85a
jl 0x100226df
inc esi
cmp esi, 0x15fb
jl 0x100226dd
push 0
push 0xf41
push 0
push 0x1d6b
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x14]
sub esp, 0xc
mov edx, eax
push 0
call fcn.10022771
add esp, 0x10
cmp dword [esp + 0x10], 0x23e7
jge 0x1002276a
push str.qwxfvgeba_xgvixy_vzkkbz_ijvpxm_qehgtggy_lmxnpbd_zhca_agl_wxfpftqy_iewf_cevyetkd
call fcn.10045eb3
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10023338
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x1005f132
call fcn.1005ddd8
sub esp, 0x34
push ebx
push esi
mov dword [ebp - 0x18], 0x7538
mov ebx, ecx
cmp dword [ebp - 0x18], 0x75de
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
jle 0x100233b5
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x14], 0x50e5
xor edi, edi
mov eax, ebx
lea ecx, [ebp - 0x40]
or eax, edi
cdq
push edx
push eax
call fcn.10001a94
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10023386
mov eax, dword [eax]
push eax
call fcn.10045eb3
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.1000efb0
inc edi
cmp edi, 0x7097
jl 0x1002336d
add ebx, esi
dec dword [ebp - 0x14]
jne 0x1002336b
inc esi
cmp esi, 0x1f4
jl 0x10023362
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x73c3
jge 0x100233c9
push str.yaosgmo_ugmu_mghhnq_ebtykhuw_tgskp_cgqtgppkm_kbdw_arviitb_uiyv_oiud
call fcn.10045eb3
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x18], 0
je 0x10023444
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ecx, edi
push ebx
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1002a485
mov esi, dword [ebp - 0x20]
cmp esi, dword [edi]
je 0x10023403
mov eax, dword [ebx]
cmp eax, dword [esi + 0x10]
jge 0x10023427
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push eax
push ecx
mov ecx, edi
call fcn.1002a9c4
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.1002a9f4
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx], 0
je 0x10023433
push 0
push ecx
call fcn.100228ac
mov dword [ebp - 0x18], 0x4004
cmp dword [ebp - 0x18], 0x4077
pop ecx
pop ecx
jle 0x10023494
xor esi, esi
xor edi, edi
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x10079158
cdq
push edx
push eax
call fcn.1000e4b2
inc edi
cmp edi, 0xe3f
jl 0x10023467
inc esi
cmp esi, 0x3d55
jl 0x10023465
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x3ddb
jge 0x10023433
mov edx, str.jyq_kwdwzus_yrdtajhfv_sbnysbqh_qsu
mov ecx, 0x10079158
call fcn.10012e6f
jmp 0x10023433