joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10039c90
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10039b9d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1009a064]
jb 0x10039b0a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1009a068]
ja 0x10039b0a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10039ada
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10054de0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10039b2f
jmp 0x10039b9d
cmp dword [ebp - 0x14], 0x10000
jne 0x10039b83
cmp dword [ebp - 0x18], 0x10000
jb 0x10039b83
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10039b66
mov eax, dword [ebp - 8]
jmp 0x10039b9f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10039b76
xor eax, eax
jmp 0x10039b9f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10039b98
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10039c90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10039ada
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10039bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10039cc0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10039c85
mov edx, dword [ebp - 4]
cmp edx, dword [0x1009a064]
jb 0x10039bf5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1009a068]
ja 0x10039bf5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10039bc5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10054de0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10039c1a
jmp 0x10039c85
cmp dword [ebp - 0x14], 0x10000
jne 0x10039c6e
cmp dword [ebp - 0x18], 0x10000
jb 0x10039c6e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10039c51
mov eax, dword [ebp - 8]
jmp 0x10039c87
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10039c61
xor eax, eax
jmp 0x10039c87
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10039c80
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10039cc0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10039bc5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10039cf0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003a0e0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1009db7c], 0
jne 0x10039d2d
cmp dword [0x1009db78], 0
je 0x10039d2d
mov eax, dword [0x1009db78]
mov dword [0x1009db7c], eax
cmp dword [0x1009db7c], 0
je 0x10039daa
mov ecx, dword [0x1009db7c]
cmp dword [ecx + 8], 0
je 0x10039daa
mov edx, dword [0x1009db7c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10039daa
mov ecx, dword [0x1009db7c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10039daa
mov eax, dword [0x1009db7c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10039d79
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10039d80
xor eax, eax
jmp 0x10039ec9
mov ecx, dword [0x1009db7c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10054de0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10039ec9
mov edx, dword [0x1009db78]
mov dword [0x1009db7c], edx
jmp 0x10039dc6
mov eax, dword [0x1009db7c]
mov ecx, dword [eax + 4]
mov dword [0x1009db7c], ecx
cmp dword [0x1009db7c], 0
je 0x10039e06
cmp dword [0x1009db7c], 0
je 0x10039e04
mov edx, dword [0x1009db7c]
cmp dword [edx + 8], 0
je 0x10039e04
mov eax, dword [0x1009db7c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10039e04
mov edx, dword [0x1009db7c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10039e04
jmp 0x10039d5e
jmp 0x10039db8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10039ed0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039ec7
mov eax, dword [ebp - 0x18]
mov dword [0x1009db7c], eax
mov ecx, dword [0x1009db7c]
mov dword [ecx], 0x52727464
mov edx, dword [0x1009db7c]
mov dword [edx + 8], 0
mov eax, dword [0x1009db7c]
mov ecx, dword [0x1009db78]
mov dword [eax + 4], ecx
mov edx, dword [0x1009db7c]
mov dword [0x1009db78], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1009db7c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10039e97
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10039eb7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10039e8e
mov eax, dword [0x1009db7c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10039d5e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003ac10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009db78]
mov dword [ebp - 4], eax
jmp 0x1003ac29
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1003ac50
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003ac4e
call sub.KERNEL32.dll_GetLastError
jmp 0x1003ac52
jmp 0x1003ac20
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003b0f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1009db88], eax
je 0x1003b114
mov eax, 0x10dd
jmp 0x1003b2bc
cmp dword [0x1009db8c], 0
je 0x1003b127
mov eax, dword [0x1009db8c]
jmp 0x1003b2bc
cmp dword [ebp + 0xc], 0
jne 0x1003b137
mov eax, 0x57
jmp 0x1003b2bc
cmp dword [ebp + 8], 0
jne 0x1003b147
mov eax, 6
jmp 0x1003b2bc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1003b170
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x1009db8c], ecx
mov edx, dword [ebp + 8]
mov dword [0x1009db90], edx
mov eax, dword [ebp - 8]
jmp 0x1003b2bc
push 0x18
call fcn.1003c7a6
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003b1cb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x1009db8c], ecx
cmp dword [ebp - 4], 0
je 0x1003b1ba
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1003c7fc
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1009db90], ecx
mov eax, dword [ebp - 8]
jmp 0x1003b2bc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1003b0d0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003b0d0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1003b20b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1003b227
mov dword [ebp - 8], 9
cmp dword [0x1009db80], 0
je 0x1003b222
jmp 0x1003b199
jmp 0x1003b190
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1003b24e
mov dword [ebp - 8], 9
cmp dword [0x1009db80], 0
je 0x1003b249
jmp 0x1003b199
jmp 0x1003b190
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003b279
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003b190
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x1009db98]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1009db98], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1003b2d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1009db88], eax
je 0x1003b2ed
mov eax, 0x10dd
jmp 0x1003b3d0
mov eax, dword [0x1009db98]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003b36c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1003b348
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1003b348
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1003a170
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1003c7fc
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1003b2f5
mov dword [0x1009db98], 0
call fcn.1003aa50
mov ecx, dword [0x1009db94]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003b3ba
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1003c7fc
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1003b384
mov dword [0x1009db94], 0
mov dword [0x1009db88], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003b8b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1009db8c], 0
je 0x1003b8c9
mov eax, dword [0x1009db8c]
jmp 0x1003b968
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1003b8da
xor eax, eax
jmp 0x1003b968
push 8
call fcn.1003c7a6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003b932
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003b91b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1003c7fc
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1009db8c], eax
mov dword [0x1009db90], 0
mov eax, dword [ebp - 8]
jmp 0x1003b968
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003b94a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003b8fa
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1009db94]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1009db94], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1003f5e9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x10061c3b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10061aba

