joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e01c4ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e003054]
jne 0x2e034bfc
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x2e045f90], eax
mov dword [0x2e045f8c], ecx
mov dword [0x2e045f88], edx
mov dword [0x2e045f84], ebx
mov dword [0x2e045f80], esi
mov dword [0x2e045f7c], edi
mov word [0x2e045fa8], ss
mov word [0x2e045f9c], cs
mov word [0x2e045f78], ds
mov word [0x2e045f74], es
mov word [0x2e045f70], fs
mov word [0x2e045f6c], gs
pushfd
pop dword [0x2e045fa0]
mov eax, dword [ebp]
mov dword [0x2e045f94], eax
mov eax, dword [ebp + 4]
mov dword [0x2e045f98], eax
lea eax, [ebp + 8]
mov dword [0x2e045fa4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x2e045ee0], 0x10001
mov eax, dword [0x2e045f98]
mov dword [0x2e045e94], eax
mov dword [0x2e045e88], 0xc0000409
mov dword [0x2e045e8c], 1
mov eax, dword [0x2e003054]
mov dword [ebp - 0x328], eax
mov eax, dword [0x2e043e40]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x2e045ed8], eax
push 1
call sub.MSVCR90.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x2e006970
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x2e045ed8], 0
jne 0x2e034ce8
push 1
call sub.MSVCR90.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x2e01c54e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.2e01c537
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x2e0030b4
push 0x80000000
call esi
test eax, eax
jne 0x2e01c5f7
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.2e01c537
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x2e01c5e9
push 4
pop esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x2e00309c
push dword [ebp - 4]
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e01c5e9
cmp dword [ebp + 8], esi
jne 0x2e01c5e9
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x2e01c5e9
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x2e01c5db
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x2e01c5e5
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x2e01c607
cmp dword [ebp - 4], ebx
je 0x2e01c5f7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], ebx
je 0x2e01c605
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x2e01c60e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x2e045ca4], 0
je 0x2e01c623
mov eax, dword [0x2e045ca0]
leave
ret
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea ecx, [ebp - 4]
call fcn.2e01c537
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x2e0030f8
mov edi, 0x80000001
push edi
call esi
test eax, eax
jne 0x2e01c684
lea eax, [ebp - 8]
push eax
push 0x2e045ca0
push 0
push 0
push dword [0x2e043e48]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e01c684
cmp dword [ebp - 8], 4
jne 0x2e01c684
cmp dword [ebp - 4], eax
jmp 0x2e01c6c9
lea ecx, [ebp - 4]
call fcn.2e01c537
push eax
push ebx
xor ebx, ebx
push ebx
push 0x2e0030c0
push edi
call esi
test eax, eax
jne 0x2e01c6e5
push 4
pop esi
lea eax, [ebp - 8]
push eax
push 0x2e045ca0
push ebx
push ebx
push dword [0x2e043e48]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e01c6e5
cmp dword [ebp - 8], esi
jne 0x2e01c6e5
cmp dword [ebp - 4], ebx
mov esi, dword [0x2e045ca0]
mov byte [0x2e045ca4], 1
je 0x2e01c6e1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x2e01c702
mov dword [0x2e045ca0], ebx
mov byte [0x2e045ca4], 1
cmp dword [ebp - 4], ebx
je 0x2e01c700
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2e01cd57
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x2e003054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x474], eax
push 0x105
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
cmp eax, ebx
jne 0x2e01cd93
xor eax, eax
jmp 0x2e01cebc
add eax, eax
lea ecx, [ebp + eax - 0x260]
cmp word [ecx], 0x5c
je 0x2e01cdb2
push 0x5c
pop edx
mov word [ecx], dx
xor ecx, ecx
mov word [ebp + eax - 0x25e], cx
push esi
push edi
push 0x106
lea eax, [ebp - 0x260]
push eax
mov esi, 0x2e003420
push esi
call fcn.2e01cd2c
push 8
push ebx
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
jne 0x2e01cdf2
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x2e01cea4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e00340c
push edi
call esi
push 0x2e0033ec
push edi
mov dword [ebp - 0x478], eax
call esi
mov dword [ebp - 0x470], eax
cmp eax, ebx
je 0x2e01cea4
mov edi, 0x2e0033d8
mov esi, 0x2e003388
cmp dword [ebp - 0x474], ebx
je 0x2e01ce7c
cmp dword [ebp - 0x478], ebx
je 0x2e01cea4
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x474]
call dword [ebp - 0x478]
cmp eax, ebx
jne 0x2e01ce75
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push ebx
push edi
push esi
mov dword [ebp - 0x46c], 0x104
call dword [ebp - 0x470]
cmp eax, ebx
je 0x2e01cea8
cmp eax, 0x642
je 0x2e01cea8
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push ebx
push ebx
push edi
push esi
mov dword [ebp - 0x46c], 0x104
call dword [ebp - 0x470]
test eax, eax
je 0x2e01cea8
xor eax, eax
jmp 0x2e01ceba
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x2e045ce0], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.2e01c4ed
leave
ret 4
Function at 0x2e01cf5b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x2e003054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 0x21c], eax
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x2e0032a8
push 0x80000002
mov dword [ebp - 0x214], ebx
xor edi, edi
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push 0x2e002f44
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x214], ebx
je 0x2e01cfe8
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
cmp eax, ebx
je 0x2e01d013
cmp eax, 0x208
ja 0x2e01d013
shr eax, 1
mov edi, eax
je 0x2e01d013
lea eax, [ebp + edi*2 - 0x212]
cmp word [eax], 0x5c
je 0x2e01d013
dec edi
dec eax
dec eax
cmp edi, ebx
jne 0x2e01d006
push dword [ebp - 0x21c]
xor eax, eax
mov word [ebp + edi*2 - 0x210], ax
lea eax, [ebp - 0x210]
push eax
call fcn.2e01cecb
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.2e01c4ed
leave
ret 4

