joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1089816
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
push dword [esi + 0x3c]
xor edi, edi
push 0x1006fe4
push 0x1d
mov dword [ebp - 4], edi
call fcn.01084443
add esp, 0xc
cmp dword [esi + 0x18], edi
je 0x1089849
mov dword [ebp - 4], 0x800700b7
jmp 0x108992e
mov eax, dword [esi + 0xc]
cmp eax, edi
jne 0x1089876
push 0x1003404
push 0x70
push 0x1006a18
push 0x1002ce0
push edi
mov dword [ebp - 4], 0x80004003
call fcn.01084443
add esp, 0x14
jmp 0x108992e
push ebx
lea ebx, [esi + 0x10]
cmp dword [ebx], edi
je 0x108988a
mov dword [ebp - 4], 0x800700b7
jmp 0x108992d
mov ecx, dword [eax]
push ebx
push dword [esi + 0x38]
push eax
call dword [ecx + 0x14]
cmp dword [ebx], edi
jne 0x10898a4
mov dword [ebp - 4], 0x8004080b
jmp 0x108992d
cmp dword [esi + 0x20], edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
jne 0x10898b8
push edi
push edi
push edi
push edi
call ebx
mov dword [esi + 0x20], eax
cmp dword [esi + 0x24], edi
jne 0x10898c6
push edi
push edi
push edi
push edi
call ebx
mov dword [esi + 0x24], eax
cmp dword [esi + 8], edi
je 0x10898d4
mov dword [ebp - 4], 0x8000ffff
jmp 0x108992d
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x1089784
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 8], eax
jne 0x108990a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 0x3c]
mov dword [ebp - 4], eax
push 0x1006f98
push edi
call fcn.01084443
add esp, 0xc
jmp 0x108991f
push dword [ebp - 8]
push dword [esi + 0x3c]
push 0x1006f50
push 0x1d
call fcn.01084443
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x18], 1
call fcn.01088d46
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x108a9f4
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x10b1ad4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0108a935
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0108b020
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x108aa67
cmp dword [ebp - 0x94], 5
jb 0x108aa88
jmp 0x108aa84
cmp dword [ebp - 0x88], 1
jne 0x108aa88
cmp dword [ebp - 0x94], 4
ja 0x108aa84
jne 0x108aa88
cmp dword [ebp - 0x90], 0
jbe 0x108aa88
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x100722c
call fcn.0108a7a8
test eax, eax
jge 0x108aaa9
mov byte [0x10b2fe4], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0108afd3
leave
ret
Function at 0x108b1da
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
jne 0x108b20b
call fcn.0108eef3
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.0108eff6
add esp, 0x14
or eax, 0xffffffff
jmp 0x108b287
push esi
call fcn.0108e16f
push 0x214
push 1
call fcn.0108cafd
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x108b26f
call fcn.0108e33c
push dword [eax + 0x6c]
push esi
call fcn.0108e202
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
pop ecx
pop ecx
mov dword [esi + 0x54], edi
jne 0x108b24c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x108b15e
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x108b286
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
call fcn.0108b75a
cmp dword [ebp - 4], ebx
pop ecx
je 0x108b284
push dword [ebp - 4]
call fcn.0108ef23
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x108cf4a
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10b1ad4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call fcn.0108d25e
test eax, eax
pop ecx
je 0x108cf7f
push edi
push edi
push edi
push edi
push edi
call fcn.0108ef4b
add esp, 0x14
push 4
pop eax
call fcn.0108aff0
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x108d08d
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec esi
neg esi
sbb esi, esi
and esi, 0x103
inc esi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], edi
jne 0x108d006
push 0x1007340
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x108d006
push 0x1007328
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x108d006
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edi
call eax
cmp eax, 1
jne 0x108d006
mov eax, dword [ebp - 0x10]
cmp eax, edi
jbe 0x108d006
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push dword [ebp - 8]
call fcn.0108cf1e
add esp, 0xc
test eax, eax
jl 0x108d08d
not edi
and dword [ebp - 8], edi
je 0x108d038
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.0108cf1e
add esp, 0xc
test eax, eax
jl 0x108d08d
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x108d043
mov dword [ebp - 8], eax
lea edi, [ebx - 1]
not edi
and edi, dword [ebp - 0x14]
sub edi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x108d057
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp edi, ebx
jb 0x108d08d
push 4
push 0x1000
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x108d08d
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x108d08d
xor eax, eax
inc eax
jmp 0x108d08f
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0108afd3
leave
ret
Function at 0x108d4db
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x10b1af8]
je 0x108d501
inc esi
cmp esi, 0x17
mov dword [ebp - 4], esi
jb 0x108d4ef
cmp esi, 0x17
jae 0x108d65b
push 3
call fcn.01093e43
cmp eax, 1
pop ecx
je 0x108d625
push 3
call fcn.01093e43
test eax, eax
pop ecx
jne 0x108d534
cmp dword [0x10b1ad0], 1
je 0x108d625
cmp edi, 0xfc
je 0x108d65b
push 0x100791c
mov edi, 0x314
push edi
mov esi, 0x10b3a40
push esi
call fcn.01093651
add esp, 0xc
test eax, eax
je 0x108d56a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0108ef4b
add esp, 0x14
mov byte [0x10b3b5d], bl
push 0x104
mov ebx, 0x10b3a59
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x108d5ad
push 0x1007904
push 0x2fb
push ebx
call fcn.01093651
add esp, 0xc
test eax, eax
je 0x108d5ad
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0108ef4b
add esp, 0x14
push ebx
push edi
push esi
call fcn.01093dca
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x108d5cb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0108ef4b
add esp, 0x14
push 0x1007900
push edi
push esi
call fcn.01093dca
add esp, 0xc
test eax, eax
je 0x108d5eb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0108ef4b
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x10b1afc]
push edi
push esi
call fcn.01093dca
add esp, 0xc
test eax, eax
je 0x108d610
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0108ef4b
add esp, 0x14
push 0x12010
push 0x10078d8
push esi
call fcn.01093c25
add esp, 0xc
jmp 0x108d65b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x108d65b
cmp edi, 0xffffffff
je 0x108d65b
mov edx, dword [esi*8 + 0x10b1afc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x108d644
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x108dbce
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10b3f64]
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 4], ebx
jne 0x108dc1d
call edi
mov esi, eax
cmp esi, ebx
je 0x108dc03
mov dword [0x10b3f64], 1
jmp 0x108dc22
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x108dc18
push 2
pop eax
mov dword [0x10b3f64], eax
jmp 0x108dc1d
mov eax, dword [0x10b3f64]
cmp eax, 1
jne 0x108dc7d
cmp esi, ebx
jne 0x108dc35
call edi
mov esi, eax
cmp esi, ebx
jne 0x108dc35
xor eax, eax
jmp 0x108dd4c
cmp word [esi], bx
mov eax, esi
je 0x108dc4a
inc eax
inc eax
cmp word [eax], bx
jne 0x108dc3c
inc eax
inc eax
cmp word [eax], bx
jne 0x108dc3c
sub eax, esi
inc eax
inc eax
push eax
mov dword [ebp - 4], eax
call fcn.0108b841
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x108dc6e
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x108dd4c
push dword [ebp - 4]
push esi
push edi
call fcn.0108c520
add esp, 0xc
jmp 0x108dc60
cmp eax, 2
je 0x108dc86
cmp eax, ebx
jne 0x108dc2e
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x108dc2e
cmp byte [esi], bl
je 0x108dcc7
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x108dc2e
add dword [ebp - 4], eax
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x108dcb3
sub eax, edi
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x108dc99
mov esi, dword [ebp - 8]
inc dword [ebp - 4]
push 2
push dword [ebp - 4]
call fcn.0108cafd
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], edi
jne 0x108dceb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x108dc2e
mov eax, dword [ebp - 8]
cmp byte [eax], bl
je 0x108dd3d
mov ecx, dword [ebp - 4]
mov eax, edi
sub eax, dword [ebp - 0xc]
sar eax, 1
sub ecx, eax
push ecx
push edi
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x108dd51
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x108dd15
sub eax, ecx
lea esi, [esi + eax + 1]
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x108dd27
sub eax, ecx
sar eax, 1
cmp byte [esi], bl
lea edi, [edi + eax*2 + 2]
jne 0x108dcf2
push dword [ebp - 8]
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 0xc]
call fcn.0108b75a
pop ecx
push dword [ebp - 8]
jmp 0x108dce0
Function at 0x108dd64
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10b3f68]
test eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jne 0x108dda8
call esi
test eax, eax
je 0x108dd8d
mov dword [0x10b3f68], 1
jmp 0x108ddad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x108dda4
mov dword [0x10b3f68], 2
jmp 0x108ddb6
xor eax, eax
jmp 0x108de0c
cmp eax, 1
jne 0x108ddb1
call esi
jmp 0x108de0c
cmp eax, 2
jne 0x108dda4
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
mov dword [ebp - 8], eax
call esi
mov edi, eax
test edi, edi
je 0x108de09
push 2
push edi
call fcn.0108cafd
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 4], eax
je 0x108de09
push edi
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
push 1
push 0
call esi
test eax, eax
je 0x108de00
mov eax, dword [ebp - 4]
jmp 0x108de0b
push dword [ebp - 4]
call fcn.0108b75a
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x108edb0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x108edc3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x108edbf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x108edf0
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
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x108ee2f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x108ee25
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x108ee31
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x108ee15
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1093c25
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0108e0be
xor ebx, ebx
cmp dword [0x10b4458], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1093cfc
push 0x1007b24
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1093c67
xor eax, eax
jmp 0x1093dc0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1007b18
push edi
call esi
cmp eax, ebx
je 0x1093c60
push eax
call fcn.0108e053
mov dword [esp], 0x1007b08
push edi
mov dword [0x10b4458], eax
call esi
push eax
call fcn.0108e053
mov dword [esp], 0x1007af4
push edi
mov dword [0x10b445c], eax
call esi
push eax
call fcn.0108e053
mov dword [0x10b4460], eax
lea eax, [ebp - 8]
push eax
call fcn.0108d25e
test eax, eax
pop ecx
pop ecx
je 0x1093cca
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0108ef4b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1093cfc
push 0x1007ad8
push edi
call esi
push eax
call fcn.0108e053
cmp eax, ebx
pop ecx
mov dword [0x10b4468], eax
je 0x1093cfc
push 0x1007ac0
push edi
call esi
push eax
call fcn.0108e053
pop ecx
mov dword [0x10b4464], eax
mov eax, dword [0x10b4464]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1093d75
cmp dword [0x10b4468], esi
je 0x1093d75
push eax
call fcn.0108e0cc
pop ecx
call eax
cmp eax, ebx
je 0x1093d42
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10b4468]
call fcn.0108e0cc
pop ecx
call eax
test eax, eax
je 0x1093d42
test byte [ebp - 0x18], 1
jne 0x1093d75
lea eax, [ebp - 0xc]
push eax
call fcn.0108d29f
test eax, eax
pop ecx
je 0x1093d5d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0108ef4b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1093d6c
or dword [ebp + 0x10], 0x200000
jmp 0x1093da6
or dword [ebp + 0x10], 0x40000
jmp 0x1093da6
mov eax, dword [0x10b445c]
cmp eax, esi
je 0x1093da6
push eax
call fcn.0108e0cc
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1093da6
mov eax, dword [0x10b4460]
cmp eax, esi
je 0x1093da6
push dword [ebp - 4]
push eax
call fcn.0108e0cc
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10b4458]
call fcn.0108e0cc
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10ac1c1
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x1082e18
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x10ac208
push 4
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x1082df8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4

Function at 0x10ac214
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
push edi
push 4
pop esi
lea eax, [ebp - 4]
push eax
push 0x1082e18
push 0x80000001
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, eax
test edi, edi
jne 0x10ac27b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x1082df8
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x10ac272
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x10002600
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0x1000c734], 0x332
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov eax, dword [0x1000c734]
sub eax, 0xf82
mov dword [0x1000c734], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x104
jl 0x10002671
jmp 0x10002693
mov dword [0x1000c738], 0x1343
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x100026ba
jmp 0x1000275f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x10002684
jmp 0x10002693
jmp 0x10002686
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10002645
mov dword [0x1000c738], 0x346
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x6c
je 0x10002650
jmp 0x10002761
mov eax, dword [0x1000c738]
sub eax, 0x19a6
mov dword [0x1000c734], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2 - 0x16]
cmp eax, 0x61
jne 0x1000275d
mov dword [0x1000c734], 0x1089
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1000275b
mov eax, dword [0x1000c734]
sub eax, 0xecb
mov dword [0x1000c734], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x10002759
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x10002757
mov dword [0x1000c734], 0x9b4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x10002755
mov dword [ebp - 8], 1
jmp 0x10002768
jmp 0x10002757
jmp 0x10002759
jmp 0x1000275b
jmp 0x1000275d
jmp 0x1000275f
jmp 0x10002761
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 0x18
pop ebp
ret

Function at 0x100028b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.100028b0]
mov dword [0x1000c734], 0x1edd
mov dword [ebp - 8], eax
mov dword [0x1000c734], 0x18f4
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100028eb
jmp 0x10002907
mov dword [ebp - 4], 0
jmp 0x1000291f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10002905
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1000291f
jmp 0x10002907
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov al, 1
test al, 1
jne 0x100028d3
jmp 0x100028e2
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
Function at 0x4013fa
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push ebx
push 0x40f0c0
call fcn.00407830
xor ebx, ebx
mov dword [esp], 0x410e04
push ebx
mov dword [ebp - 0x14], eax
call fcn.0040543d
push ebx
push str.o_Ki_
call fcn.004034a2
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0x444]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp + 8]
mov dword [ebp - 0x340], 0x224
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x18], eax
push ecx
push eax
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x4015ef
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00407740
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.0040c910
add esp, 0x10
test eax, eax
je 0x4015ef
push dword [ebp - 0x338]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x4015ef
push esi
mov esi, 0x80000
push edi
push esi
mov edi, 0x4131d0
push ebx
push edi
call fcn.004076e0
mov eax, dword [ebp - 0x328]
add esp, 0xc
cmp eax, esi
jb 0x4014e1
mov eax, esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
jne 0x401506
lea ecx, [ebp - 8]
push ecx
push eax
push edi
push dword [ebp - 0x32c]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4015e1
cmp dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
jbe 0x4015e1
push dword [ebp + 8]
push str.o_Ki_
call fcn.00403472
push eax
mov dword [ebp - 0x10], eax
call fcn.00407830
xor esi, esi
add esp, 0xc
cmp dword [ebp + 0xc], esi
mov ebx, eax
je 0x40153c
lea eax, [ebx + 0x6e]
mov dword [ebp - 8], eax
jmp 0x40153f
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 0xa
je 0x4015d2
push dword [ebp - 0x14]
lea edi, [esi + 0x4131d0]
push edi
push 0x40f0c0
call fcn.0040c860
add esp, 0xc
test eax, eax
je 0x4015cb
cmp dword [ebp + 0xc], 0
jne 0x40158b
push ebx
push edi
push dword [ebp - 0x10]
call fcn.0040c860
add esp, 0xc
test eax, eax
je 0x40158b
mov eax, dword [ebp - 8]
inc esi
sub eax, ebx
sub eax, 0xa
cmp esi, eax
jb 0x40154a
jmp 0x4015d2
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0x410df0
call fcn.00403472
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00403c7c
add esp, 0x10
test eax, eax
jne 0x4015cb
lea eax, [ebp - 0x11c]
push eax
call fcn.00403ef9
pop ecx
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 8], eax
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jb 0x401512
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop ebx
pop edi
pop esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
leave
ret 8