joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40604c], 1
mov dword [0x406050], 1
mov dword [0x406054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40140b
mov eax, 0
jmp 0x4014a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40142e
mov eax, 0
jmp 0x4014a5
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401450
cmp eax, 0x20b
je 0x401475
jmp 0x4014a0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401462
mov eax, 0
jmp 0x4014a5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014a5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x40148d
mov eax, 0
jmp 0x4014a5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014a5
mov eax, 0
leave
ret

Function at 0x401914
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
call sym._abort

Function at 0x4024e8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x402507
mov eax, 0
jmp 0x40254b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40252a
mov eax, 0
jmp 0x40254b
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x402546
mov eax, 0
jmp 0x40254b
mov eax, 1
leave
ret
Function at 0x40254d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x4025ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x4025a4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4025a4
mov eax, dword [ebp - 4]
jmp 0x4025c0
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x402581
mov eax, 0
leave
ret
Function at 0x1000bc80
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 0x104
mov eax, dword [esi]
push eax
push 0x100192c8
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x100192c8
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
push 0x1000bc50
push 0x100192c8
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
push 1
push 0
push 2
mov dword [0x100192bc], eax
call fcn.1000bbf0
push 0
push 0
push 4
call fcn.1000bbf0
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1000cac0
push 0
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x1000c590
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x100176f4], eax
push 0
push 0
call fcn.1000b9d0
add esp, 8
push 0x3e8
call esi
jmp 0x1000bd16

Function at 0x1000bd30
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [0x100192b8], eax
jne 0x1000bd4b
pop ecx
ret
mov ecx, dword [esp + 8]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push 2
push 0x110
push 0xf01ff
push 0x10017778
push str.OvkhbnFfkmkiqsWjh
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
mov dword [0x100192b4], eax
jne 0x1000bd84
pop ecx
ret
mov edx, dword [0x100192b8]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov ecx, dword [0x100192b4]
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], str.NkkbhrEhgwqee_RpzlggszWii
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x1000bdc0
Capabilities:
Modify service

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0xf003f
push str.OvkhbnFfkmkiqsWjh
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], CancelIo
mov dword [esp + 0x28], 0x3e8
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
lea edx, [esp + 0xc]
push edx
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
mov ecx, 0x511a6a1a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..data_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x63e2006f
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219

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 0x10003c8a
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
je 0x10003c98
xor eax, eax
inc eax
pop esi
ret
push str.windlgctl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x40], eax
test eax, eax
jne 0x10003cae
xor eax, eax
pop esi
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._MarqueeShow_CDialogCtrlAPI__SGHPAU_GUID__PAUHWND____HPB_W2_Z
push eax
call edi
push str._Show_CDialogCtrlAPI__SGHPAU_GUID__PAUHWND____HPB_W2HHH_Z
push dword [esi + 0x40]
mov dword [esi + 4], eax
call edi
mov ebx, str._Stop_CDialogCtrlAPI__SGXPAU_GUID___Z
push ebx
push dword [esi + 0x40]
mov dword [esi + 8], eax
call edi
push str._Update_CDialogCtrlAPI__SGHPAU_GUID__PB_W1H_Z
push dword [esi + 0x40]
mov dword [esi + 0xc], eax
call edi
push str._TipShow_CDialogCtrlAPI__SGHPAU_GUID__PAUHWND____HPB_W2_Z
push dword [esi + 0x40]
mov dword [esi + 0x10], eax
call edi
push ebx
push dword [esi + 0x40]
mov dword [esi + 0x1c], eax
call edi
push str._OutSendShow_CDialogCtrlAPI__SGHPAUHWND_____Z
push dword [esi + 0x40]
mov dword [esi + 0x20], eax
call edi
push str._OutSendStop_CDialogCtrlAPI__SGXXZ
push dword [esi + 0x40]
mov dword [esi + 0x14], eax
call edi
push str._SCDTOutSendShow_CDialogCtrlAPI__SGHKPAUHWND_____Z
push dword [esi + 0x40]
mov dword [esi + 0x18], eax
call edi
push str._GetMsg_CDialogCtrlAPI__SGHKKPAPA_WPAK_Z
push dword [esi + 0x40]
mov dword [esi + 0x24], eax
call edi
push str._FreeBuff_CDialogCtrlAPI__SGXPAX_Z
push dword [esi + 0x40]
mov dword [esi + 0x28], eax
call edi
push str._DWMGetFailedCfgInfo_CDialogCtrlAPI__SGHPAHPAPA_WPAK_Z
push dword [esi + 0x40]
mov dword [esi + 0x2c], eax
call edi
push str._DWMAddFailedInfo_CDialogCtrlAPI__SGHPB_WKKK_Z
push dword [esi + 0x40]
mov dword [esi + 0x30], eax
call edi
push str._DWMAddFailedInfo_CDialogCtrlAPI__SGHPB_WKKKK_Z
push dword [esi + 0x40]
mov dword [esi + 0x34], eax
call edi
push str._DWMFailedShow_CDialogCtrlAPI__SGHPAUHWND____PB_W_Z
push dword [esi + 0x40]
mov dword [esi + 0x38], eax
call edi
xor ecx, ecx
pop edi
mov dword [esi + 0x3c], eax
pop ebx
cmp dword [esi + 4], ecx
jne 0x10003dbf
cmp dword [esi + 0xc], ecx
jne 0x10003dbf
cmp dword [esi + 8], ecx
jne 0x10003dbf
cmp dword [esi + 0x10], ecx
jne 0x10003dbf
cmp dword [esi + 0x1c], ecx
jne 0x10003dbf
cmp dword [esi + 0x24], ecx
jne 0x10003dbf
cmp dword [esi + 0x18], ecx
jne 0x10003dbf
cmp dword [esi + 0x28], ecx
jne 0x10003dbf
cmp dword [esi + 0x2c], ecx
jne 0x10003dbf
cmp dword [esi + 0x30], ecx
jne 0x10003dbf
cmp dword [esi + 0x34], ecx
jne 0x10003dbf
cmp eax, ecx
jne 0x10003dbf
mov ecx, esi
call fcn.10003c35
jmp 0x10003caa
xor eax, eax
inc eax
mov dword [esi + 0x44], eax
pop esi
ret
Function at 0x1000945c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebx + ebx]
push eax
push 0
push esi
mov dword [ebp - 0xd0], esi
call fcn.10093270
add esp, 0xc
call fcn.100eb990
test eax, eax
je 0x1000951d
push 0x41
push 0
push 1
push str.default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
xor eax, eax
test esi, esi
je 0x1000959b
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.10093270
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
push 0x1000939e
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
lea eax, [ebp - 0xcc]
push eax
call fcn.10093856
pop ecx
cmp eax, ebx
jb 0x10009504
xor eax, eax
jmp 0x1000959b
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd0]
call fcn.100937c1
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1000959b
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.10093270
add esp, 0xc
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xd4], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x1000957e
lea eax, [ebp - 0xcc]
push eax
call fcn.10093856
pop ecx
cmp eax, ebx
jae 0x100094fd
lea eax, [ebp - 0xcc]
push eax
push esi
jmp 0x10009511
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4dd
jne 0x10009595
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret

Function at 0x1000985a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x10009918
cmp ebx, esi
je 0x10009918
cmp dword [ebp + 0x10], esi
je 0x10009918
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10093270
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push edi
call fcn.1001b00a
lea eax, [ebp - 0x20c]
push eax
call fcn.10093856
add esp, 0x20
test eax, eax
je 0x10009918
push esi
push esi
push 2
push esi
push esi
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009914
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x210], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1000991a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret
Function at 0x10009929
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.10093d00
mov edi, dword [ebp + 0xc]
pop ecx
mov ebx, eax
mov eax, 0x1f3
push edi
sub eax, ebx
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x10009963
xor eax, eax
inc eax
jmp 0x10009a01
mov dword [ebp - 4], 1
test byte [edi], 0x10
je 0x100099c5
lea ecx, [edi + 0x2c]
cmp byte [ecx], 0x2e
jne 0x10009988
mov al, byte [edi + 0x2d]
cmp al, 0x2e
jne 0x10009984
cmp byte [edi + 0x2e], 0
je 0x100099dd
test al, al
je 0x100099dd
push ecx
call fcn.10093d00
inc eax
pop ecx
cmp dword [ebp - 0xc], eax
jb 0x100099dd
lea eax, [edi + 0x2c]
push eax
push esi
mov byte [ebx + esi - 1], 0
call fcn.10093c10
push 0x101dadf0
push esi
call fcn.10093c10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
call fcn.10009929
add esp, 0x20
mov byte [ebx + esi], 0
jmp 0x100099d5
push dword [ebp + 0x14]
lea eax, [edi + 0x2c]
push eax
push esi
mov byte [ebx + esi - 1], 0
call dword [ebp + 0x10]
mov byte [ebx + esi - 1], 0x2a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100099f5
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000996a
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10009a06
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.10093856
mov edi, dword [ebp + 0xc]
pop ecx
mov ebx, eax
mov eax, 0x1f3
push edi
sub eax, ebx
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x10009a40
xor eax, eax
inc eax
jmp 0x10009af8
mov dword [ebp - 4], 1
test byte [edi], 0x10
je 0x10009ab7
lea ecx, [edi + 0x2c]
cmp word [ecx], 0x2e
jne 0x10009a6b
movzx eax, word [edi + 0x2e]
cmp ax, 0x2e
jne 0x10009a66
cmp word [edi + 0x30], 0
je 0x10009ad4
test ax, ax
je 0x10009ad4
push ecx
call fcn.10093856
inc eax
pop ecx
cmp dword [ebp - 0xc], eax
jb 0x10009ad4
xor eax, eax
mov word [esi + ebx*2 - 2], ax
lea eax, [edi + 0x2c]
push eax
push esi
call fcn.10093793
push 0x101dadf4
push esi
call fcn.10093793
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
call fcn.10009a06
add esp, 0x20
mov dword [ebp - 4], eax
push 0x2a
pop eax
mov word [esi + ebx*2 - 2], ax
xor eax, eax
mov word [esi + ebx*2], ax
jmp 0x10009ad4
push dword [ebp + 0x14]
xor eax, eax
mov word [esi + ebx*2 - 2], ax
lea eax, [edi + 0x2c]
push eax
push esi
call dword [ebp + 0x10]
push 0x2a
mov dword [ebp - 4], eax
pop eax
mov word [esi + ebx*2 - 2], ax
cmp dword [ebp - 4], 0
je 0x10009aec
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10009a47
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a1ee
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x1000a3a1
push edi
call fcn.10093856
pop ecx
test eax, eax
je 0x1000a3a1
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x1000a3a1
test al, 1
je 0x1000a24a
and eax, 0xfffffffe
push eax
push edi
mov dword [ebp - 0x668], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x668], 0x10
je 0x1000a385
push esi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.10093270
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.100937c1
lea eax, [ebp - 0x414]
push 0x101dadf4
push eax
call fcn.10093793
push 0x24c
lea eax, [ebp - 0x660]
push ebx
push eax
mov dword [ebp - 0x664], ebx
call fcn.10093270
add esp, 0x28
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x1000a37b
push 0x101db278
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000a354
push 0x101db274
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000a354
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.10093270
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.100937c1
lea eax, [ebp - 0x20c]
push 0x101dad04
push eax
call fcn.10093793
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10093793
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1000a1ee
add esp, 0x2c
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000a2d0
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
jmp 0x1000a38c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x1000a3a3
cmp dword [ebp + 0xc], ebx
je 0x1000a3a3
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1000a3a3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret
Function at 0x1000a3b1
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x1000a586
push ebx
call fcn.10093856
pop ecx
test eax, eax
je 0x1000a586
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x668]
push eax
push ebx
mov dword [ebp - 0x668], esi
call fcn.10007f53
add esp, 0x1c
test eax, eax
je 0x1000a586
cmp dword [ebp - 0x668], 0xffffffff
je 0x1000a586
test byte [ebp - 0x668], 1
je 0x1000a42f
and dword [ebp - 0x668], 0xfffffffe
push dword [ebp - 0x668]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x668], 0x10
je 0x1000a56a
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
call fcn.10093270
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.100937c1
lea eax, [ebp - 0x414]
push 0x101dadf4
push eax
call fcn.10093793
push 0x24c
lea eax, [ebp - 0x660]
push esi
push eax
mov dword [ebp - 0x664], esi
call fcn.10093270
add esp, 0x28
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x1000a560
push 0x101db278
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000a539
push 0x101db274
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000a539
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10093270
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.100937c1
lea eax, [ebp - 0x20c]
push 0x101dad04
push eax
call fcn.10093793
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10093793
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1000a3b1
add esp, 0x2c
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000a4b5
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
jmp 0x1000a571
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, esi
jne 0x1000a588
cmp dword [ebp + 0xc], esi
je 0x1000a588
push 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1000a588
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret
Function at 0x1000a5db
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
call fcn.100eb9e0
test eax, eax
je 0x1000a5f8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop ebp
ret
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x1000a663
push esi
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x1000a662
push edi
lea eax, [esi + esi]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.10093270
push esi
call fcn.1005fbec
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000a661
push esi
push ebx
push edi
call fcn.10093270
add esp, 0xc
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, eax
test ebx, ebx
je 0x1000a661
push esi
push dword [ebp + 0xc]
xor ebx, ebx
push 0xffffffffffffffff
push edi
call fcn.1001afa8
add esp, 0x10
test eax, eax
je 0x1000a661
push dword [ebp + 0xc]
call fcn.10093856
pop ecx
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x1000b6dd
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov edi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], ebx
call esi
mov dword [ebp - 0x408], eax
cmp eax, 0xffffffff
jne 0x1000b723
push dword [ebp + 0x10]
push ebx
push edi
jmp 0x1000b7f5
test al, 1
je 0x1000b738
and eax, 0xfffffffe
push eax
push ebx
mov dword [ebp - 0x408], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x408], 0x10
je 0x1000b7eb
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.10093270
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call edi
push eax
push ebx
mov ebx, str._s.bak_08X
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.10094933
and dword [ebp - 0x408], 0
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
jmp 0x1000b7cd
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
push eax
push dword [ebp - 0x40c]
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.10094933
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
inc dword [ebp - 0x408]
cmp dword [ebp - 0x408], 0xa
jge 0x1000b815
cmp eax, 0xffffffff
jne 0x1000b794
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [ebp - 0x40c]
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
mov esi, eax
call fcn.1000ae4e
mov eax, esi
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret
xor eax, eax
jmp 0x1000b806