Function at 0x2e01d063
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x2e003054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor esi, esi
push esi
push 0x2e003310
push 0x80000002
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], 0x20a
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e01d13a
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push 0x2e003364
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 0x214], esi
je 0x2e01d0e9
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x2e01d13a
mov eax, dword [ebp - 0x218]
cmp eax, 2
jb 0x2e01d13a
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x212], cx
push 0x105
lea eax, [ebp - 0x210]
push eax
push 0x2e003438
call fcn.2e01cd2c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, esi
jne 0x2e01d13a
push 0x2e003430
call fcn.2e01cf5b
mov ebx, eax
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.2e01c4ed
leave
ret
Function at 0x2e01dd83
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
push edi
mov edi, dword [ebp + 8]
cmp eax, edi
je 0x2e01de4c
test eax, eax
je 0x2e01ddbb
add eax, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x2e01ddbb
mov eax, dword [esi + 0x50]
add eax, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test edi, edi
je 0x2e01ddc4
lea edx, [edi + 0xc]
jmp 0x2e01ddc6
xor edx, edx
mov eax, dword [esi + 0x50]
test eax, eax
je 0x2e01ddd2
lea ecx, [eax + 0xc]
jmp 0x2e01ddd4
xor ecx, ecx
mov eax, dword [esi + 0x54]
push ebx
mov ebx, dword [eax]
push edx
push ecx
push eax
call dword [ebx + 0x3c]
mov eax, dword [esi]
mov dword [esi + 0x50], edi
push dword [edi + 4]
push esi
call dword [eax + 0x14]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6275]
pop ebx
test eax, eax
jne 0x2e01ddff
push 2
call fcn.2e0310bd
mov eax, dword [esi + 0x50]
push dword [eax + 4]
call dword [sym.imp.MSO.dll_Ordinal_2832]
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x2e01de26
mov eax, dword [esi + 0x50]
push 0
push dword [eax + 4]
push 0
push 1
call fcn.2e02232c
mov eax, dword [esi + 0x50]
test eax, eax
je 0x2e01de4c
add eax, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x2e01de4c
mov eax, dword [esi + 0x50]
add eax, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
Function at 0x2e01f7a7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x2e01f7c9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 0x3c]
and dword [esi + 0x3c], 0
pop esi
pop ebp
ret 4

Function at 0x2e02232c
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x2e022340
mov dword [edi], ebx
cmp dword [esi], ebx
jne 0x2e022348
xor al, al
jmp 0x2e0223b9
push dword [esi + 8]
mov byte [ebp + 0x17], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x2e0223b6
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x2e0223a4
push ebx
push ebx
push ebx
push 6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
je 0x2e0223a4
cmp edi, ebx
je 0x2e022386
mov ecx, dword [eax]
mov dword [edi], ecx
cmp byte [ebp + 8], bl
jne 0x2e022394
cmp byte [ebp + 0xc], bl
je 0x2e022399
cmp dword [eax], ebx
jne 0x2e022399
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp + 0x17], 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp + 0x17]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x2e0226ae
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
mov ebx, ecx
call esi
mov cl, byte [ebx + 0x6c]
mov edi, dword [ebp + 8]
shr eax, 0xc
and eax, 8
mov word [edi], ax
test cl, 1
je 0x2e0226df
test ax, ax
jne 0x2e0226df
and cl, 0xfe
mov byte [ebx + 0x6c], cl
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x2e0226f1
or word [edi], 0x10
push 0x10
call esi
mov ecx, 0x8000
test cx, ax
je 0x2e022703
or word [edi], 4
push 0xa2
call esi
test ax, ax
jge 0x2e022720
push 0xa5
call esi
test ax, ax
jge 0x2e022720
and dword [edi], 0
jmp 0x2e022741
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 8]
mov word [edi + 2], ax
cmp ax, 0x11
jne 0x2e022737
or byte [ebx + 0x6c], 1
jmp 0x2e022741
cmp ax, 0x10
jne 0x2e022741
or byte [ebx + 0x6c], 2
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x2e02274a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
mov ebx, ecx
call edi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov word [esi + 2], cx
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 8]
shr eax, 0xb
and eax, 0x10
sub ecx, 0x10
mov word [esi], ax
je 0x2e0227b7
dec ecx
jne 0x2e0227e8
mov cl, byte [ebx + 0x6c]
test cl, 1
je 0x2e0227e8
and cl, 0xfe
mov byte [ebx + 0x6c], cl
or eax, 8
mov ebx, 0xa0
push ebx
mov word [esi], ax
call edi
mov ecx, 0x8000
test cx, ax
jne 0x2e0227b1
inc ebx
push ebx
call edi
mov ecx, 0x8000
test cx, ax
je 0x2e0227e8
mov word [esi + 2], bx
jmp 0x2e0227e8
mov al, byte [ebx + 0x6c]
test al, 2
je 0x2e0227e8
and al, 0xfd
push 0x11
mov byte [ebx + 0x6c], al
call edi
mov ecx, 0x8000
test cx, ax
je 0x2e0227e8
mov eax, dword [ebp + 0xc]
or word [esi], 8
cmp byte [eax + 0xe], 0x36
mov eax, 0xa1
je 0x2e0227e4
dec eax
mov word [esi + 2], ax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x2e02aca7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x2e003054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 2
mov dword [ebp - 0x120], eax
pop edi
cmp dword [0x2e045d34], ebx
jne 0x2e02ad73
mov esi, 0x114
push esi
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.2e0347a3
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jbe 0x2e02ad26
mov dword [0x2e045d34], 1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01c4ed
leave
ret 4
jne 0x2e02ad6d
xor esi, esi
inc esi
cmp dword [ebp - 0x110], esi
jb 0x2e02ad59
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x2e02ad65
cmp dword [ebp - 0x11c], ebx
je 0x2e02ad65
mov dword [0x2e045d34], 2
jmp 0x2e02ad7b
mov dword [0x2e045d34], esi
jmp 0x2e02ad13
mov dword [0x2e045d34], edi
cmp dword [0x2e045d34], edi
jne 0x2e02ad13
mov esi, dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push ebx
call esi
mov edi, eax
push edi
call esi
xor eax, eax
cmp edi, ebx
je 0x2e02ada4
push dword [ebp - 0x120]
call edi
cmp eax, ebx
je 0x2e02ada4
cmp eax, 1
jne 0x2e02ad15
mov dword [0], 1
jmp 0x2e02ad15

