joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002112
Capabilities:
Create directory
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.100011dd
push eax
push str.C:_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10001037
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x108]
call fcn.100014e4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10002629
leave
ret

Function at 0x10009d35
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10009d74
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10009d74
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10009d74
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10009d74
cmp dword [ecx + 0x74], 0xe
jbe 0x10009d74
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1000b3c5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100197d0
push 0x100197c8
push str.FlsAlloc
push 0x1f
call fcn.1000b284
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b3f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001818c]
call esi
jmp 0x1000b3ff
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b443
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100197e0
push 0x100197d8
push str.FlsGetValue
push 0x21
call fcn.1000b284
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b47a
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001818c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b482
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100197e8
push 0x100197e0
push str.FlsSetValue
push 0x22
call fcn.1000b284
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b4bc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001818c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000eb16
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000ebb3
push ebx
push esi
call fcn.1000eadf
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000ea73
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000eb60
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ebb2
push edi
push eax
call fcn.1000a9ec
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000eb80
call fcn.1000a9b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ebb1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000ea73
add esp, 0x20
test eax, eax
jne 0x1000eb9f
push edi
call fcn.1000a9b2
jmp 0x1000eba7
push ebx
call fcn.1000a9b2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100171f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001721d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001721d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x449b0b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x449b39
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x449b57
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00449a75
jmp 0x449b57
mov eax, dword [esi + 0x14]
test eax, eax
je 0x449b57
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00449a75
test edi, edi
mov eax, edi
jne 0x449b41
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x5747ec]
test ecx, ecx
je 0x449c0a
jmp 0x449b0a
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40324c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
cmp dword [0x405770], ebx
jne 0x40327a
push fcn.00403219
push 0x10
push 0x148
call fcn.0040345c
mov dword [0x405770], eax
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x403286
mov esi, section..rdata
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call sub.MSVCRT.dll_strncpy
push esi
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, ebx
je 0x4032c2
cmp byte [eax + esi - 1], 0x5c
je 0x4032c2
lea eax, [ebp - 0x108]
push 0x404014
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4032cd
cmp byte [eax], bl
jne 0x4032d2
mov eax, 0x404018
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push dword [ebp + 8]
push dword [0x405770]
call fcn.00403397
mov esi, eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x40330e
mov dword [esi + 4], ebx
jmp 0x403320
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x403324
mov dword [esi + 4], 1
mov edi, esi
jmp 0x403338
cmp dword [ebp + 8], 0xffffffff
jne 0x403336
push esi
push dword [0x405770]
call fcn.00403426
mov dword [esi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x403386
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x403394
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 8

Function at 0x430005
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..00cfg
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x86340c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x487c0928
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x100016ab
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [0x10148410]
cmp word [ebx], ax
je 0x100017ff
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100017ff
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
push 2
pop edx
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003865f
lea ecx, [esi + esi]
mov dword [edi + 0x14], eax
push ecx
xor esi, esi
push esi
push eax
call fcn.1003e9c0
add esp, 0x10
push ebx
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x7fe
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push esi
push eax
call fcn.1003e9c0
add esp, 0xc
lea eax, [ebp - 0x804]
push dword [edi + 0x14]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov ebx, esi
lea esi, [ebp - 0x804]
cmp word [ebp - 0x804], bx
je 0x100017dd
push str.DfsSvc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100017c9
push str.IEHomePage
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000178f
push esi
mov ecx, edi
call fcn.10001813
jmp 0x100017c9
push str.option
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100017a9
push esi
mov ecx, edi
call fcn.100019a7
jmp 0x100017c9
mov ecx, esi
call fcn.1000bb7a
test eax, eax
jne 0x100017bf
mov ecx, esi
call fcn.1000bbb1
test eax, eax
je 0x100017c9
push ebx
push esi
mov ecx, edi
call fcn.10001a52
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
cmp word [esi], ax
jne 0x10001765
mov ecx, edi
call fcn.1000203a
mov ecx, edi
call fcn.10001e77
mov ecx, edi
call fcn.100022ee
mov ecx, edi
call fcn.100023d4
xor eax, eax
inc eax
pop esi
jmp 0x10001801
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret 4
Function at 0x10001813
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x1000
push esi
mov ebx, ecx
call fcn.1003865f
push esi
xor ecx, ecx
mov dword [ebx + 0x18], eax
push ecx
push eax
call fcn.1003e9c0
add esp, 0x10
push dword [ebx + 0x14]
push esi
push dword [ebx + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x1012b118
push edi
call esi
push 0x200
call fcn.1003865f
mov dword [esp], 0x200
push 0
push eax
mov dword [ebx + 0x1c], eax
call fcn.1003e9c0
add esp, 0xc
push dword [ebx + 0x14]
push 0x200
push dword [ebx + 0x1c]
push 0
push str.Name
push edi
call esi
push 0x200
call fcn.1003865f
mov dword [esp], 0x200
push 0
push eax
mov dword [ebx + 0x20], eax
call fcn.1003e9c0
add esp, 0xc
push dword [ebx + 0x14]
push 0x200
push dword [ebx + 0x20]
push 0
push str.NewName
push edi
call esi
push dword [ebx + 0x14]
push 0
push 0x1012b13c
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, 0x200
mov dword [ebx + 0x24], eax
push esi
call fcn.1003865f
push esi
xor esi, esi
mov dword [ebx + 0x28], eax
push esi
push eax
call fcn.1003e9c0
xor eax, eax
push 0x1fe
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push esi
push eax
call fcn.1003e9c0
mov eax, dword [ebx + 0x18]
add esp, 0x1c
cmp word [eax], si
je 0x10001977
push dword [ebx + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x204]
push eax
call edi
cmp word [ebp - 0x204], si
jne 0x10001941
push dword [ebx + 0x18]
lea eax, [ebp - 0x204]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1012b144
push dword [ebx + 0x28]
call esi
lea eax, [ebp - 0x204]
push eax
push dword [ebx + 0x28]
call esi
push 0x1012b14c
push dword [ebx + 0x28]
call esi
mov eax, dword [ebx + 0x20]
xor esi, esi
cmp word [eax], si
je 0x10001977
push eax
push dword [ebx + 0x28]
call edi
mov eax, dword [ebx + 0x28]
cmp word [eax], si
je 0x10001991
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.1000c52c
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret 4
Function at 0x1000269d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, 0x208
mov edi, ecx
push ebx
call fcn.1003865f
push ebx
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.1003e9c0
add esp, 0x10
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0xc
call fcn.1003896e
pop ecx
mov ecx, eax
test ecx, ecx
je 0x100026e1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
jmp 0x100026e3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
push ebx
push ebx
push ecx
push 0x1000271a
push ebx
push ebx
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x10002716
lea eax, [ebp + 8]
mov ecx, 0x10148440
push eax
call fcn.10002cdd
pop ebp
ret 8

Function at 0x100038f2
Capabilities:
Get common file path
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10148400], 0
jne 0x100039f9
push ebx
push esi
push edi
xor eax, eax
mov byte [0x10148400], 1
mov esi, 0x206
mov word [ebp - 0x414], ax
push esi
xor edi, edi
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.1003e9c0
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.1003e9c0
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.KuGou8deamon.dat
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
push 0x80
push 4
push edi
push 3
push 0xc0000000
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100039f6
push str.KGDeamon8
push 0xb0
push edi
push 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x100039f3
push 0xb0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x100039f0
cmp word [eax], 9
jne 0x100039e9
mov dword [eax + 0xa4], 0x12c
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call edi
push ebx
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x10004756
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test eax, eax
je 0x100047d0
push ebx
mov ebx, dword [ebp + 8]
sub edx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [eax - 1]
mov dword [ebp + 0x10], edx
shr edi, 3
inc edi
sub esi, ebx
mov ecx, ebx
mov dword [ebp - 4], esi
mov ebx, esi
push 8
pop esi
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [ebx + ecx], al
inc ecx
dec esi
jne 0x1000478a
mov esi, dword [ebp + 0xc]
mov edx, esi
mov ecx, dword [ebp - 8]
push esi
call fcn.10003e1e
mov eax, dword [esi]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
sub edx, 8
pop ecx
mov ecx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp + 0x10], edx
mov dword [ebp + 8], ebx
mov dword [ecx], eax
mov eax, dword [esi + 4]
add esi, 8
mov dword [ecx + 4], eax
mov dword [ebp + 0xc], esi
dec edi
jne 0x1000477e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10004be0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2624
call fcn.10041750
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x2620], eax
push edi
xor ebx, ebx
test esi, esi
jg 0x10004d36
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1003e9c0
push ebx
lea eax, [ebp - 0x20c]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x261c], eax
cmp eax, 0xffffffff
je 0x10004d2c
xor eax, eax
push 0x1fff
push eax
mov dword [ebp - 0x2624], eax
mov byte [ebp - 0x260c], al
lea eax, [ebp - 0x260b]
push eax
call fcn.1003e9c0
xor eax, eax
lea edi, [ebp - 0x2618]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 0
stosd dword es:[edi], eax
lea eax, [ebp - 0x2624]
push eax
push 0x2000
lea eax, [ebp - 0x260c]
push eax
push 0xc
lea eax, [ebp - 0x2618]
push eax
push 0x2d1400
push dword [ebp - 0x261c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10004d20
cmp dword [ebp - 0x25f4], 0
jbe 0x10004d20
push 0x3ff
lea eax, [ebp - 0x60b]
mov byte [ebp - 0x60c], 0
push 0
push eax
call fcn.1003e9c0
mov edx, dword [ebp - 0x25f4]
lea eax, [ebp - 0x60c]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x260c]
call fcn.10004d4b
pop ecx
pop ecx
test eax, eax
je 0x10004d20
mov edi, dword [ebp - 0x2620]
lea esi, [ebp - 0x60c]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
push 4
pop esi
push dword [ebp - 0x261c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, 0x10
jb 0x10004c07
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret 4
Function at 0x10004eba
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x10148408], 0
jne 0x10004ed2
call fcn.10011b87
mov byte [0x10148408], 1
push esi
call fcn.10011c78
mov esi, eax
test esi, esi
jne 0x10004eef
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10004ee8
or dword [eax], 0xffffffff
xor eax, eax
jmp 0x10005000
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10004f28
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10004ff7
mov dword [eax], 0xfffffffe
jmp 0x10004ff7
mov ecx, dword [ebp + 8]
call fcn.10011add
push eax
push 0x2712
push esi
call fcn.10011cab
push ebx
push 0x2a
push esi
call fcn.10011cab
push 1
push 0x63
push esi
call fcn.10011cab
push ebx
push 0x40
push esi
call fcn.10011cab
push ebx
push 0x51
push esi
call fcn.10011cab
push 0x10004e52
push 0x4e2b
push esi
call fcn.10011cab
add esp, 0x48
push edi
push 0x2711
push esi
call fcn.10011cab
push 0x10004e79
push 0x4e6f
push esi
call fcn.10011cab
push edi
push 0x272d
push esi
call fcn.10011cab
push 1
push 0x34
push esi
call fcn.10011cab
push 6
push 0x4e
push esi
call fcn.10011cab
push 1
push 0x13
push esi
call fcn.10011cab
add esp, 0x48
push 6
push 0x14
push esi
call fcn.10011cab
add esp, 0xc
mov ecx, esi
call fcn.10011cc9
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.10011eac
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10004fea
mov dword [eax], ebx
test ebx, ebx
je 0x10004ffb
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x10004ffe
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x10005005
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x100eb543
call fcn.1003e1c1
push 8
xor edi, edi
call fcn.1003896e
mov ebx, eax
pop ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edi
test ebx, ebx
je 0x1000505f
mov esi, 0x800
push esi
call fcn.1003865f
mov dword [ebx], eax
mov dword [esp], 0x200
call fcn.1003865f
push esi
push edi
push dword [ebx]
mov dword [ebx + 4], eax
call fcn.1003e9c0
push 0x200
push edi
push dword [ebx + 4]
call fcn.1003e9c0
add esp, 0x1c
jmp 0x10005061
mov ebx, edi
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebx]
call esi
push dword [ebp + 0xc]
push dword [ebx + 4]
call esi
push edi
push edi
push ebx
push 0x100052cd
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x100050a2
lea eax, [ebp + 8]
mov ecx, 0x1014844c
push eax
call fcn.10002cdd
xor edi, edi
inc edi
mov eax, edi
call fcn.1003e19e
ret 8
Function at 0x10005c86
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.1003e9c0
add esp, 0xc
lea ecx, [ebp - 0x20c]
mov edx, 0x104
call fcn.10008410
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005d21
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.10039def
pop ecx
pop ecx
test eax, eax
je 0x10005d21
xor ecx, ecx
lea esi, [eax + 2]
mov word [eax], cx
call fcn.1000ee88
lea ecx, [ebp - 0x20c]
mov edx, esi
test eax, eax
je 0x10005d14
push str.startpin
call fcn.1000b194
jmp 0x10005d1e
push 0x1505
call fcn.1000b012
mov esi, eax
pop ecx
mov ecx, esi
call fcn.100085b5
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003890f
mov esp, ebp
pop ebp
ret

Function at 0x10005d37
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.1003e9c0
add esp, 0xc
lea ecx, [ebp - 0x20c]
mov edx, 0x104
call fcn.10008410
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005dd2
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.10039def
pop ecx
pop ecx
test eax, eax
je 0x10005dd2
xor ecx, ecx
lea esi, [eax + 2]
mov word [eax], cx
call fcn.1000ee88
lea ecx, [ebp - 0x20c]
mov edx, esi
test eax, eax
je 0x10005dc5
push str.startunpin
call fcn.1000b194
jmp 0x10005dcf
push 0x1506
call fcn.1000b012
mov esi, eax
pop ecx
mov ecx, esi
call fcn.100085b5
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003890f
mov esp, ebp
pop ebp
ret

Function at 0x10005de8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.1003e9c0
add esp, 0xc
lea ecx, [ebp - 0x20c]
mov edx, 0x104
call fcn.10008410
call fcn.1000ee88
test eax, eax
je 0x10005e46
lea ecx, [ebp - 0x20c]
call fcn.1000b12a
mov esi, eax
test esi, esi
jne 0x10005eb3
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005eb3
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.10039def
pop ecx
pop ecx
test eax, eax
je 0x10005eb3
xor ecx, ecx
push edi
mov word [eax], cx
lea edi, [eax + 2]
call fcn.1000ee88
lea ecx, [ebp - 0x20c]
mov edx, edi
push 0x150a
test eax, eax
je 0x10005eaa
call fcn.1000b0a2
mov esi, eax
pop ecx
test esi, esi
jne 0x10005eb2
push str.taskbarpin
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.1000b194
jmp 0x10005eaf
call fcn.1000b012
mov esi, eax
pop ecx
pop edi
mov ecx, esi
call fcn.100085b5
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003890f
mov esp, ebp
pop ebp
ret