joyce8/EMBER2024-capa huggingface dataset:
Function at 0x567f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x57c9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x568002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0056bdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x568002
lea edx, [esp + 0x14]
push edx
push 0x582140
call fcn.005636e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0056c20b
push 0x10
call fcn.0056c1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x567fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.005581c0
jmp 0x567fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00567b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x567ff0
mov ecx, edi
call fcn.005582c0
push edi
call fcn.0056c1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x568021
inc ebx
cmp ebx, 0x20
jb 0x567f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x56b1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0056b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0056b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0056b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0056b140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x56b230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56b2d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x56b2ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0056b230
mov esi, eax
add esp, 8
test esi, esi
jne 0x56b2ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x56b27e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x56b2ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x56bbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x56bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x57d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x56bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x56bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1099d01f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10999110]
jne 0x1099d029
repz ret
jmp fcn.1099d2ab

Function at 0x109a0e11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10999110]
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.1099d3b1
and dword [ebp - 0x14], 0
cmp dword [0x1099c224], 0
mov dword [ebp - 0x18], eax
jne 0x109a0ec4
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x109a0f6c
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x109a0f6c
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1099c224], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1099c228], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1099c22c], eax
call edi
push eax
call esi
mov dword [0x1099c234], eax
test eax, eax
je 0x109a0ec4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1099c230], eax
mov eax, dword [0x1099c230]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x109a0f1d
cmp dword [0x1099c234], ecx
je 0x109a0f1d
push eax
call esi
push dword [0x1099c234]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x109a0f1d
test ebx, ebx
je 0x109a0f1d
call edi
test eax, eax
je 0x109a0f14
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x109a0f14
test byte [ebp - 8], 1
jne 0x109a0f1d
or dword [ebp + 0x10], 0x200000
jmp 0x109a0f50
mov eax, dword [0x1099c228]
cmp eax, dword [ebp - 0x18]
je 0x109a0f50
push eax
call esi
test eax, eax
je 0x109a0f50
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x109a0f50
mov eax, dword [0x1099c22c]
cmp eax, dword [ebp - 0x18]
je 0x109a0f50
push eax
call esi
test eax, eax
je 0x109a0f50
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1099c224]
call esi
test eax, eax
je 0x109a0f6c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x109a0f6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1099d01f
leave
ret

Function at 0x40579a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x40579a
lcall 0x5de5, 0x8b10c483
jmp loc.0078207c

Function at 0x40895a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
add edx, 0xdbbd7ec3
dec esi
call fcn.0040897f
or edx, edx
mov edx, esi
xor dword [ebx], ecx
dec esi
inc ebx
cmp ebx, eax
jne fcn.0040895a
mov edx, 0xe504f74f
sub edx, esi
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6a2c4395
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5e421b2f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401045
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x47e140
call fcn.00401faa
mov ecx, esi
push str.EBWebViewx86EmbeddedBrowserWebView.dll
call fcn.00401faa
mov ecx, esi
call fcn.00402068
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop esi
pop ebp
ret

Function at 0x401ba8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov esi, edx
mov edi, ecx
mov eax, dword [0x4c8578]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.00446b20
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sub ecx, esi
push eax
push 0x20219
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x401ca5
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x24]
push edi
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401ca3
cmp dword [esp + 0xc], 3
mov ebx, 0
jb 0x401ca5
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00401eda
mov ecx, esi
call fcn.00402068
push 0x5c
push eax
call fcn.0044795b
add esp, 8
test eax, eax
je 0x401ca3
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.00401ad8
test al, al
je 0x401ca3
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x401c94
push edi
call fcn.00401eda
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00401cbd
mov ebx, eax
jmp 0x401ca5
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.00443fa5
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401cbd
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x47e418]
cmp dword [ecx + eax], edx
ja 0x401cdb
jb 0x401ce6
add eax, 4
cmp eax, 0x10
jne 0x401cc6
push esi
call fcn.00401045
add esp, 4
jmp 0x401d06
mov edi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push str.Loader_skipped_an_incompatible_version:
call edi
mov ecx, esi
call fcn.00402068
push eax
call edi
push 0x47e47a
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x402582
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4c8578]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x4025fd
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x402617
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.00402641
add esp, 8
test al, al
je 0x402627
mov eax, dword [esi]
test eax, eax
je 0x40263d
push 0xa
push 0
push eax
call fcn.00453a6a
add esp, 0xc
cmp eax, 1
jmp 0x40261b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443fa5
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00402641
cmp dword [ebp - 0x14], 1
sete al
movzx eax, al
mov dword [ebx], eax
mov bl, 1
jmp 0x402629
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443fa5
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x40261e

Function at 0x402641
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov esi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x4c8578]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea edi, [ebp - 0x218]
push 0x208
push ebx
push edi
call fcn.00446b20
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push edi
push ebx
push 2
push esi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x4026b8
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.00401eda
mov ecx, edi
call fcn.00402068
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443fa5
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403130
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468ae0
mov eax, dword fs:[0]
push eax
mov eax, 0x1464
call fcn.00444240
push esi
push edi
mov eax, dword [0x4c8578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x141c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1420], eax
mov esi, dword [ebp + 0x20]
xor eax, eax
push esi
mov dword [ebp - 4], 0
mov word [ebp - 0x140c], ax
mov byte [ebp - 0x40c], al
call fcn.00405af0
add esp, 4
mov dword [ebp - 0x1414], eax
mov dword [ebp - 0x1470], 3
mov ecx, 1
mov dword [ebp - 0x146c], esi
lock xadd dword [0x4d0d44], ecx
inc ecx
mov dword [ebp - 0x1468], ecx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x4031e4
cmp word [ecx], 0
mov dword [ebp - 0x1464], ecx
jne 0x4031ee
mov dword [ebp - 0x1464], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 0x1460], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1410]
mov dword [ebp - 0x1454], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1450], eax
mov eax, dword [ebp - 0x1414]
mov dword [ebp - 0x144c], eax
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x145c], eax
mov eax, dword [ebp - 0x141c]
mov dword [ebp - 0x1458], eax
mov eax, dword [ebp - 0x1420]
mov dword [ebp - 0x1428], eax
mov eax, dword [0x4d0ca4]
mov dword [ebp - 0x1424], edi
movq qword [ebp - 0x1438], xmm0
mov dword [ebp - 0x1430], 0
movups xmmword [ebp - 0x1448], xmm0
test eax, eax
je 0x403274
call eax
mov dword [ebp - 0x142c], eax
jmp 0x40327e
mov dword [ebp - 0x142c], 0
mov eax, dword [0x4d0c9c]
test eax, eax
je 0x40329c
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x4d0ca0]
test eax, eax
je 0x4032ae
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x4d0cd8]
test eax, eax
je 0x4032c0
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [ebp - 0x146c]
mov ecx, 0x8000ffff
test eax, eax
cmovns eax, ecx
cmp byte [0x4d0d68], 0
mov dword [ebp - 0x146c], eax
jne 0x4032ff
mov eax, dword [0x4d0d64]
test eax, eax
je 0x4032ef
call eax
movzx eax, al
jmp 0x4032fb
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x403308
cmp byte [0x495004], 0
jne 0x403329
mov eax, dword [0x4d0d60]
test eax, eax
je 0x403382
cmp byte [0x4d0d78], 0
jne 0x403382
push 0
push 0
lea ecx, [ebp - 0x1470]
push ecx
call eax
jmp 0x403382
mov eax, dword [0x4d0d60]
test eax, eax
je 0x403350
cmp byte [0x4d0d78], 0
jne 0x403350
push 0x800
lea ecx, [ebp - 0x140c]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
cmp word [ebp - 0x140c], 0
jne 0x403375
lea eax, [ebp - 0x1470]
push eax
lea eax, [ebp - 0x140c]
push 0x800
push eax
call fcn.00404e50
add esp, 0xc
lea eax, [ebp - 0x140c]
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp byte [0x4d0d70], 0
je 0x403396
mov eax, dword [0x4d0cac]
test eax, eax
je 0x403396
call eax
lea eax, [ebp - 0x1470]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00407210
int3
Function at 0x404150
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movups xmm0, xmmword [0x495040]
sub esp, 0xc
mov ecx, 0x400
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x495088
movups xmmword [ebx], xmm0
lea edi, [ebx + 0x48]
movups xmm0, xmmword [0x495050]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [0x495060]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [0x495070]
movups xmmword [ebx + 0x30], xmm0
movq xmm0, qword [0x495080]
movq qword [ebx + 0x40], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
xor esi, esi
xor edi, edi
nop word [eax + eax]
lea eax, [esi + 1]
mov ebx, dword [ebp + 8]
cdq
idiv ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [edx + eax]
movzx eax, byte [esi + eax]
shl eax, 8
or ecx, eax
lea eax, [esi + 2]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
or ecx, eax
lea eax, [esi + 3]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
mov ebx, dword [ebp + 0x10]
or ecx, eax
lea eax, [esi + 4]
cdq
xor dword [ebx + edi*4], ecx
inc edi
mov ecx, dword [ebp + 0xc]
idiv ecx
mov esi, edx
cmp edi, 0x12
jl 0x4041b0
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 8], 0
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404690
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + esi*4], eax
mov eax, dword [ebp - 8]
mov dword [ebx + esi*4 + 4], eax
add esi, 2
cmp esi, 0x12
jl 0x404210
lea esi, [ebx + 0x4c]
mov dword [ebp - 0xc], 4
mov edi, 0x80
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404690
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi - 4], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x404245
sub dword [ebp - 0xc], 1
jne 0x404240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4074b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x4c8578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 0xc]
push 0x46c89c
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x804]
push 0x400
push eax
mov dword [ebp - 0x81c], ecx
call fcn.00449d78
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push 0x46c8b0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x407573
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40756b
cmp dword [ebp - 0x80c], 1
jbe 0x40756b
push dword [ebp - 0x808]
call esi
jmp 0x407601
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push 0x46c8d0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4075e8
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4075e0
cmp dword [ebp - 0x80c], 1
jbe 0x4075e0
push dword [ebp - 0x808]
call esi
jmp 0x407601
push dword [ebp - 0x808]
call esi
push 0x46c914
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00449d78
add esp, 0xc
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
pop esi
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407610
sub ecx, edx
mov dword [ebp - 0x80c], ecx
cmp byte [ebp + ecx - 0x405], 0x5c
je 0x407642
push 0x46c7d0
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00449dd2
add esp, 0xc
push dword [ebp - 0x814]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00449dd2
push 0x46c7d0
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00449dd2
push dword [ebp - 0x818]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00449dd2
push 0x46c938
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00449dd2
mov ecx, dword [ebp - 0x81c]
lea eax, [ebp - 0x404]
add esp, 0x30
push eax
call fcn.004076d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443fa5
mov esp, ebp
pop ebp
ret 8
Function at 0x4076d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4c8578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push esi
push edi
push ecx
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40772d
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test byte [ebp - 0x144], 0x10
je 0x407720
lea eax, [ebp - 0x144]
push eax
push esi
call ebx
cmp eax, 1
je 0x407706
jmp 0x407725
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00443fa5
mov esp, ebp
pop ebp
ret 4

Function at 0x407d60
Capabilities:
Open clipboard
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x46c990
push SysReAllocString
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x46c9b0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x46c9b0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x407ee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x46c990
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
push esi
push 4
push 0
push 0x46c9b0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c8578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 0x10000
push 0
push 0x409280
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], eax
mov eax, dword [0x50fb2c]
mov ecx, eax
mov dword [ebp - 0x18], eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x40828d
mov eax, edi
nop
mov edi, eax
cmp dword [eax + 0x10], ebx
jae 0x40827e
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x408287
mov ecx, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x408270
cmp byte [ecx + 0xd], 0
jne 0x408298
cmp ebx, dword [ecx + 0x10]
jae 0x4082ea
cmp dword [0x50fb30], 0xaaaaaaa
je 0x4082fc
mov dword [ebp - 0x20], 0x50fb2c
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.0044426b
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ebx
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x50fb2c
push esi
push edi
mov word [eax + 0xc], 0
call fcn.00409330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00409560
int3