joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044031
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006592d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1004417d
push 1
push 0x7abb
push 0x3bd4
push 1
call fcn.1003fd29
add esp, 0x10
mov dword [ebp - 0x24], 0x4247
mov dword [ebp - 0x2c], 0x1000c0f0
cmp dword [ebp - 0x24], 0x4369
jle 0x10044141
and dword [ebp - 0x20], 0
jmp 0x100440a1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5f25
jge 0x10044119
and dword [ebp - 0x18], 0
jmp 0x100440b7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x56ff
jge 0x10044117
and dword [ebp - 0x1c], 0
jmp 0x100440cd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x647c
jge 0x10044115
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub eax, edx
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.1001b16c
jmp 0x100440c6
jmp 0x100440b0
jmp 0x1004409a
push 0
push 0x10f4
push 0x518
push 0x4e9
push 0x18b5
push 0x1052
push 0x19a9
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x40db
jge 0x10044157
push dword [ebp - 0x2c]
call fcn.1004f7a6
pop ecx
jmp 0x10044173
or dword [ebp - 4], 0xffffffff
jmp 0x1004417d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10060bf5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006b750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10052d78
mov dword [ebp - 0x14], eax
cmp dword [0x1060ef7c], esi
jne 0x10060ce8
push 0x800
push esi
push 0x1000750c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10060c75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10060dc8
push esi
push esi
push 0x1000750c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10060dc8
push 0x10007524
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10060dc8
push eax
call ebx
push 0x10007530
push edi
mov dword [0x1060ef7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007540
push edi
mov dword [0x1060ef80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007554
push edi
mov dword [0x1060ef84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060ef8c], eax
test eax, eax
je 0x10060ce5
push 0x10007570
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060ef88], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10060d0d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10060d00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10060d22
push 4
pop eax
jmp 0x10060dca
cmp dword [ebp - 0x14], esi
je 0x10060d22
push dword [0x1060ef7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10060d07
mov eax, dword [0x1060ef88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10060d80
cmp dword [0x1060ef8c], edi
je 0x10060d80
push eax
call ebx
push dword [0x1060ef8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10060d80
test eax, eax
je 0x10060d80
call ecx
test eax, eax
je 0x10060d75
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10060d75
test byte [ebp - 8], 1
jne 0x10060d80
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10060db0
mov eax, dword [0x1060ef80]
cmp eax, edi
je 0x10060dad
push eax
call ebx
test eax, eax
je 0x10060dad
call eax
mov esi, eax
test esi, esi
je 0x10060dad
mov eax, dword [0x1060ef84]
cmp eax, edi
je 0x10060dad
push eax
call ebx
test eax, eax
je 0x10060dad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1060ef7c]
call ebx
test eax, eax
je 0x10060dc8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10060dca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005028b
mov esp, ebp
pop ebp
ret
Function at 0x414de3
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [edx], ebx
or esi, esi
sub ecx, esi
or esi, ecx
add edx, 4
cmp edx, eax
jne fcn.00414de3
ret
Function at 0x79d924
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x79d92a
pop ebp
sub ebp, 6
sub ebp, 0x39d924
jmp 0x79d988
jmp 0x79d991
mov eax, 0x39d924
add eax, ebp
add eax, 0x93
mov ecx, 0x630
mov edx, 0x3bab42d6
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d9a8
jmp 0x79d9bb
mov esp, 0xc6d6be96
salc
salc
mov esi, 0xd6fa1ad6
push edi
lodsd eax, dword es:[esi]
invalid
Function at 0x40987c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409930
jmp 0x409925
cmp dword [esi + 0x10], 0x1000
jne 0x409911
test byte [esi + 0x15], 1
jne 0x409911
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4098d0
cmp eax, 2
je 0x4098d0
cmp eax, 0x10
je 0x4098d0
cmp eax, 0x20
jne 0x4098e5
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4098e5
mov bl, 1
xor ebp, ebp
jmp 0x4098f6
mov eax, dword [esi]
add eax, ebp
call fcn.00409874
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4098e9
test bl, bl
je 0x409911
push esp
mov eax, dword [esp + 4]
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 ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409930
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4098a8
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x438c8f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
sub esp, 4
mov dword [esp], ebx
pop ebx
and ebx, edi
add edi, 0x5acfc340
call fcn.00438cdd
push 0x45b5d531
pop ebx
inc edi
xor dword [ecx], eax
mov ebx, 0x9d658ac3
or ebx, edi
mov edi, 0x9f0d734
add ecx, 1
dec ebx
sub edi, ebx
cmp ecx, edx
jne fcn.00438c8f
and edi, ebx
sub edi, edi
ret
Function at 0x401110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], ax
mov byte [esi], 0xe
mov byte [esi + 1], 6
mov byte [esi + 2], 0x34
mov byte [esi + 3], 0x30
mov al, byte [edi]
mov byte [esi + 4], al
mov eax, 0xffffffff
test ecx, ecx
je 0x40115c
push ebx
lea esp, [esp]
movsx ebx, byte [edx]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x539da8]
dec ecx
inc edx
test ecx, ecx
jne 0x401140
pop ebx
not eax
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 6], eax
mov ax, word [0x542bc4]
inc ax
movzx ecx, ax
push ecx
mov word [0x542bc4], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0xa], ax
mov dl, byte [edi + 0x84]
mov byte [esi + 0xc], dl
ret

Function at 0x401250
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov byte [esi], 0xc
mov byte [esi + 1], 0xb
mov byte [esi + 2], al
mov al, byte [ebp + 0x78]
mov byte [esi + 3], al
movzx ecx, word [ebp + 0x7c]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esp + 0xc]
mov word [esi + 4], ax
or eax, 0xffffffff
mov ecx, edi
test edi, edi
je 0x4012ab
mov edi, edi
movsx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x539da8]
dec ecx
inc edx
test ecx, ecx
jne 0x401290
not eax
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 6], eax
mov byte [esi + 0xb], 0
mov dl, byte [ebp + 0x84]
pop edi
mov byte [esi + 0xa], dl
pop ebp
ret

Function at 0x401340
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
call esi
test eax, eax
jne 0x401383
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x401370
xor al, al
pop esi
pop ecx
ret
push 8
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x40136b
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push ebx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov edx, dword [esp + 8]
push 0
test eax, eax
push edx
setne bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop ebx
pop esi
pop ecx
ret
Function at 0x4016d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push esi
push edi
mov edi, edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea edx, [esp + 8]
lea eax, [esp + 0x18]
call fcn.00403730
mov esi, dword [esp + 0x60]
lea edx, [esp + 0x18]
mov eax, edx
xor ecx, ecx
sub esi, edx
sub edi, eax
lea ebx, [ebx]
lea eax, [esp + ecx + 0x18]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, 0x30
mov byte [edi + eax], dl
jl 0x401720
mov ecx, dword [esp + 0x58]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004b46ff
add esp, 0x54
ret

Function at 0x4017b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
mov ebx, eax
push edi
mov ecx, 0x20
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov edx, 0x50e940
sub edx, ebx
lea esi, [ecx + 0x1f]
mov edi, dword [edx + eax]
add edi, dword [eax]
add eax, 4
add ecx, edi
movzx edi, cl
mov dword [eax - 4], edi
shr ecx, 8
sub esi, 1
jne 0x4017d5
sub ecx, 0xffffff80
add dword [ebx + 0x7c], ecx
mov edx, dword [ebx + 0x7c]
shr edx, 7
and edx, 1
lea edi, [esp + 0x10]
lea ebp, [esp + 0x14]
neg edx
xor ecx, ecx
sub edi, ebx
lea eax, [ebx + 8]
sub ebp, ebx
nop
mov esi, dword [eax - 8]
mov ebx, dword [esp + ecx*4 + 0x10]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], ebx
mov ebx, dword [esp + ecx*4 + 0x14]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax]
mov dword [eax - 4], ebx
mov ebx, dword [edi + eax]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax + 4]
mov dword [eax], ebx
mov ebx, dword [eax + ebp]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov dword [eax + 4], ebx
add ecx, 4
add eax, 0x10
cmp ecx, 0x20
jb 0x401810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x402470
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1a8]
push 0x20
push eax
lea ecx, [esp + 0x188]
push ecx
call fcn.004b4a20
mov dl, byte [esp + 0x1ab]
and byte [esp + 0x18c], 0xf8
and dl, 0x3f
or dl, 0x40
add esp, 0xc
mov byte [esp + 0x19f], dl
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + edi]
mov dword [esp + eax*4], ecx
inc eax
cmp eax, 0x20
jb 0x4024c0
lea edx, [esp + 0x180]
push edx
lea eax, [esp + 4]
push eax
call fcn.00401be0
lea ecx, [esp + 0x88]
push ecx
mov eax, ecx
call fcn.00402080
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x110]
push eax
lea edx, [esp + 0x14]
call fcn.00401870
add esp, 0x14
lea eax, [esp + 0x100]
call fcn.004017b0
xor eax, eax
jmp 0x402520
mov cl, byte [esp + eax*4 + 0x100]
mov byte [esi + eax], cl
inc eax
cmp eax, 0x20
jb 0x402520
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
xor eax, eax
call fcn.004b46ff
add esp, 0x1a4
ret
Function at 0x402550
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x48], edx
xor edx, edx
mov esi, 0x50e8f8
mov dword [esp + 0x4c], ecx
mov ecx, eax
sub esi, eax
lea edi, [edx + 0x11]
lea ebx, [ebx]
mov ebx, dword [esi + ecx]
add ebx, dword [ecx]
add ecx, 4
add edx, ebx
movzx ebx, dl
mov dword [ecx - 4], ebx
shr edx, 8
sub edi, 1
jne 0x4025e0
mov edx, dword [eax + 0x40]
shr edx, 7
lea esi, [esp + 0xc]
neg edx
sub esi, eax
mov edi, 0x11
jmp 0x402610
mov ecx, dword [eax]
mov ebx, dword [esi + eax]
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [eax], ebx
add eax, 4
sub edi, 1
jne 0x402610
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x402fc0
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x40315e
test eax, eax
je 0x40315e
mov dword [eax + 0xf0], 0xa
mov ecx, dword [esi]
push edi
mov edx, ecx
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
mov dword [eax], edx
mov edx, dword [esi + 4]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 4], edi
mov edx, dword [esi + 8]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 8], edi
mov edx, dword [esi + 0xc]
lea ecx, [eax + 4]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov dword [eax + 0xc], esi
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x50cfd0]
xor edx, 0x1000000
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x50d3d0]
and edi, 0xff0000
and edx, 0xff000000
xor edx, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + 0x50cbd0]
xor edx, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + 0x50c7d0]
and edi, 0xff00
xor edx, edi
xor edx, dword [eax]
mov edi, dword [ecx]
xor edi, edx
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
xor edx, edi
mov dword [eax + 0x18], edx
xor edx, esi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], edx
mov esi, 0x50e8d4
jmp 0x4030d0
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x50d3d0]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x50cfd0]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + 0x50c7d0]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x50cbd0]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x50e8f8
jne 0x4030d0
pop edi
xor eax, eax
pop esi
ret
or eax, 0xffffffff
pop esi
ret
Function at 0x404060
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407bc0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407c60
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004b46ff
add esp, 0x68
ret
Function at 0x4041d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push str.SOFTWARE360MachineSignature
push 0x80000002
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404361
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404263
cmp dword [esp + 0x14], 1
jne 0x404348
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x404348
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4042a8
cmp dword [esp + 0x14], 1
jne 0x404348
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x404348
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4042df
cmp dword [esp + 0x14], 1
jne 0x404348
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x404348
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x404348
cmp dword [esp + 0x14], 3
jne 0x404348
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x404348
lea eax, [esi + 0xc]
call fcn.004040d0
test eax, eax
je 0x404348
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x404750
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.004066f0
add esp, 8
test eax, eax
jne 0x4047bb
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004b46ff
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x4047d0
push esi
lea ecx, [esp + 0x14]
call fcn.00407bc0
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.00407c60
test edi, edi
je 0x4047ee
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004b46ff
add esp, 0x6c
ret

Function at 0x404830
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004068e0
add esp, 4
test eax, eax
jne 0x40488e
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004b46ff
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.00407c60
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004b46ff
add esp, 0x64
ret

Function at 0x4048b0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.004069c0
add esp, 8
test eax, eax
jne 0x40492f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004b46ff
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.004077a0
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004b46ff
add esp, 0x74
ret

Function at 0x405260
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40528b
push 0x50ea0c
mov eax, 0x50ea0c
call fcn.004086c0
add esp, 4
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x4052a4
push 0x50ea0c
call fcn.00408730
add esp, 4
xor eax, eax
pop ecx
ret