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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x101ad400
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x10284b09]
push 4
push 8
call fcn.10013450
add esp, 8
test eax, eax
je 0x101a9d9b
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
push 0
push 0x10000
push esi
push 0x101a9e10
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x101a9d2d
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x101a9d88
mov eax, dword [esi]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x101a9d53
mov dword [ebp - 0x10], 1
push dword [ebp - 0x24]
call eax
mov edi, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
test eax, eax
je 0x101a9d6d
push dword [edx + 8]
push eax
push ecx
call fcn.10013460
add esp, 0xc
push 4
push 8
push dword [ebp - 0x28]
call fcn.10013460
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [edi], 0
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.101cc329
add esp, 8
ud2
Function at 0x101aa110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x101ad440
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
movq xmm0, qword [0x10284bd8]
movd ecx, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
mov eax, ecx
or eax, edx
jne 0x101aa199
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi], 0
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x101aa237
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movq xmm0, qword [esi]
mov eax, ecx
movq qword [0x10284bd8], xmm0
or eax, edx
je 0x101aa26d
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
push edx
push ecx
push dword [ebp + 0xc]
push eax
mov ebx, ecx
mov dword [esi + 0x1c], ecx
call fcn.101c5070
mov edi, edx
mov dword [esi + 0x14], eax
mul ebx
imul ecx, edi, 0x3b9aca00
imul edi, ebx
mov ebx, dword [esi + 0x14]
add edi, edx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov edx, ebx
imul edx, dword [esi + 0x10]
add edi, edx
sub dword [esi + 0xc], eax
mov edx, 0x3b9aca00
mov eax, ebx
sbb ecx, edi
mul edx
mov edi, eax
mov eax, dword [esi + 0xc]
mov ebx, edx
mov edx, 0x3b9aca00
imul ecx, ecx, 0x3b9aca00
add ebx, dword [esi + 0x18]
mul edx
add edx, ecx
push dword [esi + 0x10]
push dword [esi + 0x1c]
push edx
push eax
call fcn.101c5070
add edi, eax
adc edx, ebx
push 0
push 0x3b9aca00
push edx
push edi
call fcn.101c5070
imul ecx, eax, 0x3b9aca00
sub edi, ecx
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
mov ecx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x38], 0
lea eax, [esi + 0x20]
push 0x1024af00
push 0x10248c68
push eax
push 0x2b
push 0x10248c98
call fcn.101cc840
add esp, 0x14
ud2
push 0x1024a12c
call fcn.101ccb40
nop word [eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x3c]
mov ebp, dword [esi + 0x28]
lea eax, [esi + 0x20]
push eax
call fcn.10191380
add esp, 0x18
pop ebp
ret
Function at 0x101ab410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [ebp + 8]
xor esi, esi
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov ecx, 0
cmp edi, 3
jb 0x101ab462
movzx edx, byte [edi + eax - 2]
xor esi, esi
mov ecx, edx
and cl, 0xf0
cmp cl, 0xa0
mov ecx, 0
jne 0x101ab462
xor esi, esi
cmp byte [edi + eax - 3], 0xed
jne 0x101ab462
movzx esi, byte [edi + eax - 1]
and edx, 0xf
mov cl, 1
shl edx, 0x10
and esi, 0x3f
shl esi, 0xa
or esi, edx
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
cmp edx, 3
mov dword [ebp - 0x10], ebx
jb 0x101ab516
cmp byte [ebx], 0xed
jne 0x101ab51a
mov edx, dword [ebp + 0xc]
movzx ebx, byte [edx + 1]
mov edx, ebx
and dl, 0xf0
cmp dl, 0xb0
setne dl
xor cl, 1
or cl, dl
jne 0x101ab51a
mov eax, dword [ebp + 0xc]
mov ecx, ebx
cmp edi, 3
movzx eax, byte [eax + 2]
jb 0x101ab4b1
mov ebx, dword [ebp + 8]
add edi, 0xfffffffd
mov dword [ebx + 8], edi
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
and eax, 0x3f
mov dword [ebp - 0x14], eax
shl ebx, 6
mov ecx, dword [ecx]
lea eax, [edx + 1]
sub ecx, edi
cmp ecx, eax
jb 0x101ab5d4
or esi, dword [ebp - 0x14]
and ebx, 0x3c0
add dword [ebp - 0x10], 3
or esi, ebx
add esi, 0x10000
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.1019e0b0
add esp, 8
mov edx, dword [ebp + 0x10]
mov eax, dword [esi]
mov edi, dword [esi + 8]
add edx, 0xfffffffd
sub eax, edi
cmp eax, edx
jb 0x101ab5eb
mov eax, dword [esi + 4]
add eax, edi
push edx
push dword [ebp - 0x10]
jmp 0x101ab59e
test edx, edx
je 0x101ab58a
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
add ecx, esi
jmp 0x101ab536
add esi, 2
cmp edx, ecx
cmovne edx, esi
nop dword [eax]
cmp edx, ecx
mov esi, edx
je 0x101ab58a
movzx ebx, byte [esi]
lea edx, [esi + 1]
test bl, bl
jns 0x101ab530
cmp bl, 0xe0
jb 0x101ab524
cmp bl, 0xed
jne 0x101ab562
cmp edx, ecx
je 0x101ab58a
lea edx, [esi + 2]
cmp edx, ecx
je 0x101ab58a
cmp byte [esi + 1], 0x9f
ja 0x101ab583
add esi, 3
mov edx, esi
jmp 0x101ab530
add esi, 2
cmp edx, ecx
cmove esi, edx
xor edx, edx
cmp esi, ecx
setne dl
add edx, esi
cmp bl, 0xf0
jb 0x101ab530
xor ebx, ebx
cmp edx, ecx
setne bl
add edx, ebx
jmp 0x101ab530
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xc], 0
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi]
sub ecx, edi
cmp ecx, edx
jb 0x101ab5b6
add eax, edi
push edx
push dword [ebp + 0xc]
push eax
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, ebx
mov dword [esi + 8], edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
mov ecx, esi
push 1
push 1
push dword [ebp + 0x10]
call fcn.101cb2e0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
jmp 0x101ab598
mov ecx, dword [ebp + 8]
mov edx, edi
push 1
push 1
push eax
call fcn.101cb2e0
add esp, 0xc
jmp 0x101ab4d1
mov ebx, edx
mov edx, edi
mov ecx, esi
push 1
push 1
push ebx
call fcn.101cb2e0
mov edx, ebx
add esp, 0xc
mov edi, dword [esi + 8]
jmp 0x101ab508
Function at 0x101ac5a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
movzx eax, word [eax + 8]
mov word [ebp - 0xe], ax
mov eax, dword [0x10284bc8]
cmp eax, 3
jne 0x101ac690
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
ja 0x101ac6a7
lea esi, [ebp - 0x1c4]
push ebx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx - 0x1c4], 0
inc ebx
lea eax, [ebp - 0x24]
push ebx
push esi
push eax
call fcn.101b7cb0
add esp, 0xc
test byte [ebp - 0x24], 1
je 0x101ac62c
mov eax, dword [0x10249f48]
mov esi, dword [ebp + 8]
mov ecx, dword [0x10249f4c]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x101ac6b8
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x3c], 1
push ecx
push edx
push 0
push eax
call dword [sym.imp.ws2_32.dll_getaddrinfo]
mov esi, dword [ebp + 8]
test eax, eax
je 0x101ac679
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], ecx
jmp 0x101ac6b8
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp - 0xe]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor eax, eax
mov word [esi + 0xc], cx
mov dword [esi], eax
jmp 0x101ac6b8
call fcn.101cb4e8
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
jbe 0x101ac5df
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, edi
push eax
push ebx
call fcn.101cb570
add esp, 8
mov eax, esi
add esp, 0x1b8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ac820
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
xorps xmm0, xmm0
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], 0x80
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
push ecx
push edx
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x101ac8fc
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x101ac915
cmp ecx, 0x17
jne 0x101ac935
cmp eax, 0x1b
jbe 0x101ac94c
movsd xmm0, qword [esp + 0x28]
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov word [esi], 1
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
rol ax, 8
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0xe]
movsd xmm1, qword [esp + 0x16]
movzx edi, word [esp + 0x1e]
movsd qword [esi + 2], xmm0
movsd qword [esi + 0xa], xmm1
mov word [esi + 0x12], di
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
jmp 0x101ac945
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov byte [esi + 4], 0
mov byte [esi + 7], 0
mov word [esi + 5], 0
mov dword [esi + 8], eax
jmp 0x101ac940
cmp eax, 0xf
jbe 0x101ac95d
movzx ecx, word [esp + 0x22]
mov eax, dword [esp + 0x24]
mov word [esi], 0
rol cx, 8
mov dword [esi + 2], eax
mov word [esi + 6], cx
jmp 0x101ac945
mov byte [esi + 4], 2
mov dword [esi + 8], 0x1024b230
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x1024b210
push 0x3a
push str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
call fcn.101cc600
push 0x1024b1c4
push 0x39
push str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___std_src_sys_common_net.rs
call fcn.101cc600
int3
Function at 0x101cb570
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push edx
push eax
call fcn.101b3e20
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, eax
neg ecx
jno 0x101cb5e8
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x101cb612
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x101cb632
jmp 0x101cb63e
mov ecx, dword [0x10249f48]
mov edx, dword [0x10249f4c]
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
jae 0x101cb63e
push 1
push eax
push dword [ebp - 0x1c]
call fcn.10013460
add esp, 0x40
jmp 0x101cb641
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x101cb63e
push 1
push ebx
push edi
call fcn.10013460
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x9e2370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x9e238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xa0b074
push ecx
mov edi, eax
call fcn.009f6198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9e23cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.009f602e
push esi
call fcn.009f5fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x9e5850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x9e58ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xa10720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9e58ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.009f61e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x9e58ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa10720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9e592a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.009f7082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x9e5957
mov word [eax], si
add eax, 2
push eax
call fcn.009f7030
add esp, 4
jmp 0x9e5959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x9e58ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9e58b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x9e5ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x9e6080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x9e60c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xa0b458
push ecx
call fcn.009f61e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.009f61e1
add esp, 0x10
jmp 0x9e60d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.009f620b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.009f5dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.009e6050
mov eax, dword [0xa10728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x9e613b
push esi
call fcn.009e5fb0
add esp, 4
mov dword [0xa10728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x9e614c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.009e5ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x9e9440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x9e94b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x9e948e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x9e9471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x9e947e
add edx, ecx
cmp ebx, edx
jb 0x9e948a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x9e9467
xor ecx, ecx
jmp 0x9e94a2
test eax, eax
jne 0x9e9492
xor ecx, ecx
jmp 0x9e94a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.009e93c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x9e98f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x9e9921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x9e9946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x9e996e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x9e9993
push ecx
push esi
call fcn.009e94c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x9eac00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x9eac4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x9eac2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x9eac38
add edx, eax
cmp ebx, edx
jb 0x9eac46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x9eac21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x9eac50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x9eac70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x9eacb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x9eac9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x9eaca8
add edx, ecx
cmp ebx, edx
jb 0x9eacb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x9eac91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x9eaf60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.009f7145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x9eaffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x9eafdd
lea eax, [esp + 0x18]
push eax
jmp 0x9eafe2
push 0xa10720
call fcn.009f6fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x9eafb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x9eaf40
push 4
push ecx
push eax
call fcn.009f743f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x9eb310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.009f7145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x9eb3ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x9eb38d
lea eax, [esp + 0x18]
push eax
jmp 0x9eb392
push 0xa10720
call fcn.009f6fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x9eb360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x9eaf40
push 4
push ecx
push eax
call fcn.009f743f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x9ecf20
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ecx
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 4], ebp
je 0x9ecfd7
mov eax, dword [esp + 0xc]
push esi
push 0xf01ff
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x9ecfcf
push ebx
push edi
push 0xa10770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x9ecfae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0xa10770
push esi
call ebx
test eax, eax
je 0x9ecfae
mov ebp, 3
cmp dword [0xa10774], ebp
jne 0x9ecfaa
push 0x3e8
call edi
push 0xa10770
push esi
call ebx
test eax, eax
jne 0x9ecf8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0x9ecfc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0x9ecfbb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
pop ecx
ret