Function at 0x2e02b0a5
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push dword [0x2e045d3c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x2e02b0e8
push 1
push 8
call fcn.2e01b79c
test eax, eax
je 0x2e02b0cc
and dword [eax], esi
and dword [eax + 4], esi
jmp 0x2e02b0ce
xor eax, eax
push eax
push dword [0x2e045d3c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x2e02b0e8
push 2
call fcn.2e0310bd
mov eax, esi
pop esi
ret
Function at 0x2e033970
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e03ad30
call fcn.2e034d02
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x2e0339ae
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x2e0339ae
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x2e0339ae
mov eax, dword [ecx + 0x50]
jmp 0x2e0339cf
mov ecx, 0x4550
cmp dx, cx
jne 0x2e0339db
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x2e0339db
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x2e0339db
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x2e0339df
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.2e034d47
ret 4
Function at 0x2e033e0a
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x2e003054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor esi, esi
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x214], 1
call fcn.2e0347a3
mov eax, 0x2e045e2c
add esp, 0xc
mov dword [ebp - 0x210], 0x208
mov ecx, eax
cmp dword [ecx], 0
je 0x2e033e77
add ecx, 0x14
inc esi
cmp ecx, 0x2e045e54
jl 0x2e033e61
jmp 0x2e033fca
imul esi, esi, 0x14
add esi, eax
je 0x2e033fca
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e033fac
cmp dword [ebp - 0x214], 1
jne 0x2e033fac
xor ebx, ebx
cmp word [ebp - 0x20c], bx
je 0x2e033fae
cmp dword [ebp - 0x210], ebx
je 0x2e033fae
shr dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 0x104
jae 0x2e033ef3
mov ecx, dword [ebp - 0x210]
mov word [ebp + ecx*2 - 0x20c], ax
jmp 0x2e033ef7
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
cmp eax, ebx
je 0x2e033fae
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e00691c
push eax
call edi
cmp eax, ebx
jne 0x2e033f25
mov eax, dword [ebp + 0x10]
jmp 0x2e033f27
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x2e033f4b
push 0x2e006910
push dword [esi]
call edi
push 0x2e0068fc
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x2e0068ec
jmp 0x2e033f7f
cmp eax, 2
jne 0x2e033f60
push 0x2e006910
push dword [esi]
call edi
push 0x2e0068d8
jmp 0x2e033f3d
cmp eax, 3
jne 0x2e033f89
push 0x2e0068c8
push dword [esi]
call edi
push 0x2e0068b0
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x2e00689c
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 8], ebx
je 0x2e033fae
cmp dword [esi + 0x10], ebx
je 0x2e033fae
cmp dword [esi + 0xc], ebx
je 0x2e033fae
push dword [0x2e045e54]
push esi
call fcn.2e033be7
test eax, eax
jl 0x2e033fae
xor esi, esi
jmp 0x2e033fae
xor ebx, ebx
cmp esi, ebx
je 0x2e033fca
mov eax, dword [esi]
cmp eax, ebx
je 0x2e033fbf
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01c4ed
leave
ret 0xc
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x644a7288
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, str._b_
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x62fd0a20
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x76c330e4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3e8a7820
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10001770
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0xfc4
push ebx
push ebp
push esi
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esp + 0x20], 0x1c
xor ebx, ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100017f2
mov ebp, dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0x2000000
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x100017dc
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
cmp eax, 0xf
je 0x100017ca
cmp eax, 0xfffffff1
jne 0x100017dc
push esi
call fcn.100016e0
cmp eax, 0x100000
jbe 0x100017dc
mov dword [esp + ebx*4 + 0x34], eax
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x18]
push edx
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100017a4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
lea eax, [ebx - 1]
mov dword [esp + 0x10], ebp
test eax, eax
jle 0x10001854
lea esi, [ebp + 1]
lea edx, [esp + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
cmp dword [edx], edi
je 0x10001849
xor ecx, ecx
cmp esi, ebx
mov eax, esi
jge 0x10001849
nop
mov ebp, dword [edx]
cmp ebp, dword [esp + eax*4 + 0x34]
jne 0x1000182d
mov dword [esp + eax*4 + 0x34], edi
inc ecx
inc eax
cmp eax, ebx
jl 0x10001820
mov ebp, dword [esp + 0x10]
cmp ecx, 2
jne 0x10001849
mov eax, dword [edx]
mov dword [esp + ebp*4 + 0x804], eax
inc ebp
mov dword [esp + 0x10], ebp
inc esi
add edx, 4
sub dword [esp + 0x14], 1
jne 0x10001811
mov edx, dword [esp + 0x804]
xor eax, eax
mov dword [0x1000cf44], edx
test ebp, ebp
jle 0x10001888
jmp 0x10001870
mov ecx, dword [esp + eax*4 + 0x804]
cmp edx, ecx
jb 0x10001883
mov edx, ecx
mov dword [0x1000cf44], edx
inc eax
cmp eax, ebp
jl 0x10001870
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xfc4
ret