joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c300
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov dword [edi + 8], eax
mov dword [edi + 0x100], edx
mov eax, dword [edi + 0xc]
xor eax, dword [ecx]
and eax, 0xfffffff
xor dword [edi + 0xc], eax
mov eax, dword [ecx]
xor eax, dword [edi + 0xc]
and eax, 0xfffffff
xor eax, dword [ecx]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x18], eax
lea eax, [ebp - 0xc]
mov dword [edi + 0x110], 0
mov dword [edi + 0x11c], 1
mov ecx, dword [edx + 4]
push eax
call fcn.0048e190
push dword [edi + 0x20]
lea ebx, [edi + 0x1c]
mov esi, eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp + 0x10]
add esp, 8
mov eax, dword [ecx]
and eax, 0xfffffff
cmp eax, 3
jne 0x49c417
mov ebx, dword [ecx + 8]
xor edx, edx
mov esi, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, ebx
mov esi, dword [esi + 4]
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi + 0x168]
mov eax, dword [esi + 0x170]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x49c40e
cmp dword [eax + 4], ebx
je 0x49c43b
mov eax, dword [eax]
test eax, eax
jne 0x49c403
mov eax, dword [ebp - 4]
mov dword [edi + 0x24], eax
lea ebx, [edi + 0x1c]
push ebx
lea ecx, [edi + 0x38]
call fcn.0049bc30
cmp dword [edi + 0x48], 0
je 0x49c432
mov ecx, dword [edi + 0x48]
add ecx, 4
push ebx
call fcn.0049bc30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 8]
jmp 0x49c411

Function at 0x49deb0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4d88ac], eax
cmp eax, 0xffffffff
je 0x49deca
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x49dedc
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.00487140
push 0x4d1330
lea eax, [ebp - 0x10]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x49f9f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
and eax, 0xfffffff
cmp eax, 3
ja case.default.0x49fa06
jmp dword [eax*4 + 0x49faa4]
push ebx
mov ebx, dword [edx + 8]
xor edx, edx
movzx eax, bl
xor eax, 0x811c9dc5
push esi
mov esi, dword [ecx + 0xc]
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x49fa6b
nop
cmp dword [eax + 4], ebx
je 0x49fa6d
mov eax, dword [eax]
test eax, eax
jne 0x49fa60
xor eax, eax
test eax, eax
pop esi
setne al
pop ebx
pop ebp
ret 4
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x2c]
cmp eax, dword [edx + 8]
sete al
pop ebp
ret 4
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
sete al
pop ebp
ret 4
mov al, 1
pop ebp
ret 4
xor al, al
pop ebp
ret 4

