joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd3a000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xd3a131
push esi
call fcn.00d3d145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00d2c080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xd3a131
push 0
push ebp
call fcn.00d2c3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00d2c260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xd3a08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00d2c2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xd3a121
push 0xd52918
push edi
call fcn.00d3b3f0
push eax
push ebx
push esi
call fcn.00d39f60
push 0xd528f8
push edi
call fcn.00d3b3f0
push eax
push ebx
push esi
call fcn.00d39f60
push 0xd528d8
push edi
call fcn.00d3b3f0
push eax
push ebx
push esi
call fcn.00d39f60
push 0xd528c0
push edi
call fcn.00d3b3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00d39f60
push 0xd528a0
push edi
call fcn.00d3b3f0
push eax
push ebx
push esi
call fcn.00d39f60
push 0xd52888
push edi
call fcn.00d3b3f0
push eax
push ebx
push esi
call fcn.00d39f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xd3b1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00d3b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00d3b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00d3b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00d3b140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xd3bbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd3bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd4d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xd3bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xd3bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x404530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0xffffffff
je 0x4045cf
mov eax, dword [ebp - 0x314]
and eax, 0x10
je 0x404592
mov eax, dword [ebp - 0x314]
and eax, 4
jne 0x404583
mov eax, dword [ebp - 0x314]
and eax, 2
jne 0x404583
mov eax, dword [ebp - 0x314]
and eax, 0x4000
je 0x404589
xor eax, eax
jmp 0x4045d1
mov eax, 1
jmp 0x4045d1
mov eax, dword [ebp - 0x314]
and eax, 4
jne 0x4045c2
mov eax, dword [ebp - 0x314]
and eax, 1
jne 0x4045c2
mov eax, dword [ebp - 0x314]
and eax, 0x100
jne 0x4045c2
mov eax, dword [ebp - 0x314]
and eax, 0x10000
je 0x4045c8
xor eax, eax
jmp 0x4045d1
mov eax, 1
jmp 0x4045d1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4049b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov eax, 0x52
mov word [ebp - 0x1c], ax
mov eax, 0x45
mov word [ebp - 0x1a], ax
mov eax, 0x41
mov word [ebp - 0x18], ax
mov eax, 0x44
mov word [ebp - 0x16], ax
mov eax, 0x4d
mov word [ebp - 0x14], ax
mov eax, 0x45
mov word [ebp - 0x12], ax
mov eax, 0x2e
mov word [ebp - 0x10], ax
mov eax, 0x74
mov word [ebp - 0xe], ax
mov eax, 0x78
mov word [ebp - 0xc], ax
mov eax, 0x74
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [ebp + 8]
push eax
call fcn.00404a80
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x404a48
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x404a5a
mov eax, dword [ebp + 8]
push eax
call section..text
add esp, 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404120
add esp, 8
test eax, eax
je 0x404a78
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4013c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x4c
mov eax, dword [0x417040]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0x13a8
mov ebp, dword [esp + 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x10], eax
xor edi, edi
mov edx, dword [eax + 0x3c]
add edx, eax
movzx ecx, word [edx + 0x14]
lea esi, [edx + 0x18]
movzx ebx, word [edx + 6]
add esi, ecx
mov eax, dword [edx + 0x34]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x401466
nop dword [eax]
movups xmm0, xmmword [esi]
mov eax, 0x410224
lea ecx, [esp + 0x30]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0x50], xmm0
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401455
test dl, dl
je 0x401451
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401455
add ecx, 2
add eax, 2
test dl, dl
jne 0x401435
xor eax, eax
jmp 0x40145a
sbb eax, eax
or eax, 1
test eax, eax
je 0x4014a0
inc edi
add esi, 0x28
cmp edi, ebx
jl 0x401410
xorps xmm0, xmm0
xorps xmm1, xmm1
sub esp, 0x18
mov eax, esp
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
call fcn.00401100
push str.pause
call fcn.0040484e
mov ecx, dword [esp + 0x74]
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401705
add esp, 0x4c
ret
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x10]
add eax, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
sub eax, ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x18]
mov dword [esp + 0x28], eax
movq xmm1, qword [esp + 0x28]
jmp 0x40146c

