joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e0472f2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x2e0b1da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov ecx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x414], ecx
test esi, esi
jne 0x2e047332
xor eax, eax
jmp 0x2e0474a2
and dword [esi], 0
push ebx
push edi
mov edi, dword [ebp + 0x20]
xor ebx, ebx
inc ebx
push ebx
push edi
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x420], ebx
call fcn.2e0495c4
and dword [ebp - 0x410], 0
and dword [ebp - 0x418], 0
shr edi, 0x1a
not edi
mov dword [ebp - 0x408], eax
and edi, ebx
cmp dword [ebp - 0x408], 0
je 0x2e047397
mov eax, dword [ebp + 0x20]
push dword [ebp - 0x408]
shr eax, 0x17
and eax, ebx
push eax
push 0x120001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esi], eax
cmp dword [esi], 0
jne 0x2e047433
test edi, edi
je 0x2e047433
and dword [ebp - 0x40c], 0
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x20]
call fcn.2e049486
test eax, eax
je 0x2e047419
mov eax, dword [ebp + 0x20]
push dword [ebp - 0x408]
shr eax, 0x19
and eax, ebx
push eax
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40c], eax
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x20]
call fcn.2e04920d
cmp dword [ebp - 0x40c], 5
jne 0x2e047419
cmp dword [ebp - 0x418], 0
jne 0x2e047419
mov dword [ebp - 0x418], ebx
jmp 0x2e047372
cmp dword [esi], 0
je 0x2e047433
xor eax, eax
cmp dword [ebp - 0x40c], 0xb7
setne al
mov dword [ebp - 0x410], eax
mov eax, dword [esi]
xor ecx, ecx
cmp eax, ecx
je 0x2e047440
cmp eax, 0xffffffff
jne 0x2e04745f
cmp edi, ecx
je 0x2e04744f
push ecx
push 0x787a6c65
call fcn.2e045ed0
xor ecx, ecx
mov dword [esi], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x420], ecx
pop edi
pop ebx
cmp dword [ebp - 0x41c], ecx
je 0x2e04748a
mov eax, dword [ebp - 0x408]
cmp eax, ecx
jne 0x2e047478
mov eax, 0x2e0097ac
push dword [ebp + 0x14]
push dword [ebp - 0x41c]
push eax
call fcn.2e03f56f
add esp, 0xc
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x2e04749c
mov ecx, dword [ebp - 0x410]
mov dword [eax], ecx
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e056441
leave
ret 0x1c
Function at 0x2e0481cc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x30]
push eax
call fcn.2e047263
test eax, eax
jne 0x2e0481e9
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x30]
push edi
push eax
push 0x11
call fcn.2e042b9d
push dword [ebp - 0x1c]
push 0x12
call fcn.2e042b9d
push 0x2e003fc8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
cmp eax, edi
je 0x2e0482ea
push esi
push 0x2e0140b8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x2e0482e9
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x2e0482e9
push dword [ebp - 4]
call fcn.2e041b81
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x2e0482e1
lea ecx, [ebp - 4]
push ecx
push eax
call esi
test eax, eax
je 0x2e0482e1
mov eax, dword [ebp - 4]
push 0x18
xor edx, edx
pop ecx
div ecx
xor esi, esi
mov dword [ebp - 8], edi
cmp eax, edi
jbe 0x2e0482e1
mov edx, dword [ebp - 0xc]
push ebx
mov ebx, eax
mov eax, dword [edx + 4]
sub eax, 0
je 0x2e048298
dec eax
dec eax
jne 0x2e0482a9
push dword [edx]
call fcn.2e047719
pop ecx
cmp edi, eax
ja 0x2e0482a9
mov edi, eax
jmp 0x2e0482a9
push dword [edx]
inc dword [ebp - 8]
call fcn.2e047719
pop ecx
cmp esi, eax
ja 0x2e0482a9
mov esi, eax
add edx, 0x18
dec ebx
jne 0x2e04827c
pop ebx
test esi, esi
je 0x2e0482bf
push esi
push 0x19e1
call fcn.2e042b9d
test edi, edi
je 0x2e0482ce
push edi
push 0x19e2
call fcn.2e042b9d
cmp dword [ebp - 8], 0
je 0x2e0482e1
push dword [ebp - 8]
push 0x19e0
call fcn.2e042b9d
push dword [ebp - 0xc]
call fcn.2e041bb5
pop esi
call fcn.2e04121c
pop edi
test eax, eax
jne 0x2e0482fd
push dword [ebp - 0x1c]
call fcn.2e0480b9
pop ecx
leave
ret

