joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100041cd
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10072414]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_5.00__Windows_98_
mov edi, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x54], eax
cmp eax, esi
je 0x100042b6
push ebx
push esi
push 0x80000000
push esi
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
cmp ebx, esi
je 0x100042ac
push 0x3c
lea eax, [ebp - 0x40]
push esi
push eax
mov dword [ebp - 0x44], esi
call fcn.100464a0
add esp, 0xc
push esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
push 5
push ebx
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x44]
push eax
call fcn.100434a2
mov edi, eax
pop ecx
cmp edi, 0x40000000
ja 0x100042a5
push edi
call fcn.1004251a
push edi
push esi
push eax
mov dword [ebp - 0x48], eax
call fcn.100464a0
add esp, 0x10
cmp dword [ebp - 0x48], esi
je 0x100042a5
lea eax, [ebp - 0x4c]
push eax
push edi
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], esi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10004299
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
jmp 0x100042a5
push dword [ebp - 0x48]
call fcn.10043b1e
pop ecx
mov dword [ebp - 0x48], esi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x54]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
pop edi
xor ecx, ebp
pop esi
call fcn.10042ec5
leave
ret

Function at 0x100042c7
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10072414]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, ecx
push dword [edi]
mov dword [ebp - 0x1c], eax
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 0x18], 0
mov edi, eax
mov eax, dword [ebp - 0x18]
push dword [eax + str.37k_IF__y_d]
call esi
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x18], 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp + ecx - 0x14], eax
jl 0x100042f9
push 0x10
xor eax, eax
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x10]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x14]
sub eax, 0x61c88647
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 8]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
dec ecx
jne 0x1000431a
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov ebx, dword [ebp - 0x1c]
push edi
mov dword [ebx], eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], eax
xor ecx, ebp
pop ebx
call fcn.10042ec5
leave
ret
Function at 0x10004377
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10072414]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, ecx
push dword [edi]
mov dword [ebp - 0x1c], eax
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 0x18], 0
mov edi, eax
mov eax, dword [ebp - 0x18]
push dword [eax + str.37k_IF__y_d]
call esi
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x18], 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp + ecx - 0x14], eax
jl 0x100043a9
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 8]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
sub edi, edx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x10]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
sub ebx, edx
add eax, 0x61c88647
dec ecx
jne 0x100043cd
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov ebx, dword [ebp - 0x1c]
push edi
mov dword [ebx], eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], eax
xor ecx, ebp
pop ebx
call fcn.10042ec5
leave
ret
Function at 0x1000a1dc
Capabilities:
Accept command line arguments

Disassembly:
push 0x10
mov eax, 0x1005e0f5
call fcn.10046db5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], ebx
jle 0x1000a2cc
mov eax, dword [ebp - 0x1c]
push dword [eax + ebx*4]
lea eax, [ebp + 0xc]
push eax
call fcn.100025cc
and dword [ebp - 4], 0
push str._supplyid
lea esi, [ebp + 0xc]
call fcn.1000a2d7
test eax, eax
je 0x1000a23b
push str._url
call fcn.1000a2d7
test eax, eax
jne 0x1000a2b3
push 0x10069dac
lea esi, [ebp + 0xc]
call fcn.1000a2d7
mov esi, eax
test esi, esi
js 0x1000a2b3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
sub eax, esi
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [eax - 1]
lea edx, [esi + 1]
lea eax, [ebp + 0xc]
call fcn.10002d07
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000a304
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
xor edx, edx
lea eax, [ebp + 0xc]
call fcn.10002d07
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.1000a3a5
mov edi, eax
lea eax, [ebp - 0x10]
call fcn.10002660
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10003787
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10003787
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10003787
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x1000a209
xor eax, eax
inc eax
call fcn.10046e54
ret 8
Function at 0x1000bcb1
Capabilities:
Delete file
Move file

Disassembly:
push 8
mov eax, 0x1005e034
call fcn.10046db5
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
mov dword [ebp - 0x14], 1
call esi
test eax, eax
jne 0x1000bd22
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.100025cc
and dword [ebp - 4], 0
push 0x10069fb4
lea eax, [ebp - 0x10]
push eax
call fcn.100026a1
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1000bd2b
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x1000bd17
push 4
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1000bd17
and dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10003787
mov eax, dword [ebp - 0x14]
call fcn.10046e54
ret
push 4
push 0
push edi
jmp 0x1000bd0a

Function at 0x1000bd32
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xc
mov eax, 0x1005e011
call fcn.10046db5
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100025cc
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000bde6
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1000bde6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000bde6
lea esi, [ebp - 0x10]
call fcn.1000bac3
cmp eax, 0xffffffff
je 0x1000bdb4
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.10002967
mov edi, esi
mov byte [ebp - 4], 1
call fcn.10002660
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10003787
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x1000bded
push eax
call fcn.1000bd32
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000bded
push 0
push dword [ebp + 8]
call ebx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1000bde6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000bded
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10003787
mov eax, dword [ebp - 0x14]
call fcn.10046e54
ret
Function at 0x1000be01
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
cmp dword [eax - 0xc], ebx
jle 0x1000bebd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000bebd
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, ebx
jbe 0x1000bebc
lea eax, [edi + 1]
push eax
call fcn.1004251a
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1000bebc
mov esi, dword [esi]
push eax
push edi
push ebx
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1000beb3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x10064408
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1000beb3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 8]
mov edx, ecx
shr edx, 0x10
mov dword [esi], edx
mov edx, dword [ebp + 0xc]
movzx ecx, cx
mov dword [edx], ecx
mov edx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp + 0x14]
movzx eax, ax
mov dword [ecx], eax
mov dword [ebp - 0xc], 1
push dword [ebp - 4]
call fcn.10043b1e
pop ecx
pop edi
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret
Function at 0x1000c57b
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005f585
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10072414]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x10072414]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
lea ebx, [esp + 0x40]
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b], 0
call fcn.1000c81e
pop ecx
xor eax, eax
mov dword [esp + 0x68], eax
cmp dword [esp + 0x50], 8
mov ecx, dword [esp + 0x3c]
jae 0x1000c5dd
mov ecx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
push eax
push 3
push eax
push 1
mov edi, 0x80000000
push edi
push ecx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000c698
push 1
lea ebx, [esp + 0x24]
call fcn.1000c81e
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.1000ccfe
pop ecx
test al, al
jne 0x1000c668
mov eax, ebx
push eax
call fcn.1000ccfe
pop ecx
test al, al
je 0x1000c668
cmp dword [esp + 0x50], 8
mov ecx, dword [esp + 0x3c]
jae 0x1000c635
lea ecx, [esp + 0x3c]
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x1000c644
lea eax, [esp + 0x20]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1000c668
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x1000c661
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x1000c677
lea eax, [esp + 0x20]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 1
push edi
push eax
call esi
push 1
xor edi, edi
lea esi, [esp + 0x24]
mov ebx, eax
call fcn.10003982
cmp ebx, 0xffffffff
je 0x1000c6d5
xor esi, esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jb 0x1000c6ce
push esi
lea eax, [esp + 0x1c]
push eax
push 0x10
push dword [esp + 0x28]
mov dword [esp + 0x28], esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000c6ce
cmp dword [esp + 0x18], 0x10
jne 0x1000c6ce
mov byte [esp + 0x17], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
xor edi, edi
lea esi, [esp + 0x40]
call fcn.10003982
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10042ec5
mov esp, ebp
pop ebp
ret
Function at 0x1000c704
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x1005f558
call fcn.10046e1e
mov eax, dword [ebp + 8]
push 0
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x49], 0
call fcn.1000c81e
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x1000c735
mov ecx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
push eax
push 2
push eax
push 1
mov edi, 0x40000000
push edi
push ecx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000c788
push 1
lea ebx, [ebp - 0x2c]
call fcn.1000c81e
cmp dword [ebp - 0x18], 8
pop ecx
mov ecx, dword [ebp - 0x2c]
jae 0x1000c768
mov ecx, ebx
xor eax, eax
push eax
push eax
push 2
push eax
push 1
push edi
push ecx
call esi
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov ebx, eax
call fcn.10003982
cmp ebx, 0xffffffff
je 0x1000c7af
push 0
lea eax, [ebp - 0x50]
push eax
push 0x10
push dword [ebp - 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000c7a8
cmp dword [ebp - 0x50], 0x10
jne 0x1000c7a8
mov byte [ebp - 0x49], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.10003982
mov al, byte [ebp - 0x49]
call fcn.10046e68
ret

Function at 0x1000c81e
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x230
mov eax, 0x1005f528
call fcn.10046e1e
xor esi, esi
mov dword [ebp - 0x238], esi
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
mov dword [ebp - 0x23c], ebx
mov word [ebx], ax
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push esi
mov dword [ebp - 4], esi
inc edi
push eax
mov dword [ebp - 0x238], edi
call fcn.100464a0
xor eax, eax
add esp, 0xc
cmp byte [ebp + 8], al
push edi
sete al
dec eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000c901
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x234]
call fcn.1000bc8f
push 0
push eax
or eax, 0xffffffff
mov esi, ebx
mov dword [ebp - 4], edi
call fcn.1000bbf2
push edi
xor edi, edi
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.10003982
cmp byte [ebp + 8], 0
mov eax, ebx
je 0x1000c8d3
push str.TencentDeskUpdate
push 0x13
jmp 0x1000c8da
push str.TencentDesktop
push 0x10
pop edi
call fcn.1000bb5a
mov ecx, ebx
call fcn.1000c909
test al, al
jne 0x1000c8f2
mov ecx, ebx
call fcn.1000c9cc
push str.Global.db
push 0xa
pop edi
mov eax, ebx
call fcn.1000bb5a
mov eax, ebx
call fcn.10046e68
ret
Function at 0x1000dd24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x10072414]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x120]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x110], 3
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x114], ebx
call esi
test eax, eax
jne 0x1000deee
push dword [ebp - 0x124]
lea eax, [ebp - 0x108]
push str._sConnection
push 0x103
push eax
call fcn.1000e370
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
push edi
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x120]
call esi
test eax, eax
jne 0x1000dee2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push str.MediaSubType
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x1000ded6
push 0x104
xor edi, edi
lea eax, [ebp - 0x108]
push ebx
inc edi
push eax
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], 0x103
call fcn.100464a0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push str.PnpInstanceID
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x1000ded6
cmp dword [ebp - 0x114], edi
jne 0x1000dec0
push 3
mov esi, 0x1006a200
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10044768
add esp, 0xc
test eax, eax
jne 0x1000de96
mov dword [ebp - 0x110], ebx
jmp 0x1000ded6
cmp dword [ebp - 0x114], edi
jne 0x1000dec0
push 3
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10044768
add esp, 0xc
test eax, eax
je 0x1000dec0
mov dword [ebp - 0x110], 2
jmp 0x1000ded6
xor eax, eax
cmp dword [ebp - 0x114], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x110], eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042ec5
leave
ret
Function at 0x1000e164
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa4
call fcn.1005a930
mov eax, dword [0x10072414]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.100464a0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x1000e1b6
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x1000e1ea
push 0x5c
add eax, eax
pop ecx
cmp cx, word [ebp + eax - 0x20e]
je 0x1000e1ea
mov word [ebp + eax - 0x20c], cx
xor ecx, ecx
mov word [ebp + eax - 0x20a], cx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e1f3
sub eax, edx
sar eax, 1
mov ecx, esi
sub ecx, eax
push ecx
push str.iphlpapi.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10045999
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa0], eax
test eax, eax
jne 0x1000e23a
xor al, al
jmp 0x1000e35f
push edi
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000e31e
lea ecx, [ebp - 0x2aa4]
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
mov dword [ebp - 0x2aa4], 0x2880
call eax
test eax, eax
jne 0x1000e31e
mov dword [ebp - 0x2a98], ebx
lea eax, [ebp - 0x2a94]
sub dword [ebp - 0x2a98], eax
lea esi, [ebp - 0x2a8c]
mov dword [ebp - 0x2a9c], 3
lea eax, [esi + 8]
push eax
call fcn.1000dd24
pop ecx
mov ecx, eax
xor eax, eax
lea edi, [ebp - 0x2a94]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
mov edx, dword [ebp - 0x2a98]
lea eax, [ebp + edi - 0x2a94]
mov dl, byte [edx + eax]
cmp dl, byte [eax]
jne 0x1000e2c8
inc edi
cmp edi, 6
jb 0x1000e2ac
jmp 0x1000e2d9
cmp dword [esi + 0x1a0], 6
jne 0x1000e314
cmp dword [ebp - 0x2a9c], ecx
jle 0x1000e314
mov al, byte [esi + 0x194]
mov byte [ebx], al
mov al, byte [esi + 0x195]
mov byte [ebx + 1], al
mov al, byte [esi + 0x196]
mov byte [ebx + 2], al
mov al, byte [esi + 0x197]
mov byte [ebx + 3], al
mov al, byte [esi + 0x198]
mov byte [ebx + 4], al
mov al, byte [esi + 0x199]
mov byte [ebx + 5], al
mov dword [ebp - 0x2a9c], ecx
mov esi, dword [esi]
test esi, esi
jne 0x1000e293
push dword [ebp - 0x2aa0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea edi, [ebp - 0x2a94]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, ebx
lea eax, [ebp - 0x2a94]
xor ecx, ecx
sub esi, eax
pop edi
lea eax, [ebp + ecx - 0x2a94]
mov dl, byte [esi + eax]
cmp dl, byte [eax]
jne 0x1000e36c
inc ecx
cmp ecx, 6
jb 0x1000e342
mov al, 1
xor ecx, ecx
test al, al
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10042ec5
leave
ret
xor al, al
jmp 0x1000e358
Function at 0x1000e38f
Capabilities:
Enumerate processes

Disassembly:
push 0x248
mov eax, 0x1005dfd9
call fcn.10046e1e
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0xc]
push esi
push 2
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
je 0x1000e53d
lea ecx, [ebp - 0x23c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, esi
je 0x1000e52e
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.100025cc
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24c]
mov eax, dword [eax]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x244], eax
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x240]
mov edi, dword [eax - 0xc]
push edi
lea esi, [ebp - 0x240]
call fcn.100029f5
lea ecx, [edi + 1]
push ecx
push eax
call fcn.10045c32
pop ecx
pop ecx
test edi, edi
js 0x1000e545
mov eax, dword [ebp - 0x240]
cmp edi, dword [eax - 8]
jg 0x1000e545
mov dword [eax - 0xc], edi
mov ecx, dword [ebp - 0x240]
xor eax, eax
push 0x21
lea esi, [ebp - 0x248]
mov word [ecx + edi*2], ax
call fcn.100029f5
push eax
lea eax, [edi + edi]
push eax
push edi
lea esi, [ebp - 0x240]
call fcn.100029f5
push eax
call fcn.10014600
add esp, 0xc
lea esi, [ebp - 0x248]
call fcn.10002a2a
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x248]
jmp 0x1000e4ea
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x244]
cmp ecx, dword [eax]
je 0x1000e4f7
lea eax, [ebx + 8]
push edi
push eax
call fcn.100026d6
test eax, eax
mov eax, dword [ebp - 0x244]
je 0x1000e4f0
mov eax, dword [eax]
mov ebx, dword [ebx]
mov dword [ebp - 0x244], eax
cmp ebx, dword [esi]
jne 0x1000e4bc
jmp 0x1000e4f7
mov dword [eax + 8], 1
lea eax, [edi - 0x10]
call fcn.10003787
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
call fcn.10003787
test esi, esi
jne 0x1000e3ea
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
mov eax, esi
call fcn.10046e68
ret
push 0x80070057
call fcn.10003813
int3
Function at 0x1000e5c8
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.1005a930
mov eax, dword [0x10072414]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x1008], 1
mov dword [ebp - 0x1010], 0x800
test eax, eax
je 0x1000e6ad
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1008]
push ecx
push 0
push str.MachineGuid
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb al, al
inc al
je 0x1000e6ad
cmp dword [ebp - 0x1008], 1
jne 0x1000e655
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e642
lea ecx, [ebp - 0x804]
jmp 0x1000e6a0
cmp dword [ebp - 0x1008], 2
jne 0x1000e6ad
mov edi, 0x400
push edi
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1010], eax
test eax, eax
je 0x1000e6ad
cmp eax, edi
ja 0x1000e6ad
lea eax, [ebp - 0x1004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e68f
lea ecx, [ebp - 0x1004]
sub eax, edx
sar eax, 1
call fcn.1000b42e
mov al, 1
jmp 0x1000e6af
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10042ec5
leave
ret 4