joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f00d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4197a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040b3e7
mov dword [ebp - 0x14], eax
cmp dword [0x4356a0], esi
jne 0x40f100
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f08d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f1e0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f1e0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f1e0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4356a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4356a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4356a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4356b0], eax
test eax, eax
je 0x40f0fd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4356ac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f125
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f118
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f13a
push 4
pop eax
jmp 0x40f1e2
cmp dword [ebp - 0x14], esi
je 0x40f13a
push dword [0x4356a0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f11f
mov eax, dword [0x4356ac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f198
cmp dword [0x4356b0], edi
je 0x40f198
push eax
call ebx
push dword [0x4356b0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f198
test eax, eax
je 0x40f198
call ecx
test eax, eax
je 0x40f18d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f18d
test byte [ebp - 8], 1
jne 0x40f198
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f1c8
mov eax, dword [0x4356a4]
cmp eax, edi
je 0x40f1c5
push eax
call ebx
test eax, eax
je 0x40f1c5
call eax
mov esi, eax
test esi, esi
je 0x40f1c5
mov eax, dword [0x4356a8]
cmp eax, edi
je 0x40f1c5
push eax
call ebx
test eax, eax
je 0x40f1c5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4356a0]
call ebx
test eax, eax
je 0x40f1e0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f1e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403ef8
mov esp, ebp
pop ebp
ret
Function at 0x43f2a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x43f2b1
pop dword [ebp - 4]
mov eax, 0x43f2b1
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x52261
push 0
mov eax, 0x90809df5
sub eax, 0x903beb45
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0xb2f01b7e
sub ecx, 0xb2efcb9d
xor edi, edi
add edi, eax
mov ebx, 0x488e00
add ebx, dword [ebp - 4]
mov edx, 0xb67f66e2
mov esi, dword [ebx]
xor esi, edx
mov dword [edi], esi
add edi, 0x4753f0
sub edi, 0x4753ec
add ebx, 0xad14fa3c
sub ebx, 0xad14fa38
loop 0x43f301
add eax, 0x13257
mov ebx, eax
add eax, 0xefdb4d86
add eax, 0x1024b27f
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x817030]
jne 0x401073
repz ret
jmp fcn.00401e51

Function at 0x408b0b
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.00404d5a
and dword [ebp - 4], 0
cmp dword [0x819b68], 0
mov ebx, eax
jne 0x408bbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c6d
push eax
call fcn.00404ce8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x819b68], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x819b6c], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x819b70], eax
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x819b78], eax
test eax, eax
je 0x408bbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x819b74], eax
mov eax, dword [0x819b74]
cmp eax, ebx
je 0x408c14
cmp dword [0x819b78], ebx
je 0x408c14
push eax
call fcn.00404d63
push dword [0x819b78]
mov esi, eax
call fcn.00404d63
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408c14
test edi, edi
je 0x408c14
call esi
test eax, eax
je 0x408c0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408c0b
test byte [ebp - 0xc], 1
jne 0x408c14
or dword [ebp + 0x10], 0x200000
jmp 0x408c4d
mov eax, dword [0x819b6c]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c4d
mov eax, dword [0x819b70]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x819b68]
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40af60
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x817030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x2ff755c]
push ebx
mov ebx, dword [0x2ff7280]
push esi
mov esi, dword [0x817f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40afa1
push str.bubaburebuwa
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ff755c]
mov dword [0x819d0c], esi
cmp eax, 0x114e
jne 0x40afcb
lea eax, [esp + 0xc]
push eax
push str.bipozineferutiji_gazisunepezoh_wavalinozepenujolakahasosod_sopelovudevafocodofojuvugi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x2ff755c]
cmp eax, 0x2f
jne 0x40afeb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae60
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x481030]
jne 0x401073
repz ret
jmp fcn.00401b61

Function at 0x40856b
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.0040255c
and dword [ebp - 4], 0
cmp dword [0x4838b4], 0
mov ebx, eax
jne 0x40861c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4086cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4086cd
push eax
call fcn.004024ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4838b4], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4838b8], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4838bc], eax
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x4838c4], eax
test eax, eax
je 0x40861c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x4838c0], eax
mov eax, dword [0x4838c0]
cmp eax, ebx
je 0x408674
cmp dword [0x4838c4], ebx
je 0x408674
push eax
call fcn.00402565
push dword [0x4838c4]
mov esi, eax
call fcn.00402565
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408674
test edi, edi
je 0x408674
call esi
test eax, eax
je 0x40866b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40866b
test byte [ebp - 0xc], 1
jne 0x408674
or dword [ebp + 0x10], 0x200000
jmp 0x4086ad
mov eax, dword [0x4838b8]
cmp eax, ebx
je 0x4086ad
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4086ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4086ad
mov eax, dword [0x4838bc]
cmp eax, ebx
je 0x4086ad
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4086ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4838b4]
call fcn.00402565
pop ecx
test eax, eax
je 0x4086cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4086cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ae80
Capabilities:
Set console window title

Disassembly:
mov eax, dword [0x2c61264]
sub esp, 0x1c
push ebx
mov ebx, dword [0x2c60f88]
push esi
mov esi, dword [0x481f70]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40aeb0
push 0x47ee80
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c61264]
mov dword [0x483a14], esi
cmp eax, 0x114e
jne 0x40aeda
lea eax, [esp + 0xc]
push eax
push str.wakotavun
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2c61264]
cmp eax, 0x2f
jne 0x40aef7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebx
call fcn.0040ad70
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x403b52
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffadc
push esi
lea esi, [esp + 0x40]
mov dword [esi], 0x4f4c45
mov dword [esi + 4], 0
push esi
call dword [sym.imp.USER32.dll_CharLowerA]
cmp dword [esi], 0x6f6c65
jne 0x403b83
cmp eax, esi
je 0x403b84
leave
ret 4
add byte [ebx - 0x17a7dbcc], cl
sbb byte [eax], al
add byte [eax], al
mov esi, dword [esp]
pop eax
call fcn.00403ba5
cmp eax, 0
je 0x403b9c
cmp edx, eax
jbe 0x403bb3
jmp eax
push eax
notrack jmp dword ds:[sym.imp.KERNEL32.dll_LeaveCriticalSection]
in al, 0x10
inc ebx
add byte [ebx], ah
lds eax, [eax + 0x3b]
les esp, [esi]
jp 0x403bc2
call dword es:[sym.imp.USER32.dll_GetKeyState]
dec eax
mov esp, 0x48004310
and eax, 0x7ffe
sub ax, 0x7ffc
xchg ecx, eax
push ecx
ror dword [esp], 4
rol dword [esp], 7
pop ecx
xchg ecx, eax
call dword cs:[eax*4 + sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
dec eax
and eax, 6
lea eax, [eax*2 - 0x5b]
mov edx, 0x40ccb2
add eax, edx
je 0x403bc2
ret

Function at 0x403ba5
Capabilities:
Log keystrokes via polling

Disassembly:
push esp
push 0
mov eax, ebp
push 0
push 0
push 0xffffffffffffffff
call dword es:[sym.imp.GDI32.dll_EnumICMProfilesA]
and eax, ebp
inc eax
cmp eax, esp
jp 0x403bc2

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10175530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.10175530]
mov dword [ebp - 4], eax
mov dword [0x10206900], 0x10d8
jmp 0x1017554d
jmp 0x10175574
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10175574
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax], 0x4550
jne 0x1017554b
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x101755ac
mov eax, dword [ebp - 4]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov eax, dword [0x102068fc]
add eax, 0x6b8
mov dword [0x102068fc], eax
mov al, 1
test al, 1
jne 0x1017554d
jmp 0x1017559b
mov dword [0x102068fc], 0x1547
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop ebp
ret

Function at 0x10175c00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [0x102068fc], 0x52a
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [0x10206900], 0xcef
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [0x102068fc], 0x1548
mov dword [ebp - 0x10], 0
jmp 0x10175ce2
mov dword [0x102068fc], 0xf60
mov dword [ebp - 4], 0
jmp 0x10175d9c
mov eax, dword [0x102068fc]
sub eax, 0xc3e
mov dword [0x10206900], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x10175d73
jmp 0x10175cd9
jmp 0x10175c4f
mov dword [0x102068fc], 0x50f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
add eax, 0xffffffe8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x6f
je 0x10175d3f
jmp 0x10175c8c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x10175d8e
jmp 0x10175cde
jmp 0x10175c8c
jmp 0x10175d97
jmp 0x10175ce0
jmp 0x10175cd9
cmp dword [ebp - 0x10], 0x104
jge 0x10175d1a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2]
cmp eax, 0
jne 0x10175cfe
jmp 0x10175d1a
mov eax, dword [0x102068fc]
add eax, 0x134d
mov dword [0x102068fc], eax
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10175ce2
mov dword [0x10206900], 0x104b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x10175c8e
jmp 0x10175c4f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x10175cd7
mov dword [0x10206900], 0x1eb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x10175c65
jmp 0x10175d97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x10175cbf
jmp 0x10175ce0
mov dword [ebp - 4], 1
jmp 0x10175d9c
jmp 0x10175cd7
mov eax, dword [ebp - 4]
add esp, 0x14
pop ebp
ret
Function at 0x4372f3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x437302
pop dword [ebp - 0x3c]
mov eax, 0x5201ff94
add eax, 0xae41736e
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xc2719b03
add dword [ebp - 0x4c], 0x8be0aa48
mov dword [ebp - 0x48], 0x9285dae2
sub dword [ebp - 0x48], 0x60528e9d
mov dword [ebp - 0x44], 0x7d070849
sub dword [ebp - 0x44], 0x30bac41b
mov dword [ebp - 0x40], 0x88026141
add dword [ebp - 0x40], 0x77fd9ebf
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xa6fe1594
sub eax, 0xa6ba6380
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x338d6fec
add dword [ebp - 0x4c], 0x40e4f96a
mov dword [ebp - 0x48], 0x18ed0f36
sub dword [ebp - 0x48], 0xd780adc1
mov dword [ebp - 0x44], 0x3348230f
sub dword [ebp - 0x44], 0xcfd8b6a3
mov dword [ebp - 0x40], 0x9cb7182e
sub dword [ebp - 0x40], 0x9cb7182e
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x48c9f0de
add eax, 0xb779c192
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x47487
push 0
call eax
mov ecx, 0x5b179a6
add ecx, 0xfa4ed9b0
mov edi, eax
mov edx, 0x542cf782
add edx, 0xac19567e
add edx, dword [ebp - 0x3c]
mov esi, 0xb323cd43
sub esi, 0x7ed79adc
mov ebx, dword [edx]
xor dword [ebp - 0x24], 0x36c17c59
sub ebx, esi
add dword [ebp - 0x2c], edx
mov dword [edi], ebx
add dword [ebp - 0x20], 0xb10acc8c
add edi, 0x9e120272
sub edi, 0x9e12026e
add edx, 0x6d430ff6
sub edx, 0x6d430ff2
loop 0x437424
add eax, 0x1402b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x403b2f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [ebp + 8]
call fcn.00403d35
push 0x5b
push eax
mov dword [ebp - 8], eax
call fcn.00407830
mov edi, eax
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
je 0x403bf0
push esi
inc edi
push 0x5d
push edi
call fcn.00407830
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x403bef
mov byte [esi], bl
inc esi
push 0x3d
push esi
call fcn.00407830
pop ecx
pop ecx
cmp eax, ebx
je 0x403bef
mov byte [eax], bl
lea eax, [ebp - 4]
push eax
push 0x20006
push ebx
push edi
push dword [section..data]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403bb4
push ebx
push str.Could_not_open_key
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403be6
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x403bdd
cmp eax, 2
je 0x403bdd
push ebx
push str.Could_not_delete_value
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call fcn.00403d35
pop ecx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x403d35
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x403d44
pop dword [ebp - 0x3c]
mov eax, 0x3a9b84dc
sub eax, 0x3a5b4798
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x8265c317
sub dword [ebp - 0x4c], 0x34137dcc
mov dword [ebp - 0x48], 0x39d4200c
add dword [ebp - 0x48], 0xf85f2c39
mov dword [ebp - 0x44], 0x15280182
sub dword [ebp - 0x44], 0xc8dbbd54
mov dword [ebp - 0x40], 0x27cce3b7
sub dword [ebp - 0x40], 0x27cce3b7
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xe6d0bc77
sub eax, 0xe68e8c03
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xc603d65e
sub dword [ebp - 0x4c], 0x51916d08
mov dword [ebp - 0x48], 0x77c3135e
add dword [ebp - 0x48], 0xc9a94e17
mov dword [ebp - 0x44], 0x1545d71
add dword [ebp - 0x44], 0x621b0efb
mov dword [ebp - 0x40], 0x83ab0fc1
sub dword [ebp - 0x40], 0x83ab0fc1
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xdfc9f938
add eax, 0x207837ec
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x40033
push 0
call eax
mov ecx, 0xe13ca578
add ecx, 0x1ec3ab13
xor edx, edx
add edx, eax
mov edi, 0x17ad7add
sub edi, 0x176a36dd
add edi, dword [ebp - 0x3c]
mov esi, 0x6e050b1a
sub esi, 0xba3e012c
sub dword [ebp - 0x20], 0x9186068a
mov ebx, dword [edi]
add ebx, esi
sub dword [ebp - 0x18], edi
mov dword [edx], ebx
xor dword [ebp - 0x38], 0xef694a37
add edx, 0x480326a7
add edx, 0xb7fcd95d
add edi, 0xfc0fb082
add edi, 0x3f04f82
loop 0x403e68
add eax, 0x134ff
mov ebx, eax
add eax, 0xea79e259
add eax, 0x15861dac
mov ecx, 0xba74e26b
add ecx, 0x45cb1d95
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x10018b5
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor esi, esi
test eax, eax
jne 0x10018e1
push esi
push 0x10
push esi
push esi
push 0x4f5
jmp 0x1001936
lea eax, [ebp - 0x10]
push eax
push 0x1001254
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
push esi
jne 0x1001920
push 0x10
push esi
push esi
push 0x4f6
jmp 0x1001936
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1001940
push esi
push 0x10
push esi
push esi
push 0x4f7
push esi
call fcn.010038cc
xor eax, eax
jmp 0x1001943
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x1002a34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push edi
push 0xa
push dword [ebp + 8]
xor edi, edi
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, dword [ebp + 0x10]
ja 0x1002a9d
cmp dword [ebp + 0xc], edi
je 0x1002a9d
cmp ebx, edi
je 0x1002a7d
push 0xa
push dword [ebp + 8]
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
jne 0x1002a81
xor eax, eax
jmp 0x1002a9f
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1004c18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x1004c49
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x1004c4e
jmp 0x10045a1
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x1004c95
lea eax, [ebp - 0x714]
push eax
call fcn.01002c0f
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.01002bc4
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x1004ca0
jmp 0x1004ca5
jmp 0x10045a1