joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10724f1
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x109c59b
call fcn.0104c920
sub esp, 0xd0
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1072646
cmp dword [ebp + 0x10], ebx
je 0x1072646
mov al, byte [ebp + 0xb]
push esi
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call fcn.0101a650
mov esi, 0x100a368
push esi
call fcn.0104d0c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0101af80
lea eax, [ebp - 0x28]
push 0x1002bd8
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], ebx
call fcn.01073282
push dword [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.01073282
mov eax, dword [eax + 4]
add esp, 0x18
cmp eax, ebx
jne 0x1072571
mov eax, 0x1001f54
lea ecx, [ebp - 0x10]
push ecx
push 1
pop esi
push esi
push ebx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb al, al
push esi
inc al
lea ecx, [ebp - 0x58]
mov byte [ebp + 0xb], al
call fcn.0101a650
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.0101a650
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp - 0x28]
call fcn.0101a650
cmp byte [ebp + 0xb], bl
je 0x1072641
push esi
push 2
lea ecx, [ebp - 0xdc]
call fcn.01072790
push dword [ebp + 0xc]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 2
call fcn.01072669
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0xdc]
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 4
call fcn.01072875
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x1072602
mov eax, 0x1001f54
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push dword [ebp + 0x10]
push ecx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
push esi
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x48]
inc bl
call fcn.0101a650
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.01072655
mov al, bl
pop esi
jmp 0x1072648
xor al, al
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1074e32
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
lea eax, [ebp - 4]
push edi
xor edi, edi
push eax
push 1
mov esi, ecx
push edi
push str.CLSID4EC0690F_EA6F_4573_845F_782AD19F35DBInprocServer32
push SysReAllocStringLen
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1074ec5
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xa
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.ThreadingModel
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1074ebc
push 0xa
lea eax, [ebp - 0x1c]
push str.Free
push eax
call fcn.010589e8
add esp, 0xc
test eax, eax
je 0x1074eb9
push 0xa
lea eax, [ebp - 0x1c]
push 0x10b0d20
push eax
call fcn.010589e8
add esp, 0xc
test eax, eax
jne 0x1074ebc
mov dword [ebp - 8], edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
push esi
test eax, eax
push 0x10b0d10
push 0x17
setge cl
push edi
push 0x100a2d0
mov dword [esi + 4], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x10751b1
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x10751be
mov al, 1
pop edi
ret
cmp edi, 2
jae 0x10751c7
xor al, al
pop edi
ret
cmp byte [esp + 0x10], 0
push esi
je 0x10751d8
mov esi, dword [esp + 0xc]
mov ax, word [esi]
jmp 0x10751f3
push 0
call fcn.0104e07d
push eax
call fcn.01086ab2
pop ecx
pop ecx
call fcn.01086abf
mov esi, dword [esp + 0xc]
mov word [esi], ax
inc esi
movzx eax, ax
inc esi
dec edi
push eax
dec edi
call fcn.01086ab2
test edi, edi
pop ecx
je 0x1075210
call fcn.01086abf
xor byte [esi], al
inc esi
dec edi
jne 0x1075205
pop esi
mov al, 1
pop edi
ret
Function at 0x10758fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor edi, edi
push eax
push 1
push edi
push str.CLSIDC46FF1FF_78EF_4939_8B00_46273B7B8EE1InprocServer32
push SysReAllocStringLen
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1075998
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push edi
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x107596f
cmp dword [ebp - 0x10], 1
jne 0x107596f
push dword [ebp - 0xc]
call fcn.0108e46c
pop ecx
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push dword [ebp - 4]
call esi
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x107598a
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10bc48c], eax
cmp dword [ebp - 8], edi
je 0x1075998
push dword [ebp - 8]
call fcn.0108e495
pop ecx
mov eax, dword [0x10bc48c]
cmp eax, edi
je 0x10759c7
push 5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
cmp eax, edi
je 0x10759be
push 0x932
call eax
mov esi, eax
pop ecx
cmp esi, edi
jne 0x10759c3
call fcn.010759ce
mov eax, esi
jmp 0x10759c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x108013b
Capabilities:
Check os version