Function at 0x4a1b80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x4d5104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4a1ba7
mov ecx, 5
int 0x29
push 2
call fcn.00483e40
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x4a1cb2
test esi, esi
jne 0x4a1cb2
push 2
call fcn.00483e40
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004a8e74
mov esp, ebp
pop ebp
ret
Function at 0x4a1f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
test bl, bl
jns 0x4a204a
mov ecx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [ecx + 0x20]
cmp edi, eax
je 0x4a1faf
lea eax, [ecx + 0x40]
cmp edi, eax
jne 0x4a204a
push edi
call fcn.004a1f00
mov eax, dword [sym.imp.msvcrt.dll__iob]
add esp, 4
add eax, 0x20
cmp edi, eax
jne 0x4a1fd0
mov esi, 0x4d8900
mov eax, 0x4d8904
jmp 0x4a1fda
mov esi, 0x4d8901
mov eax, 0x4d8908
cmp byte [esi], 0
mov dword [ebp + 8], eax
mov dword [ebp - 4], esi
je 0x4a202a
push edi
mov byte [eax + 1], bl
call fcn.004a5d80
push edi
push 2
mov byte [ebp - 8], al
mov eax, dword [ebp + 8]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push edi
push dword [ebp - 8]
mov esi, eax
call fcn.004a5e30
push edi
call fcn.004a1f40
mov eax, dword [ebp - 4]
add esp, 0x20
mov byte [eax], 0
test esi, esi
jne 0x4a2021
or ebx, 0xffffffff
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll___pctype_func
movzx ecx, bl
cmp word [eax + ecx*2], 0
jge 0x4a204a
mov eax, dword [ebp + 8]
pop edi
mov byte [esi], 1
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.msvcrt.dll_fputc]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a20d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [sym.imp.msvcrt.dll__iob]
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 0x20]
cmp edi, eax
je 0x4a2101
lea eax, [ecx + 0x40]
cmp edi, eax
je 0x4a2101
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
pop edi
pop ebp
ret
push esi
push edi
call fcn.004a1f00
push edi
call fcn.004a5d80
push edi
push dword [ebp + 0x10]
mov byte [ebp + 0x14], al
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_fwrite]
push edi
push dword [ebp + 0x14]
movzx esi, ax
call fcn.004a5e30
push edi
call fcn.004a1f40
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x4a4bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b66a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x4d5104]
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
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, edx
je 0x4a4dca
mov edi, 0x5c
jmp 0x4a4c40
mov eax, dword [ebx]
mov esi, dword [eax*4 + 0x4d8918]
lea ecx, [eax*4 + 0x4d8918]
mov dword [ebp - 0x414], ecx
test esi, esi
je 0x4a4c68
cmp esi, 0xffffffff
jne 0x4a4df7
jmp 0x4a4dbf
mov esi, dword [eax*4 + 0x4bdd18]
cmp byte [0x4d8910], 0
mov dword [ebp - 4], 0
je 0x4a4c9d
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
jmp 0x4a4daf
test esi, esi
je 0x4a4dad
cmp word [esi], 0
je 0x4a4dad
push 0x200
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4a4da4
cmp eax, 0x200
jae 0x4a4da4
mov word [ebp + eax*2 - 0x410], di
inc eax
cmp eax, 0x200
jae 0x4a4da4
movzx ecx, word [esi]
test cx, cx
je 0x4a4d14
mov edx, ecx
mov word [ebp + eax*2 - 0x410], dx
inc eax
cmp eax, 0x200
jae 0x4a4da4
movzx ecx, word [esi + 2]
add esi, 2
mov edx, ecx
test cx, cx
jne 0x4a4cf2
add eax, eax
cmp eax, 0x400
jae 0x4a4dfb
mov edi, dword [0x4d5104]
xor ecx, ecx
mov word [ebp + eax - 0x410], cx
mov ecx, edi
xor edi, dword [0x4d8914]
and ecx, 0x1f
ror edi, cl
test edi, edi
je 0x4a4d80
lea eax, [ebp - 0x418]
push eax
push 0
call edi
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov esi, eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 0x414]
mov edi, 0x5c
mov edx, dword [ebp + 0xc]
jmp 0x4a4daf
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
mov edi, 0x5c
jmp 0x4a4daf
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x414]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x4a4de8
or eax, 0xffffffff
xchg dword [ecx], eax
add ebx, 4
cmp ebx, edx
jne 0x4a4c40
xor eax, eax
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.004a8e74
mov esp, ebp
pop ebp
ret
mov eax, esi
xchg dword [ecx], eax
test eax, eax
je 0x4a4df7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x4a4dcc
call fcn.00483a10
int3
Function at 0x4a4d21
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b66a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x4d5104]
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
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, edx
je 0x4a4dca
mov edi, 0x5c
jmp 0x4a4c40
mov eax, dword [ebx]
mov esi, dword [eax*4 + 0x4d8918]
lea ecx, [eax*4 + 0x4d8918]
mov dword [ebp - 0x414], ecx
test esi, esi
je 0x4a4c68
cmp esi, 0xffffffff
jne 0x4a4df7
jmp 0x4a4dbf
mov esi, dword [eax*4 + 0x4bdd18]
cmp byte [0x4d8910], 0
mov dword [ebp - 4], 0
je 0x4a4c9d
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
jmp 0x4a4daf
test esi, esi
je 0x4a4dad
cmp word [esi], 0
je 0x4a4dad
push 0x200
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4a4da4
cmp eax, 0x200
jae 0x4a4da4
mov word [ebp + eax*2 - 0x410], di
inc eax
cmp eax, 0x200
jae 0x4a4da4
movzx ecx, word [esi]
test cx, cx
je 0x4a4d14
mov edx, ecx
mov word [ebp + eax*2 - 0x410], dx
inc eax
cmp eax, 0x200
jae 0x4a4da4
movzx ecx, word [esi + 2]
add esi, 2
mov edx, ecx
test cx, cx
jne 0x4a4cf2
add eax, eax
cmp eax, 0x400
jae 0x4a4dfb
mov edi, dword [0x4d5104]
xor ecx, ecx
mov word [ebp + eax - 0x410], cx
mov ecx, edi
xor edi, dword [0x4d8914]
and ecx, 0x1f
ror edi, cl
test edi, edi
je 0x4a4d80
lea eax, [ebp - 0x418]
push eax
push 0
call edi
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov esi, eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 0x414]
mov edi, 0x5c
mov edx, dword [ebp + 0xc]
jmp 0x4a4daf
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
mov edi, 0x5c
jmp 0x4a4daf
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x414]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x4a4de8
or eax, 0xffffffff
xchg dword [ecx], eax
add ebx, 4
cmp ebx, edx
jne 0x4a4c40
xor eax, eax
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.004a8e74
mov esp, ebp
pop ebp
ret
mov eax, esi
xchg dword [ecx], eax
test eax, eax
je 0x4a4df7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x4a4dcc
call fcn.00483a10
int3
Function at 0x401dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movzx ecx, word [ebp + 0x10]
mov eax, dword [0x4439c0]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x1c]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ecx + eax*2]
sub edx, esi
inc ebx
mov dword [ebp + 0x18], edx
nop
movzx ecx, word [edx + esi]
test cx, cx
je 0x401e4a
mov edx, ecx
mov ecx, dword [0x4439c0]
movzx edx, word [ecx + edx*2]
mov ecx, dword [ebp + 0x10]
movzx ecx, cx
add ecx, edx
cmp ecx, 0x7fff
lea edx, [ecx - 0x7fff]
cmovb edx, ecx
mov ecx, dword [0x4439c4]
mov cx, word [ecx + edx*2]
xor word [esi], cx
movzx ecx, word [esi]
mov edx, dword [ebp + 0x18]
test cx, cx
je 0x401e4a
cmp eax, dword [edi]
jbe 0x401e4a
mov dword [edi], eax
add esi, 2
inc eax
sub ebx, 1
jne 0x401e00
mov ecx, dword [edi]
mov eax, dword [ebp + 8]
cmp word [eax + ecx*2], bx
jne 0x401e73
lea edx, [eax - 2]
lea edx, [edx + ecx*2]
dec ecx
lea edx, [edx - 2]
mov dword [edi], ecx
movzx eax, word [edx + 2]
test ax, ax
je 0x401e64
pop edi
pop esi
pop ebx
pop ebp
ret 0x18

Function at 0x402690
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, ecx
mov dword [esi], 0
mov eax, dword [0x4547b8]
test eax, eax
jne 0x4026f7
push 0
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push 0x4547b8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4026f2
call ebx
mov ecx, eax
cmp ecx, 0x80090016
jne 0x402737
push 8
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push 0x4547b8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x402714
mov eax, dword [0x4547b8]
push esi
push 0
push 0
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x402756
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00402320
push 0x4416c4
lea eax, [esp + 0x10]
push eax
call fcn.0041d31a
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00402320
push 0x4416c4
lea eax, [esp + 0x10]
push eax
call fcn.0041d31a
call ebx
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00402320
push 0x4416c4
lea eax, [esp + 0x10]
push eax
call fcn.0041d31a
int3
Function at 0x402780
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], ebx
mov dword [esi], 0
mov eax, dword [0x4547b8]
test eax, eax
jne 0x4027f0
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push 0x4547b8
call ebx
test eax, eax
jne 0x4027e7
call edi
mov ecx, eax
cmp ecx, 0x80090016
jne 0x402843
push 8
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push 0x4547b8
call ebx
test eax, eax
je 0x402820
mov eax, dword [0x4547b8]
mov ebx, dword [esp + 0x10]
push esi
push 0
push 0
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x402862
push 0
push dword [ebp + 8]
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x402885
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edi
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402320
push 0x4416c4
lea eax, [esp + 0x18]
push eax
call fcn.0041d31a
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402320
push 0x4416c4
lea eax, [esp + 0x18]
push eax
call fcn.0041d31a
call edi
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402320
push 0x4416c4
lea eax, [esp + 0x18]
push eax
call fcn.0041d31a
call edi
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402320
push 0x4416c4
lea eax, [esp + 0x18]
push eax
call fcn.0041d31a
int3
Function at 0x403b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x443104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xa0]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 4]
mov dword [ebx], 0x454728
lea esi, [ebx + 0x26]
movups xmm0, xmmword [eax]
mov edx, esi
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
movzx eax, word [eax + 0x20]
mov word [edi + 0x20], ax
mov eax, dword [ebp + 0x10]
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm0
movzx eax, word [eax + 0x20]
mov word [esi + 0x20], ax
call fcn.00401e80
push esi
mov edx, edi
lea ecx, [ebp - 0x7c]
call fcn.00401a00
add esp, 4
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov cx, word [ebp + eax - 0x7c]
xor cx, word [ebp + eax - 0xa0]
mov word [ebp + eax - 0x4c], cx
add eax, 2
cmp eax, 0x22
jb 0x403bf0
mov ecx, dword [ebx]
lea edx, [ebp - 0x28]
sub edi, ecx
mov esi, 0x11
sub edx, ecx
nop dword [eax + eax]
mov ax, word [edi + ecx]
lea ecx, [ecx + 2]
xor ax, word [ecx - 2]
mov word [edx + ecx - 2], ax
sub esi, 1
jne 0x403c20
lea edx, [ebx + 4]
lea ecx, [ebp - 0xa0]
call fcn.00401e80
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x7c]
call fcn.00401a00
mov esi, dword [ebx]
lea eax, [ebp - 0x7c]
add esi, 0x22
add esp, 4
sub esi, eax
xor edx, edx
lea eax, [ebp - 0x7c]
add eax, edx
mov cx, word [esi + eax]
xor cx, word [eax]
mov word [ebp + edx - 0x28], cx
add edx, 2
cmp edx, 0x22
jb 0x403c64
lea ecx, [ebp - 0x4c]
mov esi, 0x1e
lea edx, [ebp - 0x28]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x403cb6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x403c88
mov cx, word [ecx]
cmp cx, word [edx]
jne 0x403cb6
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bcc3
mov esp, ebp
pop ebp
ret 0xc
push str.New_point_is_not_on_the_curve_specified.
lea ecx, [ebp - 0x58]
call fcn.00401720
push 0x441778
lea eax, [ebp - 0x58]
push eax
call fcn.0041d31a
int3
Function at 0x4045b0
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435c90
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x443104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x404673
push eax
lea ecx, [ebp - 0x50]
call fcn.00402780
add esp, 4
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x4c], 0x14
push eax
push 2
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x404780
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
bswap eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
bswap eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
bswap eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
bswap eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
bswap eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x404696
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x404696
mov dword [ebp - 0x44], 0xeb3eb781
mov dword [ebp - 0x40], 0x50265329
mov dword [ebp - 0x3c], 0xdc5ef4a3
mov dword [ebp - 0x38], 0x6847b9d5
mov dword [ebp - 0x34], 0xcde43b4c
xor esi, esi
lea ecx, [ebp - 0x4c]
call fcn.00402690
lea edi, [esi + 1]
mov dword [ebp - 0x48], edi
push 0
push 0x18
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x404780
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x54], 0x14
push eax
push 2
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40475b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x80]
bswap eax
mov word [ebp + esi*2 - 0x30], ax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x404713
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x4c], 0
mov esi, edi
cmp esi, 0xf
jb 0x404698
mov esi, dword [ebp - 0x58]
push esi
call fcn.00405ab0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 1
push 0xffffffffffffffff
push 0x1e
push esi
call fcn.00405c90
add esp, 0x20
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.0041bcc3
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00402320
push 0x4416c4
lea eax, [ebp - 0x6c]
push eax
call fcn.0041d31a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.00402320
push 0x4416c4
lea eax, [ebp - 0x80]
push eax
call fcn.0041d31a
int3