joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b5f48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x100b5f57
pop dword [ebp - 0xc]
mov eax, 0x8b4cb998
add eax, 0x84bea5bf
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xc2457ed2
sub dword [ebp - 0x1c], 0x73f33987
mov dword [ebp - 0x18], 0xfce06be3
add dword [ebp - 0x18], 0x3552e062
mov dword [ebp - 0x14], 0xc0754a2c
sub dword [ebp - 0x14], 0x742905fe
mov dword [ebp - 0x10], 0xe16cfa6c
add dword [ebp - 0x10], 0x1e930594
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x5c3e7ad7
add eax, 0xb3d01671
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x2bd40541
sub dword [ebp - 0x1c], 0xb7619beb
mov dword [ebp - 0x18], 0x5a469f9
sub dword [ebp - 0x18], 0xc4380884
mov dword [ebp - 0x14], 0x12f6fae0
add dword [ebp - 0x14], 0x5078718c
mov dword [ebp - 0x10], 0x9afa51e0
sub dword [ebp - 0x10], 0x9afa51e0
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x824d0
push 0
call eax
mov ecx, 0x93a1abb5
add ecx, 0x6c5e910e
xor ebx, ebx
add ebx, eax
mov edx, 0x58a85221
sub edx, 0x48903e21
add edx, dword [ebp - 0xc]
mov edi, 0x1f768275
add edi, 0xfca059d6
sub dword [ebp - 4], edi
mov esi, dword [edx]
sub dword [ebp - 4], ebx
xor esi, edi
mov dword [ebx], esi
add dword [ebp - 8], 0xce988c1
add ebx, 4
add edx, 0xf503da5b
sub edx, 0xf503da57
loop 0x100b6076
add eax, 0xc6251019
add eax, 0x39dbd5c6
mov ebx, eax
add eax, 5
mov ecx, 0x5128f9e6
add ecx, 0xbed7061a
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100b64fb
Capabilities:
Get storage device properties

Disassembly:
push 0x54
mov eax, 0x100e50d6
call fcn.100c745c
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
mov dword [ebp - 0x48], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100b6530
xor al, al
jmp 0x100b66ae
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push eax
push 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], ebx
push eax
push 0xc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], ebx
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
push edi
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x100b656e
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x100b6529
mov esi, dword [ebp - 0x3c]
push esi
call fcn.100b5f48
push esi
push ebx
push eax
mov dword [ebp - 0x44], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
push esi
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push esi
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x100b65ae
push esi
call fcn.100c7651
pop ecx
jmp 0x100b6565
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
test eax, eax
je 0x100b668a
cmp eax, dword [esi + 4]
jae 0x100b668a
add eax, esi
lea ecx, [ebp - 0x60]
push eax
call fcn.100b5f48
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x100b65f0
mov byte [ebp - 0x44], bl
push dword [ebp - 0x44]
push eax
call fcn.100b5f48
lea ecx, [ebp - 0x60]
call fcn.100090b6
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
test eax, eax
je 0x100b661d
lea edx, [eax + ecx]
mov eax, ecx
cmp ecx, edx
jae 0x100b661d
cmp byte [eax], 0x20
jne 0x100b6649
inc eax
cmp eax, edx
jb 0x100b6613
or eax, 0xffffffff
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100b5f48
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
test eax, eax
je 0x100b665b
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
jmp 0x100b6652
sub eax, ecx
jmp 0x100b6620
cmp ecx, edx
je 0x100b665b
dec ecx
cmp byte [ecx], 0x20
je 0x100b664d
sub ecx, edx
jmp 0x100b665e
or ecx, 0xffffffff
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100b5f48
push dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
call fcn.100b5f48
push esi
call fcn.100c7651
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov bl, 1
jmp 0x100b6698
push esi
call fcn.100c7651
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100b66ac
inc ecx
push ecx
push dword [ebp - 0x2c]
call fcn.100b5f48
pop ecx
pop ecx
mov al, bl
call fcn.100c7406
ret
Function at 0x100b6758
Capabilities:
Get hostname

Disassembly:
push 0x43c
mov eax, 0x100e513e
call fcn.100c745c
mov edi, dword [ebp + 8]
mov ecx, edi
push 0xf
push str.unknown_machine
call fcn.100b5f48
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x414], 0x100
lea eax, [ebp - 0x414]
mov esi, 0xff
push eax
lea eax, [ebp - 0x210]
push eax
push 5
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b688e
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x448]
call fcn.100b5f48
and dword [ebp - 4], 0
cmp dword [ebp - 0x438], 0
je 0x100b67fe
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
push edi
cmovae eax, dword [ebp - 0x448]
push eax
call fcn.100b5f48
pop ecx
pop ecx
xor esi, esi
jmp 0x100b6881
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x418], 0x100
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
push 1
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b6881
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x430]
call fcn.100b5f48
cmp dword [ebp - 0x420], 0
mov byte [ebp - 4], 1
je 0x100b6876
cmp dword [ebp - 0x41c], 8
lea eax, [ebp - 0x430]
push edi
cmovae eax, dword [ebp - 0x430]
push eax
call fcn.100b5f48
pop ecx
pop ecx
xor esi, esi
lea ecx, [ebp - 0x430]
call fcn.100227b7
lea ecx, [ebp - 0x448]
call fcn.100227b7
jmp 0x100b6891
xor esi, esi
inc esi
mov eax, esi
call fcn.100c7406
ret
Function at 0x100b79f4
Capabilities:
Get hostname

Disassembly:
push 0x224
mov eax, 0x100e540a
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x202
push 0
xor ebx, ebx
push eax
inc ebx
mov byte [esi], 0
call sub.VCRUNTIME140.dll_memset
and dword [ebp - 0x220], 0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x218], 0x100
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
and dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 2
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b7a82
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x230]
call fcn.100b5f48
cmp dword [ebp - 0x220], 0
je 0x100b7a82
mov byte [esi], bl
xor ebx, ebx
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x100b7aa2
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x230]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, ebx
call fcn.100c7406
ret

Function at 0x100b7b4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e543a
mov eax, dword fs:[0]
push eax
mov eax, 0x1010
call fcn.100c8430
mov eax, dword [0x1016a39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
lea eax, [ebp - 0x810]
mov esi, 0x800
mov dword [ebp - 4], edi
push esi
push edi
push eax
mov dword [ebp - 0x1014], edi
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x1010]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp + 8]
mov dword [ebp - 0x101c], eax
mov esi, 0x400
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x810]
push esi
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100b7bee
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x101c]
call fcn.100b57ae
test eax, eax
jne 0x100b7c12
push esi
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100b7c12
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x101c]
call fcn.100b57ae
mov esi, dword [ebp - 0x1014]
lea ecx, [ebp + 8]
call fcn.100227b7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c73e0
leave
ret
Function at 0x100b8335
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x100e54dd
call fcn.100c74ca
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x20]
push edx
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100b8445
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b5f48
pop ecx
push dword [ebp - 0x20]
mov esi, eax
call fcn.100b5f48
pop ecx
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100b8422
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov word [esi + eax*2], cx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
call fcn.10026c47
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.100b5f48
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.100227b7
lea ecx, [ebp - 0x64]
call fcn.100227b7
push esi
call fcn.100c7651
push edi
call fcn.100c7651
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100b8360
xor ebx, ebx
push esi
inc ebx
call fcn.100c7651
push edi
call fcn.100c7651
pop ecx
pop ecx
jmp 0x100b8445
mov eax, ebx
call fcn.100c7417
ret

