joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006a4b2
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x2c
push 0x100c6958
call fcn.1007c9a0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1006a5b7
cmp byte [0x100d2da8], 0
je 0x1006a511
lea ecx, [ebp - 0x1a]
call fcn.100629d7
mov esi, eax
mov ecx, esi
call fcn.10019cd0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push esi
push 4
call fcn.100546cc
add esp, 0x14
cmp dword [ebp - 0x2c], 0x1000
jne 0x1006a5ea
cmp dword [ebp - 0x28], 1
je 0x1006a5ea
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
push 0x40
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1006a56e
cmp byte [0x100d2da8], bl
je 0x1006a56e
lea ecx, [ebp - 0x1a]
call fcn.10062e3f
mov esi, eax
mov ecx, esi
call fcn.100225d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push 4
call fcn.100546cc
add esp, 0xc
mov dword [ebp - 4], ebx
jmp 0x1006a57c
mov byte [ebp - 0x19], bl
or dword [ebp - 4], 0xffffffff
test bl, bl
je 0x1006a5b3
cmp byte [0x100d2da8], 0
je 0x1006a5b3
lea ecx, [ebp - 0x1a]
call fcn.10064d53
mov esi, eax
mov ecx, esi
call fcn.10027f50
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push 4
call fcn.100546cc
add esp, 0xc
mov al, bl
jmp 0x1006a5ec
cmp byte [0x100d2da8], 0
je 0x1006a5ea
lea ecx, [ebp - 0x1a]
call fcn.10064465
mov esi, eax
mov ecx, esi
call fcn.100224b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 4
call fcn.100546cc
add esp, 0x10
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1006a5fb
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x138
lea eax, [esp]
push ebp
push esi
push 0x40
xor ebp, ebp
push ebp
push eax
call fcn.1007f880
mov esi, dword [esp + 0x154]
lea eax, [esp + 0x14]
add esp, 0xc
push ebp
push 0x40
push eax
push esi
push dword [esp + 0x154]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1006a68f
mov eax, 0x5a4d
cmp word [esp + 8], ax
jne 0x1006a68f
push ebx
mov ebx, 0xf8
lea eax, [esp + 0x4c]
push ebx
push ebp
push eax
call fcn.1007f880
add esp, 0xc
lea eax, [esp + 0x4c]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x54]
add eax, esi
push eax
push dword [esp + 0x158]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
pop ebx
test eax, eax
je 0x1006a68f
cmp dword [esp + 0x48], 0x4550
jne 0x1006a68f
test dword [esp + 0x5e], 0x2000
jne 0x1006a68f
xor eax, eax
inc eax
jmp 0x1006a691
xor eax, eax
pop esi
pop ebp
add esp, 0x138
ret
Function at 0x100730e1
Capabilities:
Acquire debug privileges
Create thread
Inject dll
Inject thread

Disassembly:
sub esp, 0x14
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov edi, ebx
mov ebp, ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10073155
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x1c], eax
cmp byte [0x100d2da8], bl
je 0x1007322f
lea ecx, [esp + 0x13]
call fcn.10064a11
mov esi, eax
mov ecx, esi
call fcn.10022630
push dword [esp + 0x1c]
push esi
push 4
call fcn.100546cc
add esp, 0xc
jmp 0x1007322f
lea ecx, [esp + 0x14]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10073225
push 1
push str.SeDebugPrivilege
push dword [esp + 0x1c]
call fcn.10072834
add esp, 0xc
push dword [esp + 0x28]
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10073225
call esi
cmp dword [esp + 0x28], eax
je 0x10073225
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x10073225
push 4
push 0x1000
push 0x105
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebp, eax
test ebp, ebp
je 0x10073225
push ebx
push 0x105
push 0x100d3118
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10073225
push ebx
push ebx
push ebp
push 0x100ab038
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x10073225
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], ebx
setne bl
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 0
je 0x10073240
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1007324b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1007325a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x10073270
push 0x8000
push 0x105
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x14
ret
Function at 0x100733bd
Capabilities:
Set registry value

Disassembly:
mov eax, 0x100a4f69
call fcn.1007c8b4
sub esp, 0x538
push ebx
push esi
xor eax, eax
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 1
call fcn.10006475
pop ecx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.10079793
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.100798e7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
mov bl, al
call fcn.100028b5
test bl, bl
je 0x100735b9
push str.ConfigOSSProxySettings
lea ecx, [ebp - 0x58]
call fcn.100063dd
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
push 0xf023f
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x58]
call fcn.1004a030
lea ecx, [ebp - 0x54]
test eax, eax
je 0x10073471
call fcn.100028b5
cmp dword [ebp - 0x3c], 0
je 0x10073462
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
call fcn.100028b5
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
push 0x100d369c
push str._s:_d:_d
push eax
call fcn.10060fec
lea esi, [ebp - 0x13c]
add esp, 0x14
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100734a3
mov edx, dword [str.BufOffsetsKey337]
sub esi, ecx
mov ecx, edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0xf
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100734c4
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002936
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
lea ebx, [ebp - 0x2c]
cmp ecx, 0x10
lea edi, [ebp - 0x2c]
cmovae eax, edx
cmovae ebx, edx
add eax, dword [ebp - 0x1c]
cmp ecx, 0x10
mov dword [ebp - 0x14], eax
cmovae edi, edx
cmp edi, eax
je 0x1007351a
sub ebx, edi
movzx eax, byte [edi]
push eax
call fcn.100767ae
mov byte [ebx + edi], al
inc edi
pop ecx
cmp edi, dword [ebp - 0x14]
jne 0x10073501
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
push dword [ebp - 0x1c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edx
push eax
lea eax, [ebp - 0x544]
push eax
call fcn.1007668b
push esi
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x544]
push eax
call fcn.10076623
add esp, 0x18
lea eax, [ebp - 0x13c]
xor ebx, ebx
push esi
mov esi, dword [ebp - 0x3c]
push eax
push 3
push ebx
push dword [0x100cd1cc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1007359e
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x10073595
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10001c26
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.1007c382
pop ecx
pop ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
test esi, esi
je 0x10073462
push esi
jmp 0x1007345c
lea ecx, [ebp - 0x54]
call fcn.100028b5
jmp 0x10073462
Function at 0x10073cac
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10073d0c
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x10073d0c
cmp eax, 0x29
jne 0x10073d12
cmp dword [esi + 0x10], 0
jne 0x10073d0c
test dword [esi + 0x50], ebp
je 0x10073e0a
cmp eax, 0x5d
jne 0x10073ce7
test dword [esi + 0x50], ebp
je 0x10073dfe
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10073613
mov ecx, esi
call fcn.10075b09
mov ecx, esi
call fcn.10075b47
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10073cc0
pop esi
pop ebp
mov al, cl
pop ebx
ret
cmp eax, 0x2e
jne 0x10073d23
push 5
lea ecx, [esi + 0x24]
call fcn.10075acb
jmp 0x10073cf4
cmp eax, 0x5c
jne 0x10073d6f
mov ecx, esi
call fcn.10075b09
test byte [esi + 0x50], 0x80
je 0x10073d66
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10073d4f
push 4
lea ecx, [esi + 0x24]
call fcn.10075acb
mov ecx, esi
call fcn.10075b09
jmp 0x10073d02
cmp al, 0x42
jne 0x10073d66
push 4
lea ecx, [esi + 0x24]
call fcn.10075acb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10073d46
mov ecx, esi
call fcn.10073e14
jmp 0x10073cfb
cmp eax, 0x5b
jne 0x10073d92
mov ecx, esi
call fcn.10075b09
mov ecx, esi
call fcn.100743cb
push 4
push 0x5d
mov ecx, esi
call fcn.100752e8
jmp 0x10073cfb
cmp eax, 0x28
jne 0x10073dbf
mov ecx, esi
call fcn.10075b09
mov ecx, esi
call fcn.10076062
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.100752e8
test bl, bl
je 0x10073d02
jmp 0x10073cfb
cmp eax, 0x5e
jne 0x10073dcb
push 2
jmp 0x10073d3e
cmp eax, 0x24
jne 0x10073dd7
push 3
jmp 0x10073d3e
cmp eax, 0x2a
je 0x10073e02
cmp eax, 0x2b
je 0x10073e02
cmp eax, 0x3f
je 0x10073e02
cmp eax, 0x7b
je 0x10073e02
cmp eax, 0x7d
jne 0x10073cd9
test dword [esi + 0x50], ebp
je 0x10073e06
jmp 0x10073ce7
push 4
jmp 0x10073e0c
push 0xa
jmp 0x10073e0c
push 6
jmp 0x10073e0c
push 5
mov ecx, esi
call fcn.100752b7
int3

Function at 0x10076623
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
push edi
xor edi, edi
mov eax, dword [edx + 4]
mov ebx, dword [edx]
mov dword [esp + 8], eax
cmp dword [esp + 0x18], edi
jle 0x10076682
push ebp
mov ebp, dword [esp + 0x18]
push esi
inc bl
movzx ebx, bl
mov ecx, dword [edx + ebx*4 + 8]
mov al, cl
add al, byte [esp + 0x10]
mov edx, dword [esp + 0x18]
movzx eax, al
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
mov eax, dword [edx + eax*4 + 8]
mov dword [edx + ebx*4 + 8], eax
mov dword [edx + esi*4 + 8], ecx
add cl, al
movzx eax, cl
mov al, byte [edx + eax*4 + 8]
xor byte [edi + ebp], al
inc edi
cmp edi, dword [esp + 0x20]
jl 0x10076641
mov eax, esi
pop esi
pop ebp
pop edi
mov dword [edx], ebx
mov dword [edx + 4], eax
pop ebx
pop ecx
ret
Function at 0x10076872
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1bc
push ebx
push ebp
mov ebp, dword [esp + 0x1c8]
push esi
mov esi, dword [esp + 0x1d8]
push edi
push 4
push 0x1000
lea eax, [esi + 0x1b8]
push eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x10076a78
and dword [esp + 0x10], 0
lea eax, [esp + 0x94]
push 0x40
pop edi
push edi
push 0
push eax
call fcn.1007f880
add esp, 0xc
mov dword [esp + 0xd0], edi
mov eax, 0x5a4d
mov word [esp + 0x94], ax
lea eax, [esp + 0x10]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0x9c]
push eax
push ebx
push ebp
call edi
test eax, eax
je 0x10076a78
cmp dword [esp + 0x10], 0x40
jne 0x10076a78
push 0xf8
lea eax, [esp + 0xd8]
add ebx, 0x40
push 0
push eax
call fcn.1007f880
add esp, 0xc
mov dword [esp + 0xd4], 0x4550
xor eax, eax
mov dword [esp + 0xe8], 0x200000e0
inc eax
mov word [esp + 0xda], ax
lea eax, [esp + 0x10]
push eax
push 0xf8
lea eax, [esp + 0xdc]
push eax
push ebx
push ebp
call edi
test eax, eax
je 0x10076a78
mov eax, 0xf8
cmp dword [esp + 0x10], eax
jne 0x10076a78
and dword [esp + 0x1c], 0
add ebx, eax
and dword [esp + 0x38], 0
lea eax, [esi + 0x58]
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movlpd qword [esp + 0x28], xmm0
push eax
push 0x28
lea eax, [esp + 0x1c]
movlpd qword [esp + 0x38], xmm0
push eax
push ebx
push ebp
mov dword [esp + 0x28], 0x7465642e
mov dword [esp + 0x2c], 0x72756f
mov dword [esp + 0x34], 0x160
call edi
test eax, eax
je 0x10076a78
cmp dword [esp + 0x10], 0x28
jne 0x10076a78
push 0x40
lea eax, [esp + 0x58]
add ebx, 0x28
push 0
push eax
call fcn.1007f880
add esp, 0xc
mov dword [esp + 0x58], 0x727444
lea eax, [esp + 0x10]
add esi, 0x18
mov dword [esp + 0x60], esi
push 0x40
pop ecx
push eax
push ecx
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], ecx
push eax
push ebx
push ebp
mov dword [esp + 0x70], ecx
call edi
test eax, eax
je 0x10076a78
cmp dword [esp + 0x10], 0x40
jne 0x10076a78
and dword [esp + 0x40], 0
lea edi, [esp + 0x44]
mov dword [esp + 0x3c], esi
lea eax, [esp + 0x10]
mov esi, dword [esp + 0x1d4]
add ebx, 0x40
push eax
push 0x18
lea eax, [esp + 0x44]
movsd dword es:[edi], dword [esi]
push eax
push ebx
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call edi
test eax, eax
je 0x10076a78
cmp dword [esp + 0x10], 0x18
jne 0x10076a78
mov esi, dword [esp + 0x1dc]
lea eax, [esp + 0x10]
push eax
push esi
push dword [esp + 0x1e0]
lea ecx, [ebx + 0x18]
push ecx
push ebp
call edi
test eax, eax
je 0x10076a78
cmp dword [esp + 0x10], esi
jne 0x10076a78
xor eax, eax
inc eax
jmp 0x10076a7a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret 0x10
Function at 0x10076a87
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x40]
lea edx, [esp]
push ebx
mov ebx, dword [esp + 0x2c]
mov eax, ebx
push ebp
push esi
push 4
pop ebp
push edx
push dword [esp + 0x44]
or eax, ebp
test ecx, ecx
push dword [esp + 0x44]
cmove ecx, dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esp + 0x44]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
call ecx
test eax, eax
je 0x10076b0e
push dword [esp + 0x48]
push dword [esp + 0x10]
call fcn.10072bb8
pop ecx
pop ecx
test eax, eax
jne 0x10076b19
cmp byte [0x100d2da8], al
je 0x10076b0e
lea ecx, [esp + 0x34]
call fcn.1006248e
mov esi, eax
mov ecx, esi
call fcn.10022630
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push ebp
call fcn.100546cc
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x30
push edi
mov edi, dword [esp + 0x48]
test edi, edi
je 0x10076b2a
lea esi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and ebx, ebp
je 0x10076b3b
call fcn.10049c98
test al, al
je 0x10076c43
cmp byte [0x100d2da8], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
je 0x10076b71
lea ecx, [esp + 0x38]
call fcn.10063fa2
mov esi, eax
mov ecx, esi
call fcn.10050200
push dword [esp + 0x18]
push dword [esp + 0x20]
call edi
push eax
push esi
push ebp
call fcn.100546cc
add esp, 0x14
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x100d2da8], 0
mov ebp, eax
je 0x10076baf
lea ecx, [esp + 0x38]
call fcn.100645d1
mov esi, eax
mov ecx, esi
call fcn.1005434b
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x24]
call edi
push eax
push esi
push 4
call fcn.100546cc
add esp, 0x18
call fcn.10049c98
test al, al
je 0x10076c43
push dword [esp + 0x18]
call fcn.1006626d
mov esi, eax
pop ecx
push 0x7d0
test esi, esi
je 0x10076be1
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10076be7
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
je 0x10076c12
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp byte [0x100d2da8], 0
je 0x10076c43
lea ecx, [esp + 0x38]
call fcn.10063e39
mov esi, eax
mov ecx, esi
call fcn.100224b0
jmp 0x10076c2d
cmp byte [0x100d2da8], 0
je 0x10076c43
lea ecx, [esp + 0x38]
call fcn.100631a3
mov esi, eax
mov ecx, esi
call fcn.1004a843
push dword [esp + 0x18]
push dword [esp + 0x20]
call edi
push eax
push esi
push 4
call fcn.100546cc
add esp, 0x14
xor eax, eax
inc eax
pop edi
jmp 0x10076b10
Function at 0x1007714b
Capabilities:
Create process on windows

Disassembly:
push 0x164
push 0x100c7c00
call fcn.1007c9a0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x174]
push eax
call fcn.10076d6e
pop ecx
test al, al
je 0x100771c5
push 0x44
push ebx
lea eax, [ebp - 0x70]
push eax
call fcn.1007f880
add esp, 0xc
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x68], str.winsta0default
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x174]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [ebp - 0x1c], eax
jmp 0x100771c5
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100771db
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x100d383c]
test eax, eax
jne 0x10077215
push 0x40
push 0x1000
push 0x10000
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
test ecx, ecx
jne 0x100771fe
ret
mov eax, dword [0x100d383c]
mov edx, 0x800
mov dword [ecx + 0x18], eax
mov eax, ecx
add ecx, 0x20
sub edx, 1
jne 0x10077208
mov ecx, dword [eax + 0x18]
mov dword [0x100d383c], ecx
mov dword [eax], 0xcccccccc
ret
Function at 0x1007757a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100d3844], eax
je 0x10077593
mov eax, 0x10dd
jmp 0x10077686
mov eax, dword [0x100d3848]
test eax, eax
jne 0x10077686
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x100775b1
push 6
pop eax
jmp 0x10077685
cmp dword [edi], 0
jne 0x100775c9
push 6
pop eax
mov dword [0x100d3848], eax
mov dword [0x100d384c], edi
jmp 0x10077685
push ebx
push ebp
push esi
push 0x18
call fcn.1007c352
mov esi, eax
pop ecx
test esi, esi
jne 0x100775e2
push 8
pop ebx
jmp 0x10077666
cmp dword [esp + 0x1c], 0
mov ebx, dword [edi]
jne 0x100775ef
xor eax, eax
jmp 0x100775f9
push dword [esp + 0x1c]
call fcn.10077309
pop ecx
movzx ecx, byte [ebx + 0x17]
mov ebp, dword [ebx + 0x18]
sub ebp, ecx
test ecx, ecx
je 0x1007765a
cmp ecx, 0x17
jae 0x1007765a
cmp dword [ebx + 0x1c], eax
jne 0x1007765a
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x40
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10077632
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x10077666
mov dword [esi + 4], 1
mov dword [esi + 8], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebp
mov eax, dword [esp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [0x100d3854]
mov dword [esi], eax
xor eax, eax
mov dword [0x100d3854], esi
jmp 0x10077682
cmp dword [0x100d3840], 0
push 9
pop ebx
jne 0x10077670
mov dword [0x100d3848], ebx
test esi, esi
je 0x1007767a
push 0x18
push esi
call fcn.1007c382
pop ecx
pop ecx
mov dword [0x100d384c], edi
mov eax, ebx
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret 8

Function at 0x10077696
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100d3844], eax
je 0x100776ac
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
push edi
mov edi, dword [0x100d3854]
xor ebx, ebx
test edi, edi
je 0x10077703
lea eax, [esp + 0xc]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [edi + 4], ebx
jne 0x100776f1
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x100776f1
mov eax, dword [0x100d383c]
mov dword [ecx + 0x18], eax
mov dword [0x100d383c], ecx
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push 0x18
push edi
call fcn.1007c382
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x100776bb
mov edi, dword [0x100d3850]
mov dword [0x100d3854], ebx
test edi, edi
je 0x1007772e
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [edi]
push 8
push edi
call fcn.1007c382
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x10077713
pop edi
pop esi
mov dword [0x100d3850], ebx
xor eax, eax
mov dword [0x100d3844], ebx
pop ebx
pop ecx
ret
Function at 0x100779e0
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x100d3848]
test eax, eax
jne 0x10077a53
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100779fc
xor eax, eax
jmp 0x10077a52
push esi
push 8
call fcn.1007c352
mov esi, eax
pop ecx
test esi, esi
jne 0x10077a10
push 8
pop edi
jmp 0x10077a2e
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10077a3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 8
push esi
call fcn.1007c382
pop ecx
pop ecx
and dword [0x100d384c], 0
mov eax, edi
mov dword [0x100d3848], edi
jmp 0x10077a51
mov eax, dword [0x100d3850]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edi
mov dword [0x100d3850], esi
pop esi
pop edi
ret 4

Function at 0x10079b34
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
lea eax, [ecx + 4]
sub esp, 0x34
cmp dword [eax + 0x14], 0x10
jb 0x10079b45
mov eax, dword [eax]
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x10079b57
cmp eax, 2
jne 0x10079b59
leave
ret
push 0
push eax
lea ecx, [ebp - 0x34]
call fcn.1007acfd
push 0x100c8de8
lea eax, [ebp - 0x34]
push eax
call fcn.1007dfce
int3