joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10197319
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101c3e20], 0
mov dword [0x101c3e24], 0
mov dword [0x101c3e30], 0
mov dword [0x101c3e18], 0x201d
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10197453
jmp 0x10197395
mov eax, dword [0x101c3e20]
mov ecx, dword [0x101c3e24]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add edx, 1
mov dword [0x101c3e18], 0x1361
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101c3e20], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101c3e24], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101c3e28], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c3e28]
mov edx, dword [0x101c3e24]
mov byte [ebx + edx], cl
mov edx, dword [0x101c3e20]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c3e24]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101c3e30], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov dword [0x101c3e18], 0x1056
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
jne 0x1019737e
mov eax, dword [0x101c3e1c]
add eax, 0x3b1
mov dword [0x101c3e1c], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101975b6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x101c3e18]
add ecx, 0xffffe9b9
mov dword [0x101c3e18], ecx
mov dword [ebp - 0x10], eax
call fcn.1019784e
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10197604
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [0x101c3e18]
mov edi, esi
add edi, 0x13d1
mov dword [0x101c3e18], edi
mov edi, dword [edx + eax + 0x24]
mov dword [0x101c3e1c], 0x1ae9
mov ebx, dword [edx + eax + 0x18]
cmp ebx, 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x1019774a
jmp 0x101976cb
mov eax, dword [ebp - 0x30]
add eax, 0x24d2
mov ecx, dword [ebp - 0x30]
add ecx, 0x6e8
mov edx, dword [ebp - 0x3c]
movzx esi, word [edx]
mov dword [0x101c3e1c], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
add eax, dword [eax + edi + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [0x101c3e18], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x28], ecx
jmp 0x1019774a
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
jne 0x101976f7
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x1019765d
jmp 0x10197726
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
add ecx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
jmp 0x10197699
mov al, byte [ebp - 0x49]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x48]
add edx, 1
mov ah, byte [ebp - 0x4a]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x10197699
jmp 0x101976c2
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x58]
add edx, 1
mov esi, dword [ebp - 0x38]
cmp edx, esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x28], eax
jb 0x101976db
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10001660
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov dword [ebp - 0x10], 0x1000
mov dword [esp], 0x1000
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x10001721
mov esi, eax
mov edi, dword [sym.imp.iphlpapi.dll_GetAdaptersAddresses]
mov dword [esp + 8], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call edi
sub esp, 0x14
cmp eax, 0x6f
jne 0x10001704
lea esi, [esi]
mov eax, dword [ebp - 0x10]
mov dword [esp], esi
mov ebx, esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov esi, eax
test eax, eax
je 0x10001712
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call edi
sub esp, 0x14
cmp eax, 0x6f
je 0x100016c0
test eax, eax
jne 0x10001718
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, ebx
lea esi, [esi]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x100017b0
Capabilities:
Get disk size

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x6c
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x46], 0x5c005c
mov dword [ebp - 0x42], 0x5c002e
mov dword [ebp - 0x3e], 0x3a0041
mov dword [ebp - 0x50], 0x20000000
mov dword [ebp - 0x4c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
movzx eax, word [esi]
sub esp, 0x10
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x46]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x100018b3
mov esi, eax
mov dword [esp + 0x1c], 0
lea eax, [ebp - 0x54]
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x700a0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
sub esp, 0x20
test eax, eax
jne 0x100018c8
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x100018a7
Function at 0x100018e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x20e]
sub esp, 0x22c
mov dword [esp + 0x1c], 0x105
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
sub esp, 0x20
test eax, eax
jne 0x10001950
mov dword [esp], str.NTFS
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x10001960
Capabilities:
Get disk information

Disassembly:
push ebp
mov edx, eax
mov ecx, 0x82
xor eax, eax
mov ebp, esp
push edi
lea edi, [ebp - 0x20e]
sub esp, 0x22c
rep stosd dword es:[edi], eax
xor eax, eax
mov word [edi], ax
lea edi, [ebp - 0x20e]
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x105
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
sub esp, 0x20
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edi, dword [ebp - 4]
leave
ret

Function at 0x10001d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x18]
sub esp, 0x30
mov dword [ebp - 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x10001e88
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], 0
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExW]
lea edi, [ebp - 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x18]
sub esp, 0x18
test eax, eax
jne 0x10001df9
cmp dword [ebp - 0x10], 1
je 0x10001e20
mov dword [ebp - 0x1c], 0
test edx, edx
je 0x10001e10
mov dword [esp], edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
add eax, 2
mov dword [ebp - 0x20], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x24]
test eax, eax
mov ecx, eax
mov dword [ebp - 0x1c], eax
je 0x10001e88
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [ebp - 0x20], ecx
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
call esi
mov edx, dword [ebp - 0x18]
sub esp, 0x18
test eax, eax
mov ecx, dword [ebp - 0x20]
je 0x10001e00
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
lea esi, [esi]
mov edx, dword [ebp - 0x18]
jmp 0x10001df9
Function at 0x100036a0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x40]
push ebx
lea esi, [ebp - 0x3c]
sub esp, 0x5c
mov dword [ebp - 0x4c], eax
mov ebx, dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x3c], 0xffff
mov dword [edx], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], esi
mov dword [esp], 0x6b
call ebx
sub esp, 0x18
cmp eax, 0xc0000004
jne 0x100037d8
mov ecx, dword [ebp - 0x40]
mov dword [esp], ecx
mov dword [ebp - 0x48], ecx
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x48]
test eax, eax
mov dword [ebp - 0x44], eax
je 0x10003816
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
mov eax, dword [ebp - 0x44]
mov dword [esp + 8], 4
mov dword [esp + 4], esi
mov dword [esp], 0x6b
mov dword [esp + 0xc], eax
call ebx
sub esp, 0x18
mov edi, eax
test eax, eax
jne 0x100037c8
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x48], 0
xor esi, esi
test edx, edx
jne 0x10003776
jmp 0x10003850
add esi, 1
test byte [ecx + 8], 1
mov ebx, 1
cmovne edi, ebx
add eax, dword [ecx + 4]
cmp eax, edx
jae 0x10003795
mov ebx, dword [ebp - 0x44]
lea ecx, [ebx + eax]
mov ebx, dword [ecx]
test ebx, ebx
je 0x10003760
cmp ebx, 3
sete bl
add eax, dword [ecx + 4]
movzx ebx, bl
add dword [ebp - 0x48], ebx
cmp eax, edx
jb 0x10003776
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100037aa
mov dword [eax], esi
mov eax, dword [ebp - 0x50]
test edi, edi
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
lea eax, [esi + esi]
cmovne esi, eax
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esi, [esi]
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], 0
mov esi, 1
mov dword [esp + 8], 0x2c
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
sub esp, 0x10
test eax, eax
jne 0x100037ba
movzx esi, byte [ebp - 0x10]
lea esp, [ebp - 0xc]
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
xor eax, eax
xor edx, edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
sub esp, 0x10
test eax, eax
je 0x10003808
mov esi, 1
jmp 0x100037ba
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10003879
mov dword [eax], 0
mov eax, dword [ebp - 0x50]
xor esi, esi
mov dword [eax], 0
jmp 0x100037ba
mov eax, dword [ebp - 0x50]
xor esi, esi
mov dword [eax], 0
jmp 0x100037ba
Function at 0x1000eec0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x20
mov dword [ebp - 0x10], eax
movzx ecx, word [edx]
test esi, esi
je 0x1000f030
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000efa0
test cx, cx
je 0x1000f020
mov ebx, edx
nop
add ebx, 2
cmp word [ebx], 0
jne 0x1000eef0
sub ebx, edx
sar ebx, 1
cmp word [esi], 0
je 0x1000ef17
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000ef08
sub eax, esi
sar eax, 1
add ebx, eax
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x1000ef30
add eax, 2
cmp word [eax], 0
jne 0x1000ef20
sub eax, dword [ebp + 8]
sar eax, 1
add ebx, eax
add ebx, 0x4a
mov dword [ebp - 0x14], edx
lea eax, [ebx + ebx]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x14]
test eax, eax
mov edi, eax
je 0x1000f098
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.SELECT__FROM___QUALIFIERS_WHERE_Class_s_AND_Member_s_AND_Name_s
mov dword [esp + 4], ebx
mov dword [esp + 0x14], eax
mov dword [esp], edi
call fcn.1000ee70
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.10011860
mov dword [esp], edi
mov ebx, eax
call dword [sym.imp.ucrtbase.dll_free]
add esp, 0x20
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x1000f030
test cx, cx
je 0x1000f085
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x1000efb8
sub eax, edx
sar eax, 1
cmp word [esi], 0
je 0x1000efdf
mov ecx, esi
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x1000efd0
sub ecx, esi
sar ecx, 1
add eax, ecx
lea ebx, [eax + 0x3c]
mov dword [ebp - 0x14], edx
lea eax, [ebx + ebx]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x1000f098
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 8], str.SELECT__FROM___QUALIFIERS_WHERE_Class_s_AND_Member_s
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0xc], edx
call fcn.1000ee70
jmp 0x1000ef72
xor ebx, ebx
jmp 0x1000eefd
mov eax, edx
test cx, cx
je 0x1000f08c
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x1000f040
sub eax, edx
lea ecx, [eax + 0x58]
sar eax, 1
lea ebx, [eax + 0x2c]
mov dword [ebp - 0x14], edx
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x1000f098
mov edx, dword [ebp - 0x14]
mov dword [esp + 8], str.SELECT__FROM___QUALIFIERS_WHERE_Class_s
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0xc], edx
call fcn.1000ee70
jmp 0x1000ef72
xor eax, eax
jmp 0x1000efc5
mov ebx, 0x2c
mov ecx, 0x58
jmp 0x1000f053
mov ebx, 0x8007000e
jmp 0x1000ef93
Function at 0x1000fec0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x30]
push ebx
lea esi, [ebp - 0x2c]
sub esp, 0x2c
mov dword [ebp - 0x30], 0x10
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetComputerNameW]
sub esp, 8
test eax, eax
je 0x1000ff30
movzx eax, word [ebp - 0x2c]
test ax, ax
je 0x1000ff14
mov ebx, dword [sym.imp.ucrtbase.dll_towupper]
mov edi, esi
lea esi, [esi]
nop
mov dword [esp], eax
add edi, 2
call ebx
mov word [edi - 2], ax
movzx eax, word [edi]
test ax, ax
jne 0x1000ff00
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10017ea0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], str.SELECT__FROM__s_WHERE__s
mov dword [esp], 4
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll___stdio_common_vswprintf]
leave
ret
Function at 0x1001a9c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov edi, dword [ebp + 8]
mov edx, dword [edi + 8]
mov esi, dword [edi + 4]
test edx, edx
mov dword [ebp - 0x10], edx
je 0x1001aa20
add esi, dword [edi + 0xc]
add esi, 0x1a
lea eax, [esi + esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x1001aa12
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x10], edx
mov eax, dword [edi]
mov dword [esp + 8], str.SELECT__FROM__s_WHERE__s
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.10017ea0
add esp, 0x18
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esi + esi + 0x1e]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x1001aa12
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + str.SELECT__FROM]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x1001aa38
cmp word [ebx], 0
mov edx, ebx
mov esi, dword [edi]
je 0x1001aa61
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1001aa58
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1001aa68
add esp, 0x18
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x10020640
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x100310e0]
test eax, eax
je 0x100206f8
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
mov dword [ebx + 8], eax
jns 0x10020680
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x1002066c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x1002072d
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x100310e0], eax
test eax, eax
jne 0x1002065d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x1002066e
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x2578008a
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x216c5cbe
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0xe849a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xec8e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xee2014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0xee30ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00e980c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0xee2a8c
push eax
call fcn.00e980c0
mov esi, dword [0xee30fc]
xor ebx, ebx
mov edi, dword [0xee3100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0xee6390], bl
mov eax, ebx
mov ecx, 0xee30ec
cmovae ecx, dword [0xee30ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0xee64a0], al
inc ebx
cmp ebx, 0x100
jl 0xe84a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0xee6390]
movzx eax, byte [esi + 0xee64a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xe84a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0xee6390]
mov byte [esi + 0xee6390], al
inc esi
mov byte [edi + 0xee6390], dl
cmp esi, 0x100
jl 0xe84a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00e84690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0xe84ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xe84abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xe84b1f
push edx
push ecx
call fcn.00e9d663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0xe84b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xe84b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xe84b1f
push edx
push ecx
call fcn.00e9d663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00eb6c6a
int3