joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001939
Capabilities:
Hash data with crc32
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
push ebx
push esi
push edi
mov esi, eax
call fcn.10001861
xor edi, edi
push edi
push 1
push edi
push 0x1f0003
mov eax, 0x3255
push 0x10007108
mov word [0x100072e0], ax
call dword [sym.imp.ntdll.dll_ZwCreateEvent]
test eax, eax
jl 0x10001ac6
push 0x40
pop ebx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.100027a4
test eax, eax
je 0x10001aba
movzx eax, word [esi]
mov ecx, dword [esi + 4]
push 0x55
pop edx
push 0x21
push 7
mov word [ecx + eax - 2], dx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x12019f
push 0x1000710c
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ntdll.dll_ZwOpenFile]
mov esi, dword [sym.imp.ntdll.dll_ZwWaitForSingleObject]
test eax, eax
jl 0x10001a99
call fcn.10001d2f
lea eax, [ebp - 0x1c8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10001a8d
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ntdll.dll_ZwAllocateLocallyUniqueId]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
not eax
mov dword [ebp - 0x2c], eax
push 8
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
mov dword [0x100072ec], eax
call fcn.10003742
xor ebx, ebx
inc ebx
dec ebx
jne 0x10001a46
push 0xc
pop ebx
call fcn.100039f3
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.100037ee
mov eax, dword [0x10007054]
dec dword [0x10007054]
test eax, eax
jne 0x10001a6f
call fcn.1000176d
push 0x100070a0
push 1
push dword [0x10007108]
call esi
test eax, eax
jg 0x10001a3b
call fcn.1000368b
call dword [sym.imp.WS2_32.dll_WSACleanup]
push dword [0x1000710c]
call dword [sym.imp.ntdll.dll_ZwClose]
call fcn.10001e83
push edi
push edi
push dword [0x10007108]
call esi
mov eax, dword [0x100072e8]
cmp eax, edi
je 0x10001aba
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_ZwUnmapViewOfSection]
push dword [0x10007108]
call dword [sym.imp.ntdll.dll_ZwClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001b15
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
mov ebx, dword [sym.imp.ntdll.dll_swprintf]
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xa8]
push str._08x._
push eax
call ebx
add esp, 0xc
push dword [0x1000710c]
lea eax, [ebp - 0xa8]
push eax
lea esi, [ebp - 0x88]
call fcn.1000173b
push dword [ebp + 8]
mov ecx, esi
call fcn.10003c17
test eax, eax
je 0x10001c1a
push 0x20
push 7
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x110100
lea eax, [ebp - 8]
push eax
xor edi, edi
call dword [sym.imp.ntdll.dll_ZwOpenFile]
test eax, eax
jl 0x10001c18
mov esi, dword [sym.imp.ntdll.dll_ZwSetInformationFile]
or eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 0x38], eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x1c], edi
call esi
test eax, eax
jl 0x10001c0f
and dword [ebp - 0x5c], edi
push 6
pop ecx
push dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0x60], 1
mov dword [ebp - 0x58], 0x14
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push 0x100054d0
push eax
call ebx
add esp, 0xc
push 0xa
push 0x24
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call esi
xor ecx, ecx
test eax, eax
setge cl
mov edi, ecx
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_ZwClose]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10001c21
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1000710c]
push ebx
push esi
push edi
push 0x21
mov dword [ebp - 0x40], eax
push 7
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
xor edi, edi
push 0x120089
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x44], 0x18
mov dword [ebp - 0x3c], 0x100072f0
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.ntdll.dll_ZwOpenFile]
test eax, eax
jl 0x10001d22
mov ebx, 0x100
mov eax, ebx
call fcn.10004210
mov dword [ebp - 0x10], esp
jmp 0x10001cf4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
add esi, dword [ebp - 0xc]
lea ecx, [ebp - 0x34]
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov ax, word [esi + 0x3c]
sub ax, 4
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], ax
lea eax, [esi + 0x40]
mov dword [ebp - 0x18], eax
lea eax, [esi + 8]
push ecx
push eax
call dword [sym.imp.ntdll.dll_RtlTimeToTimeFields]
cmp word [ebp - 0x28], di
jne 0x10001cef
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push 0x10
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToInteger]
test eax, eax
jl 0x10001cef
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea eax, [esi + 8]
push eax
call dword [sym.imp.ntdll.dll_RtlTimeToSecondsSince1970]
add dword [ebp + 8], 8
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x10
je 0x10001d19
cmp dword [ebp - 0xc], edi
jne 0x10001c8c
push edi
push 0x10005508
push edi
push 1
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
push edi
push edi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ntdll.dll_ZwQueryDirectoryFile]
test eax, eax
jge 0x10001c86
push dword [ebp - 0x14]
call dword [sym.imp.ntdll.dll_ZwClose]
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10001eef
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x10001f14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x10001f37
push 0
push 0x10001de9
push eax
call dword [sym.imp.KERNEL32.dll_BindIoCompletionCallback]
test eax, eax
je 0x10001f2a
xor eax, eax
jmp 0x10001f37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
ret 4
Function at 0x100022b3
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x18], edi
jne 0x100022cc
xor eax, eax
inc eax
jmp 0x10002353
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 8]
lea eax, [ecx + eax + 0xc]
mov dword [ebp - 0xc], eax
jne 0x100022e9
push 0x7a
pop eax
jmp 0x10002353
lea edx, [esi + 0x70]
call fcn.10001e38
test eax, eax
jne 0x100022fc
mov eax, 0x45d
jmp 0x10002353
mov eax, dword [esi + 0x18]
push ebx
push 0x76636572
mov ecx, esi
call fcn.10001ea0
mov ebx, eax
cmp ebx, edi
jne 0x1000231f
push dword [esi + 0x78]
call fcn.100023e9
push 8
pop eax
jmp 0x10002352
push edi
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x10002347
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x10002349
xor eax, eax
mov edi, eax
mov esi, ebx
call fcn.10001dff
pop ebx
pop edi
pop esi
leave
ret

Function at 0x10002357
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, eax
mov esi, ecx
test edi, edi
jne 0x1000236a
mov edi, dword [esi + 0x18]
lea edx, [esi + 0x70]
call fcn.10001e38
test eax, eax
jne 0x1000237d
mov eax, 0x45d
jmp 0x100023e5
push ebx
push 0x646e6573
mov eax, edi
mov ecx, esi
call fcn.10001ea0
mov ebx, eax
test ebx, ebx
jne 0x1000239f
push dword [esi + 0x78]
call fcn.100023e9
push 8
pop eax
jmp 0x100023e4
mov eax, dword [edi + 8]
add edi, 0xc
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
lea eax, [esi + 0x74]
inc ecx
lock xadd dword [eax], ecx
push 0
push ebx
push 0
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x100023d9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x100023db
xor eax, eax
mov edi, eax
mov esi, ebx
call fcn.10001dff
pop ebx
pop edi
pop esi
leave
ret
Function at 0x10002555
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push 1
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, eax
mov dword [esi + 8], ecx
cmp ecx, 0xffffffff
jne 0x10002580
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x100025f1
push 2
pop eax
mov word [ebp - 0x14], ax
mov ax, word [ebp + 8]
mov word [ebp - 0x12], ax
push 4
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push 0x100070c8
push 0x20
stosd dword es:[edi], eax
push 0xffff
push ecx
stosd dword es:[edi], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x100025c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x100025c9
xor eax, eax
test eax, eax
jne 0x100025f1
push eax
push 0x10001de9
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_BindIoCompletionCallback]
test eax, eax
je 0x100025e4
xor eax, eax
jmp 0x100025f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
pop edi
leave
ret 4

Function at 0x100025f6
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
movzx ebx, word [0x100072e0]
push esi
push edi
push 0x646e6573
mov edi, eax
mov esi, ecx
call fcn.10001ea0
mov dword [ebp - 8], eax
test eax, eax
jne 0x10002620
push 8
pop eax
jmp 0x1000267d
mov eax, dword [edi + 8]
push 2
mov dword [ebp - 0x14], eax
pop eax
mov word [ebp - 0x24], ax
add edi, 0xc
xor eax, eax
mov dword [ebp - 0x10], edi
mov word [ebp - 0x22], bx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
push dword [ebp - 8]
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
je 0x10002671
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x10002673
xor eax, eax
mov esi, dword [ebp - 8]
mov edi, eax
call fcn.10001dff
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10002684
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, eax
push 0x76636572
mov eax, ebx
mov ecx, edi
call fcn.10001ea0
mov esi, eax
test esi, esi
jne 0x100026a7
push 8
pop eax
jmp 0x100026f9
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
sub ecx, eax
push 0
lea eax, [eax + ebx + 0xc]
push esi
mov dword [ebp - 8], eax
lea eax, [edi + 0x24]
push eax
lea edx, [edi + 0xc]
push edx
mov dword [ebp - 0xc], ecx
lea ecx, [edi + 0x20]
and dword [ecx], 0
push ecx
mov dword [eax], 0x10
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
test eax, eax
je 0x100026f0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x100026f2
xor eax, eax
mov edi, eax
call fcn.10001dff
pop edi
pop esi
leave
ret
Function at 0x100027a4
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0x20
push 7
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push 0x12019f
xor esi, esi
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ntdll.dll_ZwOpenFile]
test eax, eax
jl 0x10002854
push edi
push dword [ebp - 4]
lea eax, [ebp + 8]
push 0x8000000
push 4
push 0x100070d0
push esi
push 0xf001f
push eax
call dword [sym.imp.ntdll.dll_ZwCreateSection]
mov edi, dword [sym.imp.ntdll.dll_ZwClose]
test eax, eax
jl 0x1000284e
push 4
push esi
push 2
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push 0x100072e8
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_ZwMapViewOfSection]
test eax, eax
jl 0x10002849
mov ecx, dword [0x100072e8]
mov eax, 0x100
cmp dword [0x100072e4], eax
jge 0x10002849
add ecx, 4
mov edx, dword [ecx]
add ecx, 8
test edx, edx
je 0x10002849
inc dword [0x100072e4]
cmp dword [0x100072e4], eax
jl 0x10002832
push dword [ebp + 8]
call edi
push dword [ebp - 4]
call edi
pop edi
xor eax, eax
cmp dword [0x100072e8], esi
pop esi
setne al
leave
ret 4

Function at 0x10002e6e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_RtlSecondsSince1970ToTime]
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
xor esi, esi
call fcn.10001acb
test eax, eax
jl 0x10002ed9
push 4
push 0x28
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
jl 0x10002ec8
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x38]
jg 0x10002ec6
jl 0x10002ec1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x3c]
ja 0x10002ec6
xor esi, esi
inc esi
jmp 0x10002ec8
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_ZwClose]
test esi, esi
jne 0x10002fbf
push dword [ebp + 8]
call fcn.100029c5
test eax, eax
jl 0x10002fbf
mov ecx, 0x100071d8
lock bts dword [ecx], eax
push 0
pop eax
setae al
test eax, eax
je 0x10002fbf
push 0x198
call fcn.100029a5
mov esi, eax
test esi, esi
je 0x10002f48
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
call fcn.10001fb1
mov eax, dword [ebp + 8]
and dword [esi + 0x88], 0
mov dword [esi + 0x84], ebx
mov dword [esi], 0x10005544
mov dword [esi + 0x90], eax
mov byte [esi + 0x96], 0
mov dword [esi + 0x80], edi
mov ebx, esi
jmp 0x10002f4a
xor ebx, ebx
push dword [ebp + 8]
test ebx, ebx
je 0x10002fba
push ebx
call fcn.10002c62
test eax, eax
jl 0x10002fb1
mov esi, 0x4000
mov eax, ebx
call fcn.1000203a
test eax, eax
jl 0x10002fb1
push 8
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
je 0x10002f87
or dword [eax], 0xffffffff
mov dword [eax + 4], 1
mov esi, eax
jmp 0x10002f89
xor esi, esi
test esi, esi
je 0x10002fb1
push 0
call fcn.10001f4f
test eax, eax
jl 0x10002fac
push ebx
mov eax, esi
call fcn.10002008
test eax, eax
jl 0x10002fac
push dword [ebp + 0x10]
call fcn.100020cf
call fcn.10001e19
mov ecx, ebx
call fcn.10001d9d
jmp 0x10002fbf
call fcn.100029fe
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10002fc6
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push dword [ebp + 8]
lea esi, [edi + 0xc]
push esi
call fcn.10001acb
test eax, eax
jl 0x1000300a
push 5
push 0x18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [esi]
call dword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
jl 0x1000300a
cmp dword [ebp - 0x18], 0
jne 0x1000300a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000300a
mov dword [edi + 8], eax
xor eax, eax
inc eax
jmp 0x1000300c
xor eax, eax
pop esi
leave
ret 4

Function at 0x10003011
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push edi
push 0x4000
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push dword [edi + 0xc]
call dword [sym.imp.ntdll.dll_ZwReadFile]
test eax, eax
jge 0x1000303b
xor eax, eax
jmp 0x1000305a
mov eax, dword [ebp - 4]
add dword [edi], eax
push eax
push dword [ebp + 8]
adc dword [edi + 4], esi
mov ax, word [edi + 0x10]
lea esi, [edi + 0x12]
call fcn.10003d6b
mov word [edi + 0x10], ax
mov eax, dword [ebp - 4]
pop esi
leave
ret 4

Function at 0x10003900
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
lea eax, [ebp - 0x10]
push eax
movsd dword es:[edi], dword [esi]
call fcn.100038d4
mov esi, 0xcd6734fe
cmp dword [ebp - 0x10], esi
je 0x1000392b
xor eax, eax
jmp 0x10003962
mov edi, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
push 0x10
lea eax, [ebp - 0x10]
push eax
push 0
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
cmp edi, eax
jne 0x10003927
push esi
mov esi, dword [ebp + 0xc]
call fcn.10003858
push 0x10
push dword [ebp + 8]
xor eax, eax
call fcn.10003d6b
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 0xc

Function at 0x10003968
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ebx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
lea eax, [ebp - 0x10]
push eax
movsd dword es:[edi], dword [esi]
call fcn.100038d4
cmp dword [ebp - 0x10], 0xcd6734fe
pop edi
pop esi
jne 0x100039bd
push dword [ebp + 8]
push ebx
call fcn.100038d4
mov eax, dword [ebp - 4]
and dword [ebx + 4], 0
add eax, 0x10
cmp eax, dword [ebp + 8]
jne 0x100039bd
push dword [ebp + 8]
push ebx
push 0
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
cmp dword [ebp - 0xc], eax
jne 0x100039bd
xor eax, eax
inc eax
jmp 0x100039bf
xor eax, eax
leave
ret 4

Function at 0x100039c3
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [esi + 0xc]
and dword [esi + 4], 0
add eax, 0x10
push eax
push esi
push 0
mov dword [esi], 0xcd6734fe
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
mov dword [esi + 4], eax
mov eax, dword [esi + 0xc]
add eax, 0x10
push eax
push esi
call fcn.100038d4
mov eax, 0xcd6734fe
ret
Function at 0x10003a3c
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x18], 3
mov dword [ebp - 0xc], 0x100070dc
cmp eax, esi
je 0x10003a5c
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push 2
push esi
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_RtlImageDirectoryEntryToData]
mov edx, eax
mov dword [ebp - 0x10], edx
cmp edx, esi
jne 0x10003a79
xor eax, eax
jmp 0x10003ae5
push ebx
mov ecx, edx
mov dword [ebp - 0x14], esi
push edi
test ecx, ecx
je 0x10003ae1
movzx esi, word [ecx + 0xe]
movzx eax, word [ecx + 0xc]
and dword [ebp - 8], 0
lea eax, [ecx + eax*8 + 0x10]
test esi, esi
je 0x10003ae1
mov ecx, esi
shl ecx, 3
sub ecx, edx
add ecx, eax
cmp ecx, dword [ebp - 4]
jae 0x10003ae1
mov ecx, dword [ebp - 0xc]
movzx ecx, word [ecx]
add dword [ebp - 0xc], 2
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 8]
add ecx, esi
shr ecx, 1
lea edx, [eax + ecx*8]
test dword [edx], 0x80000000
jne 0x10003ae1
movzx ebx, word [edx]
movzx edi, word [ebp - 0x1c]
sub edi, ebx
je 0x10003aea
test edi, edi
jge 0x10003ad8
mov esi, ecx
jmp 0x10003adc
inc ecx
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], esi
jb 0x10003ab3
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 8
cmp esi, dword [ebp - 8]
jbe 0x10003ae1
mov ecx, dword [edx + 4]
test ecx, ecx
jns 0x10003b15
and ecx, 0x7fffffff
cmp dword [ebp - 4], ecx
jbe 0x10003ae1
mov eax, dword [ebp - 4]
sub eax, ecx
cmp eax, 0x10
jb 0x10003ae1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add ecx, edx
jmp 0x10003b2f
cmp dword [ebp - 4], ecx
jbe 0x10003ae1
mov eax, dword [ebp - 4]
sub eax, ecx
cmp eax, 0x10
jb 0x10003ae1
mov edx, dword [ebp - 0x10]
lea eax, [ecx + edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
dec dword [ebp - 0x18]
jne 0x10003a80
test eax, eax
je 0x10003ae1
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
push dword [eax]
push dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
push eax
call dword [sym.imp.ntdll.dll_RtlAddressInSectionTable]
jmp 0x10003ae3
Function at 0x10003b5b
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
xor edi, edi
push edi
lea eax, [ebp - 8]
push eax
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10003c0f
lea eax, [ebp - 0xc]
push eax
push edi
mov eax, 0x10004190
push edi
mov ecx, sub.ntdll.dll_strcpy
sub ecx, eax
push ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x10003c05
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10003c05
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push edi
push 4
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x10003bfb
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call esi
test eax, eax
je 0x10003bfb
push edi
push edi
push dword [ebp - 0xc]
push 0x40
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
mov ebx, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
pop esi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, ebx
pop ebx
leave
ret 0x10