joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d4b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
push ebx
push esi
push 0x264d4161
call fcn.1000ad20
add esp, 4
test eax, eax
je 0x1000d62a
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov al, 0x2e
mov byte [esp + 0xe], al
mov byte [esp + 0x2d], al
lea eax, [esp + 8]
mov bl, 0x6c
mov cl, 0x62
push eax
mov byte [esp + 0xc], bl
mov byte [esp + 0xd], 0x69
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], 0x65
mov byte [esp + 0x10], 0x67
mov byte [esp + 0x11], bl
mov byte [esp + 0x13], 0x64
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], 0
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0x47
mov byte [esp + 0x2c], 0x4c
mov byte [esp + 0x2d], 0x45
mov byte [esp + 0x2e], 0x53
mov byte [esp + 0x2f], 0x76
mov byte [esp + 0x30], 0x32
mov byte [esp + 0x32], 0x64
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0
call esi
test eax, eax
je 0x1000d62a
lea ecx, [esp + 0x24]
push ecx
call esi
test eax, eax
je 0x1000d62a
mov al, 0x66
lea edx, [esp + 0x34]
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], al
mov al, 0x73
push edi
mov byte [esp + 0x45], al
mov byte [esp + 0x23], al
lea eax, [esp + 0xc]
mov cl, 0x61
push edx
push eax
mov byte [esp + 0x40], 0x65
mov byte [esp + 0x41], 0x67
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x53
mov byte [esp + 0x44], 0x77
mov byte [esp + 0x45], cl
mov byte [esp + 0x46], 0x70
mov byte [esp + 0x47], 0x42
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x4b], 0x65
mov byte [esp + 0x4c], 0x72
mov byte [esp + 0x4e], 0
mov byte [esp + 0x20], 0x67
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x65
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x50
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x28], 0x78
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2c], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
mov dword [0x1003d448], eax
call esi
push eax
call edi
pop edi
mov dword [0x1003d444], eax
pop esi
mov eax, 1
pop ebx
add esp, 0x3c
ret
pop esi
mov eax, 1
pop ebx
add esp, 0x3c
ret
Function at 0x1000f240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov al, 0x31
mov cl, 0x64
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 0xf], al
mov byte [esp + 0x10], al
mov byte [esp + 0x13], al
mov byte [esp], cl
mov byte [esp + 2], cl
mov byte [esp + 6], cl
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x17], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x20], al
mov byte [esp + 7], cl
mov byte [esp + 8], cl
lea eax, [esp]
mov dl, 0x33
mov cl, 0x44
push eax
mov byte [esp + 5], dl
mov byte [esp + 9], 0x2e
mov byte [esp + 0xd], 0
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], cl
mov byte [esp + 0x15], 0x4f
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x18], 0x32
mov byte [esp + 0x19], 0x43
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1c], 0x61
mov byte [esp + 0x1d], 0x74
mov byte [esp + 0x1f], cl
mov byte [esp + 0x21], 0x76
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x63
mov byte [esp + 0x25], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1000f305
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1000f305
mov eax, 0x80004005
add esp, 0x24
ret 0x28
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1000f320
mov eax, 0x80004005
add esp, 0x24
ret 0x28
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push ecx
push edx
call eax
add esp, 0x24
ret 0x28
Function at 0x10013e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x18]
push eax
push 0x40
mov ebx, dword [ebp + 0x14]
push ebx
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10013eee
mov ecx, ebx
mov esi, dword [ebp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 1
mov dword [ebp - 0x14], esi
jmp 0x10013eee
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015eb0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov dword [esp], 0
test eax, eax
je 0x10015f0c
mov eax, dword [esp + 8]
push esi
push 0
push 0
push eax
push fcn.10015bf0
push 0
push 0
call fcn.1001a71f
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x10015ef0
test esi, esi
je 0x10015ef0
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [esp]
pop ecx
ret 8
mov edx, dword [esp + 8]
push edx
call fcn.10015bf0
pop ecx
ret 8
Function at 0x10017670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100243f0
push 0x10019790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x1001770b
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x1001770b
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
mov esi, dword [ebp + 0xc]
cmp esi, edi
jb 0x1001770b
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x1001770b
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10017840
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1003ef38], eax
je 0x10017856
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x1003ef48]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x100178a9
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0xc]
push eax
xor eax, eax
mov al, byte [edx + 0x17]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.10006220
cmp dword [esi + 4], ebp
jne 0x10017898
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x10017898
push eax
call fcn.10017920
add esp, 4
mov dword [esi + 0x10], ebp
mov edi, dword [esi]
push esi
call fcn.10019200
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x10017865
mov dword [0x1003ef48], ebp
call fcn.100178f0
mov esi, dword [0x1003ef44]
cmp esi, ebp
je 0x100178dd
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
mov edi, dword [esi]
push esi
call fcn.10019200
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x100178c5
pop ebx
pop edi
mov dword [0x1003ef44], ebp
mov dword [0x1003ef38], ebp
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x10017c10
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1003ef3c]
push esi
test eax, eax
push edi
jne 0x10017c86
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x10017c84
push 8
call fcn.100199e2
mov esi, eax
add esp, 4
test esi, esi
jne 0x10017c40
mov edi, 8
jmp 0x10017c5d
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10017c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.10019200
add esp, 4
mov dword [0x1003ef3c], edi
mov eax, edi
pop edi
mov dword [0x1003ef40], 0
pop esi
ret 4
mov dword [esi + 4], edi
mov eax, dword [0x1003ef44]
mov dword [esi], eax
mov dword [0x1003ef44], esi
xor eax, eax
pop edi
pop esi
ret 4
Function at 0x10018240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024400
push 0x10019790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100182ca
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x5a4d
jne 0x100182c3
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp - 0x3c], ecx
cmp dword [ecx], 0x4550
jne 0x100182c3
cmp word [ecx + 0x14], 0
mov dword [ebp - 4], 0xffffffff
je 0x100182ca
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10018930
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
push edi
mov eax, dword [ecx + 0x3c]
mov edi, dword [esp + 0x14]
add eax, ecx
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x18]
cmp edi, edx
jae 0x10018958
mov eax, edi
pop edi
pop esi
pop ebx
ret
xor edx, edx
xor esi, esi
mov dx, word [eax + 6]
test edx, edx
jbe 0x1001897c
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x10018974
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edi, ebx
jb 0x10018983
add ecx, 0x28
inc esi
cmp esi, edx
jb 0x10018964
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0xc]
sub eax, edx
add eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x10018a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe0
mov eax, dword [esp + 0xe4]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x3c]
push edi
add ecx, eax
xor ebx, ebx
mov ebp, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x10], ecx
mov edi, dword [eax + ebp + 0x24]
mov esi, dword [eax + ebp + 0x1c]
mov edx, dword [eax + ebp + 0x20]
mov ecx, dword [eax + ebp + 0x10]
add edi, eax
add esi, eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xf8]
add edx, eax
mov dword [esp + 0x20], esi
test edi, 0xffff0000
jne 0x10018af6
cmp edi, ecx
jb 0x10018ae9
mov edx, dword [eax + ebp + 0x14]
lea edx, [edx + ecx - 1]
cmp edi, edx
ja 0x10018ae9
sub edi, ecx
mov ebx, dword [esi + edi*4]
jmp 0x10018b77
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe0
ret
mov ecx, dword [eax + ebp + 0x18]
mov dword [esp + 0x18], 0
test ecx, ecx
jle 0x10018b79
mov dword [esp + 0x1c], edx
jmp 0x10018b13
mov edi, dword [esp + 0xf8]
mov esi, dword [edx]
add esi, eax
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [edi]
jne 0x10018b3b
test cl, cl
je 0x10018b37
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x10018b3b
add esi, 2
add edi, 2
test cl, cl
jne 0x10018b17
xor ecx, ecx
jmp 0x10018b40
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x10018b62
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [eax + ebp + 0x18]
inc ecx
add edx, 4
cmp ecx, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jl 0x10018b0c
jmp 0x10018b79
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov cx, word [edx + esi*2]
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + ecx*4]
add ebx, eax
lea ecx, [eax + ebp]
cmp ebx, ecx
jb 0x10018c48
mov edx, dword [esp + 0x10]
add edx, ebp
add edx, eax
cmp ebx, edx
ja 0x10018c48
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x8d]
mov byte [esp + 0x8c], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
push eax
call esi
lea ecx, [esp + 0x28]
push 0x2e
push ecx
call fcn.1001a1b0
add esp, 8
test eax, eax
je 0x10018c48
mov byte [eax], 0
inc eax
lea edx, [esp + 0x8c]
push eax
push edx
call esi
mov al, 0x6c
lea ecx, [esp + 0x28]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], al
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0x2e
push eax
push ecx
mov byte [esp + 0x19], 0x64
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10018c48
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.10018a80
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xe0
ret
Function at 0x3a117ee9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3a1114b4]
jne 0x3a117f85
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x3a119350], eax
mov dword [0x3a11934c], ecx
mov dword [0x3a119348], edx
mov dword [0x3a119344], ebx
mov dword [0x3a119340], esi
mov dword [0x3a11933c], edi
mov word [0x3a119368], ss
mov word [0x3a11935c], cs
mov word [0x3a119338], ds
mov word [0x3a119334], es
mov word [0x3a119330], fs
mov word [0x3a11932c], gs
pushfd
pop dword [0x3a119360]
mov eax, dword [ebp]
mov dword [0x3a119354], eax
mov eax, dword [ebp + 4]
mov dword [0x3a119358], eax
lea eax, [ebp + 8]
mov dword [0x3a119364], eax
mov eax, dword [ebp - 0x320]
mov dword [0x3a1192a0], 0x10001
mov eax, dword [0x3a119358]
mov dword [0x3a119254], eax
mov dword [0x3a119248], 0xc0000409
mov dword [0x3a11924c], 1
mov eax, dword [0x3a1114b4]
mov dword [ebp - 0x328], eax
mov eax, dword [0x3a119098]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x3a119298], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x3a11808c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x3a119298], 0
jne 0x3a118075
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x100979a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.01001c0d
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1008]
push eax
push 0x1005438
push 0x80000001
mov dword [ebp - 0x1010], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100991c
push esi
push 3
mov esi, 0x400
push esi
lea eax, [ebp - 0x1004]
push eax
push 0
push 9
push 0x110a
push dword [0x101d090]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [0x101d090]
call fcn.01002c60
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], eax
push 0x5c
push dword [ebp - 0x100c]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x1009837
inc eax
inc eax
mov dword [ebp - 0x100c], eax
jne 0x1009819
push ebx
push dword [ebp - 0x100c]
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.01002d3f
lea eax, [ebp - 0x804]
push eax
mov ebx, 0x100800f
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x10098cd
xor eax, eax
cmp word [ebp - 0x804], ax
je 0x10098ac
push eax
push eax
lea ecx, [ebp - 0x1014]
push ecx
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x1008]
call fcn.01003313
test eax, eax
jne 0x10098de
push 0x10
push 0xac
push 0xab
push dword [ebp - 0x1010]
push dword [0x101d054]
call fcn.0106ad0d
add esp, 0x14
push dword [ebp - 0x100c]
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.01002d3f
lea eax, [ebp - 0x804]
push eax
push ebx
push dword [ebp - 0x1010]
push 0x70
push dword [0x101d054]
call edi
cmp eax, 1
jne 0x100990e
jmp 0x1009861
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x1004]
push eax
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0100160d
leave
ret 4
Function at 0x100df99
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 9
push 0x110a
push dword [0x101d090]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x258], eax
mov dword [0x101d068], 0x88
cmp ebx, esi
je 0x100e009
push esi
push ebx
lea ecx, [ebp - 0x25c]
push ecx
push eax
call fcn.010086ed
push eax
call fcn.01002732
test eax, eax
je 0x100e009
mov dword [0x101d068], 0x89
jmp 0x100e135
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x105d100], eax
cmp eax, 0xffffffff
je 0x100e11b
push esi
lea ecx, [ebp - 0x260]
push ecx
push 2
push 0x100e148
push eax
mov dword [0x105d104], esi
mov dword [0x105d108], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1001ed0
call fcn.0100dabc
push 0x1005540
call fcn.0100dabc
push 0x100e150
call fcn.0100dabc
push 0x100e15c
call fcn.0100dabc
cmp ebx, esi
je 0x100e09c
push ebx
push 0x128
lea eax, [ebp - 0x254]
push eax
call fcn.01002d3f
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x25c]
jmp 0x100e103
push dword [ebp - 0x258]
call fcn.010086ed
push 0x1001654
mov dword [ebp - 0x258], eax
mov edi, 0x128
push edi
lea eax, [ebp - 0x254]
push eax
call fcn.01002d3f
lea eax, [ebp - 0x254]
push eax
push eax
push dword [ebp - 0x258]
call fcn.0106ad0d
push eax
call fcn.0100dd21
push 0x100163c
push edi
lea eax, [ebp - 0x254]
push eax
call fcn.01002d3f
lea eax, [ebp - 0x254]
push eax
push eax
push dword [ebp - 0x258]
call fcn.010027cc
push eax
call fcn.0100dd21
call fcn.0100d6a5
push dword [0x105d100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100e125
mov dword [0x101d068], 0x8a
cmp ebx, esi
je 0x100e135
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 8
Function at 0x1012c94
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
push edi
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x214], esi
call fcn.010129d8
mov ebx, eax
cmp ebx, esi
jl 0x1012d5c
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push eax
call fcn.01011956
mov ebx, eax
cmp ebx, esi
jl 0x1012d42
cmp dword [ebp - 0x218], esi
je 0x1012d3e
push 0x104
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push eax
call fcn.01011956
mov ebx, eax
cmp ebx, esi
jge 0x1012d5c
cmp ebx, 0x80070005
je 0x1012d5c
cmp dword [edi], esi
je 0x1012d62
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1012d62
mov esi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax], esi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 0xc

Function at 0x1065247
Capabilities:
Encode data using xor

Disassembly:
call 0x10651c0
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10651f0
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x106520c
xor edx, 0
jmp 0x1065217
xor edx, edx
jmp 0x106522e
jmp 0x106523a
xor eax, eax
push 0x8427d7c0
call 0x1065247
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1065283
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x106525c
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x106529a
add eax, 0
jno 0x106529f
add esi, 0
ret 0x10
Function at 0x1066008
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x106602a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10661cc
cmp edi, dword [ebp + 0x10]
jb 0x10661cc
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.01065af4
inc edi
jmp 0x10660b3
jmp 0x10660c0
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.01065af4
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.01065af4
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1066114
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10660f8
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.01066142
add dword [eax], 0x39
jle 0x106611e
sub al, 0xf5
mov ch, al
call fcn.01066157
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1067e2f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1067e45
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1067e56
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.01067e97
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx