joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006db60
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x1006dbc6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x1006dbc6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x1006dba7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x10070647
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x10070685
call fcn.10092ea3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10070685
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1007069c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x1007069c
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x10088c55
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.10092ea3
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10088c86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.10088c99
pop edi
pop esi
pop ebx
ret 8

Function at 0x1008a270
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1008a2a8
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.100882b6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1008828e
jmp 0x1008a2b4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1008bb60
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 0x1008bba2
call fcn.10092ea3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1008bba2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1008bb99
xor eax, eax
jmp 0x1008bbaa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1008bbb0
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
call fcn.009561a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x95607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x95606a
add dl, dl
jne 0x956089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9560dc
xor eax, eax
add dl, dl
jne 0x956096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x95617d
add dl, dl
jne 0x9560a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9560b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9560bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9560c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9560d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x956075
mov eax, 1
add dl, dl
jne 0x9560ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9560f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9560e1
sub eax, ebx
mov ebx, 1
jne 0x956128
mov ecx, 1
add dl, dl
jne 0x95610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x956119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x956105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x956075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x95613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x95614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x956136
cmp eax, 0x7d00
jae 0x95616d
cmp eax, 0x500
jb 0x956168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x956075
cmp eax, 0x7f
ja 0x956170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x956075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x95619e
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 0x956075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0x40a8b4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [0x41b348]
push ebx
mov ecx, edx
mov ebx, dword [0x41b128]
xor ecx, eax
and ecx, 0xff
shr edx, 8
mov ecx, dword [ebx + ecx*4]
xor ecx, edx
mov dword [0x41b348], ecx
and ecx, 0xff
add dword [0x41b34c], ecx
imul edx, dword [0x41b34c], 0x8088405
inc edx
mov dword [0x41b34c], edx
shr edx, 0x18
mov ecx, dword [0x41b350]
xor edx, ecx
mov ebx, dword [0x41b128]
and edx, 0xff
shr ecx, 8
mov edx, dword [ebx + edx*4]
xor edx, ecx
mov dword [0x41b350], edx
pop ebx
ret

Function at 0x40aafc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
test esi, esi
jne 0x40ab10
xor eax, eax
jmp 0x40ac08
call fcn.0040aaf4
xor ebx, 0xffffffff
cmp edi, 8
jb 0x40abe5
xor edx, edx
sub edi, 8
mov dl, byte [esi]
inc esi
xor edx, ebx
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
cmp edi, 8
mov ebx, ecx
jae 0x40ab21
test edi, edi
je 0x40ac03
xor edx, edx
mov dl, byte [esi]
inc esi
xor edx, ebx
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
dec edi
mov ebx, ecx
jne 0x40abe9
mov eax, ebx
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
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 0x4a1438
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a150d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a1528
push ebx
push 0x4a1538
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087a4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405864
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084c8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a14b8
mov al, 0x70
call fcn.004a1060
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004a140c
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4a14c1
call fcn.004a140c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1514
lea eax, [ebp - 4]
call fcn.004079f4
ret

Function at 0x4a1628
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a16f3
jmp 0x4a16e7
cmp dword [esi + 0x10], 0x1000
jne 0x4a16d3
test byte [esi + 0x15], 1
jne 0x4a16d3
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4a1684
cmp ebp, 2
je 0x4a1684
cmp ebp, 0x10
je 0x4a1684
cmp ebp, 0x20
jne 0x4a16a0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a16a0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4a16b1
mov eax, dword [esi]
add eax, ebx
call fcn.004a1620
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4a16a4
cmp byte [esp + 4], 0
je 0x4a16d3
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a16f3
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4a1659
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
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 0x456fa0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x25b0
call fcn.00466ba0
mov eax, dword [0x4f0840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x25a6
lea eax, [ebp - 0x25ac]
push 0x4de7a0
push eax
call fcn.00467bc0
mov bl, byte [ebp - 0x25ac]
add esp, 0xc
xor bl, 0x90
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 4
push 0x1000
push 0x25a5
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
lea eax, [ebp - 0x25b0]
push eax
push 0x40
push 0x25a5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
lea esi, [ebp - 0x25ac]
mov ecx, edi
sub esi, edi
mov edx, 0x25a5
nop
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, bl
nop
nop
nop
mov byte [ecx - 1], al
sub edx, 1
jne 0x457025
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.EnumChildWindows
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push edi
push 0
call eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466875
mov esp, ebp
pop ebp
ret 0x10

Function at 0x457630
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4f0840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 1
jne 0x457679
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f3180]
js 0x457665
cmp eax, 0x32
jl 0x457761
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4f3180], eax
jmp 0x457749
cmp eax, 3
jne 0x457708
push 0x6c
push dword [0x4f557c]
call fcn.00403080
mov ecx, dword [0x4f3174]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x4576b1
push 0x20001
push 0
push dword [esi]
call ecx
test eax, eax
jne 0x457749
push dword [esi]
lea eax, [ebp - 0x58]
push str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
push eax
call fcn.00408a10
push dword [0x4c8514]
lea eax, [ebp - 0xbc]
push str._.70s_Sound_Error
push eax
call fcn.00408a10
add esp, 0x18
lea eax, [ebp - 0xbc]
push 0x30
push eax
lea eax, [ebp - 0x58]
push eax
push dword [0x4f55b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0x66
push dword [0x4f557c]
call fcn.00403580
add esp, 0xc
jmp 0x457749
cmp eax, 4
jne 0x457749
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f3184]
js 0x457722
cmp eax, 0x32
jl 0x457761
cmp dword [0x4f54f0], 2
jne 0x45773a
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x457742
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4f3184], eax
mov eax, dword [0x4f55ac]
cmp dword [eax + 0x134], 0
jne 0x457761
push 2
call fcn.004587b0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466875
mov esp, ebp
pop ebp
ret

Function at 0x459680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [0x4f55b8]
push 0x4573b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x401dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movzx ecx, word [ebp + 0x10]
mov eax, dword [0x4429c0]
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 [0x4429c0]
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 [0x4429c4]
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 [0x4537b8]
test eax, eax
jne 0x4026f7
push 0
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push 0x4537b8
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 0x4537b8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x402714
mov eax, dword [0x4537b8]
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 0x441584
lea eax, [esp + 0x10]
push eax
call fcn.0041d2ea
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00402320
push 0x441584
lea eax, [esp + 0x10]
push eax
call fcn.0041d2ea
call ebx
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00402320
push 0x441584
lea eax, [esp + 0x10]
push eax
call fcn.0041d2ea
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 [0x4537b8]
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 0x4537b8
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 0x4537b8
call ebx
test eax, eax
je 0x402820
mov eax, dword [0x4537b8]
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 0x441584
lea eax, [esp + 0x18]
push eax
call fcn.0041d2ea
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402320
push 0x441584
lea eax, [esp + 0x18]
push eax
call fcn.0041d2ea
call edi
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402320
push 0x441584
lea eax, [esp + 0x18]
push eax
call fcn.0041d2ea
call edi
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402320
push 0x441584
lea eax, [esp + 0x18]
push eax
call fcn.0041d2ea
int3
Function at 0x403b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x442104]
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], 0x453728
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 0x403bd0
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 0x403c00
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 0x403c44
lea ecx, [ebp - 0x4c]
mov esi, 0x1e
lea edx, [ebp - 0x28]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x403c96
add ecx, 4
add edx, 4
sub esi, 4
jae 0x403c68
mov cx, word [ecx]
cmp cx, word [edx]
jne 0x403c96
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bc93
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 0x441638
lea eax, [ebp - 0x58]
push eax
call fcn.0041d2ea
int3