Function at 0x2e048748
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x2e0487b8
push esi
lea eax, [ebp - 4]
push eax
call fcn.2e041ce6
test eax, eax
je 0x2e0487b8
push dword [ebp - 4]
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x2e0487b0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x2e00407c
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x2e0487b0
cmp dword [ebp - 8], ebx
je 0x2e0487b0
mov esi, dword [ebp - 0xc]
push edi
mov edi, dword [ebp + 0xc]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov bl, 1
pop edi
push dword [ebp - 4]
call fcn.2e041ded
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x2e04a0ba
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x2e0b1da0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x2e04a18d
cmp dword [ebp - 0x90], 2
mov ecx, dword [ebp - 0x98]
mov al, byte [ebp - 6]
push esi
mov dword [0x2e0b8afc], ecx
mov byte [0x2e0b8b02], al
jne 0x2e04a179
mov eax, dword [ebp - 0x9c]
mov dx, word [ebp - 0xc]
mov dword [0x2e0b8af8], eax
mov word [0x2e0b8b00], dx
cmp eax, 5
jne 0x2e04a15b
mov esi, 0x2e0097ac
cmp ecx, 1
jae 0x2e04a13d
push 0
push esi
push 0x3535796e
push esi
call fcn.2e047160
cmp dword [ebp - 0x98], 1
jne 0x2e04a15b
cmp word [ebp - 0xc], 1
ja 0x2e04a15b
push 0
push esi
push 0x3535796f
push esi
call fcn.2e047160
movzx eax, word [ebp - 8]
mov ecx, eax
and ecx, 0x110
and eax, 0x100
mov dword [0x2e0b8b08], ecx
mov dword [0x2e0b8b0c], eax
jmp 0x2e04a18c
push 0
mov esi, 0x2e0097ac
push esi
push 0x31343461
push esi
call fcn.2e047160
pop esi
push 0x56
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
neg eax
xor ecx, ebp
mov dword [0x2e0b8b04], eax
call fcn.2e056441
leave
ret

Function at 0x2e04a287
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x2e04a2a1
test al, 0x10
je 0x2e04a2a1
xor eax, eax
inc eax
jmp 0x2e04a2a3
xor eax, eax
pop ebp
ret 4

Function at 0x2e04a3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x2e0142d0
push reloc.OLEAUT32.dll_SysReAllocString
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e04a416
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push 0x2e0142b8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e04a40d
cmp dword [ebp - 8], 1
jne 0x2e04a40d
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x2e009978
call esi
test eax, eax
jne 0x2e04a40a
push 0x2e009964
call esi
test eax, eax
je 0x2e04a40d
xor edi, edi
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x2e04a41c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x2e0b1da0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x224], esi
call fcn.2e04a1b8
test eax, eax
je 0x2e04a537
push ebx
push edi
lea eax, [ebp - 0x218]
push eax
push 0x20019
push esi
mov ebx, 0x2e014350
push ebx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x2e04a535
lea eax, [ebp - 0x214]
push eax
push 0x20119
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x2e04a529
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
mov edi, 0x2e01433c
push edi
push dword [ebp - 0x218]
mov ebx, 0x20a
mov dword [ebp - 0x220], ebx
call esi
test eax, eax
jne 0x2e04a51d
cmp dword [ebp - 0x21c], 1
jne 0x2e04a51d
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x220], ebx
call esi
test eax, eax
jne 0x2e04a51d
xor esi, esi
inc esi
cmp dword [ebp - 0x21c], esi
jne 0x2e04a51d
call fcn.2e04a3a0
test eax, eax
jne 0x2e04a51d
mov dword [ebp - 0x224], esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
xor ecx, ebp
pop esi
call fcn.2e056441
leave
ret
Function at 0x2e0544fc
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
xor ecx, ecx
mov eax, 0x2e0b9c84
inc ecx
lock xadd dword [eax], ecx
inc ecx
cmp ecx, 1
jne 0x2e05454d
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x28]
mov dword [0x2e0b9c88], eax
mov ax, word [ebp - 0x30]
mov word [0x2e0b9c8c], ax
mov eax, dword [ebp - 0x18]
mov dword [0x2e0b9c90], eax
mov eax, dword [ebp - 0x40]
mov dword [0x2e0b9c94], eax
mov eax, esi
pop esi
leave
ret

Function at 0x2e0563e6
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x2e056421
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x2e056408
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x2e056419
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x2e056423
inc edi
add eax, 0x28
cmp edi, esi
jb 0x2e0563fe
xor eax, eax
pop edi
pop esi
ret

Function at 0x2e0566f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x2e0566fe
call fcn.2e05636b
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.2e0563a6
pushfd
lcall 0x88e8, 0x458d9486
pop ebp
call 0x1762ef67
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
invalid
inc ebp

Function at 0x2e0572c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.2e056384
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
invalid

Function at 0x2e057308
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39d30001], ebx
test dword [ebp + 0x26fffffc], ebx

Function at 0x2e05842e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.2e05636b
add esp, 0xc
mov dword [ebp - 0x37c], eax
Function at 0x2e06098b
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.2e059286
and dword [ebp - 4], 0
cmp dword [0x2e0ba610], 0
mov ebx, eax
jne 0x2e060a3c
push 0x2e02435c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x2e060aed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e024350
push edi
call esi
test eax, eax
je 0x2e060aed
push eax
call fcn.2e059214
mov dword [esp], 0x2e024340
push edi
mov dword [0x2e0ba610], eax
call esi
push eax
call fcn.2e059214
mov dword [esp], 0x2e02432c
push edi
mov dword [0x2e0ba614], eax
call esi
push eax
call fcn.2e059214
mov dword [esp], 0x2e024310
push edi
mov dword [0x2e0ba618], eax
call esi
push eax
call fcn.2e059214
pop ecx
mov dword [0x2e0ba620], eax
test eax, eax
je 0x2e060a3c
push 0x2e0242f8
push edi
call esi
push eax
call fcn.2e059214
pop ecx
mov dword [0x2e0ba61c], eax
mov eax, dword [0x2e0ba61c]
cmp eax, ebx
je 0x2e060a94
cmp dword [0x2e0ba620], ebx
je 0x2e060a94
push eax
call fcn.2e05928f
push dword [0x2e0ba620]
mov esi, eax
call fcn.2e05928f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x2e060a94
test edi, edi
je 0x2e060a94
call esi
test eax, eax
je 0x2e060a8b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x2e060a8b
test byte [ebp - 0xc], 1
jne 0x2e060a94
or dword [ebp + 0x10], 0x200000
jmp 0x2e060acd
mov eax, dword [0x2e0ba614]
cmp eax, ebx
je 0x2e060acd
push eax
call fcn.2e05928f
pop ecx
test eax, eax
je 0x2e060acd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x2e060acd
mov eax, dword [0x2e0ba618]
cmp eax, ebx
je 0x2e060acd
push eax
call fcn.2e05928f
pop ecx
test eax, eax
je 0x2e060acd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x2e0ba610]
call fcn.2e05928f
pop ecx
test eax, eax
je 0x2e060aed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x2e060aef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x2e06bdda
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x2e0b1da0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x2e06be11
push 4
pop eax
jmp 0x2e06be8b
push 2
pop ecx
cmp dword [ebp - 0x88], ecx
jne 0x2e06be5c
push 4
pop eax
cmp dword [ebp - 0x94], eax
jne 0x2e06be2f
mov dword [esi], 3
jmp 0x2e06be89
cmp dword [ebp - 0x94], 5
jne 0x2e06be54
cmp dword [ebp - 0x90], 0
je 0x2e06be50
xor eax, eax
cmp dword [ebp - 0x90], 1
setne al
add eax, 5
mov dword [esi], eax
jmp 0x2e06be89
mov dword [esi], 6
jmp 0x2e06be89
xor eax, eax
inc eax
cmp dword [ebp - 0x88], eax
jne 0x2e06be89
cmp dword [ebp - 0x90], 0
je 0x2e06be86
cmp dword [ebp - 0x90], 0xa
je 0x2e06be50
cmp dword [ebp - 0x90], 0x5a
jne 0x2e06be89
mov dword [esi], ecx
jmp 0x2e06be89
and dword [esi], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e056441
leave
ret 4
Function at 0x2e06d3fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x14]
push eax
call fcn.2e06bdda
cmp eax, 4
jne 0x2e06d415
xor al, al
leave
ret
cmp dword [ebp - 0x14], 2
jle 0x2e06d41f
mov al, 1
leave
ret
push ebx
lea eax, [ebp - 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push 0x2e025648
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x2e06d44b
cmp eax, 2
sete bl
jmp 0x2e06d4d1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
mov edi, 0x2e009870
push edi
push dword [ebp - 0xc]
mov dword [ebp - 8], ebx
call esi
cmp eax, ebx
je 0x2e06d474
cmp eax, 2
sete bl
jmp 0x2e06d4cf
mov eax, dword [ebp - 8]
inc eax
push eax
call fcn.2e05769b
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x2e06d4cf
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0xc]
call esi
cmp eax, ebx
je 0x2e06d49f
cmp eax, 2
sete bl
jmp 0x2e06d4c6
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
push 0x76
push esi
mov byte [eax + esi], bl
call fcn.2e065cef
pop ecx
pop ecx
test eax, eax
jne 0x2e06d4c6
push 0x56
push esi
call fcn.2e065cef
pop ecx
pop ecx
test eax, eax
jne 0x2e06d4c6
mov bl, 1
push dword [ebp - 0x10]
call fcn.2e0576a6
pop ecx
pop edi
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret
Function at 0xaac370
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 0xaac38e
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 0xad5074
push ecx
mov edi, eax
call fcn.00ac0198
mov esi, eax
add esp, 8
test esi, esi
jne 0xaac3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00ac002e
push esi
call fcn.00abffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xaaf850
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 0xaaf8ae
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 0xada720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xaaf8ba
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.00ac01e1
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 0xaaf8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xada720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xaaf92a
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.00ac1082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xaaf957
mov word [eax], si
add eax, 2
push eax
call fcn.00ac1030
add esp, 4
jmp 0xaaf959
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 0xaaf8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xaaf8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xab00c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xad5458
push ecx
call fcn.00ac01e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00ac01e1
add esp, 0x10
jmp 0xab00d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00ac020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00abfdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00ab0050
mov eax, dword [0xada728]
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 0xab013b
push esi
call fcn.00aaffb0
add esp, 4
mov dword [0xada728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xab014c
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.00aafff0
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 0xab3440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xab34b7
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 0xab348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xab3471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xab347e
add edx, ecx
cmp ebx, edx
jb 0xab348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xab3467
xor ecx, ecx
jmp 0xab34a2
test eax, eax
jne 0xab3492
xor ecx, ecx
jmp 0xab34a2
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.00ab33c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xab38f0
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 0xab3921
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 0xab3946
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 0xab396e
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 0xab3993
push ecx
push esi
call fcn.00ab34c0
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