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

Disassembly:
cmp ecx, dword [section..data]
jne 0x70e60ada
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x70e89198], eax
mov dword [0x70e89194], ecx
mov dword [0x70e89190], edx
mov dword [0x70e8918c], ebx
mov dword [0x70e89188], esi
mov dword [0x70e89184], edi
mov word [0x70e891b0], ss
mov word [0x70e891a4], cs
mov word [0x70e89180], ds
mov word [0x70e8917c], es
mov word [0x70e89178], fs
mov word [0x70e89174], gs
pushfd
pop dword [0x70e891a8]
mov eax, dword [ebp]
mov dword [0x70e8919c], eax
mov eax, dword [ebp + 4]
mov dword [0x70e891a0], eax
lea eax, [ebp + 8]
mov dword [0x70e891ac], eax
mov eax, dword [ebp - 0x320]
mov dword [0x70e890e8], 0x10001
mov eax, dword [0x70e891a0]
mov dword [0x70e8909c], eax
mov dword [0x70e89090], 0xc0000409
mov dword [0x70e89094], 1
mov eax, dword [section..data]
mov dword [ebp - 0x328], eax
mov eax, dword [0x70e80598]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x70e890e0], eax
push 1
call fcn.70e62268
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x70e60bdc
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x70e890e0], 0
jne 0x70e60bc6
push 1
call fcn.70e62268
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x70df4780
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e72473
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], 0x70df3920
mov dword [esi], 0x70df24ac
mov dword [esi + 8], 0x70df23dc
mov dword [esi + 0xc], 0x70df3658
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 6
call fcn.70df39c7
mov dword [esi + 0x30], edi
mov byte [ebp - 4], 8
mov dword [esi + 0x34], ebx
cmp ebx, edi
je 0x70df4804
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov edx, dword [ebp + 0xc]
push edi
push esi
xor ecx, ecx
mov byte [ebp - 4], 9
call fcn.70df4380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x70df5631
Capabilities:
Check if file exists

Disassembly:
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 0xc
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6c9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], edi
mov esi, ecx
mov dword [ebp - 0x228], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
mov al, byte [eax + 0x28]
test al, al
jne 0x70e02ee0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x70df5693
xor eax, eax
jmp 0x70df56cb
mov dword [ebp - 0x22c], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x70e02f73
push 4
call fcn.70df39ac
add esp, 4
test eax, eax
je 0x70df568f
mov dword [eax], esi
mov dword [edi], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x228], 1
call ebx
jmp 0x70e02fec
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.70e27548
mov ebx, eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x70e02f35
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x70e02f23
mov edx, dword [ebp + 0x10]
push edx
call fcn.70df3455
mov eax, dword [ebp + 0xc]
add esp, 4
push eax
call fcn.70df3455
add esp, 4
mov ecx, dword [ebx]
mov dword [ebp + 0xc], ecx
mov ebx, dword [ebx + 4]
push ebx
mov dword [ebp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x22c]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push edx
call ebx
test eax, eax
jne 0x70df5693
mov eax, dword [ebp - 0x22c]
push eax
call fcn.70df3455
mov ecx, dword [ebp - 0x230]
add esp, 4
push ecx
call fcn.70df3455
add esp, 4
jmp 0x70df5693
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x70e02fb4
mov dword [edi], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x10]
push edx
mov dword [ebp - 0x228], 1
call ebx
test eax, eax
jne 0x70df38b9
mov eax, dword [ebp + 0x10]
push eax
call fcn.70df3455
mov ecx, dword [ebp + 0xc]
add esp, 4
push ecx
jmp 0x70e03004
call esi
mov ecx, eax
test eax, eax
jle 0x70e02fc8
and ecx, 0xffff
or ecx, 0x80070000
push 0x70e77870
lea edx, [ebp - 0x224]
push edx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], 0x70e0795c
mov dword [ebp - 0x1c], eax
call fcn.70e610ef
test eax, eax
jne 0x70df38b9
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.70df3455
mov edx, dword [ebp + 0xc]
add esp, 4
push edx
call fcn.70df3455
add esp, 4
jmp 0x70df38b9
Function at 0x70df5cdf
Capabilities:
Access peb ldr_data
Get ntdll base address
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e7253d
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x21c], eax
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], 0x70df3920
mov dword [esi], 0x70df24ac
mov dword [esi + 8], 0x70df23dc
mov dword [esi + 0xc], 0x70df3658
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 6
call fcn.70df39c7
mov dword [esi + 0x30], edi
mov byte [ebp - 4], 8
mov dword [esi + 0x34], ebx
cmp ebx, edi
je 0x70df5d77
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
xor eax, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x23c]
xor edx, edx
or eax, 0xffffffff
div ecx
mov edx, dword [ebp + 0xc]
cmp eax, edx
jb 0x70e0370e
imul ecx, edx
mov edx, dword [ebp - 0x21c]
push 1
push esi
call fcn.70df4380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 0xc
push 0x70e77820
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x214], 0x80070057
mov dword [ebp - 0x218], 0x70e07878
call fcn.70e610ef
push 0x70e77820
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x214], 0x80070057
mov dword [ebp - 0x218], 0x70e07878
call fcn.70e610ef
push 0x70e77820
lea edx, [ebp - 0x218]
push edx
mov dword [ebp - 0x214], 0x80070057
mov dword [ebp - 0x218], 0x70e07878
call fcn.70e610ef
Function at 0x70df733a
Capabilities:
Access peb ldr_data
Get ntdll base address
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e7253d
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x21c], eax
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], 0x70df3920
mov dword [esi], 0x70df24ac
mov dword [esi + 8], 0x70df23dc
mov dword [esi + 0xc], 0x70df3658
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 6
call fcn.70df39c7
mov dword [esi + 0x30], edi
mov byte [ebp - 4], 8
mov dword [esi + 0x34], ebx
cmp ebx, edi
je 0x70df73d2
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
xor eax, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov eax, 0xffffffbf
div ebx
mov ecx, dword [ebp + 0xc]
sub eax, 8
cmp eax, ecx
jb 0x70e03733
call fcn.70df72fa
mov ecx, dword [ebp - 0x23c]
lea edi, [eax + 8]
imul edi, ebx
add edi, 0x40
xor edx, edx
lea eax, [ecx + edi - 1]
div ecx
imul eax, ecx
cmp eax, edi
jb 0x70e03758
mov edx, dword [ebp - 0x21c]
push 1
push esi
mov ecx, eax
call fcn.70df4380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 0x10
Function at 0x70dfd2a5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x70e057de
cmp word [ebx], si
je 0x70dfd2d6
add eax, 2
cmp word [eax], si
jne 0x70dfd2c6
add eax, 2
cmp word [eax], si
jne 0x70dfd2c6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
sub eax, ebx
push esi
sar eax, 1
inc eax
push eax
push ebx
push esi
push esi
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 8], eax
cmp eax, esi
je 0x70dfd329
push eax
call fcn.70dfd27a
pop ecx
mov dword [ebp - 4], eax
cmp eax, esi
je 0x70dfd329
push esi
push esi
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push ebx
push esi
push esi
call edi
test eax, eax
je 0x70e057e5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x70e057f6
xor eax, eax
jmp 0x70dfd325
push dword [ebp - 4]
call fcn.70df1301
pop ecx
mov dword [ebp - 4], esi
jmp 0x70dfd31a
xor eax, eax
jmp 0x70dfd324

Function at 0x70dfda0a
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
je 0x70dfda4c
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x70dfda44
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jae 0x70dfda44
pop edi
pop esi
pop ebx
pop ebp
ret
inc edx
add eax, 0x28
cmp edx, esi
jb 0x70dfda2f
xor eax, eax
jmp 0x70dfda3f

Function at 0x70dfdb04
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x70e058e4
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x70e058e4
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x70dff21e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push edi
lea edi, [ebp - 0x218]
push edi
push edx
lea edx, [ebp - 0x214]
push edx
push 0
push ecx
push eax
mov dword [ebp - 0x218], 4
mov dword [ebp - 0x214], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop edi
test eax, eax
jne 0x70e04bd3
cmp dword [ebp - 0x214], 4
jne 0x70e04c14
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xea
je 0x70dff26f
mov ecx, eax
test eax, eax
jle 0x70e04bf0
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x20c], ecx
push 0x70e77870
lea ecx, [ebp - 0x210]
push ecx
mov dword [ebp - 0x210], 0x70e0795c
mov dword [ebp - 8], eax
call fcn.70e610ef
push 0x70e77870
lea edx, [ebp - 0x210]
push edx
mov dword [ebp - 0x20c], 0x80070001
mov dword [ebp - 0x210], 0x70e0795c
mov dword [ebp - 8], 1
call fcn.70e610ef
Function at 0x70dffba5
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, eax
lea eax, [ebp - 0x24]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
test esi, esi
je 0x70dffbca
mov ecx, dword [ebp - 0x10]
mov dword [esi], ecx
mov ax, word [ebp - 0x24]
test edi, edi
je 0x70dffbd7
movzx edx, ax
mov dword [edi], edx
test ebx, ebx
je 0x70dffbe1
movzx ecx, word [ebp - 4]
mov dword [ebx], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x70dffbee
movzx edx, word [ebp - 2]
mov dword [ecx], edx
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x70dffc02
mov byte [ebx], 0
cmp ax, 9
je 0x70e04958
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x70e09de4
push 0x70dff55c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x70e049a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x70dffc04
pop edi
and eax, 0xffff
pop esi
or eax, 0x80070000
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp + 0xc]
push ecx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 1
jne 0x70dffc02
mov byte [ebx], 1
jmp 0x70dffc02
Function at 0x70e18916
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x10c]
push eax
push 0xa
push 0
push esi
push ebx
mov dword [ebp - 0x114], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70e189f0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x10c]
push eax
push eax
push eax
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push ecx
mov dword [ebp - 0x110], 0x100
call edi
test eax, eax
jne 0x70e189db
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
push edx
push eax
call fcn.70e18916
mov esi, eax
test esi, esi
jne 0x70e18a03
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x10c]
push eax
push eax
push eax
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push esi
push ecx
mov dword [ebp - 0x110], 0x100
call edi
test eax, eax
je 0x70e1898c
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 8
Function at 0x70e18a25
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x404]
mov ecx, eax
push esi
mov esi, 0x400
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffbfe]
test ecx, ecx
je 0x70e18a6a
mov cl, byte [edx + eax]
test cl, cl
je 0x70e18a6a
mov byte [eax], cl
inc eax
dec esi
je 0x70e18a6e
jmp 0x70e18a51
test esi, esi
jne 0x70e18a6f
dec eax
mov byte [eax], 0
test ebx, ebx
je 0x70e18af0
mov edx, 0x400
lea eax, [ebp - 0x404]
cmp byte [eax], 0
je 0x70e18a8c
inc eax
dec edx
je 0x70e18ab4
jmp 0x70e18a81
test edx, edx
je 0x70e18ab4
mov ecx, 0x400
sub ecx, edx
push SysReAllocString
mov eax, 0x400
sub eax, ecx
push 0x70e18b78
lea ecx, [ebp + ecx - 0x404]
call fcn.70e18c4b
mov eax, 0x400
lea ecx, [ebp - 0x404]
mov edi, edi
cmp byte [ecx], 0
je 0x70e18acc
inc ecx
dec eax
je 0x70e18af0
jmp 0x70e18ac1
test eax, eax
je 0x70e18af0
mov ecx, 0x400
sub ecx, eax
push SysReAllocString
mov eax, 0x400
sub eax, ecx
push ebx
lea ecx, [ebp + ecx - 0x404]
call fcn.70e18c4b
push 0
lea edx, [ebp - 0x408]
push edx
push 0
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop esi
pop ebx
test eax, eax
je 0x70e18b2d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x70e18b55
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70e18b36
mov ecx, dword [ebp - 0x408]
sub eax, edx
inc eax
push eax
push edi
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x408]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 4

Function at 0x70e18b7a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x404]
mov esi, ecx
mov ecx, eax
mov edx, 0x400
sub esi, ecx
lea ecx, [edx + 0x7ffffbfe]
test ecx, ecx
je 0x70e18bba
mov cl, byte [esi + eax]
test cl, cl
je 0x70e18bba
mov byte [eax], cl
inc eax
dec edx
je 0x70e18bbe
jmp 0x70e18ba1
test edx, edx
jne 0x70e18bbf
dec eax
lea edx, [ebp - 0x408]
push edx
push 2
mov byte [eax], 0
push 0
lea eax, [ebp - 0x404]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop esi
test eax, eax
je 0x70e18bf4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x408]
push 5
push 0x70e18c34
push 1
push 0
push 0x70e18c3c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x408]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.70df25ed
mov esp, ebp
pop ebp
ret
Function at 0x70e1d73d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6cd78
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov ecx, esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], ebx
call fcn.70df39c7
push ebx
lea eax, [ebp - 0x22c]
push eax
push 0x20a
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x22c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x70e1d883
mov edx, dword [ebp - 0x22c]
shr edx, 1
xor eax, eax
push 4
mov word [ebp + edx*2 - 0x220], ax
mov dword [ebp - 0x228], ebx
call fcn.70df39ac
add esp, 4
cmp eax, ebx
je 0x70e1d7f0
mov dword [eax], 1
mov dword [ebp - 0x224], eax
jmp 0x70e1d7f6
mov dword [ebp - 0x224], ebx
lea ecx, [ebp - 0x228]
push ecx
lea edi, [ebp - 0x220]
mov dword [ebp - 4], 1
call fcn.70df3e38
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x224]
cmp esi, edx
je 0x70e1d85d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x70e1d84b
mov eax, dword [esi + 4]
push eax
call fcn.70df3455
mov eax, dword [esi]
add esp, 4
push eax
call fcn.70df3455
add esp, 4
mov eax, dword [ebp - 0x228]
push edi
mov dword [esi], eax
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x70e1d883
push edi
call fcn.70df3455
mov ecx, dword [ebp - 0x228]
add esp, 4
push ecx
call fcn.70df3455
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret
Function at 0x70e25c58
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
cmp edi, 0xffffffff
mov dword [ebp - 0x218], eax
sete byte [ebp - 0x211]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x224]
push ecx
mov ecx, esi
call fcn.70e25b86
mov eax, dword [eax]
mov edx, dword [ebp - 0x218]
mov dword [edx], eax
test eax, eax
jne 0x70e25d1c
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x2c]
sub al, 0x89
test eax, esp
std
invalid
dec dword [ecx - 0x21b7b]
dec dword [ebx - 0x7a76a8ff]
loopne 0x70e25cc8
invalid
dec dword [ebx - 0x72ff95f6]
xchg ebp, eax
loopne 0x70e25cd2
invalid
call dword [edx + 0x6a]
add cl, byte [ecx - 0x21b73]
invalid
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x70e25cff
cmp eax, 2
jb 0x70e25cfa
lea ecx, [eax - 0x80]
cmp ecx, 1
ja 0x70e25cff
cmp eax, 1
je 0x70e25d34
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp byte [ebp - 0x211], 0
jne 0x70e25c8a
sub edi, eax
jns 0x70e25c8a
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
pop edi
xor ecx, ebp
pop ebx
call fcn.70df25ed
mov esp, ebp
pop ebp
ret 8
push 0x70e778e0
lea edx, [ebp - 0x210]
push edx
mov dword [ebp - 0x20c], 0x8000ffff
mov dword [ebp - 0x210], 0x70e08ec4
call fcn.70e610ef
int3

Function at 0x70e27968
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e738dc
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov byte [ebp - 4], 3
push esi
mov dword [esi + 0x30], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x28], edx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.70e27c84
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x70e2c5ae
Capabilities:
Parse pe header

Disassembly:
test edx, edx
jne 0x70e2c5b5
xor eax, eax
ret
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x70e2c5b2
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x70e2c5b2
mov ecx, 0x20b
cmp word [eax + 0x18], cx
lea ecx, [eax + 0xf8]
je 0x70e2c5e3
lea ecx, [eax + 0xe8]
xor eax, eax
cmp dword [ecx + 4], eax
jbe 0x70e2c5f3
mov ecx, dword [ecx]
test ecx, ecx
je 0x70e2c5f3
lea eax, [ecx + edx]
ret