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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x4927c4
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x492767
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x492730
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x49272e
push 0
push 0
push 1
push 0x36c8
push 0x5796
push 0x7c9b
call fcn.00484ed9
add esp, 0x18
jmp 0x492765
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov esi, eax
mov eax, dword [ebp - 0x3c]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x4927c2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x49278c
push 0x23e2
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4927c2
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x4927c2
push 0x1157
push 0
push 0
push 0x2414
push 0xe39
push 0
push 0xb06
call dword [sym.imp.GDI32.dll_GetDIBits]
jmp 0x4927e1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
push 0x5d63
push 1
push dword [ebp - 0x58]
push 0x27a8
call fcn.00479c6a
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493e05
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x493e99
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x493e49
push 0x2a95
push 0x1997
push 1
call fcn.00493eef
add esp, 0xc
jmp 0x493e97
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x493e81
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x493e7f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x493e97
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x493eeb
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x493ec5
push 1
push 0x2dd2
call fcn.0047bd81
pop ecx
pop ecx
jmp 0x493eeb
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
push 0
push dword [ebp - 0x2c]
push 0x2480
push dword [ebp - 0x30]
push 0x659b
call fcn.0047e3fb
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x498d3c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb28d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x498ef4
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0x1bb8
mov dword [ebp - 0x20], str.xtkbdiwm_uvejyo_yfytzfi_amp_gzwxiwy_gltduc_dlf_dre_geonmwpps_meh_iyrcyngvs_kdn_rmuimu
cmp dword [ebp - 0x1c], 0x1d81
jle 0x498e0c
and dword [ebp - 0x14], 0
jmp 0x498d9a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2f5b
jge 0x498df6
and dword [ebp - 0x18], 0
jmp 0x498db0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1c23
jge 0x498df4
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
call fcn.004019b1
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b8ce
push eax
call fcn.004b4d47
pop ecx
lea ecx, [ebp - 0x84]
call fcn.0040b8c4
jmp 0x498da9
jmp 0x498d93
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x18be
jge 0x498e28
push dword [ebp - 0x20]
call fcn.004b4d47
pop ecx
jmp 0x498e44
or dword [ebp - 4], 0xffffffff
jmp 0x498e4e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x498ed5
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x48]
push 0x437e
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 1
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.00498f13
add esp, 0x28
jmp 0x498ef2
push 0x76ab
push 0
push 0x2884
push 1
push 1
push 0x5d90
call fcn.0048dcb5
add esp, 0x18
jmp 0x498f02
push 0
push 0x4b44
call fcn.00478c9d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d76d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x49d7ca
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x49d7a1
push 1
push 0x44dc
call fcn.0049d7ee
pop ecx
pop ecx
jmp 0x49d7c8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x49d7bd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x49d7c8
push 0x10c6
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x49d7ea
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
push 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x14]
call fcn.0047eb25
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x49d81d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x49d850
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
push dword [ebp - 0xc]
push 1
call fcn.0049d978
add esp, 0xc
jmp 0x49d974
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x49d900
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x49d8ed
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x49d8ce
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x49d8eb
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x34]
call fcn.0040bd1c
mov dword [eax], 0xce3d9786
jmp 0x49d8c3
jmp 0x49d8fe
push 0
push 0x311
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x49d974
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x49d94b
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x49d949
push 0
push 0x1cb2
push 0xd9c
push 0x1ac6
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
jmp 0x49d974
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x49d974
push 0
push 0
push 0x133
push 0
push 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov esp, ebp
pop ebp
ret
Function at 0x4c4f14
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4cc7d0]
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.004b894b
mov dword [ebp - 0x14], eax
cmp dword [0xa9c4bc], esi
jne 0x4c5007
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4c4f94
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c50e7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4c50e7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c50e7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa9c4bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa9c4c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa9c4c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa9c4cc], eax
test eax, eax
je 0x4c5004
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa9c4c8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c502c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c501f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4c5041
push 4
pop eax
jmp 0x4c50e9
cmp dword [ebp - 0x14], esi
je 0x4c5041
push dword [0xa9c4bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4c5026
mov eax, dword [0xa9c4c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4c509f
cmp dword [0xa9c4cc], edi
je 0x4c509f
push eax
call ebx
push dword [0xa9c4cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4c509f
test eax, eax
je 0x4c509f
call ecx
test eax, eax
je 0x4c5094
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 0x4c5094
test byte [ebp - 8], 1
jne 0x4c509f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4c50cf
mov eax, dword [0xa9c4c0]
cmp eax, edi
je 0x4c50cc
push eax
call ebx
test eax, eax
je 0x4c50cc
call eax
mov esi, eax
test esi, esi
je 0x4c50cc
mov eax, dword [0xa9c4c4]
cmp eax, edi
je 0x4c50cc
push eax
call ebx
test eax, eax
je 0x4c50cc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa9c4bc]
call ebx
test eax, eax
je 0x4c50e7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4c50e9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b5dab
mov esp, ebp
pop ebp
ret
Function at 0x40c912
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x419467
call fcn.00417bb0
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x41b750
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x41b8bc
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.00403468
push dword [esi + 8]
mov ecx, ebx
call fcn.00403468
push dword [esi + 0xc]
mov ecx, edi
call fcn.00403468
push dword [esi + 0xc]
mov ecx, edi
call fcn.00403468
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40c91e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x419467
call fcn.00417bb0
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x41b750
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x41b8bc
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.00403468
push dword [esi + 8]
mov ecx, ebx
call fcn.00403468
push dword [esi + 0xc]
mov ecx, edi
call fcn.00403468
push dword [esi + 0xc]
mov ecx, edi
call fcn.00403468
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x10001180
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
push 2
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x10001261
mov edx, dword [esp + 4]
push ebp
lea ecx, [esp + 4]
push ecx
push 2
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x10001259
xor eax, eax
mov dword [esp + 0xd], eax
mov word [esp + 0x11], ax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100011ec
mov dword [esp + 0xc], 0x736579
jmp 0x10001202
mov cx, word [0x1009c86c]
mov dl, byte [0x1009c86e]
mov word [esp + 0xc], cx
mov byte [esp + 0xe], dl
lea eax, [esp + 0xc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001210
mov ecx, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, edx
lea esi, [eax + 1]
push esi
lea eax, [esp + 0x18]
push eax
push 1
push 0
push str.Disable_Script_Debugger
push ecx
call edi
mov eax, dword [esp + 0xc]
push esi
lea edx, [esp + 0x18]
push edx
push 1
push 0
push str.DisableScriptDebuggerIE
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call ebp
pop edi
pop esi
mov edx, dword [esp + 8]
push edx
call ebp
pop ebp
add esp, 0x10
ret 4

Function at 0x10001270
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
push 2
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x100012ec
mov edx, dword [esp + 4]
push esi
lea ecx, [esp + 4]
push ecx
push 2
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100012e4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
xor eax, eax
push 4
test ecx, ecx
lea ecx, [esp + 0x14]
push ecx
push 4
setne al
push 0
push str.AllowWindowReuse
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
pop esi
add esp, 8
ret 4
Function at 0x10003010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x19c], bl
mov ecx, 0x40
lea edi, [ebp - 0x19b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x10], esp
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x19c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 4], ebx
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x19c]
push 0x5c
push eax
mov byte [ebp - 4], 1
call fcn.10075b6a
mov byte [eax], bl
lea eax, [ebp - 0x19c]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003096
sub eax, edx
push eax
lea ecx, [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100024d0
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
xor eax, eax
mov byte [ebp - 0x98], bl
mov ecx, 0x1f
lea edi, [ebp - 0x97]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x98]
push eax
push str.U09GVFdBUkVcU25hdlxpZXhw
mov byte [ebp - 4], 2
call fcn.1003a410
mov edi, dword [ebp - 0x18]
add esp, 8
push edi
lea ecx, [ebp - 0x14]
push str._s__u___sSnav.dll_
push ecx
call fcn.10002d50
mov esi, dword [ebp - 0x14]
add esp, 0xc
push 6
push ebx
push esi
push str.regsvr32
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000313c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003159
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100094a0
Capabilities:
Delete file

Disassembly:
mov eax, dword [ecx + 0xb0]
push esi
lea esi, [ecx + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100094c0
mov ecx, esi
pop esi
jmp fcn.10001950
pop esi
ret

Function at 0x1000ce50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10096b02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [edi + 8]
mov dword [esi], 0x1009d1e4
mov eax, dword [edi + 4]
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
call fcn.1000c390
lea edx, [edi + 0x18]
push edx
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], 0
call fcn.1000c460
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
mov byte [esp + 0x18], 1
call fcn.10001a10
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
mov byte [esp + 0x1c], 2
call fcn.10001a10
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
sub eax, 0x10
push eax
mov byte [esp + 0x20], 3
call fcn.10001a10
add eax, 0x10
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov eax, dword [edi + 0x3c]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 4
call fcn.10001a10
add eax, 0x10
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 5
call fcn.10001a10
mov ecx, dword [esp + 0x20]
add esp, 0x14
add eax, 0x10
mov dword [esi + 0x40], eax
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4