Function at 0x100b84f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100e5527
call fcn.100c74ca
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x10]
inc edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x20], ecx
jb 0x100b8518
mov eax, dword [esi]
lea edx, [ebp - 0x18]
xor ebx, ebx
push edx
push ebx
push ebx
push ebx
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b8591
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push 2
inc eax
mov dword [ebp - 4], ebx
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b5f48
cmp dword [esi + 0x14], 8
mov ebx, eax
pop ecx
jb 0x100b8554
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push ebx
push 0
push 0
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b8578
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.100b5f48
xor edi, edi
push ebx
call fcn.100c7651
pop ecx
jmp 0x100b8591
mov eax, edi
call fcn.100c7417
ret
Function at 0x100bcb79
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x100e5f38
call fcn.100c745c
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x44], esi
call fcn.100b5f48
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 1
push 0x100f25f4
call fcn.100b5f48
push 2
push 0x1013edec
lea ecx, [ebp - 0x40]
call fcn.100b5f48
push 1
push 0x100f25f4
lea ecx, [ebp - 0x40]
call fcn.100b5f48
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x100bcbe0
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.100b5f48
push 1
push 0x100eef5c
lea ecx, [ebp - 0x40]
call fcn.100b5f48
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x100bcc05
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.100b5f48
push 7
xor ebx, ebx
xor eax, eax
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100b5f48
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, esi
test eax, eax
jne 0x100bcc89
push 0x100eadb0
call fcn.100b5f48
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100bcc71
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.100b5f48
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edi
cmp eax, 0x10
jb 0x100bcccc
inc eax
push eax
jmp 0x100bccc2
lea eax, [ebp - 0x40]
push eax
call fcn.100b5f48
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100bccac
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.100b5f48
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
cmp ecx, 0x10
jb 0x100bcccc
inc ecx
push ecx
push dword [ebp - 0x40]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, esi
call fcn.100c7406
ret
Function at 0x100c687e
Capabilities:
Get file size

Disassembly:
push 0x74
mov eax, 0x100e79db
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x80]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x50
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.100419f1
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x80]
call fcn.100b5f48
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ebx
cmovae eax, dword [ebp - 0x30]
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100c6909
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x100c6902
mov eax, dword [ebp - 0x18]
mov bl, 1
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.100227b7
lea ecx, [ebp - 0x80]
call fcn.10041ada
mov al, bl
call fcn.100c7406
ret

Function at 0x100c6921
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x100e7a13
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x78]
push 0x50
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.100419f1
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push esi
push eax
lea ecx, [ebp - 0x78]
call fcn.100b5f48
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.100227b7
lea ecx, [ebp - 0x78]
call fcn.10041ada
mov al, bl
call fcn.100c7406
ret
Function at 0x789370
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 0x78938e
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 0x7b2074
push ecx
mov edi, eax
call fcn.0079d198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7893cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0079d02e
push esi
call fcn.0079cfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x78c850
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 0x78c8ae
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 0x7b7720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x78c8ba
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.0079d1e1
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 0x78c8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x7b7720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x78c92a
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.0079e082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x78c957
mov word [eax], si
add eax, 2
push eax
call fcn.0079e030
add esp, 4
jmp 0x78c959
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 0x78c8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x78c8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x78d0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x7b2458
push ecx
call fcn.0079d1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0079d1e1
add esp, 0x10
jmp 0x78d0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0079d20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0079cdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0078d050
mov eax, dword [0x7b7728]
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 0x78d13b
push esi
call fcn.0078cfb0
add esp, 4
mov dword [0x7b7728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x78d14c
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.0078cff0
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 0x790440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7904b7
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 0x79048e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x790471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x79047e
add edx, ecx
cmp ebx, edx
jb 0x79048a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x790467
xor ecx, ecx
jmp 0x7904a2
test eax, eax
jne 0x790492
xor ecx, ecx
jmp 0x7904a2
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.007903c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x7908f0
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 0x790921
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 0x790946
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 0x79096e
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 0x790993
push ecx
push esi
call fcn.007904c0
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 0x791c00
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 0x791c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x791c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x791c38
add edx, eax
cmp ebx, edx
jb 0x791c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x791c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x791c50
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 0x791c70
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 0x791cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x791c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x791ca8
add edx, ecx
cmp ebx, edx
jb 0x791cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x791c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x791f60
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.0079e145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x791ffb
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 0x791fdd
lea eax, [esp + 0x18]
push eax
jmp 0x791fe2
push 0x7b7720
call fcn.0079dfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x791fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x791f40
push 4
push ecx
push eax
call fcn.0079e43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret