joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1300102a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x130427d7
call fcn.130251dc
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [0x1305ad40]
mov dword [esi + 0xc], eax
mov eax, dword [0x1305ad40]
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], eax
mov eax, dword [0x1305ad40]
mov dword [esi + 0x18], eax
mov eax, dword [0x1305ad40]
mov dword [esi + 0x1c], eax
mov eax, dword [0x1305ad40]
mov dword [esi + 0x20], eax
push 0x13001195
push 0x13001189
push 0x1f4
lea eax, [esi + 0x34]
push 0x14
push eax
mov byte [ebp - 4], 4
mov dword [esi + 0x28], ebx
call fcn.13024d82
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x2754]
push 0x13053120
push eax
mov dword [esi + 0x2744], ebx
mov dword [esi], method.CSyncObject.virtual_20
call edi
lea eax, [esi + 0x2760]
push 0x1305311c
push eax
mov dword [esi + 0x275c], ebx
call edi
lea eax, [esi + 0x276c]
push 0x13053118
push eax
mov dword [esi + 0x2768], ebx
call edi
lea eax, [esi + 0x2778]
push 0x13053114
push eax
mov dword [esi + 0x2774], ebx
call edi
lea eax, [esi + 0x2784]
push 0x13053110
push eax
mov dword [esi + 0x2780], ebx
call edi
lea eax, [esi + 0x2790]
push 0x1305310c
push eax
mov dword [esi + 0x278c], ebx
call edi
lea eax, [esi + 0x279c]
push 0x13053108
push eax
mov dword [esi + 0x2798], ebx
call edi
lea eax, [esi + 0x27a8]
push str.XRKBLCPE
push eax
mov dword [esi + 0x27a4], ebx
call edi
mov dword [esi + 0x27b0], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1300119d
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x13042834
call fcn.130251dc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], method.CSyncObject.virtual_20
push dword [esi + 0x2c]
mov dword [ebp - 4], 5
call fcn.13039b67
push dword [esi + 0x30]
call fcn.13039b67
pop ecx
lea eax, [esi + 0x34]
pop ecx
mov byte [ebp - 4], 4
push 0x13001195
push 0x1f4
push 0x14
push eax
call fcn.130251fb
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call fcn.130395f0
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 2
call fcn.130395f0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.130395f0
and byte [ebp - 4], 0
lea ecx, [esi + 0x14]
call fcn.130395f0
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.130395f0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x13002012
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x130428b3
call fcn.130251dc
sub esp, 0x810
mov eax, dword [0x1305ad40]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0x10], 4
mov dword [ebp - 4], 1
jne 0x130020eb
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x18b
push dword [ebp + 0xc]
call esi
cmp dword [ebp + 0x14], eax
jge 0x130021ca
mov al, byte [0x1305f16c]
test al, 4
je 0x13002085
test al, 2
je 0x13002085
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x14]
push 0x189
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x13002099
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x14]
push 0x189
push dword [ebp + 0xc]
call esi
cmp eax, 0xffffffff
je 0x130021ca
mov cl, byte [0x1305f16c]
mov eax, dword [ebp - 0x418]
test cl, 1
jne 0x130020b9
lea eax, [ebp - 0x418]
test cl, 2
je 0x130020dd
push edi
push edi
lea ecx, [ebp - 0x81c]
push 0x404
push ecx
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x10]
call fcn.1303972d
jmp 0x130021ca
cmp dword [ebp + 0x10], 3
jne 0x130021ca
mov ebx, dword [ebp + 0xc]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 3
push edi
push edi
je 0x130021a2
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x146
push ebx
call esi
cmp dword [ebp + 0x14], eax
jge 0x130021ca
mov al, byte [0x1305f16c]
test al, 4
je 0x13002147
test al, 2
je 0x13002147
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x14]
push 0x148
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x13002159
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x14]
push 0x148
push ebx
call esi
cmp eax, 0xffffffff
je 0x130021ca
mov cl, byte [0x1305f16c]
mov eax, dword [ebp - 0x418]
test cl, 1
jne 0x13002175
lea eax, [ebp - 0x418]
test cl, 2
je 0x130020dd
push edi
push edi
lea ecx, [ebp - 0x81c]
push 0x404
push ecx
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x81c]
jmp 0x130020dd
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xe
push ebx
call edi
mov esi, eax
lea ecx, [ebp - 0x10]
inc esi
push esi
call fcn.130399bf
push eax
push esi
push 0xd
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.13039a0e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.13039365
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.130395f0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x13002714
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0xc4]
test eax, eax
je 0x130027a9
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x130027a9
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0xc], 1
call fcn.130256a0
push dword [ebp + 0xc]
mov esi, eax
call fcn.130256a0
lea edi, [esi + eax + 2]
push edi
call fcn.13039b3e
mov esi, eax
push ebx
push esi
and byte [esi], 0
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
call fcn.130257b0
push ebx
call fcn.130256a0
push dword [ebp + 0xc]
lea eax, [eax + esi + 1]
push eax
call fcn.130257b0
push ebx
call fcn.130256a0
add esp, 0x24
lea eax, [ebp - 0xc]
push eax
push 0x130026b4
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
call fcn.13039b67
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x13002a7f
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
lea ecx, [ebp - 0x18]
xor edi, edi
xor ebx, ebx
call fcn.13038a1d
lea eax, [ebp - 0x18]
push eax
push 0x13002a12
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x10], edi
je 0x13002aea
jle 0x13002aea
push esi
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x13002ae3
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x130029ec
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp - 4], 0
je 0x13002ae3
push dword [ebp - 4]
push esi
call fcn.13003d25
pop ecx
test eax, eax
pop ecx
je 0x13002ae3
test ebx, ebx
jne 0x13002ae3
mov ebx, esi
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x13002aaa
pop esi
lea ecx, [ebp - 0x18]
call fcn.13038a50
mov eax, ebx
pop edi
pop ebx
leave
ret

Function at 0x13002b3b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x13002bf8
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x13002bf8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x13002bf8
cmp byte [eax], 0
je 0x13002bf8
push esi
push edi
push eax
mov dword [ebp - 0xc], 2
call fcn.130256a0
push dword [ebp + 0x10]
mov esi, eax
call fcn.130256a0
push dword [ebp + 0x14]
add esi, eax
call fcn.130256a0
lea edi, [esi + eax + 7]
push edi
call fcn.13039b3e
push dword [ebp + 0xc]
mov esi, eax
mov dword [esi], ebx
lea ebx, [esi + 4]
push ebx
call fcn.130257b0
push dword [ebp + 0xc]
call fcn.130256a0
push dword [ebp + 0x10]
lea ebx, [ebx + eax + 1]
push ebx
call fcn.130257b0
push dword [ebp + 0x10]
call fcn.130256a0
push dword [ebp + 0x14]
lea eax, [ebx + eax + 1]
push eax
call fcn.130257b0
add esp, 0x30
lea eax, [ebp - 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
push eax
push 0x130026b4
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
call fcn.13039b67
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x13002c7d
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
mov bl, 1
cmp dword [esi + 0xc], eax
jne 0x13002cad
lea ecx, [esp + 8]
xor bl, bl
push ecx
push eax
push esi
push 0x13002d41
push eax
push eax
call fcn.130258a0
add esp, 0x18
cmp eax, 0xffffffff
je 0x13002cad
mov dword [esi + 0xc], eax
inc bl
mov al, bl
pop esi
pop ebx
pop ecx
ret

Function at 0x13002cb3
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc], 0
je 0x13002d1e
call fcn.13002d26
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push 0
push esi
add edi, 0xc8
call ebx
mov ebp, 0x102
cmp eax, ebp
jne 0x13002d1e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x13002d1e
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call ebx
jmp 0x13002cf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x130050dd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x600
push ebx
push esi
push str.Begin_SyncWindowInfo
push 0
call fcn.13020a50
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
and dword [eax], 0
mov ebx, dword [0x1305f240]
test ebx, ebx
je 0x130051dd
mov al, byte [0x1305f250]
push edi
mov byte [ebp - 0x600], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x5ff]
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 8]
test eax, eax
je 0x1300514f
lea ecx, [ebp - 0x600]
push ecx
push 0x400
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and byte [ebp + eax - 0x600], 0
cmp dword [esi + 0x114], 0
jne 0x13005173
lea eax, [ebp - 0x600]
mov ecx, ebx
push eax
push dword [esi + 4]
push dword [esi]
call fcn.13006955
mov dword [esi + 0x114], eax
jmp 0x130051bb
mov al, byte [0x1305f250]
push 0x7f
mov byte [ebp - 0x200], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x1ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x200]
push 0x1ff
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x114]
lea eax, [ebp - 0x600]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.13007dc4
mov ecx, dword [esi + 0x114]
pop edi
test ecx, ecx
je 0x130051dd
call fcn.1300823b
push dword [ebp + 0xc]
push dword [esi + 0x114]
push esi
call fcn.130051ef
add esp, 0xc
push str.End_SyncWindowInfo
push 0
call fcn.13020a50
pop ecx
pop ecx
pop esi
pop ebx
leave
ret

Function at 0x130064f6
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 8], eax
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ea
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x184
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
ret 4
Function at 0x13006955
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x13042cae
call fcn.130251dc
sub esp, 0x418
push ebx
mov dword [ebp - 0x10], ecx
push dword [ebp + 0xc]
call fcn.130068f6
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x13006b51
push esi
lea eax, [ebp - 0x424]
push 0x400
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
lea ecx, [ebp - 0x24]
call fcn.130083d4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], ebx
call fcn.13006bf6
cmp dword [ebp - 0x1c], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x14], ebx
je 0x13006b44
push edi
push ebx
lea ecx, [ebp - 0x24]
call fcn.1300849c
mov ecx, dword [ebp - 0x10]
mov esi, eax
push esi
call fcn.13006925
mov edi, eax
cmp edi, ebx
je 0x130069df
cmp byte [edi + 0x2c], bl
jne 0x13006ae5
mov ecx, dword [ebp - 0x10]
push esi
call fcn.13006c02
mov esi, eax
cmp esi, ebx
je 0x13006ae5
cmp dword [esi + 4], ebx
jne 0x13006ad7
lea ecx, [esi + 0xc]
push str.NetHelp
call fcn.130085ea
push eax
call fcn.130267b0
pop ecx
test eax, eax
pop ecx
je 0x13006ad7
lea ecx, [esi + 8]
call fcn.130085ea
push eax
push dword [ebp + 0x10]
call fcn.130267b0
pop ecx
test eax, eax
pop ecx
jne 0x13006a62
inc dword [ebp - 0x14]
cmp edi, ebx
jne 0x13006ad7
cmp dword [ebp + 8], ebx
je 0x13006a50
mov ecx, dword [ebp + 8]
call fcn.13006b63
push dword [ebp + 8]
call fcn.13039b67
pop ecx
cmp dword [ebp - 0x14], 2
mov dword [ebp + 8], esi
jge 0x13006aee
jmp 0x13006ae5
cmp edi, ebx
jne 0x13006ad7
lea ecx, [esi + 0xc]
call fcn.130085ea
push eax
call fcn.130256a0
mov edi, eax
lea eax, [ebp - 0x424]
push eax
call fcn.130256a0
pop ecx
cmp eax, edi
pop ecx
jae 0x13006a90
lea eax, [ebp - 0x424]
jmp 0x13006a98
lea ecx, [esi + 0xc]
call fcn.130085ea
push eax
call fcn.130256a0
pop ecx
push eax
lea ecx, [esi + 0xc]
call fcn.130085ea
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.13030560
add esp, 0xc
test eax, eax
jne 0x13006ad7
cmp dword [ebp + 8], ebx
je 0x13006ad2
mov ecx, dword [ebp + 8]
call fcn.13006b63
push dword [ebp + 8]
call fcn.13039b67
pop ecx
mov dword [ebp + 8], esi
jmp 0x13006ae5
mov ecx, esi
call fcn.13006b63
push esi
call fcn.13039b67
pop ecx
cmp dword [ebp - 0x1c], ebx
jne 0x130069bc
mov esi, dword [ebp + 8]
pop edi
cmp esi, ebx
je 0x13006b44
push 0x30
call fcn.13039b3e
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x13006b22
cmp dword [ebp - 0x14], 1
push dword [ebp - 0x10]
sete cl
push ecx
push ebx
push esi
mov ecx, eax
push dword [ebp + 0xc]
call fcn.13007c48
jmp 0x13006b24
xor eax, eax
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
call fcn.1300847b
mov ecx, esi
call fcn.13006b63
push esi
call fcn.13039b67
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.130083e7
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x13006fd1
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
mov eax, 0x13042d36
call fcn.130251dc
sub esp, 0x32c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call fcn.13008597
xor ebx, ebx
mov dword [ebp - 4], ebx
mov al, byte [edi]
cmp al, bl
je 0x130071b8
movsx eax, al
sub eax, 0x42
je 0x1300718e
dec eax
dec eax
je 0x1300717f
dec eax
dec eax
je 0x13007050
sub eax, 0xb
je 0x1300703e
dec eax
dec eax
jne 0x1300719d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.130089e0
jmp 0x1300719b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.13008960
jmp 0x1300719b
lea eax, [ebp - 0x338]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x128]
push eax
push ebx
lea eax, [ebp - 0x338]
push 0x13053b70
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1300719d
add dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0xd], bl
mov esi, dword [eax - 4]
cmp esi, ebx
je 0x13007170
push ebx
push 0x80
push 5
push ebx
push ebx
lea eax, [ebp - 0x128]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1300716d
lea eax, [ebp - 0x20]
push ebx
push eax
mov ecx, esi
call fcn.130085b7
push eax
mov ecx, esi
call fcn.130085ea
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1300712b
lea eax, [ebp - 0x234]
push 0x13053b6c
push eax
call fcn.130257b0
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.130257c0
lea eax, [ebp - 0x234]
push 0x13053b68
push eax
call fcn.130257c0
add esp, 0x18
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x14]
push eax
call fcn.1300867c
mov byte [ebp - 0xd], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x1300716d
push 4
call fcn.13039b3e
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x1300715a
lea eax, [ebp - 0x128]
push eax
call fcn.1300859d
jmp 0x1300715c
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], bl
call fcn.1300847b
mov edi, dword [ebp - 0x1c]
jmp 0x1300719d
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1300719d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1300888a
jmp 0x1300719b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.130088f0
pop ecx
pop ecx
inc edi
mov dword [ebp - 0x1c], edi
cmp byte [edi], bl
je 0x13006ffd
push 0x2c
lea ecx, [ebp - 0x14]
call fcn.1300868e
jmp 0x13006ffd
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call fcn.130085ca
test eax, eax
je 0x130071cc
xor si, si
jmp 0x130071e0
lea ecx, [ebp - 0x14]
call fcn.130085ea
mov ecx, dword [ebp + 8]
push eax
call fcn.130075f6
mov si, ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.130085b2
mov ecx, dword [ebp - 0xc]
mov ax, si
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x13007533
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 8], ecx
mov eax, dword [esi]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x130075ad
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
push edx
push ebx
push dword [ebp + 0xc]
push dword [eax + 4]
call fcn.130076af
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], eax
je 0x130075ad
cmp eax, ebx
jne 0x130075ad
mov edi, dword [esi]
cmp edi, ebx
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
je 0x13007586
mov ecx, edi
call fcn.13006257
push edi
call fcn.13039b67
pop ecx
push dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.13006e3b
cmp eax, ebx
mov dword [esi], eax
je 0x130075ad
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
push ebx
push dword [ebp + 0xc]
push dword [eax + 4]
call fcn.130076af
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
call fcn.1300763a
mov esi, dword [ebp + 0x10]
cmp dword [esi + 8], ebx
je 0x130075ec
push ebx
mov ecx, esi
call fcn.1300849c
mov edi, eax
cmp edi, ebx
je 0x130075bb
mov ecx, edi
call fcn.130085ea
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
call fcn.130085b2
push edi
call fcn.13039b67
pop ecx
jmp 0x130075bb
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x13008d50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
cmp ecx, esi
mov dword [edi], eax
je 0x13008dcd
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x13008dcd
cmp byte [eax], 0
je 0x13008dcd
lea edx, [esp + 0x1c]
push edx
push 0x20019
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x13008dcd
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push edi
push ecx
push esi
push edx
push eax
mov dword [esp + 0x24], 4
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x13008dc2
cmp dword [esp + 0x18], 4
jne 0x13008dc2
mov esi, 1
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
ret

Function at 0x13008de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor esi, esi
xor ebp, ebp
cmp ebx, esi
mov dword [esp + 0xc], ebp
je 0x13008df6
mov dword [ebx], esi
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x13008f01
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x13008f01
cmp byte [eax], 0
je 0x13008f01
lea edx, [esp + 0x18]
push edx
push 0x20019
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x13008f01
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
push esi
mov esi, dword [esp + 0x30]
push esi
push edx
call edi
test eax, eax
jne 0x13008eee
mov eax, dword [esp + 0x24]
push eax
call fcn.13039b3e
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x13008eea
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
push 0
push esi
push eax
call edi
test eax, eax
jne 0x13008ee1
cmp dword [esp + 0x18], 3
jne 0x13008ee1
mov ecx, dword [esp + 0x24]
push ecx
call fcn.13039b3e
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x13008ee1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
xor eax, eax
mov esi, ebp
mov dword [edx], ecx
mov edi, dword [ebx]
mov edx, ecx
mov dword [esp + 0x10], 1
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call fcn.13039b67
add esp, 4
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x13008f10
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
xor edi, edi
test ecx, ecx
je 0x13008f87
mov eax, dword [esp + 0x10]
test eax, eax
je 0x13008f87
cmp byte [eax], 0
je 0x13008f87
mov esi, dword [esp + 0x18]
test esi, esi
je 0x13008f87
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x10]
push edx
mov edx, dword [0x1305f3d8]
push edx
push 0x20006
push edi
push edi
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x13008f87
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push 1
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x13008f7c
mov edi, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret

Function at 0x13008f90
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
xor esi, esi
test ecx, ecx
je 0x13008ffb
mov eax, dword [esp + 0xc]
test eax, eax
je 0x13008ffb
cmp byte [eax], 0
je 0x13008ffb
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0xc]
push edx
mov edx, dword [0x1305f3d8]
push edx
push 0x20006
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x13008ffb
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x13008ff0
mov esi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret

Function at 0x13009000
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
xor esi, esi
test ecx, ecx
push edi
je 0x1300907c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1300907c
cmp byte [eax], 0
je 0x1300907c
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x1300907c
mov ebx, dword [esp + 0x20]
cmp ebx, 0x3fac
ja 0x1300907c
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
push edx
mov edx, dword [0x1305f3d8]
push edx
push 0x20006
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1300907c
mov ecx, dword [esp + 0x10]
push ebx
push edi
push 3
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x13009071
mov esi, 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
ret