joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdc1000
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 0xdc1131
push esi
call fcn.00dc4145
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.00db3080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xdc1131
push 0
push ebp
call fcn.00db33a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00db3260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xdc108b
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.00db32f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xdc1121
push 0xdd9918
push edi
call fcn.00dc23f0
push eax
push ebx
push esi
call fcn.00dc0f60
push 0xdd98f8
push edi
call fcn.00dc23f0
push eax
push ebx
push esi
call fcn.00dc0f60
push 0xdd98d8
push edi
call fcn.00dc23f0
push eax
push ebx
push esi
call fcn.00dc0f60
push 0xdd98c0
push edi
call fcn.00dc23f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00dc0f60
push 0xdd98a0
push edi
call fcn.00dc23f0
push eax
push ebx
push esi
call fcn.00dc0f60
push 0xdd9888
push edi
call fcn.00dc23f0
push eax
push ebx
push esi
call fcn.00dc0f60
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 0xdc21b0
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.00dc2140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00dc2140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00dc2140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00dc2140
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 0xdc2bfa
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 0xdc2c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xdd487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xdc2c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xdc2c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x403370
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x180c
call fcn.0040c700
mov eax, dword [0x2b9eb7c]
mov ecx, dword [0x2b9eaf0]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40347b
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b9eb7c], 0x959
jne 0x403461
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea edx, [esp + 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402ce8
push 0x402d14
call esi
push 0
push 0x402d4c
push 0x402d60
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004031b0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4033b4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180c
ret
Function at 0x4095d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444b80]
jne 0x4095df
repz ret
jmp fcn.0040bb65

Function at 0x409737
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406fdd
and dword [ebp - 4], 0
cmp dword [0x447d00], 0
mov ebx, eax
jne 0x4097e8
push 0x401b84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409899
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b78
push edi
call esi
test eax, eax
je 0x409899
push eax
call fcn.00406f6b
mov dword [esp], 0x401b68
push edi
mov dword [0x447d00], eax
call esi
push eax
call fcn.00406f6b
mov dword [esp], 0x401b54
push edi
mov dword [0x447d04], eax
call esi
push eax
call fcn.00406f6b
mov dword [esp], 0x401b38
push edi
mov dword [0x447d08], eax
call esi
push eax
call fcn.00406f6b
pop ecx
mov dword [0x447d10], eax
test eax, eax
je 0x4097e8
push 0x401b20
push edi
call esi
push eax
call fcn.00406f6b
pop ecx
mov dword [0x447d0c], eax
mov eax, dword [0x447d0c]
cmp eax, ebx
je 0x409840
cmp dword [0x447d10], ebx
je 0x409840
push eax
call fcn.00406fe6
push dword [0x447d10]
mov esi, eax
call fcn.00406fe6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409840
test edi, edi
je 0x409840
call esi
test eax, eax
je 0x409837
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409837
test byte [ebp - 0xc], 1
jne 0x409840
or dword [ebp + 0x10], 0x200000
jmp 0x409879
mov eax, dword [0x447d04]
cmp eax, ebx
je 0x409879
push eax
call fcn.00406fe6
pop ecx
test eax, eax
je 0x409879
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409879
mov eax, dword [0x447d08]
cmp eax, ebx
je 0x409879
push eax
call fcn.00406fe6
pop ecx
test eax, eax
je 0x409879
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x447d00]
call fcn.00406fe6
pop ecx
test eax, eax
je 0x409899
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40989b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401902
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 8], 0
mov dword [ebp - 0x38], 4
lea eax, [ebp - 0x24]
push eax
call fcn.00401258
add esp, 4
test eax, eax
jne 0x401950
xor eax, eax
jmp 0x401a8b
lea ecx, [ebp - 0x34]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x24]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40197f
mov dword [ebp - 0x34], 0
jmp 0x401a89
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4019b7
mov dword [ebp - 4], 0
jmp 0x401a87
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push 0x416050
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4019f0
mov dword [ebp - 0x30], 0
jmp 0x401a85
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
push 0
push 0x41605c
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 8], 1
jne 0x401a1f
mov dword [ebp - 0x2c], 0
jmp 0x401a44
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x41606c
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x30], 0
je 0x401a54
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x401a64
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], 0
je 0x401a74
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x24]
push edx
call fcn.004011bb
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x401a8b
jmp 0x401a44
jmp 0x401a44
jmp 0x401a44
mov esp, ebp
pop ebp
ret
Function at 0x40211c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov byte [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 0x416118
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402196
push str.GetColorDirectoryA
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40218c
mov edx, dword [ebp + 0x10]
sub edx, 2
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [ebp - 0x10]
test eax, eax
je 0x40218c
push 0x416138
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [ebp - 0xc], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
test ecx, ecx
jne 0x402237
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x10]
sub edx, 0x15
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4021dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
or eax, 0xffffffff
jmp 0x402239
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx - 1]
cmp eax, 0x5c
jne 0x4021fb
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
push 0x32
lea edx, [ebp - 0x50]
push edx
push 0xcab
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x402223
push str.Color_
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 4]
mov byte [edx], 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402300
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9d8
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x40232b
xor eax, eax
jmp 0x4025cd
cmp dword [ebp - 0x88], 2
jne 0x402349
cmp dword [ebp - 0x94], 5
jb 0x402349
mov dword [ebp - 0x9d8], 1
jmp 0x402353
mov dword [ebp - 0x9d8], 0
mov ecx, dword [ebp - 0x9d8]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetICMProfileA]
test eax, eax
je 0x4025a7
cmp dword [ebp - 0x9c], 0
je 0x402393
mov eax, 1
jmp 0x4025cd
mov dword [ebp - 4], 1
push 0x1a8
push 0
lea edx, [ebp - 0x250]
push edx
call fcn.00407140
add esp, 0xc
mov dword [ebp - 0x250], 0x1a8
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x4025a7
push str.EnumDisplayDevicesA
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x4025a7
mov dword [ebp - 0xa8], 0
jmp 0x402418
mov ecx, dword [ebp - 0xa8]
add ecx, 1
mov dword [ebp - 0xa8], ecx
push 0
lea edx, [ebp - 0x250]
push edx
mov eax, dword [ebp - 0xa8]
push eax
push 0
call dword [ebp - 0xa0]
test eax, eax
je 0x4025a7
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402582
push 0x1a8
push 0
lea eax, [ebp - 0x3f8]
push eax
call fcn.00407140
add esp, 0xc
mov dword [ebp - 0x3f8], 0x1a8
push 0
lea ecx, [ebp - 0x3f8]
push ecx
push 0
lea edx, [ebp - 0x24c]
push edx
call dword [ebp - 0xa0]
test eax, eax
je 0x402580
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x3fc], 0
push 0x414
push 0
lea eax, [ebp - 0x814]
push eax
call fcn.00407140
add esp, 0xc
mov dword [ebp - 0x400], 0x414
push 0x58
push 0
lea ecx, [ebp - 0x86c]
push ecx
call fcn.00407140
add esp, 0xc
mov dword [ebp - 0x86c], 0x58
mov dword [ebp - 0x848], 0x6d6e7472
mov dword [ebp - 0x868], 0x300
mov dword [ebp - 0x864], 0x21
lea edx, [ebp - 0x350]
mov dword [ebp - 0x860], edx
lea eax, [ebp - 0x3fc]
push eax
lea ecx, [ebp - 0x400]
push ecx
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x86c]
push eax
push 0
call fcn.00402256
add esp, 0x14
test eax, eax
je 0x402580
push 0x168
lea ecx, [ebp - 0x9d4]
push ecx
mov edx, dword [0x419690]
push edx
call fcn.0040211c
add esp, 0xc
cmp dword [ebp - 0x3fc], 0
jbe 0x402580
lea eax, [ebp - 0x9d4]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00406c70
add esp, 8
lea edx, [ebp - 0x814]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00406c80
add esp, 8
jmp 0x4025a7
push 0x1a8
push 0
lea ecx, [ebp - 0x250]
push ecx
call fcn.00407140
add esp, 0xc
mov dword [ebp - 0x250], 0x1a8
jmp 0x402409
cmp dword [ebp - 4], 0
jne 0x4025ca
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401613
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x4025cd
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40b699
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test al, 0x88
pop ebp
test eax, 0x58aa45c6
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0040b43d
shl dl, 1
test byte [0x50a8458d], ch
call fcn.0040b44d
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0040b402
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40b72b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040b43d
out dx, eax
cli
adc byte [ebx - 0x73], ch
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x6bc370
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 0x6bc38e
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 0x6e5074
push ecx
mov edi, eax
call fcn.006d0198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6bc3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006d002e
push esi
call fcn.006cffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6bf850
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 0x6bf8ae
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 0x6ea720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6bf8ba
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.006d01e1
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 0x6bf8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x6ea720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6bf92a
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.006d1082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6bf957
mov word [eax], si
add eax, 2
push eax
call fcn.006d1030
add esp, 4
jmp 0x6bf959
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 0x6bf8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6bf8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6c00c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x6e5458
push ecx
call fcn.006d01e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006d01e1
add esp, 0x10
jmp 0x6c00d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.006d020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.006cfdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.006c0050
mov eax, dword [0x6ea728]
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 0x6c013b
push esi
call fcn.006bffb0
add esp, 4
mov dword [0x6ea728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x6c014c
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.006bfff0
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 0x6c3440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6c34b7
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 0x6c348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6c3471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6c347e
add edx, ecx
cmp ebx, edx
jb 0x6c348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6c3467
xor ecx, ecx
jmp 0x6c34a2
test eax, eax
jne 0x6c3492
xor ecx, ecx
jmp 0x6c34a2
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.006c33c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x6c38f0
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 0x6c3921
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 0x6c3946
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 0x6c396e
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 0x6c3993
push ecx
push esi
call fcn.006c34c0
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