joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101084c
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1036a44]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov dword [eax], ebx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], esi
xor edi, edi
mov dword [ebp - 0x228], ebx
mov dword [esi], ebx
call fcn.0101078d
mov eax, dword [0x1035e28]
cmp dword [eax], ebx
je 0x10109c8
mov eax, dword [eax + 4]
jmp 0x1010852
add edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x101084c
lea ebx, [edi + edi*2]
shl ebx, 3
push ebx
call fcn.0102e409
test eax, eax
mov dword [esi], eax
jne 0x1010877
mov dword [ebp - 0x228], 0x8007000e
jmp 0x10109c8
mov eax, dword [ebp - 0x214]
mov dword [eax], edi
mov edi, dword [esi]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x1035e28]
mov eax, dword [eax + 4]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x218], eax
je 0x10109c8
jmp 0x10108bf
mov eax, dword [ebp - 0x218]
mov ebx, dword [ebp - 0x224]
mov ecx, dword [eax + 0x10]
and dword [ebp - 0x214], 0
cmp dword [eax + 8], 0
mov dword [ebp - 0x220], ecx
jbe 0x10109b7
lea ebx, [ebx + ebx*2]
shl ebx, 3
jmp 0x10108e7
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10109b7
add ecx, 0x21a
push ecx
lea eax, [ebp - 0x210]
push 0x1001b28
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
add esp, 0x10
inc eax
lea ecx, [ebp + eax*2 - 0x214]
cmp word [ecx], 0x5c
jne 0x101092a
and word [ecx], 0
mov ecx, dword [esi]
lea edi, [eax + eax]
push edi
mov dword [ecx + ebx + 0x10], eax
call fcn.0102e409
mov ecx, dword [esi]
mov dword [ecx + ebx + 0x14], eax
mov eax, dword [ebp - 0x21c]
mov edx, dword [eax]
mov ecx, edi
mov edi, dword [edx + ebx + 0x14]
mov edx, ecx
shr ecx, 2
lea esi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc dword [ebp - 0x224]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x220]
mov esi, dword [ecx]
mov edx, dword [eax]
mov dword [ebx + edx], esi
mov esi, dword [ecx + 4]
mov dword [ebx + edx + 4], esi
mov edx, dword [eax]
mov eax, dword [ebp - 0x218]
mov esi, dword [eax]
mov dword [edx + ebx + 8], esi
mov esi, dword [eax + 4]
mov dword [edx + ebx + 0xc], esi
mov ecx, dword [ecx + 8]
mov esi, dword [ebp - 0x21c]
add ebx, 0x18
inc dword [ebp - 0x214]
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [eax + 8]
jb 0x10108e1
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [ebp - 0x218], eax
jne 0x10108b3
call fcn.010105a1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
pop edi
pop esi
pop ebx
call fcn.0102e95a
leave
ret 8
Function at 0x1011d23
Capabilities:
Get disk information via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, dword [ebp + 8]
push edi
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
cmp eax, 5
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], ecx
jne 0x1011d24
push dword [ebp + 0x1c]
call fcn.01004264
jmp 0x1011d27
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push eax
push edi
push esi
call fcn.0101fd99
test al, al
pop edi
pop esi
je 0x1011d52
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x1c]
lea eax, [ebp - 0x58]
push dword [ebp - 0x20]
push 3
push 9
push eax
call fcn.01011c24
leave
ret 0x18

Function at 0x1012c11
Capabilities:
Listen for remote procedure calls

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x1012c08
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 0x1a]
pop ecx
mov dword [ebp - 8], eax
jmp 0x1012c0f
mov dword [ebp - 8], 0x18
mov eax, dword [ebp + 8]
and eax, 0xf00
mov dword [ebp - 0x14], eax
push 0
pop eax
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 4], eax
call fcn.01012b60
test eax, eax
mov dword [ebp - 0x10], eax
je 0x1012d06
push ebx
push esi
push edi
and dword [ebp - 0xc], 0
cmp dword [0x1036bb4], 0
jbe 0x1012cdd
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov eax, dword [ebp + 8]
test dword [ebx + 4], eax
je 0x1012cc8
mov eax, dword [ebp - 4]
cmp dword [ebx], eax
jne 0x1012cc8
push dword [ebp - 8]
call fcn.01011fea
mov esi, eax
test esi, esi
je 0x1012cc8
mov ecx, dword [ebp - 8]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esi + 0x14]
and word [eax], 0
cmp dword [ebp + 0xc], 0
je 0x1012c9c
push dword [ebp + 0xc]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebx - 4]
mov dword [esi + 4], eax
mov eax, dword [ebx - 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebx]
mov dword [esi + 0xc], eax
push dword [ebx - 0xc]
call fcn.01012a1a
test al, al
je 0x1012cc2
push esi
call dword [ebx - 8]
push esi
call fcn.01011fc4
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add ebx, 0x18
cmp eax, dword [0x1036bb4]
jb 0x1012c51
cmp dword [ebp - 0x14], 0
je 0x1012ce8
dec dword [ebp - 4]
jmp 0x1012ceb
inc dword [ebp - 4]
cmp dword [ebp - 4], 1
jb 0x1012cfb
cmp dword [ebp - 4], 3
jbe 0x1012c3a
push dword [ebp - 0x10]
call fcn.01011fc4
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10134c6
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
xor ebx, ebx
cmp dword [0x1036bb8], ebx
jne 0x10134b8
xor al, al
pop ebx
ret
push esi
mov esi, 0x1036b98
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1036bbc], ebx
jne 0x10134db
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop esi
pop ebx
ret
dec dword [0x1036bbc]
jne 0x10134cf
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x10016d8
push 0x10000
call fcn.01012d0f
mov al, 1
jmp 0x10134d8

Function at 0x101353d
Capabilities:
Get disk information

Disassembly:
cmp dword [0x1036bbc], 0
jne 0x1013554
mov eax, dword [0x1036bc0]
test eax, eax
push edi
mov edi, eax
je 0x1013553
push esi
mov esi, 0x1036b98
mov eax, dword [eax + 0xc]
push esi
mov dword [0x1036bc0], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call fcn.01013274
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 8]
call fcn.01011fc4
push edi
call fcn.01011fc4
mov eax, dword [0x1036bc0]
test eax, eax
mov edi, eax
jne 0x101351d
pop esi
pop edi
cmp byte [0x1036bbc], 0
sete al
ret
Function at 0x10135e1
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1036a44]
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov byte [ebp - 0x21], bl
mov dword [ebp - 0x2c], ebx
mov dword [esi], ebx
je 0x1013599
cmp dword [ebp + 0xc], ebx
je 0x10135b2
cmp dword [ebp + 0xc], 8
je 0x10135a9
cmp dword [ebp + 0xc], 0xc
je 0x10135a0
xor al, al
jmp 0x1013678
mov dword [ebp - 0x28], 0x20a
jmp 0x10135b9
mov dword [ebp - 0x28], 0x50
jmp 0x10135b9
mov dword [ebp - 0x28], 0x202
push edi
push dword [ebp - 0x28]
call fcn.01011fea
mov edi, eax
cmp edi, ebx
mov dword [esi], edi
jne 0x10135d1
xor al, al
jmp 0x1013677
mov ecx, dword [ebp - 0x28]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.0101276f
test al, al
je 0x10135ca
push ebx
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiCreateDeviceInfoList]
mov edi, eax
cmp edi, 0xffffffff
jne 0x101361c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi]
call fcn.01011fc4
push dword [ebp - 0x2c]
mov dword [esi], ebx
call fcn.01011fc4
jmp 0x10135ca
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push dword [ebp - 0x2c]
mov dword [ebp - 0x20], 0x1c
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInfoW]
test eax, eax
je 0x1013656
push ebx
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push dword [esi]
push ebx
push dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x1013656
mov byte [ebp - 0x21], 1
jmp 0x101366d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi]
call fcn.01011fc4
push dword [ebp - 0x2c]
mov dword [esi], ebx
call fcn.01011fc4
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov al, byte [ebp - 0x21]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0102e95a
leave
ret 0xc

Function at 0x1013dcd
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1036a44]
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
test esi, esi
mov dword [ebp - 4], eax
jne 0x1013d74
xor ax, ax
jmp 0x1013de2
push edi
call fcn.01004490
push 0x41
pop edi
movzx eax, di
push eax
lea eax, [ebp - 0x20c]
push 0x1001a6c
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1013dc4
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0101e05d
test eax, eax
je 0x1013dcd
inc edi
cmp di, 0x5a
jbe 0x1013d7d
jmp 0x1013dcf
mov bl, 1
call fcn.010044a1
dec bl
neg bl
sbb ebx, ebx
not ebx
and ebx, edi
mov ax, bx
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0102e95a
leave
ret 4
Function at 0x1013f99
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1036a44]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x1013f93
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
cmp eax, dword [0x100231c]
je 0x1013fb4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
cmp eax, dword [reloc.ADVAPI32.dll_FreeSid]
jne 0x1013f7f
mov eax, dword [esi + 0x84]
cmp eax, 3
je 0x1013fc1
cmp eax, 5
je 0x1013fc1
cmp eax, 2
je 0x1013fb8
cmp eax, 4
je 0x1013fbc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
cmp eax, dword [reloc.ADVAPI32.dll_CheckTokenMembership]
jne 0x1013fc5
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
push ebx
push edi
call fcn.0100661d
mov esi, eax
test esi, esi
jne 0x1013f49
lea eax, [ebp - 0x74]
push eax
push ebx
push edi
call fcn.01028c90
dec al
neg al
sbb eax, eax
inc eax
jmp 0x1013fc7
push 2
jmp 0x1013fbe
push 5
jmp 0x1013fbe
push 3
pop eax
jmp 0x1013fc7
push 4
jmp 0x1013fbe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0102e95a
leave
ret 8

Function at 0x101427b
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push esi
mov esi, ecx
je 0x1014306
cmp word [ebp + 8], 0x41
jb 0x1014306
cmp word [ebp + 8], 0x5a
ja 0x1014306
call fcn.01004490
movzx eax, word [ebp + 8]
mov ecx, dword [esi]
sub eax, 0x41
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [ebp + 0xc]
push dword [esi + 0xc]
and dword [esi + 0x20], 0
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x10], 1
mov dword [esi + 4], eax
call fcn.0102ec42
push dword [ebp + 0x14]
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call fcn.0102ec4e
add esp, 0xc
test eax, eax
mov dword [esi + 0xc], eax
je 0x1014301
push dword [ebp + 0x14]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 3
push 0xa
push esi
call fcn.01011c24
call fcn.010044a1
pop esi
pop ebp
ret 0x18
Function at 0x1014395
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1036a44]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], esi
mov byte [ebp - 0x7d], 0
call fcn.0100661d
and dword [ebp - 0x84], 0
push 0x100
push esi
mov dword [ebp - 0x90], eax
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
je 0x10143df
xor al, al
jmp 0x101452d
push edi
call fcn.01004490
mov ecx, dword [ebp - 0x88]
push 0x41
push esi
call fcn.01014083
mov edi, eax
test di, di
je 0x1014524
mov byte [ebp - 0x7d], 1
mov edx, dword [ebp - 0x88]
mov edx, dword [edx]
lea eax, [edi + 1]
mov dword [ebp - 0x94], eax
movzx eax, di
push eax
lea ecx, [eax + eax*4 - 0x145]
lea eax, [ebp - 0xc]
push 0x1001a6c
push eax
lea esi, [edx + ecx*8]
call dword [sym.imp.msvcrt.dll_swprintf]
mov eax, dword [esi]
add esp, 0xc
cmp eax, ebx
jne 0x1014445
mov eax, dword [esi + 4]
cmp eax, dword [ebp + 0x10]
je 0x1014502
push edi
call fcn.0101ecf6
cmp al, 1
jne 0x1014456
or dword [ebp - 0x84], 2
push edi
call fcn.0101ecbd
cmp al, 1
jne 0x1014467
or dword [ebp - 0x84], 4
mov edi, dword [ebp - 0x90]
or dword [esi + 0x20], 1
test edi, edi
mov eax, dword [ebp + 0x10]
mov dword [esi], ebx
mov dword [esi + 4], eax
je 0x10144b2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
cmp eax, dword [reloc.ADVAPI32.dll_CheckTokenMembership]
jne 0x1014499
mov eax, dword [ebp - 0x84]
or dword [edi + 0x98], eax
jmp 0x10144d7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
cmp eax, dword [0x100231c]
jne 0x10144d7
mov eax, dword [ebp - 0x84]
or dword [edi + 0x48], eax
jmp 0x10144d7
lea ecx, [ebp - 0x7c]
push ecx
push eax
push ebx
call fcn.01028c90
cmp al, 1
jne 0x10144d7
mov eax, dword [ebp - 0x84]
or dword [ebp - 0x64], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x10]
push ebx
call fcn.01028cba
push dword [ebp - 0x8c]
lea eax, [ebp - 0xc]
push eax
call fcn.01003bed
test al, al
je 0x10144ee
and dword [esi + 0x20], 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 3
push 0xa
push esi
call fcn.01011c24
push dword [ebp - 0x94]
mov ecx, dword [ebp - 0x88]
push dword [ebp - 0x8c]
call fcn.01014083
mov edi, eax
test di, di
jne 0x1014402
call fcn.010044a1
mov al, byte [ebp - 0x7d]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0102e95a
leave
ret 0x14
Function at 0x10149e3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
push ebx
push esi
push edi
mov ebx, ecx
je 0x101495d
mov dword [ebx + 0xc], eax
mov esi, dword [ebp + 8]
xor edi, edi
cmp esi, edi
jne 0x1014984
mov eax, dword [ebx]
cmp eax, edi
je 0x101497f
push dword [ebx + 4]
push eax
call fcn.010052aa
push dword [ebx]
call fcn.0102ec42
pop ecx
mov dword [ebx], edi
mov dword [ebx + 8], edi
jmp 0x101499d
mov ecx, dword [ebx]
cmp ecx, edi
jne 0x10149b4
lea eax, [esi + esi*4]
shl eax, 3
push eax
call fcn.0102ec4e
cmp eax, edi
pop ecx
mov dword [ebx], eax
jne 0x10149a5
mov dword [ebx + 4], edi
jmp 0x1014a83
push esi
push eax
call fcn.01013f02
mov dword [ebx + 8], esi
jmp 0x1014a80
mov edi, dword [ebx + 8]
cmp esi, edi
jg 0x10149f2
mov eax, dword [ebx + 4]
cmp eax, esi
jge 0x10149d8
mov edx, esi
sub edx, eax
lea eax, [eax + eax*4]
push edx
lea eax, [ecx + eax*8]
push eax
call fcn.01013f02
jmp 0x1014a80
jle 0x1014a80
sub eax, esi
push eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*8]
push eax
call fcn.010052aa
jmp 0x1014a80
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x1014a17
mov eax, dword [ebx + 4]
push 8
cdq
pop ecx
idiv ecx
cmp eax, 4
jge 0x1014a0c
push 4
pop eax
jmp 0x1014a17
mov ecx, 0x400
cmp eax, ecx
jle 0x1014a17
mov eax, ecx
add eax, edi
cmp esi, eax
jge 0x1014a22
mov dword [ebp + 0xc], eax
jmp 0x1014a27
mov dword [ebp + 0xc], esi
mov eax, esi
lea eax, [eax + eax*4]
shl eax, 3
push eax
call fcn.0102ec4e
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x1014a83
mov ecx, dword [ebx + 4]
mov esi, dword [ebx]
lea ecx, [ecx + ecx*4]
shl ecx, 3
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov esi, dword [ebp + 8]
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea eax, [eax + ecx*8]
push eax
call fcn.01013f02
push dword [ebx]
call fcn.0102ec42
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [ebx + 8], eax
mov dword [ebx + 4], esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1014ac0
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1036a44]
push esi
push 0xffffffffffffffff
mov esi, ecx
push 0x1a
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], esi
call fcn.01014947
cmp dword [esi + 4], 0x1a
je 0x1014ac1
xor al, al
jmp 0x1014b99
push ebx
push edi
push 0x41
pop edi
xor ebx, ebx
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x418], ebx
jmp 0x1014adc
mov esi, dword [ebp - 0x420]
mov esi, dword [esi]
add esi, dword [ebp - 0x418]
push dword [ebp - 0x41c]
lea eax, [ebp - 0x414]
push 0x1001a6c
push eax
mov word [esi + 8], di
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1014b6b
lea eax, [ebp - 0x20c]
push eax
mov byte [esi + 0x10], 1
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call fcn.0102ec4e
cmp eax, ebx
pop ecx
pop ecx
mov dword [esi + 0xc], eax
je 0x1014b7d
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp 0x1014b7d
push 2
call fcn.0102ec4e
cmp eax, ebx
pop ecx
mov dword [esi + 0xc], eax
je 0x1014b7d
mov word [eax], bx
add dword [ebp - 0x418], 0x28
inc edi
inc dword [ebp - 0x41c]
cmp di, 0x5a
jbe 0x1014ad6
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.0102e95a
leave
ret
Function at 0x101506e
Capabilities:
Check if file exists
Get file attributes
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x1036a44]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov ebx, ecx
mov dword [ebp - 0x478], esi
xor edi, edi
call dword [sym.imp.msvcrt.dll_towupper]
cmp ax, 0x41
pop ecx
mov dword [ebp + 8], eax
jb 0x10151de
cmp ax, 0x5a
ja 0x10151de
test esi, esi
je 0x10151de
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.01013f2e
movzx esi, word [ebp + 8]
push esi
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x204]
push 0x1001a6c
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
call fcn.01004490
mov ecx, dword [ebx]
lea eax, [esi + esi*4 - 0x145]
lea eax, [ecx + eax*8]
cmp byte [eax + 0x10], 0
je 0x1015045
push dword [ebp - 0x478]
push dword [eax + 0xc]
call fcn.0101e05d
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xc1000400
jmp 0x10151d5
push 0x100
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10150e6
push dword [ebp - 0x478]
lea eax, [ebp - 0x404]
push eax
call fcn.0101e05d
test eax, eax
jne 0x10150dc
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x478]
mov ecx, ebx
push dword [ebp + 0x14]
xor edi, edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.01014279
cmp dword [ebp - 0x47c], 1
jne 0x10151c9
lea eax, [ebp - 0x474]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.01028c90
cmp al, 1
jne 0x10151c9
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x468]
push dword [ebp - 0x46c]
call fcn.01021457
jmp 0x10151c9
mov edi, 0xc1000400
jmp 0x10151d5
push 0x41
push dword [ebp - 0x478]
mov ecx, ebx
call fcn.01014083
test ax, ax
mov esi, 0x100040d
je 0x1015126
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.01014ba9
mov edi, eax
test edi, edi
je 0x1015126
cmp edi, esi
jne 0x10151d5
cmp dword [ebp + 0xc], 1
jne 0x10151d5
cmp dword [ebp - 0x47c], 1
je 0x1015144
jbe 0x101513a
cmp dword [ebp - 0x47c], 5
jbe 0x1015181
mov edi, 0xc10007cf
jmp 0x10151d5
lea eax, [ebp - 0x474]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.01028c90
cmp al, 1
jne 0x10151a0
test byte [ebp - 0x458], al
je 0x1015169
mov edi, 0xc1000412
jmp 0x10151d5
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x468]
push dword [ebp - 0x46c]
call fcn.01021457
push 1
push dword [ebp - 0x478]
lea eax, [ebp - 0x204]
push eax
call fcn.01003fcb
cmp al, 1
je 0x10151a5
mov edi, 0xc100041d
jmp 0x10151a5
mov edi, 0xc10007cf
test edi, edi
je 0x10151ad
cmp edi, esi
jne 0x10151d5
push dword [ebp + 0x20]
mov ecx, ebx
push dword [ebp + 0x1c]
push dword [ebp - 0x478]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.01014279
lea eax, [ebp - 0x204]
push eax
call fcn.01011e15
call fcn.010044a1
mov eax, edi
jmp 0x10151e3
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0102e95a
leave
ret 0x1c
Function at 0x10155e8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
push edi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call esi
mov edi, 0x1001da8
push edi
mov dword [ebp - 0xc], eax
call esi
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
add ecx, eax
lea eax, [ecx + ecx + 4]
push eax
call fcn.01003305
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [eax], ebx
jne 0x10155f7
mov eax, 0x8007000e
jmp 0x10156b2
push edi
push dword [ebp + 8]
push 0x1001738
push esi
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x10
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101562b
mov esi, 0xc10007cf
jmp 0x10156a8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
mov edi, 0x1001d90
push edi
push dword [ebp - 8]
call esi
cmp eax, ebx
je 0x1015658
cmp eax, 0xea
je 0x1015658
mov esi, 0xc10007cf
jmp 0x101569f
push dword [ebp - 4]
call fcn.01003305
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x101566e
mov esi, 0x8007000e
jmp 0x101569f
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
test eax, eax
je 0x101568c
push dword [ebp + 8]
call fcn.01003336
jmp 0x1015651
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call fcn.01003336
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc