joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a2d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c0], ecx
mov dword [ebp - 0x4c4], eax
test eax, eax
jne 0x1001a306
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1001a3d2
xor edi, edi
cmp word [ebp - 0x4bc], di
je 0x1001a3d2
lea esi, [ebp - 0x4bc]
xor ebx, ebx
nop word [eax + eax]
push 0x10097de8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001a3ba
push 0x10097df0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001a3ba
movzx eax, word [esi]
mov word [ebp - 0xc], ax
movzx eax, word [ebp + ebx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1001a3e5
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [ebp - 0x4c0]
mov esi, eax
push esi
lea eax, [ebp - 0xd4]
push eax
push ebx
call fcn.10064e6b
add esp, 0xc
test eax, eax
je 0x1001a3fa
add edi, 4
lea esi, [ebp - 0x4bc]
lea ebx, [edi + edi]
add esi, ebx
cmp word [esi], 0
jne 0x1001a340
push dword [ebp - 0x4c0]
mov edi, dword [ebp - 0x4c4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x4c4]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebx + esi*2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004450b
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a620
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x208
mov dword [ebp - 0x220], eax
xor ebx, ebx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], ecx
push ebx
push eax
xor edi, edi
call fcn.1005d9b0
add esp, 0xc
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], ebx
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetEnumPCI
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001a79e
push esi
mov esi, dword [ebp - 0x214]
mov dword [ebp - 0x21c], esi
nop
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc ebx
test eax, eax
jne 0x1001a77c
mov esi, dword [ebp - 0x218]
lea edi, [eax + 1]
add esi, 0x48
nop dword [eax + eax]
xor eax, eax
cmp ax, word [ebp - 0x20c]
je 0x1001a726
cmp ax, word [esi]
je 0x1001a726
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001a6f5
sub eax, edx
sar eax, 1
cmp eax, 1
jb 0x1001a726
cmp dword [ebp - 0x210], eax
jbe 0x1001a726
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10064e6b
add esp, 0xc
test eax, eax
je 0x1001a75a
inc edi
add esi, 0x40
cmp edi, 3
jb 0x1001a6e0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1005d9b0
mov esi, dword [ebp - 0x21c]
add esp, 0xc
mov dword [ebp - 0x210], 0x104
jmp 0x1001a6a0
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x220]
mov esi, dword [ebp - 0x21c]
shl edi, 6
mov eax, dword [edi + eax + 4]
mov edi, 1
mov dword [ecx], eax
jmp 0x1001a77e
xor edi, edi
test esi, esi
je 0x1001a789
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.1004450b
mov esp, ebp
pop ebp
ret 4

Function at 0x1001a810
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x288
xor bl, bl
call fcn.10065024
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001a833
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x288
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1001a86c
push esi
call fcn.100637f8
push dword [ebp - 4]
call fcn.10065024
mov esi, eax
add esp, 8
test esi, esi
je 0x1001a82b
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ecx, esi
test eax, eax
jne 0x1001a8a0
cmp dword [esi + 0x190], 3
jbe 0x1001a896
cmp byte [esi + 0x194], 0x52
jne 0x1001a896
cmp byte [esi + 0x195], 0x54
jne 0x1001a896
cmp byte [esi + 0x196], 0
je 0x1001a89e
mov esi, dword [esi]
test esi, esi
jne 0x1001a872
jmp 0x1001a8a0
mov bl, 1
test ecx, ecx
je 0x1001a8ad
push ecx
call fcn.100637f8
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a8c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push edx
push reloc.WS2_32.dll_bind
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001a8f2
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x80
call fcn.10065024
add esp, 4
mov dword [ebp - 0xc], 1
mov esi, eax
mov dword [ebp - 8], 0x50
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1001a92f
xor bl, bl
jmp 0x1001a948
push dword [ebp + 0xc]
push esi
call fcn.1005ca26
add esp, 8
movzx ebx, bl
test eax, eax
mov ecx, 1
cmovne ebx, ecx
test esi, esi
je 0x1001a955
push esi
call fcn.100637f8
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001a9c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
xor bl, bl
push 0
push eax
call fcn.1005d9b0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001aa4c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1001aa4c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x20c]
push eax
push str.vmusrvc
call fcn.1005ca26
add esp, 8
test eax, eax
jne 0x1001aa49
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x1001aa21
jmp 0x1001aa4b
mov bl, 1
pop edi
test esi, esi
je 0x1001aa57
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1004450b
mov esp, ebp
pop ebp
ret
Function at 0x1001ab50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
xor bl, bl
call fcn.1005d9b0
add esp, 0xc
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
push 0x20019
push esi
push str.SYSTEMCurrentControlSetEnumIDE
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001ac56
push edi
mov edi, dword [ebp - 0x214]
nop word [eax + eax]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
test eax, eax
jne 0x1001ac38
cmp ax, word [ebp - 0x20c]
je 0x1001ac14
cmp dword [ebp - 0x210], 0xe
jb 0x1001ac14
push 0xe
lea eax, [ebp - 0x20c]
push str.DiskVirtual_HD
push eax
call fcn.10064e6b
add esp, 0xc
test eax, eax
je 0x1001ac36
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1005d9b0
add esp, 0xc
mov dword [ebp - 0x210], 0x104
jmp 0x1001abc0
mov bl, 1
test edi, edi
je 0x1001ac43
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1004450b
mov esp, ebp
pop ebp
ret
Function at 0x1001b230
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x14], edx
mov byte [ebp - 0xc], 0
mov dword [ebp - 0xb], esi
mov dword [ebp - 0x10], esi
test ecx, ecx
je 0x1001b330
xor eax, eax
cmp ax, word [ecx]
je 0x1001b30f
push edi
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001b31e
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x1001b304
push esi
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001b304
cmp dword [ebp - 0xc], 0x701d341e
jne 0x1001b304
add ebx, 0xfffffffc
lea eax, [ebx + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1001b304
mov eax, dword [ebp - 0x14]
push 0
push 0
push 4
push edi
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001b304
mov edx, ebx
mov ecx, esi
call fcn.1001b350
test eax, eax
jns 0x1001b304
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1004450b
mov esp, ebp
pop ebp
ret

Function at 0x1001b350
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x1001b3d0
test edx, edx
je 0x1001b3d0
push esi
mov esi, edx
xor eax, eax
shr esi, 2
test esi, esi
je 0x1001b3bc
cmp esi, 8
jb 0x1001b3a5
movaps xmm2, xmmword [0x1009e1b0]
push edi
mov edi, esi
and edi, 0xfffffff8
nop word [eax + eax]
movups xmm0, xmmword [ecx + eax*4]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx + eax*4], xmm1
movups xmm0, xmmword [ecx + eax*4 + 0x10]
pxor xmm0, xmm2
movups xmmword [ecx + eax*4 + 0x10], xmm0
add eax, 8
cmp eax, edi
jb 0x1001b380
pop edi
cmp eax, esi
jae 0x1001b3bc
nop dword [eax]
xor dword [ecx + eax*4], 0xd828e8d8
inc eax
cmp eax, esi
jb 0x1001b3b0
shl eax, 2
pop esi
cmp eax, edx
jae 0x1001b3cd
xor byte [eax + ecx], 0xe3
inc eax
cmp eax, edx
jb 0x1001b3c4
xor eax, eax
ret
mov eax, 0x80004005
ret
Function at 0x1001b920
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x1001b956
push str._GetDefaultModulePath_:_outBuffer_pointer_point_to_null_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.1005d9b0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b996
sub ecx, edx
sar ecx, 1
cmp ecx, 0x400
jb 0x1001b9c9
push str.GetDefaultModulePath_:_This_buffer_is_insufficient_to_hold_the_given_path__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret
push 0x800
push 0
push esi
call fcn.1005d9b0
add esp, 8
lea eax, [ebp - 0x804]
push eax
push ecx
mov ecx, esi
call fcn.1001b3e0
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1004450b
mov esp, ebp
pop ebp
ret

Function at 0x1001d0e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081b43
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100a7070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi], 0x10098460
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
cmp dword [esi + 0x34], 0x10
jb 0x1001d13f
mov eax, dword [esi + 0x20]
jmp 0x1001d142
lea eax, [esi + 0x20]
mov byte [eax], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [esi], 0x100984c4
lea ecx, [eax + 0x14]
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 0xc], 0
mov dword [eax], 0x1009850c
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1001d1b3
mov ecx, dword [ecx]
mov byte [ecx], 0
lea ecx, [eax + 0x2c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1001d1cf
mov ecx, dword [ecx]
mov byte [ecx], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x48], eax
mov dword [eax + 0x44], eax
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
cmp byte [edi], 0
jne 0x1001d1fd
xor ecx, ecx
jmp 0x1001d20b
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d202
sub ecx, ebx
push ecx
push edi
lea ecx, [esi + 0x20]
call fcn.1001e800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10022fa0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008217b
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x100a7070]
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
mov dword [ebp - 0x644], edi
push 0x20a
lea eax, [ebp - 0x638]
mov dword [ebp - 0x64c], 0
push 0
push eax
call fcn.1005d9b0
push 0x20a
lea eax, [ebp - 0x42c]
push 0
push eax
call fcn.1005d9b0
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 0
push 0
push eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x63c], 0
call fcn.1005d9b0
add esp, 0x24
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [0x1009bae0]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1009bae4]
mov dword [ebp - 0x14], eax
mov ax, word [ebp - 0x220]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x42c]
push 0x105
push eax
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x63c]
push eax
push 0x105
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10023147
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x100230ba
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x100230cf
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x100230d1
call edx
add eax, 0x10
mov dword [ebp - 0x640], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x640]
push dword [ebp - 0x63c]
push 0x1009bae8
push eax
call fcn.10019dc0
mov esi, dword [ebp - 0x640]
add esp, 0xc
add esi, 0xfffffff0
mov ecx, esi
call fcn.1002e110
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10023153
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x10023143
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10023153
call edx
jmp 0x10023153
push 0x10098290
mov ecx, edi
call fcn.100183a0
mov eax, edi
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.1004450b
mov esp, ebp
pop ebp
ret
Function at 0x100243e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100822b0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100a7070]
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, edx
mov esi, ecx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb0], 0
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x10024443
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x10024458
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x1002445a
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, dword [edi]
mov dword [ebp - 0xb0], 1
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x100245a7
push eax
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], 0x67452301
mov dword [ebp - 0xa8], 0xefcdab89
mov dword [ebp - 0xa4], 0x98badcfe
mov dword [ebp - 0xa0], 0x10325476
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1001e800
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xac]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10023920
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xac]
call fcn.100239d0
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x10024542
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10024527
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019790
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1001ebe0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1002455b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10019790
cmp dword [ebp - 0x18], 0
je 0x10024592
cmp dword [ebp - 0x14], 0x10
jb 0x10024572
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x10024575
xor ecx, ecx
jmp 0x10024589
lea edx, [ebp - 0x28]
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024580
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10019c10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100245a7
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10019790
mov eax, esi
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.1004450b
mov esp, ebp
pop ebp
ret
Function at 0x10024660
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xfc], ecx
movzx edx, byte [esi + str.80_]
mov eax, edx
and edx, 7
shr eax, 3
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x1009d000]
movzx edx, byte [esi + 0x1009d011]
test eax, ecx
setne al
mov byte [ebp + esi - 0x3c], al
mov eax, edx
shr eax, 3
and edx, 7
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x1009d000]
movzx edx, byte [esi + 0x1009d012]
test eax, ecx
setne al
mov byte [ebp + esi - 0x3b], al
mov eax, edx
shr eax, 3
and edx, 7
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x1009d000]
movzx edx, byte [esi + 0x1009d013]
test eax, ecx
setne al
mov byte [ebp + esi - 0x3a], al
mov eax, edx
shr eax, 3
and edx, 7
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x1009d000]
test eax, ecx
setne al
mov byte [ebp + esi - 0x39], al
add esi, 4
cmp esi, 0x38
jl 0x10024681
xor ebx, ebx
mov edi, 0x1e
cmp dword [ebp + 0xc], 1
mov esi, edi
je 0x1002472f
lea esi, [ebx + ebx]
movzx eax, byte [ebx + 0x1009cff0]
xor edx, edx
mov dword [ebp + esi*4 - 0xf0], 0
mov ecx, eax
mov dword [ebp + esi*4 - 0xf4], 0
mov dword [ebp - 0xf8], eax
cmp ecx, 0x1c
jge 0x10024761
mov al, byte [ebp + ecx - 0x3c]
jmp 0x10024765
mov al, byte [ebp + ecx - 0x58]
mov byte [ebp + edx - 0x74], al
inc ecx
inc edx
cmp edx, 0x1c
jl 0x10024756
mov ecx, dword [ebp - 0xf8]
mov edx, 0x1c
add ecx, edx
nop dword [eax]
cmp ecx, 0x38
jge 0x1002478b
mov al, byte [ebp + ecx - 0x3c]
jmp 0x1002478f
mov al, byte [ebp + ecx - 0x58]
mov byte [ebp + edx - 0x74], al
inc ecx
inc edx
cmp edx, 0x38
jl 0x10024780
xor eax, eax
nop dword [eax]
movzx ecx, byte [eax + 0x1009cfc0]
cmp byte [ebp + ecx - 0x74], 0
je 0x100247bc
mov ecx, dword [eax*4 + 0x1009cf60]
or dword [ebp + esi*4 - 0xf4], ecx
movzx ecx, byte [eax + 0x1009cfd8]
cmp byte [ebp + ecx - 0x74], 0
je 0x100247d8
mov ecx, dword [eax*4 + 0x1009cf60]
or dword [ebp + esi*4 - 0xf0], ecx
inc eax
cmp eax, 0x18
jl 0x100247a0
sub edi, 2
inc ebx
cmp edi, 0xfffffffe
jg 0x10024724
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0xf4]
push eax
call fcn.10024810
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004450b
mov esp, ebp
pop ebp
ret 8