joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479900
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x4799be
mov eax, dword [esi]
test eax, eax
je 0x4799be
push edi
test al, 1
jne 0x47992a
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x479946
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x479946
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x479961
mov eax, dword [esi + 0x1850]
jmp 0x4e71a0
test byte [esi], 0x20
je 0x47999f
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x47999f
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.004504e0
add esp, 4
test eax, eax
jne 0x47999f
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x4799be
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x47a1e0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.00499360
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47a28d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x47a920
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4ac0f0
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x47a28d
mov ecx, dword [0x4c48ec]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47a28d
push 1
push eax
call fcn.00401360
add esp, 8
mov eax, 1
pop ebx
jmp loc.004e7010
Function at 0x406a7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x190
push ebx
push esi
mov esi, dword [ebp + 0x6c]
push edi
push 0x40
pop eax
cmp esi, eax
jae 0x406a94
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x48]
push eax
call fcn.0041f4b0
add esp, 0xc
mov dword [ebp + esi - 0x48], 0x1000000
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0040686f
push 0x20
pop ebx
push ebx
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041f4b0
mov eax, dword [ebp + 0x7c]
add esp, 0xc
dec eax
mov byte [ebp + 0x56], 0
mov dword [ebp + 0x48], eax
xor esi, esi
mov byte [ebp + 0x57], 0
push 0x10
pop eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x44], eax
mov edi, dword [ebp + esi + 0x48]
test edi, edi
je 0x406b60
lea eax, [ebp + 0x57]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp + 0x56]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0040686f
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0041f4b0
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx + 0x1c]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, ebx
jb 0x406b4e
sub edi, 1
jne 0x406b11
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + esi + 0x3c]
call fcn.0041f4b0
add esi, 4
add esp, 0xc
cmp esi, 0xc
jb 0x406b09
push 0x44
lea eax, [ebp - 0x48]
push eax
call fcn.0040ecf8
push ebx
lea eax, [ebp - 4]
push eax
call fcn.0040ecf8
push ebx
lea eax, [ebp + 0x1c]
push eax
call fcn.0040ecf8
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.0040ecf8
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x58]
pop ebp
ret 0x20

Function at 0x40c42c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40c449
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40c441
cmp cl, byte [edx]
jne 0x40c484
push esi
push edx
push 0xffffffffffffffff
call fcn.00405f3c
not eax
mov ecx, ebx
cmp dword [ecx + 0x43e02c], eax
jne 0x40c46a
cmp dword [ecx + 0x43e028], esi
je 0x40c475
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40c45a
jmp 0x40c484
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43e030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x40ebf2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x4481c8]
test esi, esi
jne 0x40ec10
mov ecx, 0x4481c0
call fcn.0040eb73
mov esi, dword [0x4481c8]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
and eax, 0xfffffff0
cmp byte [ebp + 0x14], cl
setne cl
cmp byte [ebp + 0x10], 0
je 0x40ec5f
test esi, esi
je 0x40ec83
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
test eax, eax
jne 0x40eca8
push 0x4339e0
mov esi, 0x440f50
push esi
call fcn.00406e91
pop ecx
pop ecx
mov ecx, esi
call fcn.0041f190
push 2
mov ecx, esi
call fcn.00406e8c
jmp 0x40eca8
mov esi, dword [0x4481cc]
test esi, esi
je 0x40ec83
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
test eax, eax
jne 0x40eca8
push 0x433a14
jmp 0x40ec40
push ebx
call dword [0x433090]
xor edx, edx
mov ebx, eax
cmp dword [ebp + 0xc], edx
jbe 0x40eca7
mov esi, dword [ebp + 8]
add bl, 0x4b
lea ecx, [edx + esi]
lea eax, [edx + ebx]
xor byte [ecx], al
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40ec99
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x419635
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x26], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00419344
cmp dword [ebx + 0x1c], 0
je 0x41966e
push dword [ebx + 0x1c]
call fcn.004235ce
pop ecx
cmp dword [esp + 0x28], 0
jne 0x419679
xor eax, eax
jmp 0x419683
push dword [esp + 0x28]
call fcn.00427107
pop ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x4196bf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push 0x434484
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 4], eax
pop edi
cmp dword [ebx + 0x10], esi
jne 0x419741
test ebp, ebp
je 0x419757
cmp dword [ebx + 0x20], esi
jne 0x419757
cmp dword [ebx + 0x1c], esi
je 0x419757
push dword [ebx + 0x1c]
mov ecx, ebx
call fcn.0041943c
mov esi, eax
test esi, esi
je 0x419757
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.004235ce
pop ecx
jmp 0x419757
test eax, eax
je 0x419757
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x419bdc
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x43536c
push 1
push ebx
push 0x43545c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x419d11
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push esi
push ecx
push 0x43544c
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [fcn.00433260]
call dword [esi]
test eax, eax
js 0x419cfd
cmp byte [ebp + 8], bl
je 0x419c42
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [fcn.00433260]
call esi
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [fcn.00433260]
call esi
cmp dword [ebp + 0x18], ebx
je 0x419c73
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [fcn.00433260]
call esi
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
cmp dword [ebp + 0x1c], ebx
jne 0x419c8a
push 0x4335b4
jmp 0x419c8d
push dword [ebp + 0x1c]
push eax
call dword [fcn.00433260]
call esi
cmp dword [ebp + 0x20], ebx
je 0x419cb1
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [fcn.00433260]
call esi
cmp dword [ebp + 0x14], ebx
je 0x419ccc
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [fcn.00433260]
call esi
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [fcn.00433260]
call esi
test eax, eax
js 0x419cea
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41a544
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0041e360
cmp word [0x44946a], 0
je 0x41a5e0
push esi
push 6
push dword [0x43e5f8]
mov esi, 0x44946a
push esi
call fcn.0040bc85
push eax
call fcn.004117ce
test eax, eax
jne 0x41a5df
push 0x448468
call fcn.0041a322
push 0x800
push esi
lea eax, [ebp - 0x1024]
push eax
call fcn.0040fe56
lea eax, [ebp - 0x1024]
push eax
call fcn.004235b3
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x1022], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041f350
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041e360
cmp byte [0x44a470], 0
je 0x41a97e
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041bdb0
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x4352ec
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a97e
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a975
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41a959
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040fe56
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8

Function at 0x41ab2e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x41ab89
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [fcn.00433260]
call esi
pop esi
jmp 0x41ab91
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41d1f2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041e360
cmp byte [0x44a470], 0
je 0x41d281
cmp word [0x44a472], 0
je 0x41d281
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x44a472
call fcn.0041bdb0
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x4352ec
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41d280
push dword [ebp + 8]
call fcn.004235b3
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5dd9ff
Capabilities:
Encode data using xor

Disassembly:
call 0x5dda04
pop ebp
push ebp
add ebp, 0x20
mov esi, ebp
mov edi, esi
mov ecx, 0x1653f
mov edx, 0x728ff659
lodsd eax, dword [esi]
mov ebx, eax
xor eax, edx
rol edx, 7
add edx, ebx
stosd dword es:[edi], eax
loop 0x5dda17
add al, 0x75
bound esi, qword [edi + 0x36]
jbe 0x5dda66
nop
inc ecx
inc edi
jmp 0x8ebf2341
wait
cmp eax, dword [0x8499ff75]
jne 0x5ddae9
push ebx
sub al, 0x7a
and ch, byte [edi + 0x685f91b3]
insb byte es:[edi], dx
jns 0x5ddace
sal dword [ecx + 0x1bd7f8a8], 0x45
and ch, 0x79
shl byte [ebp*8 - 0x6b9995c3], 1
std
mov eax, dword [0xd4ea5083]
push ss
lahf
outsb dx, byte [esi]
add esp, dword [ecx + ecx*8 + 0x52]
jo 0x5ddae8
mov eax, 0x76cc1992
test dword [ecx - 0x239a2328], 0xcf0299b6
push 0xffffffffffffffba
fist dword [edx - 0xe]
in al, dx
pop esp
mov dh, 0xaa
setg dh
lea edi, [ebp - 0x12]
cmp al, 0xec
mov edx, 0x34780ae8
sbb dword [ebx - 0x5b], esi
jg 0x5dda85
imul esp, dword [edi - 0x16], 0x6f7a8376
cmp dword [esi], 0xffffff99
and dword [ecx + 0x633aa34b], 0xffffffb4
ret
hlt
mov dl, 0xef
push es
and eax, 0xef03c902
fmul dword [eax + 0x68]
and ebx, dword [esi + 0x3b]
mov gs, eax
outsd dx, dword [esi]
ret 0xbbdf

Function at 0x8de034
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de03a
pop ebp
sub ebp, 6
sub ebp, 0x4de034
jmp 0x8de098
push ecx
mov esi, 0x22de486e
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
mov esi, ebp
cmp ebx, ecx
jmp 0x8de0a1
mov eax, 0x4de034
add eax, ebp
add eax, 0x93
mov ecx, 0x629
mov edx, 0x9a5f7f
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de0b8
jmp 0x8de0cb
adc eax, 0x6f7f173f
jg 0x8de151
pop ss
jg 0x8de088
push ebx
jg 0x8de0d6
invalid
add byte [eax + 0x73bd2280], 0x7f
hlt
Function at 0x6d0370
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 0x6d038e
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 0x6f9074
push ecx
mov edi, eax
call fcn.006e4198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6d03cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006e402e
push esi
call fcn.006e3fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6d3850
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 0x6d38ae
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 0x6fe720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6d38ba
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.006e41e1
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 0x6d38ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x6fe720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6d392a
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.006e5082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6d3957
mov word [eax], si
add eax, 2
push eax
call fcn.006e5030
add esp, 4
jmp 0x6d3959
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 0x6d38ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6d38b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6d40c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x6f9458
push ecx
call fcn.006e41e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006e41e1
add esp, 0x10
jmp 0x6d40d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.006e420b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.006e3dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.006d4050
mov eax, dword [0x6fe728]
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 0x6d413b
push esi
call fcn.006d3fb0
add esp, 4
mov dword [0x6fe728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x6d414c
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.006d3ff0
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 0x6d7440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6d74b7
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 0x6d748e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6d7471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6d747e
add edx, ecx
cmp ebx, edx
jb 0x6d748a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6d7467
xor ecx, ecx
jmp 0x6d74a2
test eax, eax
jne 0x6d7492
xor ecx, ecx
jmp 0x6d74a2
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.006d73c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x6d78f0
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 0x6d7921
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 0x6d7946
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 0x6d796e
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 0x6d7993
push ecx
push esi
call fcn.006d74c0
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 0x6d8c00
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 0x6d8c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x6d8c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x6d8c38
add edx, eax
cmp ebx, edx
jb 0x6d8c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x6d8c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x6d8c50
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 0x6d8c70
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 0x6d8cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6d8c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6d8ca8
add edx, ecx
cmp ebx, edx
jb 0x6d8cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6d8c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x6d8f60
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.006e5145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x6d8ffb
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 0x6d8fdd
lea eax, [esp + 0x18]
push eax
jmp 0x6d8fe2
push 0x6fe720
call fcn.006e4fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x6d8fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x6d8f40
push 4
push ecx
push eax
call fcn.006e543f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret