joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
test al, 0xf
je 0x49d379
mov eax, 0xffffffda
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x49d4a9
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
test edx, edx
jne 0x49d405
mov ebx, dword [ebp + 0x10]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 0xc], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
movups xmm2, xmmword [ebx]
push esi
push ebx
call fcn.0049d160
add esp, 8
cmp esi, dword [ebp - 0xc]
ja 0x49d3da
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0xc]
jb 0x49d3da
mov ecx, esi
mov edx, 0x10
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x49d3c7
mov eax, dword [ebp + 0xc]
jmp 0x49d3ea
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 8], 1
movups xmmword [eax], xmm2
jne 0x49d3a3
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 8], esi
inc edx
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], edx
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x49d42e
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x49d43c
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x49d46a
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x49d46a
mov ebx, esi
mov eax, edi
mov esi, dword [ebp + 8]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [ebx + eax - 1], cl
sub edx, 1
jne 0x49d450
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 8]
jmp 0x49d477
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
mov ecx, dword [ebp - 4]
push esi
push esi
call fcn.0049d160
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0xc]
sub ebx, 0x10
add esi, 0x10
mov dword [ebp + 8], ebx
add esp, 8
mov dword [ebp - 8], esi
add edi, 0x10
sub dword [ebp - 0xc], 1
movups xmmword [ecx], xmm0
jne 0x49d420
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x49d800
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x49d82c
mov eax, dword [esi]
xor ecx, ecx
push 0x208
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call fcn.00525340
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x49d898
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x49d866
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00403df0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8

Function at 0x4a2740
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a279
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
mov dword [ebp - 0x1c], edi
lea esi, [edi + 4]
mov al, byte [ebp - 0x10]
mov byte [ebp - 0x10], al
push 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
push 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004170b0
mov dword [esi], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 2
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.00413a60
lea edi, [ebx + 0x2c]
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
mov dword [edi + 0x30], 0
call esi
lea ecx, [edi + 0x18]
push ecx
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2aa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x10], eax
mov esi, ebx
push edi
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x4a2acf
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4a2af1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4a2ae0
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x18]
and eax, edx
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov dword [ebp - 8], esi
mov ecx, dword [edx + eax*8]
add eax, eax
mov edi, dword [edx + eax*4]
inc eax
mov dword [ebp - 0x14], edi
lea eax, [edx + eax*4]
mov dword [ebp - 0x18], eax
cmp edi, esi
jne 0x4a2b1c
mov eax, esi
jmp 0x4a2b20
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x4a2be6
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4a2b32
mov eax, dword [ebx]
mov esi, dword [ecx + 0x1c]
lea edi, [ecx + 8]
mov dword [ebp - 0x1c], esi
cmp esi, 8
mov esi, dword [ebp - 8]
jb 0x4a2b46
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x20], edx
cmp edx, dword [ebp - 0xc]
jne 0x4a2bbe
mov esi, edx
test edx, edx
je 0x4a2b71
sub edi, eax
nop dword [eax]
mov dx, word [eax + edi]
cmp dx, word [eax]
jne 0x4a2bbb
add eax, 2
sub esi, 1
jne 0x4a2b60
cmp dword [ebp - 0x1c], 8
lea edx, [ecx + 8]
jb 0x4a2b7c
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
jb 0x4a2b84
mov ebx, dword [ebx]
mov esi, dword [ebp - 0xc]
cmp esi, dword [ebp - 0x20]
jne 0x4a2bcb
test esi, esi
je 0x4a2bce
sub ebx, edx
mov ax, word [edx + ebx]
cmp ax, word [edx]
jne 0x4a2bcb
add edx, 2
sub esi, 1
jne 0x4a2b92
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 8]
mov ecx, dword [ecx]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x4a2b14
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8
Function at 0x4a2d70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x1c], 8
lea edx, [ebx + 8]
push esi
push edi
mov edi, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x4a2d9d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add edi, edi
je 0x4a2db9
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x4a2da8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], ebx
jne 0x4a2df2
cmp eax, ebx
jne 0x4a2dea
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x4a2dfa
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
jmp 0x4a2dfa
cmp eax, ebx
jne 0x4a2dfd
mov eax, dword [ebx]
mov dword [ecx], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
mov dword [eax], esi
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
lea ecx, [ebx + 0x20]
dec dword [edx + 8]
call fcn.00403d90
lea ecx, [ebx + 8]
call fcn.00403d90
push 0x38
push ebx
call fcn.0051ec14
mov eax, dword [ebp - 0xc]
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
mov dword [eax], esi
pop esi
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 8

Function at 0x4a2f20
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x811c9dc5
mov esi, edi
cmp dword [edi + 0x14], 8
jb 0x4a2f34
mov esi, dword [edi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4a2f3e
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
lea eax, [ecx + eax*2]
cmp esi, eax
je 0x4a2f64
movzx eax, word [esi]
push eax
call fcn.005367ec
movzx eax, ax
add esp, 4
xor eax, ebx
imul ebx, eax, 0x1000193
add esi, 2
jmp 0x4a2f34
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4a4040
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a468
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 4
xor eax, eax
mov dword [ebp - 0x54], 0
push str..lnk
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.00403df0
lea edx, [ebp - 0x64]
mov ecx, edi
call fcn.00418670
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.00403d90
cmp esi, 0xffffffff
je 0x4a4233
sub esp, 0x28
lea ecx, [ebp - 0x18]
mov eax, esp
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x40]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_c00d745d7a014c9160c777336af07d0a___void___.0
mov dword [eax + 0x24], eax
call fcn.00420640
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x48], 0
jb 0x4a40e6
mov edi, dword [edi]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c1bc4]
cmp eax, dword [ecx + 4]
jle 0x4a413a
push 0x5c1bc4
call fcn.0051eddf
add esp, 4
cmp dword [0x5c1bc4], 0xffffffff
jne 0x4a413a
push str.SHCreateItemFromParsingName
push 0x5941f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5c1bc4
mov dword [0x5c1bc8], eax
call fcn.0051ed95
add esp, 4
mov eax, dword [0x5c1bc8]
test eax, eax
je 0x4a4204
lea ecx, [ebp - 0x48]
push ecx
push 0x594190
push 0
push edi
call eax
mov edi, dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
cmp esi, 0x800401f0
jne 0x4a4183
push 0
call edi
mov esi, eax
test esi, esi
js 0x4a4204
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
test esi, esi
js 0x4a4204
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x44]
push eax
push 0x5941a0
push 1
push 0
push 0x5618a0
mov dword [ebp - 0x44], 0
call esi
cmp eax, 0x800401f0
jne 0x4a41e2
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
jne 0x4a41fb
push eax
call edi
test eax, eax
js 0x4a4204
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
push eax
push 0x5941a0
push 1
push 0
push 0x5618a0
mov dword [ebp - 0x14], 0
call esi
test eax, eax
js 0x4a41fb
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4a424e
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4a4233
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
call fcn.00509d72
int3
Function at 0x4a4d40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a606
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5b706c]
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
cmp dword [ecx + 0x10], 0
jne 0x4a4d7e
mov eax, 3
jmp 0x4a4f3a
mov edx, ecx
lea ecx, [ebp - 0x28]
call fcn.004b09d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
push 3
xor eax, eax
mov dword [ebp - 0x298], 0
push 0x594218
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
call fcn.00403df0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x2a8]
mov ecx, eax
call fcn.0041f0e0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
call fcn.00403d90
push 0x250
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.00525340
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a4e30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4a4f30
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, 0x2e
nop dword [eax + eax]
cmp bx, word [ebp - 0x264]
jne 0x4a4e6f
mov ax, word [ebp - 0x262]
xor ecx, ecx
cmp cx, ax
je 0x4a4f15
cmp bx, ax
jne 0x4a4e6f
xor eax, eax
cmp ax, word [ebp - 0x260]
je 0x4a4f15
test dword [ebp - 0x290], 0x400
jne 0x4a4f15
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x298], eax
mov word [ebp - 0x2a8], ax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x294], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a4eb7
sub eax, edx
lea ecx, [ebp - 0x2a8]
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00403df0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x2a8]
push eax
call fcn.0041f0e0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a8]
call fcn.00403d90
lea ecx, [ebp - 0x40]
call fcn.004a46d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00403d90
lea eax, [ebp - 0x290]
push eax
push esi
call edi
test eax, eax
jne 0x4a4e40
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.00403d90
mov eax, esi
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.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x4a6630
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
push edi
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4a6652
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a66b9
cmp dword [esi + 0x10], 0xf4
jbe 0x4a66b9
call fcn.004b0920
mov edx, eax
mov ecx, esi
call fcn.004a2e90
test al, al
jne 0x4a66b9
mov edx, esi
lea ecx, [esp + 0xc]
call fcn.004b09d0
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00403d90
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x4a66d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
mov dword [esp + 4], edx
push edi
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4a66f6
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
test edi, edi
jne 0x4a6750
cmp dword [esi + 0x10], 0xf4
jbe 0x4a674e
call fcn.004b0920
mov edx, eax
mov ecx, esi
call fcn.004a2e90
test al, al
jne 0x4a674e
mov edx, esi
lea ecx, [esp + 0xc]
call fcn.004b09d0
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push dword [esp + 8]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00403d90
test edi, edi
mov ecx, dword [esp + 0x24]
setne al
pop edi
pop esi
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x4a6770
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0xf4
jbe 0x4a67e6
call fcn.004b0920
mov edx, eax
mov ecx, esi
call fcn.004a2e90
test al, al
jne 0x4a67e6
mov edx, esi
lea ecx, [esp + 0xc]
call fcn.004b09d0
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea ecx, [esp + 0xc]
setne bl
call fcn.00403d90
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x4a67ee
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x24]
test eax, eax
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x4a6810
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0xf4
jbe 0x4a6884
call fcn.004b0920
mov edx, eax
mov ecx, esi
call fcn.004a2e90
test al, al
jne 0x4a6884
mov edx, esi
lea ecx, [esp + 0xc]
call fcn.004b09d0
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
lea ecx, [esp + 0xc]
setne bl
call fcn.00403d90
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x4a688c
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x24]
test eax, eax
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x4a68b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0xf4
jbe 0x4a6924
call fcn.004b0920
mov edx, eax
mov ecx, esi
call fcn.004a2e90
test al, al
jne 0x4a6924
mov edx, esi
lea ecx, [esp + 0xc]
call fcn.004b09d0
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
lea ecx, [esp + 0xc]
setne bl
call fcn.00403d90
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x4a692c
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x24]
test eax, eax
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x4ae790
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x20]
push esi
push edi
push 0x40
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
push 0
push eax
movups xmmword [ebx], xmm0
call fcn.00525340
mov esi, dword [ebp + 0xc]
add esp, 0xc
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
test esi, esi
jne 0x4ae803
test edi, edi
je 0x4ae847
mov ecx, dword [esp + 0xc]
test edi, edi
jne 0x4ae815
mov ebx, esi
cmp esi, 0x7fffffff
jbe 0x4ae81a
mov ebx, closesocket
mov edx, ecx
lea ecx, [esp + 0x10]
push ebx
call fcn.004b0790
mov ecx, dword [esp + 0x10]
mov eax, esi
add ecx, eax
add esp, 4
mov eax, ebx
mov dword [esp + 0xc], ecx
cdq
sub esi, eax
sbb edi, edx
test esi, esi
jne 0x4ae807
test edi, edi
jne 0x4ae815
mov ebx, dword [ebp + 8]
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.004b0870
mov ecx, dword [esp + 0x6c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x4ae870
Capabilities:
Hash data with md5

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 0x55aec0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x107c
call fcn.0051fbc0
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
cmp dword [esi + 0x5c], 0
movups xmmword [ebp - 0x1038], xmm0
movq qword [ebp - 0x1028], xmm0
jne 0x4ae8e6
mov eax, dword [ebx + 8]
movups xmmword [eax], xmm0
jmp 0x4ae9e1
sub esp, 0xc
mov ecx, esi
call fcn.0041ec70
push 0x40
lea eax, [ebp - 0x1078]
push 0
push eax
call fcn.00525340
mov edi, dword [ebp - 0x1024]
add esp, 0xc
mov dword [ebp - 0x108c], 0
mov dword [ebp - 0x1090], 0
mov dword [ebp - 0x1088], 0x67452301
mov dword [ebp - 0x1084], 0xefcdab89
mov dword [ebp - 0x1080], 0x98badcfe
mov dword [ebp - 0x107c], 0x10325476
nop word [eax + eax]
push 0
push 0x1000
lea eax, [ebp - 0x1020]
mov ecx, esi
push eax
call fcn.0041ed70
mov eax, dword [esi + 8]
lea edx, [ebp - 0x1020]
add dword [ebp - 0x1028], eax
lea ecx, [ebp - 0x1090]
push eax
adc edi, dword [esi + 0xc]
mov dword [ebp - 0x1024], edi
call fcn.004b0790
add esp, 4
cmp dword [esi + 8], 0x1000
jne 0x4ae99b
cmp dword [esi + 0xc], 0
je 0x4ae950
lea edx, [ebp - 0x1038]
lea ecx, [ebp - 0x1090]
call fcn.004b0870
jmp 0x4ae9cc
mov eax, dword [ebx + 8]
movups xmm0, xmmword [ebp - 0x1038]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1028]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret