joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e560
Capabilities:
Connect socket
Set socket configuration

Disassembly:
sub esp, 0x14
mov eax, dword [0x444e3c]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
mov edi, dword [esp + 0x24]
je 0x40e5df
cmp dword [esi], 0
je 0x40e5df
push 1
push esi
call fcn.0040e480
add esp, 8
test al, al
je 0x40e5df
mov eax, dword [esp + 0x28]
push eax
mov word [esp + 0xc], 2
call dword [sym.imp.WSOCK32.dll_htons]
push edi
mov word [esp + 0xe], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov edx, dword [esi]
push 0x10
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x40e5f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x40e5f2
push 0
push esi
call fcn.0040e480
add esp, 8
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004213c3
add esp, 0x14
ret
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.0040e4c0
add esp, 8
test al, al
push 0
push esi
je 0x40e5d7
call fcn.0040e480
mov ecx, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.004213c3
add esp, 0x14
ret
Function at 0x410a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00410710
push 0
push 0
push 3
push 0
push 0
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x410a6a
xor eax, eax
jmp 0x410b87
push 2
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 8], eax
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 8]
add eax, 4
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x320], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x320], 0
jne 0x410ab8
xor eax, eax
jmp 0x410b87
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x320]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x324], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x324], 0
jne 0x410aec
mov ecx, dword [ebp - 0x10]
call fcn.00410710
xor eax, eax
jmp 0x410b87
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x324]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x32c], 4
mov edx, dword [ebp - 8]
add edx, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x328], edx
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x328]
sub eax, 4
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x324]
add edx, 4
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
call fcn.00411270
test eax, eax
jne 0x410b72
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x10]
call fcn.00410710
xor eax, eax
jmp 0x410b87
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x320]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4169e0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x437c71
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x444e3c]
xor eax, esp
mov dword [esp + 0x140], eax
push esi
push edi
mov eax, dword [0x444e3c]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov esi, dword [esp + 0x160]
mov dword [esp + 0x10], ecx
xor edi, edi
call fcn.00416f68
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x416a40
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], edi
call fcn.00417e90
push esi
lea ecx, [esp + 0x10]
push str._s.cxm
push ecx
mov byte [esp + 0x164], 1
call fcn.004027e0
mov edx, dword [esp + 0x18]
add esp, 0xc
push edi
push 0x40
push edx
lea ecx, [esp + 0x20]
call fcn.004182c1
cmp eax, 1
jne 0x416b3c
lea ecx, [esp + 0x14]
call fcn.00417d83
push eax
lea ecx, [esp + 0x28]
call fcn.00418462
mov byte [esp + 0x158], 2
push 0x100
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
call fcn.00417b9e
mov esi, eax
xor eax, eax
cmp esi, edi
jbe 0x416ae1
jmp 0x416ad0
mov cl, byte [eax + 0x4441d0]
xor byte [esp + eax + 0x4c], cl
add eax, 1
cmp eax, esi
jb 0x416ad0
push esi
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x2c]
call fcn.004185b0
cmp esi, edi
jne 0x416ab0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x28]
push edi
push edi
push edi
lea ecx, [esp + 0x30]
call edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.00416910
lea ecx, [esp + 0x14]
call fcn.00417e2e
lea ecx, [esp + 0x24]
call fcn.00418687
lea ecx, [esp + 0x24]
mov edi, 1
mov byte [esp + 0x158], 1
call fcn.00418798
jmp 0x416b7d
push esi
lea ecx, [esp + 0x10]
push str._s.xml
push ecx
call fcn.004027e0
mov edx, dword [esp + 0x18]
add esp, 0xc
push edi
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.004182c1
cmp eax, 1
jne 0x416b7d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
call fcn.00416910
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00417e2e
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0
call fcn.00417f8c
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x158], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416bb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004213c3
add esp, 0x150
ret 4

Function at 0x4213c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444e3c]
jne 0x4213cd
repz ret
jmp fcn.0042ab5c
Function at 0x431a16
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042a50f
xor ebx, ebx
cmp dword [0x45593c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x431aeb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x431a56
xor eax, eax
jmp 0x431baf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43d568
push edi
call esi
cmp eax, ebx
je 0x431a4f
push eax
call fcn.0042a4ac
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45593c], eax
call esi
push eax
call fcn.0042a4ac
mov dword [esp], 0x43d544
push edi
mov dword [0x455940], eax
call esi
push eax
call fcn.0042a4ac
mov dword [0x455944], eax
lea eax, [ebp - 8]
push eax
call fcn.004274c0
test eax, eax
pop ecx
pop ecx
je 0x431ab9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004224ca
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x431aeb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042a4ac
cmp eax, ebx
pop ecx
mov dword [0x45594c], eax
je 0x431aeb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042a4ac
pop ecx
mov dword [0x455948], eax
mov eax, dword [0x455948]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x431b64
cmp dword [0x45594c], esi
je 0x431b64
push eax
call fcn.0042a518
pop ecx
call eax
cmp eax, ebx
je 0x431b31
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x45594c]
call fcn.0042a518
pop ecx
call eax
test eax, eax
je 0x431b31
test byte [ebp - 0x18], 1
jne 0x431b64
lea eax, [ebp - 0xc]
push eax
call fcn.004274f7
test eax, eax
pop ecx
je 0x431b4c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004224ca
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x431b5b
or dword [ebp + 0x10], 0x200000
jmp 0x431b95
or dword [ebp + 0x10], 0x40000
jmp 0x431b95
mov eax, dword [0x455940]
cmp eax, esi
je 0x431b95
push eax
call fcn.0042a518
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x431b95
mov eax, dword [0x455944]
cmp eax, esi
je 0x431b95
push dword [ebp - 4]
push eax
call fcn.0042a518
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x45593c]
call fcn.0042a518
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436bb9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x444e3c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00436b4e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00421410
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x436c08
cmp dword [ebp - 0x1c], 5
jb 0x436c20
jmp 0x436c1c
cmp dword [ebp - 0x10], 1
jne 0x436c20
cmp dword [ebp - 0x1c], 4
ja 0x436c1c
jne 0x436c20
cmp dword [ebp - 0x18], 0
jbe 0x436c20
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43dde8
call fcn.00436a3f
test eax, eax
jge 0x436c41
mov byte [0x446200], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004213c3
add ebp, 0x78
leave
ret
Function at 0x10001cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
xor eax, eax
push esi
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
push edi
mov ecx, 0x3d69eb90
lea eax, [ebp - 0x218]
mov dword [ebp - 0x244], 0
call fcn.1001b040
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
sete al
test al, al
je 0x10001da3
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x100279e4
sub edi, 0x7e80af00
lea esi, [ebp - 0x230]
call fcn.1001b0c0
lea edx, [ebp - 0x108]
push edx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x234], eax
jmp 0x10001dd1
mov ecx, 0x3d69eb90
lea eax, [ebp - 0x218]
call fcn.1001b040
push eax
call esi
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov word [ebp - 0x210], ax
cmp dword [ebp - 0x234], 0
jne 0x10001e08
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x23c]
mov dword [ebx], edx
mov dword [ebx + 4], eax
pop edi
mov dword [ebx + 8], ecx
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x238]
push edx
call esi
mov edi, 0x4bde082d
lea esi, [ebp - 0x230]
mov dword [ebp - 0x238], eax
call fcn.1001b100
push eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x238]
push 0xc
lea ecx, [ebp - 0x244]
mov esi, eax
xor eax, eax
push ecx
push edx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x21c], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp - 0x23c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [ebx + 8], edx
mov eax, ebx
pop esi
call fcn.1001ee72
mov esp, ebp
pop ebp
ret 4

Function at 0x10002ca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [esi]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10002cf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1002bc10
push 0x1001f4b9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1002f018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], 0
push 0xa
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
push 0xa
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [edi]
mov dword [esi], edx
mov al, byte [edi + 4]
mov byte [esi + 4], al
add esi, 5
mov byte [esi], 0xe9
mov ecx, edi
sub ecx, esi
mov dword [esi + 1], ecx
lea edx, [ebp - 0x1c]
push edx
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edi], 0xe9
sub ebx, edi
sub ebx, 5
mov dword [edi + 1], ebx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esi - 5]
jmp 0x10002db9
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002de0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [esi + 5]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [esi + 5]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [esi + 5]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
push ebx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
lea edx, [ebp - 4]
push edx
add ebx, esi
push 0x40
mov eax, edi
sub eax, ebx
push esi
lea ecx, [eax + esi - 5]
push edi
mov byte [ebx], 0xe9
mov dword [ebx + 1], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edi
mov byte [edi], 0xe9
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, ebx
sub eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002e80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 8]
push edx
push eax
push esi
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10002ed0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002f16
push str.Error:_Unable_to_create_toolhelp_snapshot_
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10002f04
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x10002f40
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002f68
test dl, dl
je 0x10002f64
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002f68
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002f48
xor eax, eax
jmp 0x10002f6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002f8f
lea ecx, [ebp - 0x130]
push ecx
push esi
call ebx
test eax, eax
jne 0x10002f40
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ee72
mov esp, ebp
pop ebp
ret
Function at 0x100030a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021f5e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x10163010], 1
jne 0x1000313b
or dword [0x10163010], 1
mov edi, 0x10238aa5
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.1001b440
mov esi, eax
mov ecx, 0x10238ab9
lea eax, [ebp - 0x1c]
call fcn.1001b3c0
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1001ea60
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1016300c], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], 0xffffffff
push 0
push 0xffffffffffffffff
call dword [0x1016300c]
test eax, eax
jne 0x10003150
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret
Function at 0x10009f10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020c48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
mov bl, byte [eax + 0x10028474]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], bl
jns 0x10009f5f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1c
jl 0x10009f42
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x10162630]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x30]
push edx
call eax
add eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
add eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret 8

Function at 0x1000a190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x1f
xor eax, eax
mov bl, byte [eax + str.Vfira_nuINF_OY]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], bl
jns 0x1000a1df
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x17
jl 0x1000a1c2
mov byte [ebp - 0x15], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x10162630]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
push edx
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a5f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020b28
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x8d
xor eax, eax
mov bl, byte [eax + 0x10029a6c]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x24], bl
jns 0x1000a63f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x13
jl 0x1000a622
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x10162630]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x24]
push edx
call eax
fld dword [ebp + 8]
mov eax, dword [eax + esi + 0xc]
fstp dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020af8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x1c
xor eax, eax
nop
mov dl, byte [eax + 0x10029a80]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x24], dl
jns 0x1000a6dd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x11
jl 0x1000a6c0
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x10162630]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x24]
push edx
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 0xc]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], cx
fld dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021c50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0xa3
xor eax, eax
mov dl, byte [eax + 0x10029ab0]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], dl
jns 0x1000a8a1
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1d
jl 0x1000a884
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x10162630]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x30]
push edx
call eax
test eax, eax
setne al
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x1000a90d
mov edi, 0x1019b3e4
lea esi, [ebp - 0x30]
call fcn.1001bcf0
mov dword [ebp - 4], 1
mov ecx, dword [0x10162630]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
push 0
lea esi, [ebx + eax]
call fcn.10009bb0
mov edi, eax
mov eax, esi
mov ebx, 0x44
call fcn.10009b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret