joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69d992
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x6abe87
call fcn.00664608
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x69d9c9
call fcn.0069d943
mov esi, dword [ebp + 8]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00410794
mov eax, esi
jmp 0x69db92
push edi
push 3
mov eax, esi
mov dword [ebp - 0x18], 0xf
xor edx, edx
xor ebx, ebx
pop edi
div edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
xor edx, edx
mov dword [ebp - 4], ebx
lea eax, [esi + 2]
div edi
mov eax, esi
lea ecx, [ebp - 0x2c]
sub eax, edx
xor edx, edx
add eax, 2
div edi
shl eax, 2
push eax
call fcn.00425b84
mov ecx, dword [ebp - 0x14]
xor edx, edx
sub esi, ecx
mov eax, esi
mov esi, dword [ebp + 0xc]
div edi
mov edi, eax
test edi, edi
je 0x69da9c
movzx ecx, byte [esi]
shr ecx, 2
movzx eax, byte [ecx + 0x751530]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00423dc5
mov cl, byte [esi]
mov al, byte [esi + 1]
and cl, 3
shr al, 4
shl cl, 4
add cl, al
movzx eax, cl
lea ecx, [ebp - 0x2c]
movzx eax, byte [eax + 0x751530]
push eax
call fcn.00423dc5
mov cl, byte [esi + 1]
mov al, byte [esi + 2]
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
movzx eax, cl
lea ecx, [ebp - 0x2c]
movzx eax, byte [eax + 0x751530]
push eax
call fcn.00423dc5
movzx eax, byte [esi + 2]
lea ecx, [ebp - 0x2c]
and eax, 0x3f
movzx eax, byte [eax + 0x751530]
push eax
call fcn.00423dc5
add esi, 3
sub edi, 1
jne 0x69da1d
mov ecx, dword [ebp - 0x14]
pop edi
test ecx, ecx
je 0x69db4e
mov byte [ebp - 0x10], bl
mov al, bl
mov byte [ebp + 0xf], al
mov byte [ebp - 0xf], al
mov byte [ebp + 0x13], al
mov byte [ebp - 0xe], al
test cl, cl
je 0x69dada
movzx eax, cl
push eax
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.006661f0
mov al, byte [ebp - 0xe]
add esp, 0xc
mov bl, byte [ebp - 0x10]
mov byte [ebp + 0x13], al
mov al, byte [ebp - 0xf]
mov byte [ebp + 0xf], al
movzx eax, bl
lea ecx, [ebp - 0x2c]
shr eax, 2
movzx eax, byte [eax + 0x751530]
push eax
call fcn.00423dc5
mov al, byte [ebp + 0xf]
lea ecx, [ebp - 0x2c]
and bl, 3
shr al, 4
shl bl, 4
add bl, al
movzx eax, bl
movzx eax, byte [eax + 0x751530]
push eax
call fcn.00423dc5
cmp dword [ebp - 0x14], 2
jne 0x69db35
mov al, byte [ebp + 0xf]
mov cl, byte [ebp + 0x13]
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
movzx eax, al
mov al, byte [eax + 0x751530]
mov byte [ebp + 0xc], al
jmp 0x69db39
mov byte [ebp + 0xc], 0x3d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00423dc5
push 0x3d
lea ecx, [ebp - 0x2c]
call fcn.00423dc5
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0041048f
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x69db8f
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
cmp eax, 0x1000
jb 0x69db86
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x6a29f1
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 4]
push ebp
push esi
push edi
push eax
push 2
xor ebp, ebp
push ebp
push 0x751740
push reloc.WS2_32.dll_accept
mov dword [esp + 0x24], ebp
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x6a2a50
lea eax, [esp + 0x14]
push eax
call fcn.006a2b6b
cmp dword [eax + 0x14], 8
jb 0x6a2a3a
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
lea ecx, [esp + 0x14]
call fcn.00427afc
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
push 2
push ebp
push 0x7517e8
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x6a2a90
lea eax, [esp + 0x14]
push eax
call fcn.006a2b6b
cmp dword [eax + 0x14], 8
jb 0x6a2a7a
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
lea ecx, [esp + 0x14]
call fcn.00427afc
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
push 2
push ebp
push 0x751898
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x6a2ad0
lea eax, [esp + 0x14]
push eax
call fcn.006a2b6b
cmp dword [eax + 0x14], 8
jb 0x6a2aba
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
lea ecx, [esp + 0x14]
call fcn.00427afc
push dword [esp + 0x10]
call edi
call fcn.006a2add
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x6a3d7f
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6a7b12
call fcn.00664608
sub esp, 0x230
push ebx
push esi
push 0x41
pop eax
push 0x3a
mov word [ebp - 0x18], ax
xor esi, esi
pop eax
mov word [ebp - 0x16], ax
push 0x5c
pop eax
mov word [ebp - 0x14], ax
xor eax, eax
mov dword [ebp - 4], esi
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x6a3ebf
push edi
mov edi, esi
test bl, 1
je 0x6a3e68
lea eax, [edi + 0x41]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 2
jne 0x6a3e68
push 0x104
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x6a3e68
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x34], esi
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 7
call fcn.00427ba3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.00436ddd
test al, al
jne 0x6a3e76
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x6a3e68
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x6a3e5f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
shr ebx, 1
inc edi
cmp edi, 0x1a
jl 0x6a3dc4
jmp 0x6a3ebe
mov ecx, dword [ebp + 0x20]
mov ax, word [ebp - 0x18]
mov word [ecx], ax
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x6a3ebb
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x20], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x6a3eb2
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
xor esi, esi
inc esi
pop edi
lea ecx, [ebp + 8]
call fcn.00427afc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x6a42bd
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
cmp dword [esi + 0x110], 2
jne 0x6a433e
lea eax, [esi + 0xf0]
cmp dword [eax + 0x14], 8
jb 0x6a42dd
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push str._s:_
push eax
call fcn.004577f2
add esp, 0xc
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
jb 0x6a42fb
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x6a4326
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], ecx
jmp 0x6a4334
and dword [esi + 0x108], 0
and dword [esi + 0x10c], 0
lea ecx, [ebp - 0x30]
call fcn.00427afc
jmp 0x6a434c
and dword [esi + 0x108], 0
and dword [esi + 0x10c], 0
pop esi
leave
ret

Function at 0x6a4588
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6abe6e
call fcn.00664608
sub esp, 0x448
push edi
mov edi, ecx
cmp dword [edi + 0x110], 2
jne 0x6a45ac
xor eax, eax
inc eax
jmp 0x6a46aa
push ebx
push esi
movzx esi, word [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push 0x751a6c
push eax
call fcn.004577f2
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push esi
push str._c:_
push eax
call fcn.004577f2
add esp, 0x18
xor ebx, ebx
lea eax, [ebp - 0x2c]
push 8
inc ebx
pop esi
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x6a45eb
mov eax, dword [ebp - 0x2c]
mov edx, 0x104
lea ecx, [ebp - 0x454]
push edx
push ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x24c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x6a468e
lea eax, [ebp - 0x24c]
push eax
lea ecx, [edi + 0xa8]
call fcn.00427ba3
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], esi
jb 0x6a4633
mov eax, dword [eax]
push eax
lea ecx, [edi + 0xc0]
call fcn.00427ba3
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], esi
jb 0x6a4649
mov eax, dword [eax]
push eax
lea ecx, [edi + 0xd8]
call fcn.00427ba3
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], esi
jb 0x6a4660
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [edi + 0xf0]
call fcn.00427ba3
mov ecx, edi
mov dword [edi + 0x110], 2
call fcn.006a42bd
push 7
push edi
call fcn.005eb708
mov ecx, eax
call fcn.005eba26
jmp 0x6a4696
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ebx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00427afc
lea ecx, [ebp - 0x44]
call fcn.00427afc
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x11f3370
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 0x11f338e
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 0x121c074
push ecx
mov edi, eax
call fcn.01207198
mov esi, eax
add esp, 8
test esi, esi
jne 0x11f33cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0120702e
push esi
call fcn.01206fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x11f6850
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 0x11f68ae
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 0x1221720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x11f68ba
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.012071e1
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 0x11f68ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1221720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x11f692a
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.01208082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x11f6957
mov word [eax], si
add eax, 2
push eax
call fcn.01208030
add esp, 4
jmp 0x11f6959
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 0x11f68ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x11f68b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x11f6ff0
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 0x11f7080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x11f70c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x121c458
push ecx
call fcn.012071e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.012071e1
add esp, 0x10
jmp 0x11f70d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0120720b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.01206dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.011f7050
mov eax, dword [0x1221728]
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 0x11f713b
push esi
call fcn.011f6fb0
add esp, 4
mov dword [0x1221728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x11f714c
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.011f6ff0
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 0x11fa440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x11fa4b7
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 0x11fa48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x11fa471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x11fa47e
add edx, ecx
cmp ebx, edx
jb 0x11fa48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x11fa467
xor ecx, ecx
jmp 0x11fa4a2
test eax, eax
jne 0x11fa492
xor ecx, ecx
jmp 0x11fa4a2
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.011fa3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x11fa8f0
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 0x11fa921
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 0x11fa946
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 0x11fa96e
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 0x11fa993
push ecx
push esi
call fcn.011fa4c0
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 0x11fbc00
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 0x11fbc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x11fbc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x11fbc38
add edx, eax
cmp ebx, edx
jb 0x11fbc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x11fbc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x11fbc50
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 0x11fbc70
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 0x11fbcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x11fbc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x11fbca8
add edx, ecx
cmp ebx, edx
jb 0x11fbcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x11fbc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x11fbf60
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.01208145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x11fbffb
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 0x11fbfdd
lea eax, [esp + 0x18]
push eax
jmp 0x11fbfe2
push 0x1221720
call fcn.01207fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x11fbfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x11fbf40
push 4
push ecx
push eax
call fcn.0120843f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x11fc310
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.01208145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x11fc3ab
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 0x11fc38d
lea eax, [esp + 0x18]
push eax
jmp 0x11fc392
push 0x1221720
call fcn.01207fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x11fc360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x11fbf40
push 4
push ecx
push eax
call fcn.0120843f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x11fdf20
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 0x11fdfd7
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 0x11fdfcf
push ebx
push edi
push 0x1221770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x11fdfae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x1221770
push esi
call ebx
test eax, eax
je 0x11fdfae
mov ebp, 3
cmp dword [0x1221774], ebp
jne 0x11fdfaa
push 0x3e8
call edi
push 0x1221770
push esi
call ebx
test eax, eax
jne 0x11fdf8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0x11fdfc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0x11fdfbb
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
Function at 0x1201e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x12178f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1201ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.011fe7a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x1201e61
mov edx, dword [eax]
jmp 0x1201e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.01200050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x1201ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1201ebf
cmp esi, edi
je 0x1201ebf
mov ecx, esi
call fcn.011f9a00
push esi
call fcn.012071c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.011fe990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x1201ef5
mov eax, dword [eax]
jmp 0x1201ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.011fd640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x1201f25
mov eax, dword [eax]
jmp 0x1201f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x1201f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1201f76
cmp esi, edi
je 0x1201f76
mov eax, dword [esi]
cmp eax, edi
je 0x1201f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x1201f6d
push eax
call fcn.012071c8
add esp, 4
push esi
call fcn.012071c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret