joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba7b1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3338
cmp edx, dword [eax]
je 0x4ba7d3
add eax, 8
inc ecx
cmp eax, 0x4c33c8
jl 0x4ba7c4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3338]
jne 0x4ba901
mov eax, dword [0x4c7cbc]
cmp eax, 1
je 0x4ba8db
test eax, eax
jne 0x4ba804
cmp dword [0x4c3264], 1
je 0x4ba8db
cmp edx, 0xfc
je 0x4ba901
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba83b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bb190
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb620
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba87e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb620
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfab4
push edi
call fcn.004bd4f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bb190
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb1a0
lea eax, [ebp - 0xa0]
push 0x4bfa94
push eax
call fcn.004bb1a0
push dword [esi + 0x4c333c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb1a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd464
add esp, 0x2c
pop edi
jmp 0x4ba901
lea eax, [ebp + 8]
lea esi, [esi + 0x4c333c]
push 0
push eax
push dword [esi]
call fcn.004bb620
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10001910
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x10016138]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
mov dword [ebp - 0x420], 0x14e
call fcn.1000309f
and dword [ebp - 0x42c], 0
pop ecx
push 4
mov dword [ebp - 0x41c], eax
call fcn.1000309f
push 0x20
pop ecx
mov esi, str.o75temwbg3nq84d6pay05abvnaqbto38drkb61r1peuxwgnb6pty09rc8zv9k1sl
lea edi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, eax
mov dword [esp], 0x186
xor esi, esi
lea eax, [ebp - 0x18e]
push esi
push eax
mov dword [ebp - 0x428], 0x59
call fcn.10007f90
lea eax, [ebp - 0x420]
add esp, 0xc
push eax
lea ecx, [ebp - 0x418]
call fcn.10001335
pop ecx
push esi
lea eax, [ebp - 0x418]
push 0x8002
push eax
call fcn.10001ee1
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x424], edi
cmp edi, 0xffffffff
jne 0x100019f2
mov ecx, dword [0x10017360]
fld dword [0x100181c0]
imul ecx, ecx, 0xfffffffd
mov eax, 0x4a5
sar eax, cl
mov dword [0x10017360], eax
cmp eax, esi
jge 0x100019df
fdivr qword [0x10013580]
jmp 0x100019e5
fisub dword [0x10017360]
fstp dword [0x100181c0]
xor eax, eax
jmp 0x10001b4d
push 0x21
call fcn.10001dd1
pop ecx
push 0xa
push eax
push dword [0x1001736c]
call fcn.1000fa88
add esp, 0xc
push 2
push esi
push edi
call fcn.10002dce
add esp, 0xc
push edi
call fcn.10001deb
pop ecx
mov dword [ebx], eax
push 5
pop eax
sub eax, dword [0x10018348]
mov ecx, 0x637
cdq
idiv ecx
push 0xa
add dword [0x10017360], eax
call fcn.10001dd1
pop ecx
push 0x20
mov dword [ebp - 0x430], eax
call fcn.1000309f
pop ecx
mov edx, eax
push 8
pop ecx
push dword [ebp - 0x430]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.100010e7
add esp, 4
push esi
push esi
push dword [ebp - 0x424]
call fcn.10002dce
add esp, 0xc
push 0x40
push 0x1000
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, dword [ebp - 0x41c]
mov dword [edi], eax
mov eax, dword [0x10018348]
mov ecx, eax
imul ecx, ecx, 0x48
and eax, 0x80000001
jns 0x10001aa6
dec eax
or eax, 0xfffffffe
inc eax
fld qword [0x10013578]
sub ecx, eax
add ecx, 9
push ecx
push ecx
fstp qword [esp]
mov dword [0x10017360], ecx
call fcn.100020f0
fstp dword [ebp - 0x41c]
fld dword [ebp - 0x41c]
pop ecx
pop ecx
fstp dword [0x100181c0]
push 0x29
pop eax
cmp dword [0x10017360], eax
jge 0x10001ae5
mov dword [0x10017360], eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebx]
mov ecx, dword [0x10017364]
push dword [edi]
lea eax, [ecx + eax + 0x41]
push dword [ebp - 0x424]
mov dword [0x10017364], eax
call fcn.10002aca
add esp, 0xc
test eax, eax
jle 0x10001b4a
lea eax, [ebp - 0x41c]
push eax
push 0x40
push dword [ebx]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push edi
push eax
lea esi, [ebp - 0x428]
call fcn.100015ff
add esp, 0x10
call dword [edi]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001ddc
leave
ret
Function at 0x10001ddc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10016138]
jne 0x10001de6
repz ret
jmp fcn.1000339c

Function at 0x10009b2a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10016138]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10006a1c
and dword [ebp - 0x14], 0
cmp dword [0x10018034], 0
mov dword [ebp - 0x18], eax
jne 0x10009bdd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10009c85
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10009c85
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10018034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10018038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001803c], eax
call edi
push eax
call esi
mov dword [0x10018044], eax
test eax, eax
je 0x10009bdd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10018040], eax
mov eax, dword [0x10018040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10009c36
cmp dword [0x10018044], ecx
je 0x10009c36
push eax
call esi
push dword [0x10018044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10009c36
test ebx, ebx
je 0x10009c36
call edi
test eax, eax
je 0x10009c2d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10009c2d
test byte [ebp - 8], 1
jne 0x10009c36
or dword [ebp + 0x10], 0x200000
jmp 0x10009c69
mov eax, dword [0x10018038]
cmp eax, dword [ebp - 0x18]
je 0x10009c69
push eax
call esi
test eax, eax
je 0x10009c69
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10009c69
mov eax, dword [0x1001803c]
cmp eax, dword [ebp - 0x18]
je 0x10009c69
push eax
call esi
test eax, eax
je 0x10009c69
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10018034]
call esi
test eax, eax
je 0x10009c85
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10009c87
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001ddc
leave
ret
Function at 0x2e001d37
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x2e006e74]
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 sub.MSVCR90.dll_memset
mov eax, 0x2e013350
add esp, 0xc
mov dword [ebp - 0x210], 0x208
mov ecx, eax
cmp dword [ecx], 0
jne 0x2e00a088
imul esi, esi, 0x14
add esi, eax
je 0x2e001de0
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
je 0x2e00a09d
xor ebx, ebx
cmp esi, ebx
je 0x2e001de0
mov eax, dword [esi]
cmp eax, ebx
jne 0x2e00a1b3
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.2e005b14
leave
ret 0xc
add ecx, 0x14
inc esi
cmp ecx, 0x2e013378
jge 0x2e001de0
jmp 0x2e001d8e
cmp dword [ebp - 0x214], 1
jne 0x2e001dc5
xor ebx, ebx
cmp word [ebp - 0x20c], bx
je 0x2e001dc7
cmp dword [ebp - 0x210], ebx
je 0x2e001dc7
shr dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 0x104
jae 0x2e00a0e7
mov ecx, dword [ebp - 0x210]
mov word [ebp + ecx*2 - 0x20c], ax
jmp 0x2e00a0eb
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 0x2e001dc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e00a240
push eax
call edi
cmp eax, ebx
jne 0x2e00a119
mov eax, dword [ebp + 0x10]
jmp 0x2e00a11b
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x2e00a13f
push 0x2e00a234
push dword [esi]
call edi
push 0x2e00a220
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x2e00a210
jmp 0x2e00a173
cmp eax, 2
jne 0x2e00a154
push 0x2e00a234
push dword [esi]
call edi
push 0x2e00a1fc
jmp 0x2e00a131
cmp eax, 3
jne 0x2e00a17d
push 0x2e00a1ec
push dword [esi]
call edi
push 0x2e00a1d4
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x2e00a1c0
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 8], ebx
je 0x2e001dc7
cmp dword [esi + 0x10], ebx
je 0x2e001dc7
cmp dword [esi + 0xc], ebx
je 0x2e001dc7
push dword [0x2e013378]
push esi
call fcn.2e01013a
test eax, eax
jl 0x2e001dc7
xor esi, esi
jmp 0x2e001dc7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x2e001dd5
Function at 0x2e001f0d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
je 0x2e00836d
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x2e001f51
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
je 0x2e008374
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x2e001f4d
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x2e001f4a
Function at 0x2e002d09
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov eax, 0x2e003354
cmp dword [ebp + 8], esi
je 0x2e00827d
push eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x2e008287
push edi
lea eax, [ebp - 4]
push eax
push 0x2e006ce4
push 0x17
push esi
push 0x2e003030
mov dword [ebp - 4], esi
mov dword [ebp + 8], esi
call fcn.2e003040
mov ebx, eax
mov eax, dword [ebp - 4]
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
je 0x2e002d9a
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x34]
mov ebx, eax
xor eax, eax
cmp dword [ebp + 8], eax
je 0x2e0082bb
push dword [ebp + 8]
push eax
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 8], eax
test eax, eax
je 0x2e0082c1
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 4]
test eax, eax
je 0x2e002db0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x2e0082df
cmp dword [ebp - 8], 0
je 0x2e002df0
push 0xfa0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x2e002de1
mov ebx, 0x80004005
cmp dword [ebp - 8], 0
je 0x2e002df0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
mov eax, 0x2e0036cc
jmp 0x2e002d24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x2e008299
xor ebx, ebx
jmp 0x2e002dfa
cmp eax, esi
jle 0x2e0082a7
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, esi
jl 0x2e002dfa
mov ebx, 0x80004005
jmp 0x2e002dfa
push eax
jmp 0x2e002d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x2e002d9a
test eax, eax
jle 0x2e0082d8
and eax, edi
or eax, esi
mov ebx, eax
jmp 0x2e002d9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x2e0082ed
and eax, edi
or eax, esi
mov ebx, eax
jmp 0x2e002de1
Function at 0x2e002f06
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x2e013110]
leave
ret
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x2e013114], 0
jne 0x2e00204a
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea ecx, [ebp - 4]
call fcn.2e00381e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x2e002fc0
mov edi, SysReAllocString
push edi
call esi
test eax, eax
je 0x2e009be7
lea ecx, [ebp - 4]
call fcn.2e00381e
push eax
push ebx
xor ebx, ebx
push ebx
push 0x2e002f88
push edi
call esi
test eax, eax
je 0x2e009c21
mov dword [0x2e013110], ebx
mov byte [0x2e013114], 1
cmp dword [ebp - 4], ebx
jne 0x2e009c74
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 8]
push eax
push 0x2e013110
push 0
push 0
push dword [0x2e013898]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e002f4b
cmp dword [ebp - 8], 4
jne 0x2e002f4b
cmp dword [ebp - 4], eax
jmp 0x2e009c55
push 4
pop esi
lea eax, [ebp - 8]
push eax
push 0x2e013110
push ebx
push ebx
push dword [0x2e013898]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e002f68
cmp dword [ebp - 8], esi
jne 0x2e002f68
cmp dword [ebp - 4], ebx
mov esi, dword [0x2e013110]
mov byte [0x2e013114], 1
je 0x2e009c6d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x2e002f80
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x2e002f7e

Function at 0x2e0034d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x2e003524
mov esi, ecx
xor edi, edi
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 8], eax
cmp eax, edi
je 0x2e008262
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x2e003256
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp eax, edi
je 0x2e008262
mov eax, edi
pop edi
pop esi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x2e008276
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x2e003516
Function at 0x2e00376e
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.2e00381e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x2e0036a8
push SysReAllocString
call esi
test eax, eax
jne 0x2e0037f0
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.2e00381e
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x2e0037e2
push 4
pop esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x2e003808
push dword [ebp - 4]
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x2e009bb1
cmp dword [ebp - 4], ebx
je 0x2e0037f0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], ebx
je 0x2e0037fe
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp + 8], esi
jne 0x2e0037e2
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x2e0037e2
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x2e009bd6
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x2e009be0
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x2e003800

Function at 0x2e004223
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
add eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
je 0x2e008419
push esi
push edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x2e0042cc
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov edi, 0xffff
mov esi, 0x80070000
jg 0x2e008423
mov ebx, eax
test ebx, ebx
jl 0x2e0042ac
cmp dword [ebp - 4], 0
je 0x2e00842c
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push 0
push 0x2e004340
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jg 0x2e008436
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x2e0042bb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
mov ebx, 0x80070057
jmp 0x2e0042bd
and eax, edi
or eax, esi
jmp 0x2e004277
mov ebx, 0x8000ffff
jmp 0x2e0042bb
and eax, edi
or eax, esi
jmp 0x2e0042aa
Function at 0x2e004376
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x2e006e74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x7e
xor edi, edi
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push edi
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [0x2e013168]
mov esi, dword [0x2e013294]
add esp, 0xc
cmp eax, edi
jne 0x2e009b26
cmp dword [0x2e013294], edi
jne 0x2e0043cc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
push 0xa
push 0x40
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.MSVCR90.dll__itow_s]
add esp, 0x10
test eax, eax
jne 0x2e009b32
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x2e013168
call fcn.2e0046d1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.2e005b14
leave
ret
test eax, eax
je 0x2e0043bb
jmp 0x2e0043fa
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x2e00440a
mov edi, 0x80004005
jmp 0x2e0043fa
Function at 0x2e005256
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.2e0044f0
mov eax, dword [0x2e006e74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
je 0x2e007709
dec eax
jne 0x2e007702
mov dword [ebp - 0x214], 0x2e005240
push ebx
push esi
push edi
xor ebx, ebx
push 0xffc
lea eax, [ebp - 0x1214]
push ebx
push eax
mov dword [ebp - 0x1218], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x400
lea eax, [ebp - 0x1218]
push eax
mov dword [ebp - 0x218], ebx
call sub.PSAPI.DLL_EnumProcesses
mov esi, dword [ebp - 0x218]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
shr esi, 2
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], ebx
cmp esi, ebx
jbe 0x2e005375
mov eax, dword [ebp - 0x210]
push dword [ebp + eax*4 - 0x1218]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x2e005352
xor eax, eax
push 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x2e005362
inc dword [ebp - 0x210]
cmp dword [ebp - 0x210], esi
jb 0x2e0052f7
jmp 0x2e005375
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.2e005b14
leave
ret 4
xor al, al
jmp 0x2e005364
xor al, al
jmp 0x2e005367
mov dword [ebp - 0x214], 0x2e00abc0
jmp 0x2e005288
Function at 0x2e005433
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x2e006e74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 1
push 0x2e0133b0
lea ecx, [ebp - 0x128]
call fcn.2e00568b
xor ebx, ebx
cmp byte [0x2e0132a0], bl
jne 0x2e0055cc
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x11c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 8
mov dword [ebp - 0x11c], 0xc000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0xc8
push dword [0x2e013314]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x2e013278], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x2c
mov dword [0x2e013284], eax
lea eax, [ebp - 0x154]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [0x2e013278]
mov dword [ebp - 0x140], eax
add esp, 0xc
lea eax, [ebp - 0x158]
mov esi, 0x2e0058b4
push eax
mov dword [ebp - 0x158], 0x30
mov dword [ebp - 0x150], 0x2e005868
mov dword [ebp - 0x130], esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
push ebx
push dword [0x2e013314]
mov eax, SysReAllocString
push ebx
push ebx
push eax
push eax
push eax
push eax
push ebx
push 0x2e0055ec
push esi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push ebx
push ebx
push ebx
push ebx
mov dword [0x2e013274], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
pop edi
mov dword [0x2e013280], eax
pop esi
cmp dword [0x2e013274], ebx
je 0x2e0055cc
cmp eax, ebx
je 0x2e0055cc
push 0x110
lea eax, [ebp - 0x114]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2e007b8c
cmp dword [ebp - 0x114], 6
jae 0x2e007b73
xor eax, eax
cmp dword [ebp - 0x114], 5
setne al
dec eax
and eax, 0x310
add eax, 0x98
mov dword [0x2e01327c], eax
call fcn.2e00451b
mov eax, dword [0x2e0132e8]
cmp eax, ebx
je 0x2e0055cc
mov ecx, dword [eax]
push 0x2e013160
push 0x2e006ce4
push eax
call dword [ecx]
test eax, eax
jl 0x2e0055cc
mov byte [0x2e0132a0], 1
lea ecx, [ebp - 0x128]
call fcn.2e005674
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.2e005b14
leave
ret
mov dword [0x2e01327c], 0x3b8
mov dword [0x2e0138b0], 0x20
jmp 0x2e0055a4
mov dword [0x2e01327c], 0x3bc
jmp 0x2e0055a4
Function at 0x2e005b14
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e006e74]
jne 0x2e00f78b
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x2e0139f8], eax
mov dword [0x2e0139f4], ecx
mov dword [0x2e0139f0], edx
mov dword [0x2e0139ec], ebx
mov dword [0x2e0139e8], esi
mov dword [0x2e0139e4], edi
mov word [0x2e013a10], ss
mov word [0x2e013a04], cs
mov word [0x2e0139e0], ds
mov word [0x2e0139dc], es
mov word [0x2e0139d8], fs
mov word [0x2e0139d4], gs
pushfd
pop dword [0x2e013a08]
mov eax, dword [ebp]
mov dword [0x2e0139fc], eax
mov eax, dword [ebp + 4]
mov dword [0x2e013a00], eax
lea eax, [ebp + 8]
mov dword [0x2e013a0c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x2e013948], 0x10001
mov eax, dword [0x2e013a00]
mov dword [0x2e0138fc], eax
mov dword [0x2e0138f0], 0xc0000409
mov dword [0x2e0138f4], 1
mov eax, dword [0x2e006e74]
mov dword [ebp - 0x328], eax
mov eax, dword [section..data]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x2e013940], eax
push 1
call sub.MSVCR90.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x2e00f88c
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x2e013940], 0
jne 0x2e00f877
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