joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44519c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x469d7c
je 0x445258
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x445240
mov esi, dword [ebx + 4]
jmp 0x44523a
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44522a
cmp dword [ebp - 0xc], 4
jne 0x44522a
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x445222
or dword [eax + 0x9c], ecx
jmp 0x44522a
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x4451ee
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x4451d1
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x445acf
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x44f57b
call fcn.0041ae40
sub esp, 0x11c
mov eax, dword [0x46ac74]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x445bc8
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x445b9c
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00402110
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00445acf
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004010a0
test bl, bl
jne 0x445b9c
or dword [ebp - 4], 0xffffffff
jmp 0x445b0d
cmp esi, 0x103
je 0x445bac
cmp esi, 0x3f2
jne 0x445bbc
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0041adca
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x445ecd
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x44f5dc
call fcn.0041ae40
mov eax, 0x1014
call fcn.00419660
mov eax, dword [0x46ac74]
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x101c], edi
cmp dword [ecx + 0x50], edi
mov dword [ebp - 0x10], eax
je 0x445fc8
push dword [ebp + 0xc]
call fcn.00445e1e
cmp eax, edi
mov dword [ebp - 0x1014], eax
jne 0x445f16
push dword [ebp + 0x14]
jmp 0x445ff9
push esi
call fcn.0042e854
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1020]
push eax
push edi
lea eax, [ebp - 0x101c]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp - 0x1014]
call esi
cmp eax, edi
mov dword [ebp - 0x1018], eax
jne 0x445f93
lea eax, [ebp - 0x1020]
push eax
push dword [ebp - 0x1020]
lea ecx, [ebp + 0xc]
call fcn.00401700
push eax
lea eax, [ebp - 0x101c]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x1014]
call esi
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1018], eax
call fcn.0040d630
mov ebx, dword [ebp + 0xc]
push dword [ebp - 0x1014]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1018], edi
mov ecx, dword [ebp + 8]
pop esi
jne 0x445fb6
lea eax, [ebp + 0xc]
push eax
call fcn.00404da0
jmp 0x445fbe
push dword [ebp + 0x14]
call fcn.00402110
lea ecx, [ebx - 0x10]
call fcn.004010a0
jmp 0x446001
cmp dword [ebp + 0x14], edi
jne 0x445fd4
mov dword [ebp + 0x14], 0x451ab9
push dword [ecx + 0x64]
lea eax, [ebp - 0x1010]
push 0x1000
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402110
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0041adca
leave
ret 0x10

Function at 0x44631d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x446352
cmp edi, dword [esi + 0xc]
jge 0x446352
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x446352
cmp edi, dword [eax + 8]
jge 0x446352
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x446354
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x446458
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x44648c
jmp fcn.00426aa9
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret
Function at 0x4464fd
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x4465f6
cmp eax, dword [edi + 0xc]
jge 0x4465f6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x44654e
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x4465df
cmp dword [ebp + 0xc], ebx
je 0x4465df
jmp 0x446578
push 0x10
call fcn.004461e9
cmp eax, ebx
je 0x446564
mov ecx, eax
call fcn.0044644f
mov esi, eax
jmp 0x446566
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x44658f
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x44659f
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x4465b1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00426aa9
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0041ade0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4465f1
cmp ecx, dword [esi + 8]
jge 0x4465f1
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x4465f7
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4466b6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4466e4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x446702
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00446620
jmp 0x446702
mov eax, dword [esi + 0x14]
test eax, eax
je 0x446702
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00446620
test edi, edi
mov eax, edi
jne 0x4466ec
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46d854]
test ecx, ecx
je 0x4467b5
jmp 0x4466b5
ret 8
Function at 0x44d054
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

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

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x44d114
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44d406
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x44efd1
call fcn.0041ae40
sub esp, 0x18
mov eax, dword [0x46ac74]
push esi
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
call dword [0x4690d0]
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
push 0x10
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.0041ade0
mov esi, dword [ebp + 0x14]
add esp, 0xc
test esi, esi
mov word [ebp - 0x20], 2
jne 0x44d49c
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x18]
lea ecx, [ebp - 0x20]
push 0x10
push ecx
push dword [ebp + 0xc]
mov word [ebp - 0x1e], ax
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
mov esi, eax
lea ecx, [ebp - 0x24]
call fcn.00404860
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
call fcn.0041adca
leave
ret 0x14
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x44d455
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44d4bf
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x44d452
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or esi, 0xffffffff
jmp 0x44d47a
Function at 0x44d676
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x44d693
cmp dword [ebp + 0xc], edi
je 0x44d788
push 1
push ebx
call fcn.0044d0b2
test eax, eax
jne 0x44d788
push esi
push edi
push ebx
call fcn.0044d0b2
mov esi, eax
cmp esi, edi
jne 0x44d6df
call fcn.0044434f
mov ecx, dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.00428b9f
mov esi, eax
cmp esi, edi
je 0x44d787
push edi
push 0xffffffffffffffff
mov dword [esi + 4], ebx
call fcn.0044d596
push edi
push esi
push dword [esi + 4]
call fcn.0044d4cf
movzx eax, word [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
shr ebx, 0x10
dec eax
je 0x44d738
dec eax
je 0x44d72e
dec eax
dec eax
je 0x44d724
sub eax, 4
je 0x44d71a
sub eax, 8
je 0x44d710
sub eax, 0x10
jne 0x44d787
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x44d787
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
jmp 0x44d787
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
jmp 0x44d787
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x24]
jmp 0x44d787
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
jmp 0x44d787
mov eax, dword [esi + 4]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 8]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x44d775
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp dword [ebp + 0xc], 1
je 0x44d77f
cmp ebx, edi
je 0x44d787
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x44dca8
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x44f024
call fcn.0041ae40
sub esp, 0x198
mov eax, dword [0x46ac74]
push ebx
push esi
push edi
push 0x443e6d
mov ecx, 0x46d694
mov dword [ebp - 0x10], eax
call fcn.0044637d
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x44dd0a
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x44dce8
lea esi, [ebp - 0x1a0]
push esi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x44dd3c
cmp byte [esi], 1
jne 0x44dd36
cmp byte [esi + 1], 1
jne 0x44dd36
mov dword [edi + 0xc], 0x44dc75
call fcn.0044434f
mov esi, eax
cmp dword [esi + 0x30], ebx
jne 0x44dd49
push 0x1c
call fcn.0042e824
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x44dd40
push 0xa
call fcn.00428cba
jmp 0x44dd42
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x44ddac
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], ebx
jne 0x44dd7b
push 0x1c
call fcn.0042e824
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x44dd72
push 0xa
call fcn.00428cba
jmp 0x44dd74
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], ebx
jne 0x44dda9
push 0x1c
call fcn.0042e824
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x44dda4
push 0xa
call fcn.0042824e
jmp 0x44dda6
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0041adca
leave
ret 4
Function at 0x40481d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40482c
pop dword [ebp - 0x34]
mov eax, 0x80f73ce0
sub eax, 0x80b6f4b4
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x3f3eb601
sub dword [ebp - 0x44], 0xf0ec70b6
mov dword [ebp - 0x40], 0x717cbbb8
add dword [ebp - 0x40], 0xc0b6908d
mov dword [ebp - 0x3c], 0xcaebdaff
add dword [ebp - 0x3c], 0x8160692f
mov dword [ebp - 0x38], 0x5fe7eb41
sub dword [ebp - 0x38], 0x5fe7eb41
lea eax, [ebp - 0x44]
push eax
mov eax, 0x7ea8835f
sub eax, 0x7e6652eb
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xac3b9161
sub dword [ebp - 0x44], 0x37c9280b
mov dword [ebp - 0x40], 0xc5ca5c93
sub dword [ebp - 0x40], 0x845dfb1e
mov dword [ebp - 0x3c], 0x89414d03
add dword [ebp - 0x3c], 0xda2e1f69
mov dword [ebp - 0x38], 0x68a3646f
sub dword [ebp - 0x38], 0x68a3646f
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3fa31
push 0
call eax
mov ecx, 0x4fa4
mov edi, eax
mov esi, 0x8da50117
add esi, 0x729e42e9
add esi, dword [ebp - 0x34]
mov ebx, 0x6c6a1290
add dword [ebp - 0x24], 0x69b0a099
mov edx, dword [esi]
mov dword [ebp - 4], 0x3eaf934
add edx, ebx
xor dword [ebp - 0x2c], 0x7eb929bc
mov dword [edi], edx
mov dword [ebp - 0x18], 0xa6d8dccf
add edi, 4
add esi, 0x97e1396e
sub esi, 0x97e1396a
loop 0x40493d
add eax, 0xc4bac0ec
add eax, 0x3b467077
xor ebx, ebx
add ebx, eax
add eax, 0x66e87d9e
add eax, 0x99178267
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x40407e
Capabilities:
Encode data using xor
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xbc
mov edx, dword [esp + 0xc0]
push ebx
push ebp
push esi
mov eax, dword [edx + 0xf8]
mov esi, dword [esp + 0xd0]
push edi
push 0x10
pop ecx
lea edi, [esp + 0x8c]
mov dword [esp + 0x18], 0x3c6ef372
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0xf4]
lea edi, [esp + 0x4c]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax]
mov ecx, 0x6a09e667
mov edi, dword [eax + 4]
xor esi, 0x510e527f
mov eax, dword [edx + 0xfc]
xor edi, 0x9b05688c
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x28], ecx
mov ecx, 0xbb67ae85
mov dword [esp + 0x30], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
xor edx, 0x1f83d9ab
mov ecx, dword [esp + 0x5c]
xor eax, 0x5be0cd19
mov dword [esp + 0x44], eax
xor ebp, ebp
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], 0xa54ff53a
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ecx
movzx eax, byte [eax + 0x433680]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, ecx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
xor ecx, esi
mov esi, dword [esp + 0x34]
rol ecx, 0x10
add eax, ecx
xor esi, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
ror esi, 0xc
mov dword [esp + 0x34], esi
movzx eax, byte [eax + 0x433681]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, esi
mov esi, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], esi
xor esi, ecx
mov ecx, dword [esp + 0x28]
ror esi, 8
add ecx, esi
xor eax, ecx
mov dword [esp + 0x28], ecx
ror eax, 7
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
movzx eax, byte [eax + 0x433682]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
xor ecx, edi
mov edi, dword [esp + 0x1c]
rol ecx, 0x10
add eax, ecx
xor edi, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
ror edi, 0xc
mov dword [esp + 0x1c], edi
movzx eax, byte [eax + 0x433683]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, edi
mov edi, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
xor edi, ecx
mov ecx, dword [esp + 0x30]
ror edi, 8
add ecx, edi
xor eax, ecx
mov dword [esp + 0x30], ecx
ror eax, 7
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x433684]
mov eax, dword [esp + eax*4 + 0x8c]
invalid
Function at 0x4057fa
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x4481d0], 2
jl 0x40581f
movaps xmm0, xmmword [0x433750]
movaps xmmword [0x43ee90], xmm0
movaps xmm0, xmmword [0x433740]
movaps xmmword [0x43eea0], xmm0
push esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.00405bb4
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0x433720]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x40582d
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x405f3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405f6e
test dl, 7
je 0x405f6e
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43eeb0]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x405f4e
cmp esi, 8
jb 0x405ffe
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x43eeb0]
xor ecx, dword [eax*4 + 0x43f2b0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43f6b0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43feb0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x4402b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4406b0]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x43fab0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x440ab0]
mov ebx, ecx
sub edi, 1
jne 0x405f7d
pop edi
test esi, esi
je 0x40601a
movzx ecx, byte [edx]
invalid
invalid

Function at 0x406195
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
push 0x20
pop ebp
cmp dword [esi], 2
jne 0x4061ec
mov eax, dword [esi + 4]
push edi
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x5c]
call fcn.0040686f
mov dword [esi + 4], ebx
mov edx, ebx
mov edi, ebx
movzx eax, byte [esp + edx + 0x14]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor edi, eax
inc edx
cmp edx, ebp
jb 0x4061d2
mov dword [esi + 4], edi
pop edi
cmp dword [esi], 3
jne 0x406218
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
add esi, 4
push eax
push ebp
push esi
push ebp
push dword [esp + 0x58]
call fcn.0040686f
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0041f4b0
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8