Function at 0x10069dd6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10069a96
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x10001063
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x70], 0x10004068
mov dword [0x100041d0], esi
push dword [ebp + 8]
mov dword [esi], 0x84
mov dword [esi + 0x64], 0x300
push esi
call dword [sym.imp.ATL.DLL_AtlModuleInit]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x100010b1
push 0x10
push dword [ebp + 0x10]
push 0x100041c0
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edi, 0x94
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0xb8]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0xa8], 2
jne 0x10001102
cmp dword [ebp - 0xb4], 5
jae 0x10001158
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x10001158
or dword [esi + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, 0x80000000
jne 0x10001124
shr dword [esi + 0x74], 1
shl eax, 1
inc ecx
cmp ecx, 0x20
jl 0x10001112
shr dword [esi + 0x74], 1
mov eax, dword [esi + 0x74]
lea eax, [eax*4 + 4]
push eax
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x78], eax
xor edi, edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esi + 0x78]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esi + 0x74]
jbe 0x10001141
jmp 0x1000115e
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc

Function at 0x10001c34
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], 5
push 1
pop eax
push ecx
lea ecx, [ebp - 0x54]
push ecx
push esi
push esi
push 0x20
push eax
push esi
push esi
mov dword [ebp - 0x28], eax
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop esi
neg eax
leave
ret
Function at 0x10001c81
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push ebx
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001d0e
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 4]
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x10001d03
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push edi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x10001cfb
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 4]
jne 0x10001cfb
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov bl, 1
mov dword [eax], edi
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
jmp 0x10001d03
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x4048e3
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x44f580], 2
push esi
push edi
mov edi, eax
mov esi, ecx
jl 0x4048f7
call fcn.00403770
mov ecx, esi
call fcn.004048c0
xor eax, eax
mov edx, dword [eax + 0x42a4a0]
mov ecx, dword [esi + 0xf4]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x20
jl 0x404900
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
mov ecx, dword [esp + 0xc]
xor dword [eax + 8], ecx
mov esi, dword [esi + 0xf4]
or edi, 0x2000
shl edi, 0x10
xor dword [esi + 0xc], edi
pop edi
pop esi
ret 4
Function at 0x4054bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
test esi, esi
jbe 0x4054ea
test cl, 7
je 0x4054ea
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4315a0]
dec esi
inc ecx
jmp 0x4054cb
cmp esi, 8
jb 0x40558d
mov edx, esi
shr edx, 3
mov dword [ebp + 8], edx
push ebx
mov edx, dword [ecx + 4]
xor eax, dword [ecx]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x4319a0]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4315a0]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x431da0]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4325a0]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x4329a0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x432da0]
movzx edx, dl
xor edi, dword [edx*4 + 0x4321a0]
movzx eax, al
xor edi, dword [eax*4 + 0x4331a0]
sub esi, 8
add ecx, 8
dec dword [ebp + 8]
mov eax, edi
jne 0x4054fc
pop ebx
jmp 0x40558d
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4315a0]
dec esi
inc ecx
test esi, esi
ja 0x405579
pop edi
pop esi
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0x40
pop ebx
cmp esi, ebx
jbe 0x405898
lea eax, [ebp - 0x1d0]
push eax
call fcn.004103fc
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1d0]
push eax
call fcn.004106fe
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.00410777
lea eax, [ebp - 0x80]
push 0x20
mov dword [ebp + 8], eax
pop esi
xor ecx, ecx
push edi
test esi, esi
jbe 0x4058b8
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
sub edi, eax
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor dl, 0x36
inc ecx
mov byte [eax], dl
cmp ecx, esi
jb 0x4058a7
cmp esi, ebx
jae 0x4058d0
mov ecx, ebx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x40]
push 0x36
push eax
call fcn.0041a2f0
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
call fcn.004103fc
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004106fe
push dword [ebp + 0x14]
lea eax, [ebp - 0xf0]
push dword [ebp + 0x10]
push eax
call fcn.004106fe
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00410777
lea eax, [ebp - 0x160]
push eax
call fcn.004103fc
xor ecx, ecx
test esi, esi
jbe 0x40593a
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
sub edi, eax
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor dl, 0x5c
inc ecx
mov byte [eax], dl
cmp ecx, esi
jb 0x405929
pop edi
cmp esi, ebx
jae 0x405953
mov ecx, ebx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x40]
push 0x5c
push eax
call fcn.0041a2f0
add esp, 0xc
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.004106fe
push 0x20
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.004106fe
push dword [ebp + 0x18]
lea eax, [ebp - 0x160]
push eax
call fcn.00410777
pop esi
pop ebx
leave
ret 0x14
Function at 0x40598b
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0xbc
push esi
mov esi, dword [ebp + 0x6c]
push edi
push 0x40
pop eax
cmp esi, eax
jae 0x4059a4
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x44]
push eax
call fcn.0041bd60
add esp, 0xc
lea eax, [ebp + 0x20]
push eax
mov byte [ebp + esi - 0x44], 0
mov byte [ebp + esi - 0x43], 0
mov byte [ebp + esi - 0x42], 0
mov byte [ebp + esi - 0x41], 1
add esi, 4
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0040584e
push 0x20
pop esi
push esi
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp]
push eax
call fcn.0041bd60
mov eax, dword [ebp + 0x7c]
add esp, 0xc
dec eax
mov dword [ebp + 0x4c], eax
push 0x10
pop eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x48], eax
xor edi, edi
mov eax, dword [ebp + edi + 0x4c]
test eax, eax
jbe 0x405a5b
mov dword [ebp + 0x6c], eax
lea eax, [ebp - 0x64]
push eax
push esi
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0040584e
push esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0041bd60
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax + 0x20]
xor byte [ebp + eax], cl
inc eax
cmp eax, esi
jb 0x405a49
dec dword [ebp + 0x6c]
jne 0x405a22
push esi
lea eax, [ebp]
push eax
push dword [ebp + edi + 0x40]
call fcn.0041bd60
add edi, 4
add esp, 0xc
cmp edi, 0xc
jb 0x405a17
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.0040cd8f
push esi
lea eax, [ebp]
push eax
call fcn.0040cd8f
push esi
lea eax, [ebp + 0x20]
push eax
call fcn.0040cd8f
push esi
lea eax, [ebp - 0x64]
push eax
call fcn.0040cd8f
pop edi
pop esi
add ebp, 0x58
leave
ret 0x20