Function at 0x401f70
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401faf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401faf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401faf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401faf
cmp dword [ecx + 0x74], 0xe
jbe 0x401faf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40880b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4088a8
push ebx
push esi
call fcn.004087d4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00408768
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408855
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4088a7
push edi
push eax
call fcn.00409428
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x408875
call fcn.004060ab
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4088a6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00408768
add esp, 0x20
test eax, eax
jne 0x408894
push edi
call fcn.004060ab
jmp 0x40889c
push ebx
call fcn.004060ab
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x409ba5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4120f0
push 0x4120e8
push str.FlsAlloc
push 0x1f
call fcn.00409a64
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409bd9
push dword [ebp + 8]
mov ecx, esi
call dword [0x410154]
call esi
jmp 0x409bdf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409c23
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412100
push 0x4120f8
push str.FlsGetValue
push 0x21
call fcn.00409a64
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409c5a
push dword [ebp + 8]
mov ecx, esi
call dword [0x410154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x409c62
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412108
push 0x412100
push str.FlsSetValue
push 0x22
call fcn.00409a64
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409c9c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x410154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40f730
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f75d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f75d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40c170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40bc70
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00418c83
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x4042584a
jmp 0x40c1f0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x14], 0xb507cb02
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x14]
cmp eax, 0x79e041ff
jg 0x40c220
cmp eax, 0xacd1d388
jg 0x40c230
cmp eax, 0x8ee632e5
jne 0x40c1f0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x14], 0x5056276e
jmp 0x40c1f0
cmp eax, 0x79e04200
jne 0x40c1f0
jmp 0x40c1c4
cmp eax, 0x5056276d
jg 0x40c267
cmp eax, 0x40425849
jg 0x40c273
cmp eax, 0x36a724a1
jg 0x40c296
cmp eax, 0x29093389
jg 0x40c2ad
cmp eax, 0xacd1d389
je 0x40c2cc
cmp eax, 0xb507cb02
jne 0x40c2e5
mov dword [ebp - 0x14], 0x2909338a
jmp 0x40c1f0
cmp eax, 0x5056276e
jne 0x40c1f0
jmp 0x40c2fc
cmp eax, 0x4042584a
jne 0x40c1f0
mov eax, 0xc33df353
cmp dword [ebp - 8], 0
je 0x40c28e
mov eax, 0x79e04200
mov dword [ebp - 0x14], eax
jmp 0x40c1f0
cmp eax, 0x36a724a2
jne 0x40c1f0
mov dword [ebp - 0x14], 0x2909338a
jmp 0x40c1f0
cmp eax, 0x2909338a
jne 0x40c1f0
cmp dword [ebp - 0x10], 0
setne byte [ebp - 1]
mov dword [ebp - 0x14], 0xacd1d389
jmp 0x40c1f0
mov al, byte [ebp - 1]
test al, al
mov eax, 0x8ee632e5
jne 0x40c2dd
mov eax, 0x5056276e
mov dword [ebp - 0x14], eax
jmp 0x40c1f0
cmp eax, 0xc33df353
jne 0x40c1f0
mov dword [ebp - 0x14], 0xb507cb02
jmp 0x40c1f0
add esp, 0x2c
pop ebp
ret
Function at 0x42073a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c93e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041d58f
mov dword [ebp - 0x14], eax
cmp dword [0x4cac7c], edi
jne 0x42082b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4207b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42090b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42090b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42090b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4cac7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4cac80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4cac84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4cac8c], eax
test eax, eax
je 0x420828
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4cac88], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x420850
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x420843
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x420865
push 4
pop eax
jmp 0x42090d
cmp dword [ebp - 0x14], edi
je 0x420865
push dword [0x4cac7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42084a
mov eax, dword [0x4cac88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4208c3
cmp dword [0x4cac8c], esi
je 0x4208c3
push eax
call ebx
push dword [0x4cac8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4208c3
test eax, eax
je 0x4208c3
call ecx
test eax, eax
je 0x4208b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4208b8
test byte [ebp - 8], 1
jne 0x4208c3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4208f3
mov eax, dword [0x4cac80]
cmp eax, esi
je 0x4208f0
push eax
call ebx
test eax, eax
je 0x4208f0
call eax
mov edi, eax
test edi, edi
je 0x4208f0
mov eax, dword [0x4cac84]
cmp eax, esi
je 0x4208f0
push eax
call ebx
test eax, eax
je 0x4208f0
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4cac7c]
call ebx
test eax, eax
je 0x42090b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42090d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a699
leave
ret
Function at 0x47519a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x47519a
lcall 0x5de5, 0x8b10c483
jmp loc.00a253b0
Function at 0xdc3370
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 0xdc338e
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 0xdec074
push ecx
mov edi, eax
call fcn.00dd7198
mov esi, eax
add esp, 8
test esi, esi
jne 0xdc33cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00dd702e
push esi
call fcn.00dd6fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xdc6850
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 0xdc68ae
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 0xdf1720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xdc68ba
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.00dd71e1
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 0xdc68ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xdf1720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xdc692a
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.00dd8082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xdc6957
mov word [eax], si
add eax, 2
push eax
call fcn.00dd8030
add esp, 4
jmp 0xdc6959
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 0xdc68ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xdc68b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xdc6ff0
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
Function at 0xdc7080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xdc70c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xdec458
push ecx
call fcn.00dd71e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00dd71e1
add esp, 0x10
jmp 0xdc70d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00dd720b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00dd6dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00dc7050
mov eax, dword [0xdf1728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xdc713b
push esi
call fcn.00dc6fb0
add esp, 4
mov dword [0xdf1728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xdc714c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00dc6ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xdca440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xdca4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xdca48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xdca471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xdca47e
add edx, ecx
cmp ebx, edx
jb 0xdca48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xdca467
xor ecx, ecx
jmp 0xdca4a2
test eax, eax
jne 0xdca492
xor ecx, ecx
jmp 0xdca4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00dca3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xdca8f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xdca921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xdca946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xdca96e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xdca993
push ecx
push esi
call fcn.00dca4c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xdcbc00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xdcbc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xdcbc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xdcbc38
add edx, eax
cmp ebx, edx
jb 0xdcbc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xdcbc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xdcbc50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xdcbc70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xdcbcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xdcbc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xdcbca8
add edx, ecx
cmp ebx, edx
jb 0xdcbcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xdcbc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xdcbf60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00dd8145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xdcbffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xdcbfdd
lea eax, [esp + 0x18]
push eax
jmp 0xdcbfe2
push 0xdf1720
call fcn.00dd7fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xdcbfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xdcbf40
push 4
push ecx
push eax
call fcn.00dd843f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret