joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100042a0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004080d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1004a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x2c], esi
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10004370
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10004370
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push 0
push dword [ebp + 0x18]
cmova eax, dword [ebp + 8]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10004370
push 4
call fcn.1003f259
add esp, 4
mov dword [eax], 0x10
push 0
push eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, dword [ebp - 0x2c]
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1000437e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000438e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp byte [ebp - 0x2c], 0
jne 0x10004402
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x10041408
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.100020e0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x100043e6
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100043dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004438
push ecx
push edx
call fcn.1003f24b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003f23d
mov esp, ebp
pop ebp
ret
push ecx
push 0x10
lea edx, [ebp - 0x20]
mov ecx, esi
call fcn.100032a0
mov ecx, dword [ebp + 0x1c]
add esp, 8
cmp ecx, 0xf
jbe 0x100043e6
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100043dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100043dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x10004d10
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [0x1004ad3c]
push 0xa
movzx eax, dx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x10004d89
cmp esi, 0xffffffff
je 0x10004d89
push 4
call fcn.1003f259
add esp, 4
mov dword [eax], 0
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006c30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push 0x104
call fcn.1003f2ac
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 4
mov esi, eax
push 0x104
push esi
push 0
call ebx
push 0x5c
push esi
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
push str.ItemList6.bin
push esi
push str._s_s
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.10002b00
add esp, 0x18
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
cmova eax, dword [ebp - 0x1c]
push 0
push 0x80
push 3
push 0
push 0
push Ordinal_2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10006ce9
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006cdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006cdf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003f24b
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
test edi, edi
jg 0x10006dc3
push 0x104
call fcn.1003f2ac
add esp, 4
mov esi, eax
push 0x104
push esi
push 0
call ebx
push 0x5c
push esi
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
push str.ItemList11.bin
push esi
push str._s_s
mov byte [eax], 0
lea eax, [ebp - 0x34]
push eax
call fcn.10002b00
add esp, 0x18
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
push 0
push 0x80
push 3
push 0
push 0
push Ordinal_2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10006dad
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006da3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006da3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003f24b
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test edi, edi
jle 0x10006e0a
mov eax, 0x8d3dcb09
mul edi
shr edx, 8
test edx, edx
je 0x10006e0a
mov ebx, dword [0x1004ad24]
xor esi, esi
nop dword [eax]
mov ecx, dword [ebx + 0x44]
movzx eax, word [ecx + esi + 0x102]
mov edi, eax
cmp eax, 0x40
je 0x10006df7
cmp edi, 0x42
jne 0x10006dff
mov byte [ecx + esi + 0x1ab], 9
add esi, 0x1d0
sub edx, 1
jne 0x10006de0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007ca0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp byte [0x1004a098], 0
push esi
push edi
jne 0x10007e56
mov ecx, dword [0x1004ad38]
test ecx, ecx
je 0x10007cf7
mov eax, dword [0x1004a3ec]
cmp eax, 0xffffffff
jne 0x10007cd1
cmp dword [ecx + 0x7e], 0
jle 0x10007cd7
xor eax, eax
inc eax
mov dword [0x1004a3ec], eax
cmp eax, dword [ecx + 0x7e]
jle 0x10007cf7
mov dword [0x1004a3ec], 0xffffffff
mov dword [0x1004ad38], 0
mov byte [0x1004ab37], 0
push 0x402
xor edx, edx
mov ecx, str.FUCKYOU
call fcn.10015760
mov eax, dword [0x1004ad74]
add esp, 4
movss xmm0, dword [0x10045f4c]
mov eax, dword [eax + 0x19b0]
and dword [eax + 0xa4], 0xfffffff1
mov byte [eax + 0x90], 0
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm0
mov byte [eax + 0x91], 0
call fcn.10036e20
test al, al
je 0x10007e4c
call fcn.100372f0
test al, al
je 0x10007e47
sub esp, 8
mov ecx, str.Cpy_HardID
call fcn.10037ef0
add esp, 8
test al, al
je 0x10007e0e
sub esp, 0x18
lea esi, [ebp - 0x20]
mov ecx, esp
call fcn.100030e0
mov dl, 1
mov ecx, esi
call fcn.10003b80
mov esi, dword [ebp - 0x10]
add esp, 0x18
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0xc], 0xf
lea ecx, [ebp - 0x20]
push esi
cmova ecx, dword [ebp - 0x20]
mov edi, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
cmp ecx, 0xf
jbe 0x10007e0e
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007e04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10007e04
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003f24b
add esp, 8
sub esp, 8
mov ecx, str.Chck_HardID...
call fcn.10037ef0
add esp, 8
test al, al
je 0x10007e27
call fcn.100085e0
sub esp, 8
mov ecx, str.Exit
call fcn.10037ef0
add esp, 8
test al, al
je 0x10007e42
mov byte [0x1004a098], 1
call fcn.10037e50
call fcn.100370d0
call fcn.10008410
call fcn.100181a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000cbb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1000cc11
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1000cbf4
cmp edi, 2
jb 0x1000cbf4
cmp byte [esi], cl
jne 0x1000cbf4
cmp byte [esi + 1], cl
jne 0x1000cbf4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10041548]
jmp 0x1000cbc5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10041548]
test edi, edi
jne 0x1000cbc5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000cc40
cmp cl, 0x23
jne 0x1000cc27
cmp byte [esi], cl
jne 0x1000cc27
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10041548]
test cl, cl
jne 0x1000cc18
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1000cd60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1000cd74
mov dword [ebx], 0
mov edx, 0x10045a60
call fcn.1000cc50
mov esi, eax
test esi, esi
je 0x1000ce62
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1000ce58
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1000ce58
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1000ce58
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1000ce58
mov eax, dword [0x1004ad74]
test eax, eax
je 0x1000cdec
inc dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1000ce58
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1000ce3d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1004ad74]
add esp, 4
test eax, eax
je 0x1000ce2a
dec dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1000ce4f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010220
Capabilities:
Hash data with crc32

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 0x10040c83
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1004a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004ad74]
test eax, eax
je 0x1001026a
inc dword [eax + 0x374]
push 0x3b88
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x11]
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1001029e
push ecx
mov ecx, eax
call fcn.1000b500
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x100102a3
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [0x1004ad74], 0
jne 0x100102b3
mov eax, edi
mov dword [0x1004ad74], eax
or edx, 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.Window
mov al, 0x57
mov esi, 0x10045995
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x100102de
cmp byte [esi], al
jne 0x100102de
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10041548]
test al, al
jne 0x100102d0
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x1001d340
mov dword [ebp - 0x2c], 0x1001d3e0
mov esi, dword [edi + 0x2d40]
mov ecx, dword [edi + 0x2d44]
mov dword [ebp - 0x28], 0x1001d4b0
cmp esi, ecx
jne 0x100103b8
inc esi
test ecx, ecx
je 0x10010338
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001033d
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100103b8
mov eax, dword [0x1004ad74]
test eax, eax
je 0x10010355
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov eax, dword [edi + 0x2d48]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100103ac
mov ecx, dword [edi + 0x2d40]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x1004ad74]
add esp, 0xc
test eax, eax
je 0x1001039d
dec dword [eax + 0x374]
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [edi + 0x2d48], edx
mov dword [edi + 0x2d44], esi
mov eax, dword [edi + 0x2d40]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d48]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d40]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10012d00
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x10012d3f
cmp bl, 0x23
jne 0x10012d21
cmp byte [esi], bl
jne 0x10012d21
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x10041548]
test bl, bl
jne 0x10012d12
mov ecx, dword [0x1004ad74]
not eax
mov esi, dword [ecx + 0x19a0]
mov edi, dword [ecx + 0x19a8]
lea ebx, [edi + esi*8]
test esi, esi
je 0x10012d7e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10012d78
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x10012d7a
mov esi, edx
test esi, esi
jne 0x10012d60
cmp edi, ebx
je 0x10012d8d
cmp dword [edi], eax
jne 0x10012d8d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1001cc60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x1004ad74]
push edi
cmp byte [esi + 0x2d58], 0
je 0x1001ccff
cmp dword [esi + 0x2d60], 0
lea edi, [esi + 0x2d64]
je 0x1001ccf1
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1001cca9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001e010
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1000d3a0
mov edx, dword [edi]
mov ecx, 0x1004ad6d
push dword [esi + 0x2d60]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d6c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1000d3a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001d040
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, edx
mov edx, dword [0x1004ad74]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x1001d069
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1001d060
sub esi, ecx
test edx, edx
je 0x1001d073
inc dword [edx + 0x374]
lea eax, [esi + 1]
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x10
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x1001d204
nop dword [eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x1001d232
cmp al, 0xd
je 0x1001d232
mov esi, ecx
cmp ecx, ebx
jae 0x1001d0d7
mov al, byte [esi]
cmp al, 0xa
je 0x1001d0d7
cmp al, 0xd
je 0x1001d0d7
inc esi
cmp esi, ebx
jb 0x1001d0c8
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1001d1f6
cmp al, 0x5b
jne 0x1001d1d5
cmp esi, ecx
jbe 0x1001d1d5
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x1001d1d2
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [ebp - 0x18], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001d1f0
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1001d1f0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [0x1004ad74]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [edi]
inc edi
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
test cl, cl
je 0x1001d18e
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x1001d16f
cmp byte [edi], cl
jne 0x1001d16f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x10041548]
test cl, cl
jne 0x1001d160
mov ebx, dword [0x1004ad74]
mov edx, dword [ebx + 0x2d40]
xor ecx, ecx
not eax
test edx, edx
jle 0x1001d1af
mov edi, dword [ebx + 0x2d48]
cmp dword [edi + 4], eax
je 0x1001d1b8
inc ecx
add edi, 0x18
cmp ecx, edx
jl 0x1001d1a2
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x1001d1f3
test edi, edi
je 0x1001d1b1
push dword [ebp - 0x14]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov edx, eax
add esp, 0xc
mov dword [ebp - 4], edx
jmp 0x1001d1f3
mov ebx, dword [ebp - 8]
test edi, edi
je 0x1001d1f6
test edx, edx
je 0x1001d1f6
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
jmp 0x1001d1f6
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x1001d0b0
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x1001d218
mov eax, dword [0x1004ad74]
test eax, eax
je 0x1001d218
dec dword [eax + 0x374]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
mov byte [eax + 0x2d2c], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1001d0b0
Function at 0x1001d240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x1004ad74]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d30], 0
test eax, eax
je 0x1001d32f
lea edi, [esi + 0x2d34]
mov dword [esi + 0x2d30], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1001d295
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001e010
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x1001d2aa
push 8
mov ecx, edi
call fcn.1001e010
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d40], 0
jle 0x1001d2ec
xor ebx, ebx
mov eax, dword [esi + 0x2d48]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2d40]
jl 0x1001d2c7
mov edi, dword [edi]
mov ebx, 0x1004ad6d
mov ecx, dword [ebp - 8]
mov edx, 0x10045a64
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2d3c]
test eax, eax
cmovne ebx, eax
call fcn.1000cc50
mov esi, eax
test esi, esi
je 0x1001d32f
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1004a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1004a40c]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
test eax, eax
js 0x1003033e
cmp eax, esi
jge 0x1003033e
mov edx, dword [ecx + eax*4]
push 0
mov ecx, str.ooppxxxennppc_combo
call fcn.1002f740
add esp, 4
test al, al
jne 0x10030362
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f23d
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov byte [ebp - 9], 0
test esi, esi
jle 0x1003041f
mov eax, dword [0x1004ad74]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
nop dword [eax + eax]
mov eax, dword [eax + 0x19b0]
lea esi, [ebp - 8]
add eax, 0xbc
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
mov edi, 4
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10041548]
sub edi, 1
jne 0x100303a4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
not edx
push eax
mov dword [ebp - 8], edx
call fcn.1001dd30
mov esi, dword [0x1004a40c]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
cmp ebx, esi
push edi
sete dl
mov ecx, dword [eax + ebx*4]
call fcn.100365b0
add esp, 8
test al, al
je 0x100303fb
mov byte [ebp - 9], 1
mov dword [0x1004a40c], ebx
cmp ebx, esi
jne 0x10030404
call fcn.10018910
mov eax, dword [0x1004ad74]
inc ebx
mov ecx, dword [eax + 0x19b0]
dec dword [ecx + 0xbc]
cmp ebx, dword [ebp + 0x10]
jl 0x10030380
call fcn.10019970
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1003f23d
mov esp, ebp
pop ebp
ret
Function at 0x10038df0
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0x54], 0x100000
push esi
push edi
mov edi, edx
je 0x10038e60
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x10038e38
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x10038e1f
cmp byte [esi], cl
jne 0x10038e1f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10041548]
test cl, cl
jne 0x10038e10
mov ecx, dword [0x1004ad74]
not eax
cmp dword [ecx + 0x19e4], eax
jne 0x10038e4e
mov dword [ecx + 0x19e8], eax
cmp dword [ecx + 0x1a18], eax
jne 0x10038ea5
pop edi
mov byte [ecx + 0x1a1c], 1
pop esi
ret
mov esi, dword [0x1004ad74]
xor edx, edx
mov eax, dword [esi + 0x19b0]
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1000cbb0
add esp, 4
cmp dword [esi + 0x19e4], eax
jne 0x10038e96
mov dword [esi + 0x19e8], eax
cmp dword [esi + 0x1a18], eax
jne 0x10038ea5
mov byte [esi + 0x1a1c], 1
pop edi
pop esi
ret