Disassembly:
mov eax, 0x109d154
call fcn.0104c920
sub esp, 0xb4
push esi
push edi
push 1
xor eax, eax
pop esi
lea edi, [ebp - 0xbc]
push 0x24
mov dword [ebp - 0xc0], 0x94
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10801ef
cmp dword [ebp - 0xb0], esi
jne 0x10801b8
lea ecx, [ebp - 0x14]
call fcn.0107f95e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0107f97c
test al, al
je 0x10801a7
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0107fcaa
mov esi, eax
jmp 0x10801aa
push 2
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0107f968
jmp 0x10801ef
cmp dword [ebp - 0xb0], 2
jne 0x10801ec
cmp dword [ebp - 0xbc], 5
jb 0x10801ec
lea ecx, [ebp - 0x2c]
call fcn.0107fd1b
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.01080094
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0107fd7e
jmp 0x10801ef
push 7
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1081254
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
push edi
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, edi
je 0x10812ab
push ebx
call fcn.0104c270
mov esi, eax
pop ecx
cmp esi, edi
mov dword [ebp - 8], esi
je 0x10812ab
push esi
push ebx
push edi
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10812a4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1002bd8
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x10812b9
push esi
call fcn.0104ab95
pop ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.010811fe
mov eax, dword [ebp + 8]
jmp 0x10812fe
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x18]
push dword [ebp - 8]
movzx esi, word [eax + 0x14]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
movzx ebx, word [eax + 0x10]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
shr ecx, 0x10
shr edx, 0x10
stosw word es:[edi], ax
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], bx
mov word [ebp - 0x14], cx
mov word [ebp - 0x12], si
call fcn.0104ab95
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov edi, eax
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1084480
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x10ab798]
mov dword [esp + 0x94], eax
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x108451a
cmp dword [esp + 0x14], 2
jne 0x1084504
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x10844cc
mov edx, dword [esp + 8]
xor eax, eax
cmp edx, 5
sete al
jmp 0x10844d4
cmp dword [esp + 8], 5
sbb eax, eax
inc eax
test eax, eax
je 0x1084504
test ecx, ecx
je 0x10844eb
mov edx, dword [esp + 0xc]
xor eax, eax
test edx, edx
sete al
test eax, eax
je 0x1084504
mov eax, 1
pop esi
mov ecx, dword [esp + 0x94]
call fcn.01085642
add esp, 0x98
ret
xor eax, eax
pop esi
mov ecx, dword [esp + 0x94]
call fcn.01085642
add esp, 0x98
ret
mov ecx, dword [esp + 0x98]
mov eax, esi
pop esi
call fcn.01085642
add esp, 0x98
ret

Function at 0x1084530
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x10ab798]
mov dword [esp + 0x94], eax
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10845a7
cmp dword [esp + 0x14], 2
jne 0x10845a7
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x1084595
cmp dword [esp + 8], 5
jne 0x10845a7
cmp dword [esp + 0xc], 1
jne 0x10845a7
mov eax, 1
pop esi
mov ecx, dword [esp + 0x94]
call fcn.01085642
add esp, 0x98
ret
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x108457c
jne 0x10845a7
cmp dword [esp + 0xc], 1
jae 0x108457c
mov ecx, dword [esp + 0x98]
mov eax, esi
pop esi
call fcn.01085642
add esp, 0x98
ret

Function at 0x1084820
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
mov dword [esi + 0x1c], 0
jne 0x1084838
mov eax, 0x646
pop esi
ret 8
push edi
mov edi, dword [esp + 0x10]
push edi
call fcn.01085340
mov ecx, dword [esi]
add esp, 4
inc eax
push eax
mov eax, dword [esp + 0x10]
push edi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esi + 0x1c], eax
neg eax
sbb eax, eax
pop edi
and eax, 0x64a
pop esi
ret 8

Function at 0x10848b0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
mov dword [esi + 0x1c], 0
jne 0x10848c9
mov eax, 0x646
pop esi
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 3
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esi + 0x1c], eax
neg eax
sbb eax, eax
and eax, 0x64a
pop esi
ret 0xc
Function at 0x1084900
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
cmp dword [esi], 0
jne 0x1084919
mov eax, 0x646
pop esi
ret 0x10
mov edx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esi + 0x1c], 0
mov dword [edi], 0
mov edx, dword [esi]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x108495b
pop edi
mov eax, 0x64b
pop esi
ret 0x10
cmp dword [esp + 0x18], 1
je 0x108496c
pop edi
mov eax, 0x64c
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
mov dword [edi], eax
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x1084a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
mov dword [esp + 4], 4
jne 0x1084a5c
mov eax, 0x646
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push eax
mov dword [esi + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x1084a91
mov eax, 0x64b
pop esi
pop ecx
ret 8
mov esi, dword [esp + 0x10]
xor eax, eax
cmp esi, 4
sete al
pop esi
dec eax
and eax, 0x64c
pop ecx
ret 8

Function at 0x1084ab0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esi]
test eax, eax
jne 0x1084aca
mov eax, 0x646
pop esi
ret 0x10
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push eax
mov dword [esi + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x1084afe
mov eax, 0x64b
pop esi
ret 0x10
cmp dword [esp + 0x10], 3
je 0x1084b0e
mov eax, 0x64c
pop esi
ret 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop esi
ret 0x10
Function at 0x1085642
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10ab798]
jne 0x108564b
ret
jmp 0x1085666
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x10ab798]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x10ab798]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10b7b4c]
mov dword [ebp - 0x2c], eax
push 0x50
lea eax, [ebp - 0x80]
push eax
call fcn.01085650
push 0x2cc
lea eax, [ebp - 0x28]
push eax
call fcn.01085650
mov eax, dword [ebp + 0x2ac]
mov dword [ebp - 0x74], eax
mov dword [ebp + 0x90], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x28], 0x10001
mov dword [ebp + 0x9c], eax
push ss
pop dword [ebp + 0xa0]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.01085642
add ebp, 0x2a8
leave
ret
Function at 0x1088642
Capabilities:
Get common file path

Disassembly:
push 0x11c
push 0x100bd10
call fcn.010512ec
lea edi, [ebp - 0x12c]
and dword [ebp - 0x1c], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0x104
jle 0x10886cd
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.0104c300
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x24], edi
jmp 0x10886ba
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10886cd
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x10886e8
cmp byte [edi + 1], 0x3a
jne 0x10886e8
movzx eax, byte [edi]
push eax
call fcn.0104accf
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x1c], 0
je 0x10886f5
push edi
call fcn.0104ab95
pop ecx
mov eax, ebx
lea esp, [ebp - 0x138]
call fcn.01051327
ret

Function at 0x108a63f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x108a661
cmp dword [edi + 0x3c], 0
jne 0x108a661
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.01095539
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0108a68e
pop edi
pop esi
pop ebx
ret 8

Function at 0x108bd16
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x108bd4e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0108ebd2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0108ebaa
jmp 0x108bd5a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x108d58d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x108d5cf
call fcn.01095539
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x108d5cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x108d5c6
xor eax, eax
jmp 0x108d5d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0108d5dd
pop edi
pop esi
pop ebx
ret 4
Function at 0xa3c370
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 0xa3c38e
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 0xa65074
push ecx
mov edi, eax
call fcn.00a50198
mov esi, eax
add esp, 8
test esi, esi
jne 0xa3c3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a5002e
push esi
call fcn.00a4ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xa3f850
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 0xa3f8ae
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 0xa6a720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa3f8ba
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.00a501e1
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 0xa3f8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa6a720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa3f92a
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.00a51082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xa3f957
mov word [eax], si
add eax, 2
push eax
call fcn.00a51030
add esp, 4
jmp 0xa3f959
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 0xa3f8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xa3f8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xa400c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xa65458
push ecx
call fcn.00a501e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00a501e1
add esp, 0x10
jmp 0xa400d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00a5020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00a4fdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00a40050
mov eax, dword [0xa6a728]
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 0xa4013b
push esi
call fcn.00a3ffb0
add esp, 4
mov dword [0xa6a728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xa4014c
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.00a3fff0
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 0xa43440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xa434b7
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 0xa4348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xa43471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xa4347e
add edx, ecx
cmp ebx, edx
jb 0xa4348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xa43467
xor ecx, ecx
jmp 0xa434a2
test eax, eax
jne 0xa43492
xor ecx, ecx
jmp 0xa434a2
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.00a433c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xa438f0
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 0xa43921
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 0xa43946
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 0xa4396e
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 0xa43993
push ecx
push esi
call fcn.00a434c0
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