joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040430
Capabilities:
Check for time delay via queryperformancecounter
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x101b90ec]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.10054640
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
mov dword [esi], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x30
call ebx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
call fcn.100541d0
push 0
mov dword [esi + 0xc], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x30
call ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.Shell_TrayWnd
call ebx
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call edi
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push 0
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call ebx
mov esi, eax
call edi
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0
mov dword [ecx + 0x18], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call ebx
mov esi, eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x14]
push ecx
push eax
call ebx
lea eax, [esp + 0x24]
push eax
push esi
call ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx]
mov dword [ebx + 4], eax
lea eax, [ebx + 0x168]
push eax
call esi
lea eax, [ebx + 0x180]
push eax
call esi
lea eax, [ebx + 0x170]
push eax
call esi
lea eax, [ebx + 0x1b0]
push eax
call esi
lea eax, [ebx + 0x190]
push eax
call esi
lea eax, [ebx + 0x1a0]
push eax
call esi
mov eax, dword [0x101c6b6c]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword [ebx + 0x15c], eax
pop ebx
xor ecx, esp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x100405b0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.1012b3b0
add esi, 0x24
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x100405e9
mov eax, dword [esi]
jmp 0x100405eb
mov eax, esi
push 0x1018333c
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.10041b30
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10040624
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x1004062c
mov esi, dword [esi]
push str.Dict
push esi
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.10041b30
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
jne 0x10040666
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret

Function at 0x10040680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x50], 8
lea eax, [esi + 0x3c]
jb 0x100406a1
mov eax, dword [eax]
push 0x10183350
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.10041b30
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100406db
lea eax, [ebp - 0x20c]
push eax
call fcn.1010f7c1
add esp, 4
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100406e4
mov eax, dword [str.Config.ini]
mov dword [ecx], eax
mov eax, dword [0x10183364]
mov dword [ecx + 4], eax
mov eax, dword [0x10183368]
mov dword [ecx + 8], eax
mov eax, dword [0x1018336c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10183370]
mov dword [ecx + 0x10], eax
mov ax, word [0x10183374]
mov word [ecx + 0x14], ax
cmp word [ebp - 0x20c], 0
jne 0x1004072f
xor ecx, ecx
jmp 0x1004074f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10040740
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x54]
call fcn.10041f70
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x10040770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x50], 8
lea eax, [esi + 0x3c]
jb 0x10040791
mov eax, dword [eax]
push 0x10183350
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.10041b30
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100407cb
lea eax, [ebp - 0x20c]
push eax
call fcn.1010f7c1
add esp, 4
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100407d4
mov eax, dword [str.Related.ini]
mov dword [ecx], eax
mov eax, dword [0x1018337c]
mov dword [ecx + 4], eax
mov eax, dword [0x10183380]
mov dword [ecx + 8], eax
mov eax, dword [0x10183384]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10183388]
mov dword [ecx + 0x10], eax
mov eax, dword [0x1018338c]
mov dword [ecx + 0x14], eax
cmp word [ebp - 0x20c], 0
jne 0x1004081d
xor ecx, ecx
jmp 0x10040835
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10040826
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xcc]
call fcn.10041f70
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10109ec2
mov esp, ebp
pop ebp
ret

Function at 0x10040980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x50], 8
lea eax, [esi + 0x3c]
jb 0x100409a1
mov eax, dword [eax]
push str.UseData
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.10041b30
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100409db
lea eax, [ebp - 0x20c]
push eax
call fcn.1010f7c1
add esp, 4
cmp word [ebp - 0x20c], 0
jne 0x100409e9
xor ecx, ecx
jmp 0x10040a01
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100409f2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x144]
call fcn.10041f70
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x10041290
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x188]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esi]
lea ebx, [edi + 0x180]
sub edx, dword [ebx]
mov eax, dword [esi + 4]
sbb eax, dword [ebx + 4]
push 0
push 0x3e8
push eax
push edx
call fcn.1010acd0
push dword [edi + 0x1c4]
push dword [edi + 0x1c0]
push edx
push eax
call fcn.10155670
test edx, edx
jl 0x100412fa
jg 0x100412e0
cmp eax, 0x3e8
jbe 0x100412fa
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.100541d0
mov dword [edi + 0xc], eax
mov eax, dword [0x101c6b6c]
mov dword [edi + 0x15c], eax
mov eax, dword [edi + 0xc]
pop edi
pop esi
pop ebx
ret
Function at 0x10044990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], edi
mov dword [esi + 8], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov al, byte [ebx + 0x6012]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
movsd qword [ebp - 0x54], xmm0
movsd qword [ebp - 0x3c], xmm0
mov byte [ebp - 0x29], al
test al, al
je 0x10044b50
push edi
mov ecx, ebx
call fcn.10044520
test al, al
je 0x10044a0c
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100448b0
test al, al
je 0x10044b64
jmp 0x10044af5
mov al, byte [ebp - 0x29]
cmp al, 0x28
jne 0x10044a57
mov dword [ebp - 0x4c], 0x14
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [esi + 8]
inc edi
mov dword [ebp - 0x30], edi
cmp eax, 0x3e8
je 0x10044bb2
movups xmm0, xmmword [ebp - 0x4c]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
lea eax, [eax + eax*2]
movups xmmword [esi + eax*8 + 0x10], xmm0
movsd xmm0, qword [ebp - 0x54]
jmp 0x10044b23
cmp al, 0x29
jne 0x10044a72
mov dword [ebp - 0x4c], 0x28
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
jmp 0x10044a28
movsx eax, byte [ebx + edi + 0x6012]
push eax
push 0x101834d0
mov dword [ebp - 0x58], eax
call fcn.1012a410
add esp, 8
test eax, eax
je 0x10044a93
mov al, 1
jmp 0x10044aa3
push dword [ebp - 0x58]
call fcn.10132e68
add esp, 4
test eax, eax
setne al
test al, al
je 0x10044b38
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100445d0
test al, al
je 0x10044b8b
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100447f0
test al, al
je 0x10044b8b
mov eax, dword [ebp - 0x4c]
add eax, 0xffffffeb
cmp eax, 0x12
ja 0x10044aeb
dec dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0
jl 0x10044b77
mov eax, dword [esi + 8]
cmp eax, 0x3e8
je 0x10044bb2
movups xmm0, xmmword [ebp - 0x4c]
mov edi, dword [ebp - 0x30]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
lea eax, [eax + eax*2]
movups xmmword [esi + eax*8 + 0x10], xmm0
movsd xmm0, qword [ebp - 0x3c]
movsd qword [ebp - 0x54], xmm0
movq qword [esi + eax*8 + 0x20], xmm0
mov ecx, 0x3e8
mov eax, dword [esi + 4]
inc eax
cdq
idiv ecx
mov dword [esi + 4], edx
mov al, byte [ebx + edi + 0x6012]
mov byte [ebp - 0x29], al
test al, al
jne 0x100449e0
cmp dword [ebp - 0x34], 1
je 0x10044b64
mov dword [ebx + 0x6208], 2
mov dword [ebx + 0x620c], 0x13e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x6208], 2
mov dword [ebx + 0x620c], 0x109
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 0x6208], 8
xor ecx, ebp
mov dword [ebx + 0x620c], 0x134
pop ebx
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 4
push str.Queue_overflow_
push 0x101c4168
call fcn.10045320
push eax
call fcn.100455c0
add esp, 0xc
push 1
call fcn.101385f0
int3
Function at 0x10045090
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x7d38
call fcn.1010b250
mov eax, dword [0x101b90ec]
xor eax, esp
mov dword [esp + 0x7d34], eax
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x1f68]
push 0x5dd0
push edi
push eax
call fcn.1012ae30
mov ecx, dword [esp + 0x1f7c]
or esi, 0xffffffff
add esp, 0xc
mov dword [esp + 0x1f60], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0
test ecx, ecx
jle 0x100452cc
mov dword [esp + 0x10], 0x3e8
test ecx, ecx
je 0x100452c5
mov edx, dword [esp + 0x1f68]
dec ecx
lea eax, [edx + edx*2]
movups xmm3, xmmword [esp + eax*8 + 0x1f78]
movq xmm2, qword [esp + eax*8 + 0x1f88]
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x10]
movd eax, xmm3
mov dword [esp + 0x1f70], ecx
mov dword [esp + 0x1f68], edx
cmp eax, 0x14
jge 0x10045175
test eax, eax
jne 0x1004515b
cmp esi, 0x3e7
je 0x100452f6
inc esi
mov dword [esp + 0x1f60], esi
movsd qword [esp + esi*8 + 0x20], xmm2
jmp 0x1004524b
cmp esi, 0x3e7
je 0x100452f6
movsd xmm0, qword [edi + eax*8 + 0x5dd0]
jmp 0x1004523d
cmp eax, 0x28
jle 0x100451e1
cmp esi, 0xffffffff
je 0x10045294
movsd xmm0, qword [esp + esi*8 + 0x20]
mov ecx, eax
dec esi
sub ecx, 0x29
je 0x100451d8
sub ecx, 1
je 0x1004522a
cmp eax, 0x32
jle 0x100451bf
mov eax, dword [eax*4 + 0x101835a4]
sub esp, 8
movsd qword [esp], xmm0
call eax
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
add esp, 8
jmp 0x1004522a
mov dword [edi + 0x6208], 8
xorps xmm0, xmm0
mov dword [edi + 0x620c], 0x1b9
jmp 0x1004522a
xorps xmm0, xmmword [0x10197490]
jmp 0x1004522a
add eax, 0xffffffeb
cmp eax, 0x12
ja 0x10045252
cmp esi, 0xffffffff
je 0x10045294
movsd xmm1, qword [esp + esi*8 + 0x20]
dec esi
mov dword [esp + 0x1f60], esi
cmp esi, 0xffffffff
je 0x10045294
movsd xmm0, qword [esp + esi*8 + 0x20]
sub esp, 0x18
mov eax, esp
mov ecx, edi
dec esi
movups xmmword [eax], xmm3
movq qword [eax + 0x10], xmm2
movaps xmm3, xmm1
movaps xmm2, xmm0
call fcn.10044fd0
cmp esi, 0x3e7
je 0x100452f6
mov ecx, dword [esp + 0x1f70]
inc esi
mov dword [esp + 0x1f60], esi
movsd qword [esp + esi*8 + 0x20], xmm0
mov esi, dword [esp + 0x1f60]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x14]
jl 0x100450f5
cmp esi, 0xffffffff
je 0x100452cc
movsd xmm0, qword [esp + esi*8 + 0x20]
dec esi
movsd qword [edi + 0x5dd0], xmm0
cmp esi, 0xffffffff
jne 0x1004529b
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x7d34]
xor ecx, esp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
push str.Attempt_to_pop_an_empty_stack_
jmp 0x100452fb
mov dword [edi + 0x6208], 3
xor al, al
mov dword [edi + 0x620c], 0x1ee
pop edi
pop esi
mov ecx, dword [esp + 0x7d34]
xor ecx, esp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
push str.Deleting_from_an_empty_queue_
jmp 0x100452fb
mov ecx, dword [esp + 0x7d3c]
xor al, al
mov dword [edi + 0x6208], 9
mov dword [edi + 0x620c], 0x1f3
pop edi
pop esi
xor ecx, esp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
push str.Stack_overflow_
push 0x101c4168
call fcn.10045320
push eax
call fcn.100455c0
add esp, 0xc
push 1
call fcn.101385f0
int3
Function at 0x100472e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101574a6
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x22c
lea eax, [ebp - 0x680]
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10047351
xor eax, eax
jmp 0x100473c5
lea eax, [ebp - 0x680]
mov dword [ebp - 0x680], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100473b9
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
xor eax, eax
movzx ecx, word [ebp + eax - 0x65c]
lea eax, [eax + 2]
mov word [ebp + eax - 0x21a], cx
test cx, cx
jne 0x10047375
lea eax, [ebp - 0x218]
push eax
call fcn.10138909
add esp, 4
lea ecx, [ebp - 0x218]
call fcn.10047230
test al, al
jne 0x100473e1
lea eax, [ebp - 0x680]
push eax
push esi
call edi
test eax, eax
jne 0x10047373
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
push dword [ebp - 0x678]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
sub esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esp
mov dword [ebp - 0x684], esp
push eax
call fcn.10041a60
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.10041a60
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 0xffffffff
call fcn.1004b420
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.10049690
lea ecx, [ebp - 0x450]
call fcn.10047480
jmp 0x100473c0

Function at 0x10048250
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfac
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x7d0
lea eax, [ebp - 0xfa8]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0xfa8]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x10048282
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x100482bc
sub esp, 8
lea ecx, [ebp - 0xfa8]
call fcn.10048330
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x100482d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100482e0
sub ecx, edx
sar ecx, 1
jne 0x100482f8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x10048323
sub esp, 8
mov ecx, esi
call fcn.10048330
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10048330
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10157690
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x94
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x44
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.1012b3b0
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0x44
xor eax, eax
mov dword [ebp - 0x18], 7
add esp, 0xc
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
cmp word [esi], ax
jne 0x100483c8
xor ecx, ecx
jmp 0x100483df
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100483d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10041f70
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1004841c
xor esi, esi
jmp 0x10048431
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
mov esi, 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x10048446
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042110
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp ecx, 8
jb 0x1004846f
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10042110
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10048b00
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x160c
call fcn.1010b250
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x160c], ebx
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push 0x10183490
push eax
call fcn.1004b400
lea ecx, [ebp - 0x210]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10048b56
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
jle 0x10048b84
cmp word [ebp + ecx*2 - 0x212], 0x5c
je 0x10048b84
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x210], ax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0xbe8]
push 0x10183a10
push eax
call fcn.1004b400
add esp, 0xc
lea eax, [ebp - 0x1608]
push eax
lea eax, [ebp - 0xbe8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10048c8a
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop word [eax + eax]
lea eax, [ebp - 0x1608]
push eax
push esi
call edi
test eax, eax
je 0x10048c84
cmp word [ebp - 0x15dc], 0x2e
je 0x10048bd0
mov ax, word [ebp - 0x15da]
test ax, ax
je 0x10048bd0
cmp ax, 0x2e
jne 0x10048c08
cmp word [ebp - 0x15d8], 0
je 0x10048bd0
test byte [ebp - 0x1608], 0x10
je 0x10048c54
push 0x208
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x15dc]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push str._s_s_
push eax
call fcn.1004b400
add esp, 0x10
lea ecx, [ebp - 0x418]
call fcn.10048b00
lea eax, [ebp - 0x15dc]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x13b8]
push 0x10183440
push eax
call fcn.1004b400
add esp, 0x10
lea eax, [ebp - 0x13b8]
push eax
call ebx
jmp 0x10048bd0
mov ebx, dword [ebp - 0x160c]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10109ec2
mov esp, ebp
pop ebp
ret