joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100087c1
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x1002b9a8]
mov dword [ebp - 4], esi
cmp dword [eax], esi
jne 0x100087f9
push 0x1002b9a8
call fcn.10012f44
pop ecx
test eax, eax
jns 0x100087f9
xor eax, eax
jmp 0x10008914
push 0x650
call fcn.10011093
mov edi, eax
pop ecx
mov dword [ebp - 8], edi
cmp edi, esi
je 0x100087f2
mov dword [edi + 0x618], 0x10004f81
push ebx
push dword [ebp + 8]
mov dword [edi + 0x61c], 0x10004e40
mov dword [edi + 0x620], 0x10004d39
mov dword [edi + 0x624], 0x10004c72
lea esi, [edi + 0x628]
call fcn.10013620
pop ecx
mov ebx, 0x10020c98
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10008866
push ebx
call fcn.10013620
pop ecx
mov dword [edi + 0x62c], eax
jmp 0x1000886d
and dword [edi + 0x62c], 0
cmp dword [esi], 0
jne 0x1000888a
xor eax, eax
call fcn.100110a9
xor eax, eax
lea esi, [ebp - 8]
call fcn.100110a9
xor eax, eax
jmp 0x10008913
lea eax, [ebp - 4]
push eax
lea ebx, [edi + 0x18]
mov esi, 0x200
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0x218]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test ebx, ebx
je 0x1000890a
lea eax, [ebp - 0x1c]
push eax
push 0x64
push ebx
call dword [0x1002bc64]
test eax, eax
jne 0x10008901
cmp dword [ebp - 0x14], eax
je 0x10008901
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
mov ecx, eax
add ecx, ecx
mov eax, 0x1fe
cmp ecx, eax
ja 0x100088ed
push dword [ebp - 0x14]
call esi
add eax, eax
push eax
lea eax, [edi + 0x418]
push eax
mov eax, dword [ebp - 0x14]
call fcn.10011150
pop ecx
pop ecx
jmp 0x1000890a
xor eax, eax
mov word [edi + 0x418], ax
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1000a338
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 6
push 1
xor edi, edi
push 2
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000a35b
xor eax, eax
jmp 0x1000a3cb
push esi
mov esi, 0x1300
push esi
call fcn.10011093
pop ecx
mov dword [ebp - 8], eax
cmp eax, edi
je 0x1000a39c
push edi
push edi
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push edi
push edi
push 0x4004747f
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x1000a39c
mov eax, dword [ebp - 4]
push 0x4c
xor edx, edx
pop ecx
div ecx
mov dword [0x1002cd14], eax
cmp eax, edi
jne 0x1000a3b1
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
lea esi, [ebp - 8]
call fcn.100110a9
xor eax, eax
jmp 0x1000a3ca
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1000a3c7
mov ecx, dword [0x1002cd14]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x1000a6b4
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x15
call fcn.10011cff
pop ecx
test eax, eax
jne 0x1000a754
push esi
push edi
mov eax, 0x1117
call fcn.1001321d
push eax
push 1
xor edi, edi
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, edi
je 0x1000a6fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000a6ff
push esi
call dword [0x1002cddc]
xor esi, esi
lea eax, [ebp - 4]
call fcn.100132bb
cmp esi, edi
je 0x1000a752
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1002bc90]
mov esi, eax
cmp eax, edi
jne 0x1000a724
call fcn.10006bc8
mov esi, eax
cmp esi, edi
jbe 0x1000a752
push 0xc
call fcn.10011093
pop ecx
cmp eax, edi
je 0x1000a752
mov ecx, dword [ebp + 8]
push edi
push edi
push eax
push 0x1000a63b
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
push edi
push edi
mov dword [eax], esi
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
leave
ret
Function at 0x1000a84f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov ebx, 0x113
push ebx
call fcn.10011093
mov esi, eax
pop ecx
test esi, esi
je 0x1000a88b
mov edi, 0x1002b800
xor edx, edx
sub edi, esi
mov eax, edx
and eax, 0xf
mov al, byte [eax + str._vqKepZ]
lea ecx, [edx + esi]
xor al, byte [edi + ecx]
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x1000a873
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x1000a89a
push 0xfffffffffffffffe
pop eax
jmp 0x1000a92c
push 0x8c
mov dword [ebp - 4], esi
call fcn.10011093
mov esi, eax
pop ecx
mov dword [ebp - 8], esi
test esi, esi
jne 0x1000a8b6
push 0xfffffffffffffffd
pop edi
jmp 0x1000a920
lea eax, [ebp - 4]
push eax
call fcn.1000d04c
pop ecx
test eax, eax
jns 0x1000a8c9
push 0xfffffffffffffffc
pop edi
jmp 0x1000a913
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
mov eax, esi
call fcn.1000d228
pop ecx
test eax, eax
jns 0x1000a8ea
push 0xfffffffffffffffb
jmp 0x1000a8c6
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea ebx, [ebp - 0x34]
call fcn.10018bf4
xor eax, eax
push 5
mov esi, ebx
pop ecx
lea edi, [ebp - 0x20]
repe cmpsd dword [esi], dword es:[edi]
sete al
mov ebx, 0x113
lea edi, [eax - 1]
and edi, 0xfffffff9
inc edi
mov eax, 0x8c
lea esi, [ebp - 8]
call fcn.100110a9
mov eax, ebx
lea esi, [ebp - 0xc]
call fcn.100110a9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000c55e
Capabilities:
Get local ipv4 addresses
Get socket information
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8ac
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push dword [ebp + 0x1c]
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [eax], ebx
mov eax, dword [ebp + 8]
call fcn.1000caa2
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
jge 0x1000c58f
xor eax, eax
jmp 0x1000c66b
cmp dword [ebp + 0x18], ebx
je 0x1000c5ca
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push eax
mov dword [ebp - 8], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
js 0x1000c5ca
push 0xa
push ebx
push ebx
push 0x40
push dword [ebp + 0x18]
lea eax, [ebp - 0x90]
push dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov esi, 0x9c
push esi
lea eax, [ebp - 0xa8]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push dword [ebp - 0xa0]
movzx eax, word [ebp + 0xc]
push dword [ebp - 0xa4]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x8a8]
push 0x100211dc
push dword [ebp + 0x10]
push str.GET__s_HTTP__s_r_nHost:__s:_d_r_nConnection:_Close_r_nUser_Agent:_Microsoft_Windows__u._u_UPnP_1.0_r_n_r_n
push 0x800
push eax
call fcn.100111ca
mov edi, eax
add esp, 0x24
xor esi, esi
cmp edi, ebx
jle 0x1000c651
push ebx
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x8a8]
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
jl 0x1000c670
add esi, eax
cmp esi, edi
jl 0x1000c630
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.1000c106
pop ecx
pop ecx
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1000c588
Function at 0x1000caa2
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
push 0x20
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_memset]
movzx ecx, word [ebp + 8]
push 8
pop eax
push ecx
push 0x1002631c
push eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x28], ebx
call fcn.100111ca
add esp, 0x1c
cmp byte [esi], 0x5b
jne 0x1000cb26
lea eax, [esi + 1]
xor edi, edi
cmp byte [eax], bl
je 0x1000cb20
mov esi, eax
mov al, byte [esi]
cmp al, 0x5d
je 0x1000cb20
cmp edi, 0x40
jge 0x1000cb20
push 3
push 0x1002603c
push esi
mov byte [ebp + edi - 0x78], al
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x1000cb1a
add esi, 2
inc edi
inc esi
cmp byte [esi], bl
jne 0x1000caf3
mov byte [ebp + edi - 0x78], bl
jmp 0x1000cb36
push 0x40
lea eax, [ebp - 0x78]
push esi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 0x38], bl
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x1000cb5b
or eax, 0xffffffff
jmp 0x1000cbc1
mov esi, dword [ebp - 4]
or edi, 0xffffffff
jmp 0x1000cba9
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, ebx
jl 0x1000cba6
mov eax, dword [esi + 0x18]
cmp word [eax], 0x17
jne 0x1000cb8b
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
jbe 0x1000cb8b
mov dword [eax + 0x18], ecx
push dword [esi + 0x10]
push dword [esi + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp + 8], eax
cmp eax, ebx
jge 0x1000cbad
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0x1000cb63
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp edi, ebx
jl 0x1000cb56
cmp dword [ebp + 8], ebx
jl 0x1000cb56
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000cbc6
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
push ebx
push esi
push edi
push dword [ebp + 0x1c]
call dword [sym.imp.msvcrt.dll_strlen]
cmp word [ebp + 0x14], 0x50
mov ebx, eax
pop ecx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], 0
je 0x1000cc04
movzx eax, word [ebp + 0x14]
push eax
push str.:_hu
lea eax, [ebp - 0x10]
push 8
push eax
call fcn.100111ca
add esp, 0x10
mov esi, 0x9c
push esi
lea eax, [ebp - 0xac]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push ebx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x2ac]
push 0x100211dc
push dword [ebp + 0xc]
push str.POST__s_HTTP__s_r_nHost:__s_s_r_nUser_Agent:_Microsoft_Windows__u._u_UPnP_1.0_r_nContent_Length:__d_r_nContent_Type:_text_xml_r_nSOAPAction:___s__r_nConnection:_Close_r_nCache_Control:_no_cache_r_nPragma:_no_cache_r_n_r_n
push 0x200
push eax
call fcn.100111ca
mov edi, eax
lea eax, [edi + ebx]
push eax
mov dword [ebp + 0x14], eax
call fcn.10011093
mov ebx, eax
add esp, 0x30
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x1000ccba
mov esi, dword [sym.imp.msvcrt.dll_memcpy]
push edi
lea eax, [ebp - 0x2ac]
push eax
push ebx
call esi
push dword [ebp - 4]
lea eax, [ebx + edi]
push dword [ebp + 0x1c]
push eax
call esi
add esp, 0x18
push 0
push dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
xor eax, eax
lea esi, [ebp - 8]
call fcn.100110a9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000d27c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
sub ecx, edi
push 0x14
mov dword [ebp - 4], ecx
pop esi
mov dl, byte [ecx + eax]
xor dl, 0x36
mov byte [eax], dl
inc eax
dec esi
jne 0x1000d28d
push 0x2c
lea ebx, [edi + 0x14]
push 0x36
push ebx
call sub.msvcrt.dll_memset
lea esi, [edi + 0x80]
mov eax, esi
call fcn.100102ff
push edi
push 0x40
pop eax
call fcn.1001032d
add esp, 0x10
push 0x14
pop eax
mov ecx, dword [ebp - 4]
mov cl, byte [edi + ecx]
xor cl, 0x5c
mov byte [edi], cl
inc edi
dec eax
jne 0x1000d2c2
push 0x2c
push 0x5c
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000d32f
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0xc], 0x30
push esi
push edi
mov edi, eax
mov dword [ebp - 4], 0x40
jne 0x1000d34c
mov dword [ebp - 4], 0x80
test ebx, ebx
je 0x1000d363
mov esi, dword [ebp + 8]
sub esi, edi
mov ecx, ebx
mov dl, byte [esi + eax]
xor dl, 0x36
mov byte [eax], dl
inc eax
dec ecx
jne 0x1000d357
cmp ebx, dword [ebp - 4]
jge 0x1000d37c
mov ecx, dword [ebp - 4]
sub ecx, ebx
push ecx
lea eax, [edi + ebx]
push 0x36
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp + 0xc], 0x30
jne 0x1000d39b
lea eax, [edi + 0x80]
call fcn.10010762
push dword [ebp - 4]
mov esi, eax
push edi
call fcn.10010ed2
pop ecx
jmp 0x1000d3b1
lea esi, [edi + 0x80]
mov eax, esi
call fcn.100105c6
mov eax, dword [ebp - 4]
push edi
call fcn.10010609
pop ecx
test ebx, ebx
je 0x1000d3cb
mov esi, dword [ebp + 8]
mov eax, edi
sub esi, edi
mov ecx, ebx
mov dl, byte [eax + esi]
xor dl, 0x5c
mov byte [eax], dl
inc eax
dec ecx
jne 0x1000d3bf
mov eax, dword [ebp - 4]
cmp ebx, eax
jge 0x1000d3e2
sub eax, ebx
push eax
add edi, ebx
push 0x5c
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x1000eb7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1000ec4c
cmp dword [ebp + 0xc], ebx
je 0x1000ec4c
cmp esi, ebx
je 0x1000ec4c
test byte [ebp + 0x10], 7
jne 0x1000ec4c
mov eax, dword [esi]
cmp eax, ebx
jl 0x1000ec48
cmp eax, 0x10
jg 0x1000ec48
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], ebx
jbe 0x1000ec37
push edi
xor edi, edi
cmp eax, ebx
jle 0x1000ebe8
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
sub edx, ecx
lea ecx, [ebp + edi - 0x1c]
mov bl, byte [edx + ecx]
xor bl, byte [esi + edi + 4]
inc edi
mov byte [ecx], bl
cmp edi, eax
jl 0x1000ebd4
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x1c]
call fcn.1000f152
add esp, 4
push 0x20
pop ecx
lea eax, [ebp - 0x3c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1000ec00
push 0x2c
pop ecx
call fcn.1000fd0e
xor eax, eax
cmp dword [esi], ebx
jle 0x1000ec23
mov ecx, dword [ebp + 0xc]
mov cl, byte [eax + ecx]
mov byte [esi + eax + 4], cl
inc eax
cmp eax, dword [esi]
jl 0x1000ec14
mov eax, dword [esi]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], eax
add dword [ebp + 8], eax
cmp ecx, dword [ebp + 0x10]
jb 0x1000ebc6
pop edi
push 0x18
pop ecx
lea eax, [ebp - 0x1c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1000ec3d
mov eax, dword [ebp + 0x10]
jmp 0x1000ec4f
push 0xfffffffffffffff7
jmp 0x1000ec4e
push 0xfffffffffffffffa
pop eax
pop ebx
leave
ret
Function at 0x1000ec52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, eax
xor ecx, ecx
cmp ebx, ecx
je 0x1000ed2f
cmp dword [ebp + 8], ecx
je 0x1000ed2f
cmp edi, ecx
je 0x1000ed2f
test byte [ebp + 0xc], 7
jne 0x1000ed2f
mov eax, dword [edi]
cmp eax, ecx
jl 0x1000ed2b
cmp eax, 0x10
jg 0x1000ed2b
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], ecx
jbe 0x1000ed0c
push esi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x14]
lea esi, [ebp - 0x34]
call fcn.1000f63a
push 0x20
pop ecx
lea eax, [ebp - 0x54]
mov byte [eax], 0
inc eax
dec ecx
jne 0x1000ecb0
push 0x2c
pop ecx
call fcn.1000fd0e
xor eax, eax
cmp dword [edi], eax
jle 0x1000ece6
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
sub esi, ecx
lea ecx, [ebp + eax - 0x1c]
mov dl, byte [esi + ecx]
mov byte [ecx], dl
mov cl, byte [edi + eax + 4]
xor cl, byte [ebp + eax - 0x34]
mov byte [eax + ebx], cl
inc eax
cmp eax, dword [edi]
jl 0x1000eccd
xor eax, eax
cmp dword [edi], eax
jle 0x1000ecf9
mov cl, byte [ebp + eax - 0x1c]
mov byte [edi + eax + 4], cl
inc eax
cmp eax, dword [edi]
jl 0x1000ecec
mov eax, dword [edi]
add dword [ebp - 4], eax
add dword [ebp + 8], eax
add ebx, eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x1000ec9c
pop esi
push 0x18
pop ecx
lea eax, [ebp - 0x34]
mov byte [eax], 0
inc eax
dec ecx
jne 0x1000ed12
push 0x18
pop ecx
lea eax, [ebp - 0x1c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x1000ed1f
mov eax, dword [ebp + 0xc]
jmp 0x1000ed32
push 0xfffffffffffffff7
jmp 0x1000ed31
push 0xfffffffffffffffa
pop eax
pop ebx
leave
ret
Function at 0x10010138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
xor edx, edx
lea ecx, [eax + 0x21]
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x150], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x10010149
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x18]
push 0x40
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x148]
pop edi
mov ebx, dword [ecx + 0x2c]
xor ebx, dword [ecx + 0x18]
xor ebx, dword [ecx - 8]
xor ebx, dword [ecx]
add ecx, 4
dec edi
rol ebx, 1
mov dword [ecx + 0x34], ebx
jne 0x1001019b
xor ecx, ecx
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
xor ebx, edx
and ebx, esi
mov esi, dword [ebp - 4]
xor ebx, esi
rol edi, 5
add edi, ebx
add edi, dword [ebp + ecx*4 - 0x150]
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
lea edi, [ebx + edi + 0x5a827999]
rol edx, 0x1e
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
cmp ecx, 0x14
jb 0x100101b3
cmp ecx, 0x28
jae 0x1001026c
mov ebx, dword [ebp - 4]
xor ebx, edx
xor ebx, esi
rol edi, 5
add edi, ebx
add edi, dword [ebp + ecx*4 - 0x150]
mov ebx, dword [ebp - 8]
lea edi, [ebx + edi + 0x6ed9eba1]
mov ebx, dword [ebp - 4]
rol esi, 0x1e
inc ecx
mov dword [ebp - 4], edx
mov edx, esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
cmp ecx, 0x28
jb 0x100101f8
jmp 0x10010269
mov ebx, edx
or ebx, esi
and ebx, dword [ebp - 4]
mov esi, edx
and esi, dword [ebp - 0x10]
rol edi, 5
or ebx, esi
add ebx, dword [ebp + ecx*4 - 0x150]
mov esi, dword [ebp - 4]
add ebx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
lea edi, [ebx + edi - 0x70e44324]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
inc ecx
rol edx, 0x1e
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
cmp ecx, 0x3c
jb 0x10010231
jmp 0x100102a7
mov ebx, dword [ebp - 4]
xor ebx, edx
xor ebx, esi
add ebx, dword [ebp + ecx*4 - 0x150]
mov esi, dword [ebp - 4]
add ebx, dword [ebp - 8]
rol edi, 5
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
lea edi, [ebx + edi - 0x359d3e2a]
inc ecx
rol edx, 0x1e
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
cmp ecx, 0x50
jb 0x10010273
mov ecx, dword [eax + 8]
add ecx, edi
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, esi
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 4]
pop edi
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
pop esi
mov dword [eax + 0x18], ecx
pop ebx
leave
ret
Function at 0x100102ff
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
ret

Function at 0x1001045d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
push edi
lea esi, [ecx + 8]
push 8
pop ecx
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], esi
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
add eax, 2
movzx edx, byte [eax - 2]
movzx esi, byte [eax - 1]
shl edx, 8
or edx, esi
movzx esi, byte [eax]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 1]
shl edx, 8
or edx, esi
mov dword [ebp + ecx*4 - 0x124], edx
inc ecx
add eax, 4
cmp ecx, 0x10
jl 0x1001047b
push 0x30
pop esi
lea eax, [ebp - 0xec]
push ebx
mov edx, dword [eax]
mov ecx, dword [eax - 0x34]
mov edi, edx
ror edi, 0x13
mov ebx, edx
shr edx, 0xa
ror ebx, 0x11
xor edi, ebx
xor edi, edx
mov edx, ecx
ror edx, 0x12
mov ebx, ecx
ror ebx, 7
xor edx, ebx
shr ecx, 3
xor edx, ecx
add edi, edx
add edi, dword [eax - 0x38]
add eax, 4
add edi, dword [eax - 0x18]
dec esi
mov dword [eax + 4], edi
jne 0x100104b3
mov esi, dword [ebp - 0x10]
xor edx, edx
pop ebx
mov eax, esi
ror eax, 0x19
mov ecx, esi
ror ecx, 0xb
xor eax, ecx
mov ecx, esi
ror ecx, 6
xor eax, ecx
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 8]
add edx, 4
and ecx, esi
xor ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x20]
add eax, ecx
add eax, dword [edx + 0x10024d14]
mov edi, esi
add eax, dword [ebp + edx - 0x128]
mov ecx, esi
add eax, dword [ebp - 4]
add dword [ebp - 0x14], eax
ror edi, 0x16
ror ecx, 0xd
xor edi, ecx
mov ecx, esi
ror ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
add edi, eax
mov eax, dword [ebp - 8]
or ecx, esi
and ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
and esi, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
or ecx, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
add ecx, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp edx, 0x100
jl 0x100104f1
mov eax, dword [ebp - 0x24]
pop edi
xor ecx, ecx
pop esi
mov edx, dword [ebp + ecx*4 - 0x20]
add dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 8
jl 0x10010591
leave
ret

Function at 0x100105c6
Capabilities:
Hash data using sha256

Disassembly:
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
mov dword [eax], ecx
mov dword [eax + 4], ecx
ret
Function at 0x10010762
Capabilities:
Hash data using sha224

Disassembly:
xor ecx, ecx
mov dword [eax + 0x48], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xc1059ed8
mov dword [eax + 0xc], 0xcbbb9d5d
mov dword [eax + 0x10], 0x367cd507
mov dword [eax + 0x14], 0x629a292a
mov dword [eax + 0x18], 0x3070dd17
mov dword [eax + 0x1c], 0x9159015a
mov dword [eax + 0x20], 0xf70e5939
mov dword [eax + 0x24], 0x152fecd8
mov dword [eax + 0x28], 0xffc00b31
mov dword [eax + 0x2c], 0x67332667
mov dword [eax + 0x30], 0x68581511
mov dword [eax + 0x34], 0x8eb44a87
mov dword [eax + 0x38], 0x64f98fa7
mov dword [eax + 0x3c], 0xdb0c2e0d
mov dword [eax + 0x40], 0xbefa4fa4
mov dword [eax + 0x44], 0x47b5481d
ret