joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000215c
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push ebx
push esi
mov esi, dword [ebp + 0x1b4]
push 0x208
lea eax, [ebp - 0x60]
push 0
push eax
mov ebx, ecx
call fcn.1000b680
push dword [esi]
add esi, 4
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.1000a7e0
add esp, 0x18
push 0x80
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 0x10
lea eax, [ebp - 0x60]
je 0x100021e7
and dword [ebp - 0x80], 0
and dword [ebp - 0x74], 0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], 3
mov word [ebp - 0x70], 0x14
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
jmp 0x100021ee
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov esi, eax
test esi, esi
je 0x100021fa
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x5a], eax
push 0xa
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
mov byte [ebp - 0x60], 0xb
mov byte [ebp - 0x5f], 0x16
mov dword [ebp - 0x5e], esi
call fcn.10001f13
mov ecx, dword [ebp + 0x1a8]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b561
add ebp, 0x1ac
leave
ret 8
Function at 0x1000222e
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7d8]
sub esp, 0x858
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp + 0x7d4], eax
push ebx
mov ebx, dword [ebp + 0x7e0]
push esi
push edi
mov edi, 0x206
xor esi, esi
push edi
lea eax, [ebp + 0x5ce]
push esi
push eax
mov word [ebp + 0x5cc], si
call fcn.1000b680
push edi
lea eax, [ebp + 0x3c6]
push esi
push eax
mov word [ebp + 0x3c4], si
call fcn.1000b680
push dword [ebx]
add ebx, 4
lea eax, [ebp + 0x3c4]
push ebx
add edi, 2
push eax
mov dword [ebp - 0x2c], edi
call fcn.1000a7e0
push edi
lea eax, [ebp + 0x5cc]
push esi
push eax
call fcn.1000b680
lea eax, [ebp + 0x3c4]
push 0x2e
push eax
call fcn.1000d03b
add esp, 0x38
cmp eax, esi
jne 0x100022c5
xor eax, eax
jmp 0x10002420
lea ecx, [ebp - 0x28]
push ecx
push 0xf003f
push esi
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100022be
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x5cc]
push eax
push esi
push dword [ebp - 0x28]
call ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x3e8
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.1000b680
lea eax, [ebp + 0x5cc]
push eax
lea eax, [ebp - 0x24]
push str._s_shellopencommand
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x24]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100022be
push edi
lea eax, [ebp + 0x5cc]
push esi
push eax
call fcn.1000b680
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x5cc]
push eax
push esi
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], edi
call ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x5cc]
push 0x1001a3b4
push eax
call fcn.1000d06b
cmp eax, esi
pop ecx
pop ecx
jne 0x100023cd
lea eax, [ebp + 0x5cc]
push 0x1001a3ac
push eax
call fcn.1000d06b
cmp eax, esi
pop ecx
pop ecx
jne 0x100023cd
lea eax, [ebp + 0x5cc]
push 0x1001a3a8
push eax
call fcn.1000d0ca
lea eax, [ebp + 0x3c4]
push eax
lea eax, [ebp + 0x5cc]
push eax
call fcn.1000d0ca
add esp, 0x10
jmp 0x100023dc
lea ecx, [ebp + 0x3c4]
push ecx
push eax
call fcn.1000d0f4
pop ecx
pop ecx
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.1000b680
add esp, 0xc
cmp dword [ebp + 0x7e8], esi
mov dword [ebp - 0x80], 0x44
je 0x10002401
mov dword [ebp - 0x78], str.WinSta0Default
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x5cc]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x7d4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b561
add ebp, 0x7d8
leave
ret 0xc
Function at 0x10002543
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x206
xor ebx, ebx
push edi
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x424], ecx
mov word [ebp - 0x218], bx
call fcn.1000b680
push edi
lea eax, [ebp - 0x41e]
push ebx
push eax
mov word [ebp - 0x420], bx
call fcn.1000b680
mov edi, dword [esi]
push edi
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000a7e0
lea eax, [esi + edi + 4]
push dword [eax]
add eax, 4
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.1000a7e0
add esp, 0x30
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0xa], eax
push 0xa
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0xb
mov byte [ebp - 0xf], 0x18
mov dword [ebp - 0xe], esi
call fcn.10001f13
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b561
leave
ret 8

Function at 0x10002619
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x208
push edi
lea eax, [ebp - 0x414]
push 0
push eax
mov ebx, ecx
call fcn.1000b680
push edi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1000b680
mov edi, dword [esi]
push edi
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.1000a7e0
lea eax, [esi + edi + 4]
push dword [eax]
add eax, 4
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1000a7e0
add esp, 0x30
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov byte [ebp - 0x20c], 0xb
mov byte [ebp - 0x20b], 0x19
mov dword [ebp - 0x20a], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x206], eax
push 0xa
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.10001f13
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b561
leave
ret 8
Function at 0x100026d8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5f0]
sub esp, 0x670
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp + 0x5ec], eax
push ebx
push esi
mov esi, dword [ebp + 0x5f8]
push edi
push 0x32000
mov dword [ebp - 0x78], ecx
call fcn.1000b8d1
mov edi, 0x208
push edi
mov ebx, eax
lea eax, [ebp + 0x1dc]
push 0
push eax
call fcn.1000b680
push edi
lea eax, [ebp + 0x3e4]
push 0
push eax
call fcn.1000b680
push dword [esi]
add esi, 4
lea eax, [ebp + 0x3e4]
push esi
push eax
call fcn.1000a7e0
push 0x1001a400
lea eax, [ebp + 0x3e4]
push eax
lea eax, [ebp + 0x1dc]
push 0x1001a3f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x38
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x1dc]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x80], eax
jne 0x100027a7
mov byte [ebx], 0xb
mov byte [ebx + 1], 0xe
mov dword [ebx + 2], 3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x78]
push 0xa
push ebx
mov dword [ebx + 6], eax
call fcn.10001f13
push ebx
call fcn.1000b195
jmp 0x100028be
push 0x32000
call fcn.1000b8d1
mov edi, eax
pop ecx
lea eax, [ebp + 0x3e4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
add esi, esi
push esi
lea eax, [ebp + 0x3e4]
push eax
lea eax, [edi + 4]
push eax
mov dword [edi], esi
call fcn.1000a7e0
add esp, 0xc
add esi, 4
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, eax
mov dword [ebp - 0x7c], eax
push 0x1001a3f0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x1000286a
push 0x1001a3e8
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x1000286a
mov eax, dword [ebp - 0x74]
mov dword [edi + esi], eax
mov ecx, dword [ebp - 0x58]
push 4
pop eax
add esi, eax
mov dword [edi + esi], ecx
mov ecx, dword [ebp - 0x54]
add esi, eax
mov dword [edi + esi], ecx
mov ecx, dword [ebp - 0x6c]
add esi, eax
mov dword [edi + esi], ecx
mov ecx, dword [ebp - 0x70]
add esi, eax
mov dword [edi + esi], ecx
mov ecx, dword [ebp - 0x64]
add esi, eax
mov dword [edi + esi], ecx
mov ecx, dword [ebp - 0x68]
add esi, eax
mov dword [edi + esi], ecx
mov ecx, dword [ebp - 0x7c]
add esi, eax
mov dword [edi + esi], ecx
add esi, eax
push ecx
lea eax, [ebp - 0x48]
push eax
lea eax, [edi + esi]
push eax
call fcn.1000a7e0
add esp, 0xc
add esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x100027de
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov byte [ebx], 0xb
push esi
mov byte [ebx + 1], 0xe
and dword [ebx + 2], 0
lea eax, [ebx + 0xa]
push edi
push eax
mov dword [ebx + 6], esi
call fcn.1000a7e0
mov ecx, dword [ebp - 0x78]
add esp, 0xc
add esi, 0xa
push esi
push ebx
call fcn.10001f13
push ebx
call fcn.1000b195
push edi
call fcn.1000b195
pop ecx
pop ecx
mov ecx, dword [ebp + 0x5ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b561
add ebp, 0x5f0
leave
ret 8
Function at 0x10002b3c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5f4]
sub esp, 0x674
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp + 0x5f0], eax
mov eax, dword [ebp + 0x5fc]
push ebx
push esi
push edi
mov ebx, 0x32000
push ebx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], eax
call fcn.1000b8d1
mov esi, 0x208
push esi
mov edi, eax
lea eax, [ebp + 0x1e0]
push 0
push eax
call fcn.1000b680
push esi
lea eax, [ebp + 0x3e8]
push 0
push eax
call fcn.1000b680
mov eax, dword [ebp - 0x78]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 0xc
add esp, 0x1c
push eax
mov dword [ebp - 0x74], eax
call esi
add eax, eax
push eax
push dword [ebp - 0x74]
lea eax, [ebp + 0x3e8]
push eax
call fcn.1000a7e0
push 0x1001a400
lea eax, [ebp + 0x3e8]
push eax
lea eax, [ebp + 0x1e0]
push 0x1001a3f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1e0]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x74], eax
jne 0x10002c02
push edi
call fcn.1000b195
jmp 0x10002d1f
push ebx
call fcn.1000b8d1
mov ebx, eax
pop ecx
lea eax, [ebp + 0x3e8]
push eax
call esi
mov esi, eax
add esi, esi
push esi
lea eax, [ebp + 0x3e8]
push eax
lea eax, [ebx + 4]
push eax
mov dword [ebx], esi
call fcn.1000a7e0
add esp, 0xc
add esi, 4
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, eax
mov dword [ebp - 0x7c], eax
push 0x1001a3f0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x10002cbd
push 0x1001a3e8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x10002cbd
mov eax, dword [ebp - 0x70]
mov dword [ebx + esi], eax
mov ecx, dword [ebp - 0x54]
push 4
pop eax
add esi, eax
mov dword [ebx + esi], ecx
mov ecx, dword [ebp - 0x50]
add esi, eax
mov dword [ebx + esi], ecx
mov ecx, dword [ebp - 0x68]
add esi, eax
mov dword [ebx + esi], ecx
mov ecx, dword [ebp - 0x6c]
add esi, eax
mov dword [ebx + esi], ecx
mov ecx, dword [ebp - 0x60]
add esi, eax
mov dword [ebx + esi], ecx
mov ecx, dword [ebp - 0x64]
add esi, eax
mov dword [ebx + esi], ecx
mov ecx, dword [ebp - 0x7c]
add esi, eax
mov dword [ebx + esi], ecx
add esi, eax
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + esi]
push eax
call fcn.1000a7e0
add esp, 0xc
add esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x10002c31
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x78]
mov byte [edi], 0x6b
mov byte [edi + 1], 1
mov ecx, dword [eax + 8]
mov dword [edi + 2], ecx
mov eax, dword [eax]
mov dword [edi + 6], eax
and dword [edi + 0xa], 0
push esi
lea eax, [edi + 0x12]
push ebx
push eax
mov dword [edi + 0xe], esi
call fcn.1000a7e0
mov ecx, dword [ebp - 0x80]
add esp, 0xc
add esi, 0x12
push esi
push edi
call fcn.10002b0e
push edi
call fcn.1000b195
push ebx
call fcn.1000b195
pop ecx
pop ecx
mov ecx, dword [ebp + 0x5f0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b561
add ebp, 0x5f4
leave
ret 4
Function at 0x10002d3a
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb8c]
sub esp, 0xc0c
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp + 0xb88], eax
push ebx
push esi
push edi
mov edi, 0xc14
xor ebx, ebx
push edi
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ebx
call fcn.1000b8d1
push edi
mov esi, eax
push ebx
push esi
call fcn.1000b680
push 0xbff
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.1000b680
mov edi, dword [ebp - 0x80]
add esp, 0x1c
push ebx
lea eax, [ebp - 0x7c]
push eax
push 0xc00
lea eax, [ebp - 0x78]
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [ebp - 0x7c], ebx
mov eax, dword [ebp + 0xb94]
mov byte [esi], 0x6b
jbe 0x10002ddc
mov byte [esi + 1], 0x10
mov ecx, dword [eax + 8]
mov dword [esi + 2], ecx
mov eax, dword [eax]
mov dword [esi + 6], eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
lea eax, [esi + 0xa]
push eax
call fcn.1000a7e0
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add eax, 0xa
jmp 0x10002dee
mov byte [esi + 1], 0x14
mov ecx, dword [eax + 8]
mov dword [esi + 2], ecx
mov eax, dword [eax]
push 0xa
mov dword [esi + 6], eax
pop eax
push eax
push esi
mov ecx, edi
call fcn.10002b0e
push esi
call fcn.1000b195
pop ecx
mov ecx, dword [ebp + 0xb88]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.1000b561
add ebp, 0xb8c
leave
ret 4
Function at 0x100036ae
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
push esi
mov esi, dword [ebp + 0x794]
push edi
push 0x7ff
lea eax, [ebp - 0x77]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x78], 0
call fcn.1000b680
mov edi, dword [esi + 4]
mov eax, dword [esi]
push edi
mov dword [ebp - 0x7c], eax
add esi, 8
lea eax, [ebp - 0x78]
push esi
push eax
mov dword [ebp - 0x80], edi
call fcn.1000a7e0
mov ecx, dword [ebx + 0x175c]
add esp, 0x18
push edi
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.10004c1d
xor edi, edi
and dword [ebp - 0x7c], edi
lea esi, [ebx + 0x114]
cmp dword [ebp - 0x80], edi
jbe 0x100037e7
mov eax, dword [ebp + edi - 0x78]
push eax
mov dword [esi], eax
add edi, 4
lea eax, [ebp + edi - 0x78]
push eax
lea eax, [esi - 0x104]
push eax
call fcn.1000a7e0
add edi, dword [esi]
mov eax, dword [ebp + edi - 0x78]
push eax
mov dword [esi + 0x11c], eax
add edi, 4
lea eax, [ebp + edi - 0x78]
push eax
lea eax, [esi + 0x120]
push eax
call fcn.1000a7e0
add edi, dword [esi + 0x11c]
mov eax, dword [ebp + edi - 0x78]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + edi - 0x74]
add edi, 4
mov dword [esi + 8], eax
mov eax, dword [ebp + edi - 0x74]
add edi, 4
push eax
mov dword [esi + 0x118], eax
add edi, 4
lea eax, [ebp + edi - 0x78]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.1000a7e0
mov eax, dword [ebp - 0x7c]
add edi, dword [esi + 0x118]
add esp, 0x24
mov dword [esi + 0x140], eax
xor eax, eax
push eax
push eax
lea ecx, [esi - 0x110]
push ecx
push 0x10003537
push eax
push eax
mov dword [esi + 4], ebx
mov dword [esi + 0x114], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
inc dword [ebp - 0x7c]
add esi, 0x254
cmp dword [ebp - 0x7c], 0xa
jl 0x10003722
mov ecx, dword [ebp + 0x788]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.1000b561
add ebp, 0x78c
leave
ret 8
Function at 0x10003820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb30
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7ff
lea eax, [ebp - 0xb27]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0xb28], 0
call fcn.1000b680
mov esi, str.SOFTWAREWinRAR
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xb2c]
push eax
lea eax, [ebp - 0xb28]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xb30]
push eax
lea eax, [ebp - 0xc]
push eax
mov esi, str.data
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1c]
push eax
push closesocket
mov dword [ebp - 0xb2c], 0x800
mov dword [ebp - 0xb30], 3
movsb byte es:[edi], byte [esi]
call dword [ebx + 0x1754]
test eax, eax
je 0x100039af
push 0x10
pop ecx
mov esi, 0x1001a4a8
lea edi, [ebp - 0x120]
rep movsd dword es:[edi], dword [esi]
push 0xc2
lea eax, [ebp - 0xde]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.1000b680
push 0x19
pop ecx
mov esi, 0x1001a440
lea edi, [ebp - 0x328]
rep movsd dword es:[edi], dword [esi]
push 0x1a2
lea eax, [ebp - 0x2c2]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.1000b680
xor eax, eax
inc eax
lea esi, [ebx + 4]
mov dword [esi + 0x11c], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x224], eax
mov eax, dword [ebp - 0x120]
push eax
mov dword [esi + 0x228], eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [esi + 0x120]
push eax
call fcn.1000a7e0
lea eax, [ebx + 0x174c]
mov dword [esi + 0x114], ebx
mov ecx, dword [eax]
mov edi, str.Admin
mov dword [esi + 0x250], ecx
inc dword [eax]
push edi
call fcn.1000ada0
push eax
mov dword [esi + 0x110], eax
lea eax, [esi + 0xc]
push edi
push eax
call fcn.1000a7e0
add esp, 0x34
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, eax
push eax
mov dword [esi + 0x22c], eax
lea eax, [ebp - 0x328]
push eax
lea eax, [esi + 0x230]
push eax
call fcn.1000a7e0
add esp, 0xc
mov ecx, ebx
call fcn.100030be
xor eax, eax
push eax
push eax
push esi
push 0x10003537
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor eax, eax
jmp 0x100039c6
push dword [ebp - 0xb2c]
lea eax, [ebp - 0xb28]
push eax
mov ecx, ebx
call fcn.100036ae
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b561
leave
ret
Function at 0x10003c6e
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x61a]
push esi
push eax
mov edi, ecx
mov word [ebp - 0x61c], si
call fcn.1000b680
push 0x206
lea eax, [ebp - 0x412]
push esi
push eax
mov word [ebp - 0x414], si
call fcn.1000b680
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call fcn.1000b680
push 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1000b680
add esp, 0x30
push esi
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push 0x1001a594
push eax
call fcn.1000d0ca
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push 0x1001a574
push eax
call fcn.1000d0ca
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
movzx eax, byte [ebx]
mov dword [edi + 0x11d98], eax
push dword [ebx + 1]
add ebx, 5
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.1000a7e0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push esi
push 0x80
push 4
push esi
push 3
push 0xc0000000
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
lea ebx, [edi + 0x11d94]
mov dword [ebx], eax
jne 0x10003db4
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebx], esi
xor eax, eax
jmp 0x10003e0b
mov eax, dword [edi + 0x11d98]
mov cl, byte [edi + 0x11d98]
imul eax, eax, 0x104
mov ebx, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
mov byte [eax + edi + 0x1480], cl
lea eax, [ebp - 0x414]
push eax
push esi
push esi
call ebx
push esi
push esi
push eax
mov eax, dword [edi + 0x11d98]
imul eax, eax, 0x104
lea eax, [eax + edi + 0x1481]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x414]
push eax
push esi
push esi
call ebx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b561
leave
ret 8

Function at 0x10003e5f
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
mov esi, 0x104
push esi
mov edi, ecx
call fcn.1000b8d1
push esi
mov ebx, eax
push 0
push ebx
call fcn.1000b680
add esp, 0x10
add edi, 0x11c90
push edi
push esi
push ebx
push 0x1001a5ac
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
pop edi
pop esi
mov eax, ebx
pop ebx
ret 8
Function at 0x100041de
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10020550]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x104
xor ebx, ebx
lea esi, [edi + 0x11c90]
push ebx
push esi
call fcn.1000b680
add esp, 0xc
push ebx
push 0x1a
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.Microsoft
push esi
call fcn.1000d1d0
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push str.Windows_Update
push esi
call fcn.1000d1d0
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push str.Confing.ini
push esi
call fcn.1000d1d0
pop ecx
pop ecx
push str.total
push str.AutoUsers
mov ecx, edi
call fcn.10003e5f
push eax
call fcn.1000d2c9
cmp eax, ebx
pop ecx
mov dword [ebp - 0x80], eax
jle 0x10004321
mov dword [ebp - 0x7c], ebx
mov esi, 0x103
push esi
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.1000b680
push esi
lea eax, [ebp + 0x8d]
push ebx
push eax
mov byte [ebp + 0x8c], bl
call fcn.1000b680
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push str.DTCPERF_OBJ_00
push str._s_d
push eax
call fcn.1000d142
add esp, 0x28
lea eax, [ebp - 0x78]
push eax
push str.objects
mov ecx, edi
call fcn.10003e5f
push eax
lea eax, [ebp + 0x8c]
push eax
call fcn.1000d1c0
movzx esi, byte [ebp + 0x8c]
lea eax, [ebp + 0x8c]
push eax
call fcn.1000ada0
imul esi, esi, 0x104
push eax
lea eax, [ebp + 0x8c]
push eax
lea eax, [esi + edi + 0x1480]
push eax
call fcn.1000a7e0
add esp, 0x18
inc dword [ebp - 0x7c]
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
jl 0x1000427d
mov ecx, edi
call fcn.10003b65
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1000b561
add ebp, 0x194
leave
ret