joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e18f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43e1bf
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ecx + 0xd8]
mov ecx, dword [ebp + 0x10]
movzx eax, byte [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [edi + eax*4]
inc esi
dec edx
jne 0x43e1a7
pop edi
pop esi
jmp 0x43e1c2
mov ecx, dword [ebp + 0x10]
mov eax, ecx
pop ebp
ret 0xc

Function at 0x44834e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 8
mov eax, 0x4ab1bb
call fcn.004728ee
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0x13
xor ebx, ebx
cmp dword [esi + 0x6c], ebx
je 0x448379
push dword [esi + 0x6c]
call fcn.0046faa0
pop ecx
mov dword [esi + 0x6c], ebx
push dword [esi + 0x68]
call fcn.00471916
pop ecx
mov dword [esi + 0x68], ebx
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x348]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x12
call fcn.00401b80
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x318]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x11
call fcn.00401b80
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x2e8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x10
call fcn.00401b80
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x2b8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xf
call fcn.00401b80
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x288]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xe
call fcn.00401b80
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x258]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xd
call fcn.00401b80
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x228]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xc
call fcn.00401b80
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x1f8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xb
call fcn.00401b80
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x1c8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xa
call fcn.00401b80
mov byte [ebp - 4], 9
lea ecx, [esi + 0x198]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 9
call fcn.00401b80
mov byte [ebp - 4], 8
lea ecx, [esi + 0x168]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 8
call fcn.00401b80
mov byte [ebp - 4], 7
lea ecx, [esi + 0x138]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 7
call fcn.00401b80
mov byte [ebp - 4], 6
lea ecx, [esi + 0x108]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
call fcn.00401b80
mov byte [ebp - 4], 5
lea ecx, [esi + 0xd8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 5
call fcn.00401b80
mov byte [ebp - 4], 4
lea ecx, [esi + 0xa8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 4
call fcn.00401b80
mov byte [ebp - 4], 3
lea ecx, [esi + 0x78]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 3
call fcn.00401b80
mov byte [ebp - 4], 2
lea ecx, [esi + 0x5c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
call fcn.004482ab
mov byte [ebp - 4], 1
lea ecx, [esi + 0x54]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.004482ab
mov byte [ebp - 4], bl
lea ecx, [esi + 0x4c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], bl
call fcn.004482ab
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.00417aeb
call fcn.004728bc
ret
Function at 0x44d72c
Capabilities:
Parse pe header

Disassembly:
push 0x3c
mov eax, 0x4ac7b1
call fcn.004728ee
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [0x4b3350]
mov esi, eax
test esi, esi
je 0x44d785
lea ecx, [ebp - 0x18]
call fcn.00404bf0
mov edi, esi
mov dword [ebp - 0x18], edi
cmp esi, 0xffffffff
je 0x44d8a7
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [0x4b3344]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x44d8a7
lea ecx, [ebp - 0x14]
call fcn.00404bf0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x14], ebx
call dword [0x4b3168]
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0
push 4
push ebx
mov dword [ebp - 0x20], eax
call dword [0x4b3340]
mov esi, eax
test esi, esi
je 0x44d8a7
lea ecx, [ebp - 0x10]
call fcn.0044e3f2
mov eax, 0x5a4d
mov dword [ebp - 0x10], esi
cmp word [esi], ax
jne 0x44d86d
mov ebx, dword [esi + 0x3c]
push 0xf8
add ebx, esi
push ebx
call dword [0x4b31ac]
test eax, eax
jne 0x44d866
cmp dword [ebx], 0x4550
jne 0x44d866
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x20], eax
jae 0x44d870
push esi
call dword [0x4b333c]
push dword [ebp - 0x24]
push 0
push 0
push 4
push dword [ebp - 0x1c]
call dword [0x4b3340]
mov ebx, eax
cmp esi, ebx
je 0x44d83f
lea ecx, [ebp - 0x10]
call fcn.0044e3f2
mov esi, ebx
mov dword [ebp - 0x10], esi
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x44d866
mov ebx, dword [esi + 0x3c]
push 0xf8
add ebx, esi
push ebx
call dword [0x4b31ac]
test eax, eax
jne 0x44d866
cmp dword [ebx], 0x4550
je 0x44d870
mov esi, 0xc1
jmp 0x44d8af
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44d87d
and dword [ebp - 0x10], 0
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44d88a
and dword [ebp - 0x18], 0
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x44d89a
mov ecx, dword [ebp - 0x1c]
and dword [ebp - 0x14], 0
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x44d8a3
mov dword [eax], ebx
xor esi, esi
jmp 0x44d8af
call dword [0x4b3358]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0044e3f2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00404bf0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404bf0
mov eax, esi
call fcn.004728bc
ret

Function at 0x46ce70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x401000
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x804], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x404], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x401013
mov esi, 1
mov edx, 0x42a8c8
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x42a8f0
jl 0x401050
mov eax, 1
mov byte [0x42a2c8], 0x63
mov byte [0x42a82b], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x404]
lea eax, [ebp - 0x408]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x42a2c8], bl
mov byte [ebx + 0x42a7c8], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x401090
xor esi, esi
mov edi, 0xff
movzx edx, byte [esi + 0x42a2c8]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x42bcf0], ecx
rol ecx, 8
mov dword [esi*4 + 0x42b8f0], ecx
rol ecx, 8
mov dword [esi*4 + 0x42acf0], ecx
rol ecx, 8
mov dword [esi*4 + 0x42a8f0], ecx
movzx ecx, byte [esi + 0x42a7c8]
test ecx, ecx
je 0x40117e
mov eax, dword [ebp + ecx*4 - 0x404]
add eax, dword [ebp - 0x3cc]
cdq
idiv edi
mov eax, dword [ebp + edx*4 - 0x804]
mov dword [ebp - 4], eax
jmp 0x401185
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4011a2
mov eax, dword [ebp + ecx*4 - 0x404]
add eax, dword [ebp - 0x3e0]
cdq
idiv edi
mov ebx, dword [ebp + edx*4 - 0x804]
jmp 0x4011a4
xor ebx, ebx
test ecx, ecx
je 0x4011c1
mov eax, dword [ebp + ecx*4 - 0x404]
add eax, dword [ebp - 0x3d0]
cdq
idiv edi
mov edi, dword [ebp + edx*4 - 0x804]
jmp 0x4011c3
xor edi, edi
test ecx, ecx
je 0x4011e5
mov eax, dword [ebp + ecx*4 - 0x404]
mov ecx, 0xff
add eax, dword [ebp - 0x3d8]
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x804]
jmp 0x4011e7
xor eax, eax
shl eax, 8
xor eax, edi
mov edi, 0xff
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, dword [ebp - 4]
mov dword [esi*4 + 0x42b4f0], eax
rol eax, 8
mov dword [esi*4 + 0x42b0f0], eax
rol eax, 8
mov dword [esi*4 + 0x42c0f0], eax
rol eax, 8
mov dword [esi*4 + 0x42a3c8], eax
inc esi
cmp esi, 0x100
jl 0x401102
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
push 0x118
lea eax, [ebp - 0x124]
mov esi, edx
push 0
push eax
call fcn.0040a690
add esp, 8
mov dword [0x42c504], 0x42c508
mov edx, esi
lea ecx, [ebp - 0x124]
call fcn.00401240
mov edx, eax
add esp, 4
mov dword [ebp - 8], edx
test edx, edx
jne 0x402377
mov edx, dword [ebp - 0x124]
mov esi, 0x42c518
mov ecx, edx
mov dword [0x42c500], edx
shl ecx, 4
add ecx, dword [ebp - 0x120]
lea edi, [edx - 1]
mov eax, dword [ecx]
mov dword [0x42c508], eax
mov eax, dword [ecx + 4]
mov dword [0x42c50c], eax
mov eax, dword [ecx + 8]
mov dword [0x42c510], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [0x42c514], eax
test edi, edi
jle 0x40235e
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x42a2c8]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x42a3c8]
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42c0f0]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42b0f0]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42b4f0]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x42a2c8]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x42c0f0]
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42b0f0]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42a3c8]
movzx eax, bl
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42b4f0]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x42a2c8]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x42c0f0]
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42b0f0]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42a3c8]
movzx eax, bl
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42b4f0]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x42a2c8]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x42c0f0]
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42b0f0]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42a3c8]
movzx eax, bl
movzx eax, byte [eax + 0x42a2c8]
xor edx, dword [eax*4 + 0x42b4f0]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x402204
mov eax, dword [ecx]
mov edx, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, 0x118
lea ecx, [ebp - 0x124]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x402382
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x338
cmp dword [ebp + 8], 0x180
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x14], edi
jbe 0x40575a
mov eax, 0xffffffc8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1a0
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.0040a690
push 0x118
lea eax, [esp + 0x238]
push 0
push eax
call fcn.0040a690
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0xb0], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0xb1], al
mov eax, ecx
shr eax, 8
push ecx
mov byte [esp + 0xb6], al
lea eax, [esp + 0xbc]
push esi
push eax
mov byte [esp + 0xbf], cl
mov byte [esp + 0xc3], 0x30
call fcn.0040ae70
mov eax, dword [ebp + 8]
add esp, 0x24
lea esi, [eax + 0x19]
mov byte [esp + eax + 0xa0], 0x80
mov dword [esp + 0x1c], esi
xor eax, eax
nop
mov byte [esp + eax + 0x68], al
inc eax
cmp eax, 0x20
jl 0x4057e0
push ecx
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x22c]
call fcn.00401240
add esp, 4
test eax, eax
jne 0x4058f8
mov cl, byte [esp + 0x8b]
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
mov edi, esi
movaps xmmword [esp + 0x20], xmm0
test esi, esi
je 0x40588b
lea esi, [esp + 0x88]
lea eax, [esp + 0x20]
sub esi, eax
nop dword [eax]
xor eax, eax
lea edx, [esp + 0x20]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
cmp eax, 0x10
jl 0x405832
add esi, 0x10
mov eax, edi
cmp edi, 0x10
mov ecx, 0x10
cmovae eax, ecx
lea ecx, [esp + 0x228]
sub edi, eax
lea eax, [esp + 0x20]
push eax
mov edx, eax
call fcn.004023a0
add esp, 4
test eax, eax
jne 0x4058f4
test edi, edi
jne 0x405830
movaps xmm0, xmmword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x8b]
mov esi, dword [esp + 0x1c]
movups xmmword [esp + eax + 0x38], xmm0
add eax, 0x10
inc cl
mov byte [esp + 0x8b], cl
mov dword [esp + 0x18], eax
cmp eax, 0x30
jl 0x405811
push ecx
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x22c]
call fcn.00401240
add esp, 4
test eax, eax
jne 0x4058f4
mov esi, dword [esp + 0x14]
xor edi, edi
lea eax, [esp + 0x58]
push eax
mov edx, eax
lea ecx, [esp + 0x22c]
call fcn.004023a0
add esp, 4
test eax, eax
jne 0x4058f4
movups xmm0, xmmword [esp + 0x58]
add edi, 0x10
movups xmmword [esi], xmm0
add esi, 0x10
cmp edi, 0x30
jl 0x4058c7
mov edi, dword [esp + 0x14]
mov ecx, 0x118
lea edx, [esp + 0x228]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x405904
mov ecx, 0x1a0
lea edx, [esp + 0x88]
nop dword [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x405920
mov ecx, 0x30
lea edx, [esp + 0x38]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x405934
mov ecx, 0x20
lea edx, [esp + 0x68]
nop dword [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x405950
mov ecx, 0x10
lea edx, [esp + 0x20]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x405964
test eax, eax
je 0x40598b
mov ecx, 0x30
nop dword [eax + eax]
mov byte [edi], 0
lea edi, [edi + 1]
sub ecx, 1
jne 0x405980
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4059a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x30
lea ebx, [ebp - 0x3c]
mov dword [ebp - 0xc], edx
mov eax, ebx
mov dword [ebp - 4], ecx
push 0
push eax
call fcn.0040a690
mov edx, dword [ebp - 4]
mov esi, 1
add esp, 0xc
xor edi, edi
sub esi, edx
lea ecx, [edx + 0x20]
lea eax, [edx + 0xf]
mov dword [ebp - 8], ecx
add byte [eax], 1
jne 0x4059e3
dec eax
lea ecx, [esi + eax]
test ecx, ecx
jg 0x4059d6
mov ecx, dword [ebp - 8]
push ebx
call fcn.004023a0
add esp, 4
test eax, eax
jne 0x405a48
mov edx, dword [ebp - 4]
add edi, 0x10
add ebx, 0x10
lea eax, [edx + 0xf]
cmp edi, 0x30
jl 0x4059d6
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x3c]
xor edx, edx
sub ecx, eax
nop
lea eax, [ebp - 0x3c]
add eax, edx
add edx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ecx + eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp edx, 0x30
jl 0x405a10
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x3c]
call fcn.00401240
add esp, 4
test eax, eax
jne 0x405a48
mov ecx, dword [ebp - 4]
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [ecx], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405c50
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
mov byte [ebp - 1], dl
mov dword [ebp - 8], eax
push edi
mov edi, dword [ebp + 8]
cmp ebx, 0x20
jbe 0x405c90
lea eax, [ebp - 0x28]
mov edx, ebx
push 0
push eax
mov ecx, edi
call fcn.004080b0
mov edx, eax
add esp, 8
test edx, edx
jne 0x405d19
lea ebx, [eax + 0x20]
mov eax, dword [ebp - 8]
lea edi, [ebp - 0x28]
cmp dword [eax], 0
mov cl, byte [ebp - 1]
push esi
mov byte [ebp + 0xc], cl
lea esi, [eax + 4]
mov byte [ebp + 0xd], bl
jne 0x405cee
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0x6a09e667
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0x3c6ef372
mov dword [esi + 0x14], 0xa54ff53a
mov dword [esi + 0x18], 0x510e527f
mov dword [esi + 0x1c], 0x9b05688c
mov dword [esi + 0x20], 0x1f83d9ab
mov dword [esi + 0x24], 0x5be0cd19
mov dword [esi + 0x68], 0
push 2
lea edx, [ebp + 0xc]
mov dword [eax], 1
mov ecx, esi
call fcn.00407e60
mov edx, eax
add esp, 4
test edx, edx
jne 0x405d18
push ebx
mov edx, edi
mov ecx, esi
call fcn.00407e60
add esp, 4
mov edx, eax
pop esi
pop edi
mov ecx, 0x20
lea eax, [ebp - 0x28]
pop ebx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x405d23
mov eax, edx
mov esp, ebp
pop ebp
ret
Function at 0x4060a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, dword [0x42a2c4]
mov ebx, edx
mov dword [ebp - 4], edx
test edi, edi
je 0x406295
mov eax, dword [0x42a2bc]
mov esi, 0x20
test eax, eax
je 0x406295
cmp dword [eax + 0xc], esi
jae 0x40613f
push dword [0x42a2c0]
mov eax, dword [eax + 0x10]
call eax
mov edx, eax
add esp, 4
test edx, edx
jne 0x406279
mov eax, dword [0x42a2bc]
push esi
push ebx
push dword [0x42a2c0]
mov eax, dword [eax + 0x14]
call eax
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x406279
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x42a2bc]
push dword [0x42a2c0]
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
add esp, 8
test edx, edx
jne 0x406279
mov eax, dword [0x42a2bc]
lea ebx, [ebp - 0x38]
mov edi, dword [0x42a2c4]
mov dword [ebp - 4], ebx
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
push eax
push 0x36
push edi
lea ebx, [eax + edi]
mov dword [ebp - 0x18], ebx
call fcn.0040a690
mov eax, dword [0x42a2bc]
push dword [eax + 0xc]
push 0x5c
push ebx
call fcn.0040a690
xor ecx, ecx
add esp, 0x18
mov dword [ebp - 8], ecx
test esi, esi
je 0x406247
mov edx, dword [ebp - 4]
cmp esi, 0x10
jb 0x406215
mov dword [ebp - 8], ecx
lea eax, [ebx - 1]
lea ecx, [edx - 1]
add eax, esi
add ecx, esi
cmp ebx, ecx
mov ecx, 0
ja 0x406197
cmp eax, edx
jae 0x406215
lea ecx, [edi - 1]
add ecx, esi
cmp ebx, ecx
mov ecx, 0
ja 0x4061a9
cmp eax, edi
jae 0x406215
lea eax, [edx - 1]
add eax, esi
cmp edi, eax
ja 0x4061bb
lea eax, [edi - 1]
add eax, esi
cmp eax, edx
jae 0x406215
mov ecx, edx
mov eax, esi
sub ecx, edi
and eax, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov ecx, ebx
mov edx, dword [ebp - 0xc]
sub ecx, edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
nop dword [eax]
movups xmm2, xmmword [edx + eax]
add ecx, 0x10
lea eax, [eax + 0x10]
movups xmm0, xmmword [eax - 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebx + eax - 0x10]
movups xmmword [eax - 0x10], xmm1
pxor xmm2, xmm0
movups xmmword [ebx + eax - 0x10], xmm2
cmp ecx, dword [ebp - 0x14]
jb 0x4061e0
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp ecx, esi
jae 0x406247
mov eax, edi
add ecx, edx
sub eax, edx
sub ebx, edx
sub esi, dword [ebp - 8]
mov edx, eax
mov dword [ebp - 0x18], eax
nop dword [eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
xor byte [edx + ecx - 1], al
movzx eax, byte [ecx - 1]
xor byte [ebx + ecx - 1], al
sub esi, 1
jne 0x406230
mov eax, dword [0x42a2bc]
push dword [0x42a2c0]
mov eax, dword [eax + 0x10]
call eax
mov edx, eax
add esp, 4
test edx, edx
jne 0x406279
mov eax, dword [0x42a2bc]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push edi
push dword [0x42a2c0]
call eax
add esp, 0xc
mov edx, eax
mov eax, 0x20
lea ecx, [ebp - 0x38]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x406281
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffaf00
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407440
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test edx, edx
push ebx
mov ecx, 0x367cd507
mov dword [ebp - 0xc], 0xc1059ed8
mov dword [eax], 0
mov ebx, 0xa54ff53a
mov dword [eax + 4], 0
mov edx, 0x510e527f
mov eax, 0xbb67ae85
cmovne eax, ecx
mov ecx, 0x3070dd17
mov dword [ebp - 0x10], eax
mov eax, 0x3c6ef372
cmovne eax, ecx
mov ecx, 0x5be0cd19
mov dword [ebp - 0x14], eax
mov eax, 0xf70e5939
cmovne ebx, eax
mov eax, 0x64f98fa7
push esi
push edi
mov edi, 0x1f83d9ab
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
cmovne edi, eax
mov eax, 0x68581511
mov esi, 0x9b05688c
cmovne esi, eax
test ebx, ebx
mov ebx, dword [ebp - 4]
mov eax, 0xffc00b31
cmovne edx, eax
mov eax, 0xbefa4fa4
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 0x68], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
mov eax, ecx
push esi
mov esi, edx
mov dword [ebp - 4], eax
jle 0x40824e
push ebx
push edi
lea ecx, [eax + 0xf]
mov edi, eax
lea eax, [esi + 0xf]
mov dword [ebp - 8], ecx
xor ebx, ebx
mov dword [ebp - 0xc], eax
sub edi, esi
nop dword [eax]
movups xmm2, xmmword [esi]
mov eax, dword [0x42a2bc]
movups xmmword [ebp - 0x1c], xmm2
test eax, eax
je 0x4081ee
cmp dword [0x42a2c4], 0
je 0x4081ee
mov eax, dword [eax + 0x14]
push 0x10
push esi
push dword [0x42a2c0]
call eax
movups xmm2, xmmword [ebp - 0x1c]
add esp, 0xc
push esi
mov edx, esi
mov ecx, 0x42c500
call fcn.00402930
add esp, 4
cmp esi, dword [ebp - 8]
ja 0x408227
mov eax, dword [ebp - 0xc]
add eax, ebx
cmp eax, dword [ebp - 4]
jb 0x408227
mov eax, esi
mov edx, 0x10
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x408214
mov eax, dword [ebp - 4]
jmp 0x408237
mov eax, dword [ebp - 4]
movups xmm1, xmmword [esi]
movups xmm0, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
add ebx, 0x10
add esi, 0x10
sub edi, 0x10
movups xmmword [eax], xmm2
cmp ebx, dword [ebp + 8]
jl 0x4081c0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4092b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x4272b8
movzx eax, cx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ebx, eax
push 0
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esi]
mov edi, eax
inc ecx
push ecx
call fcn.0040ba54
mov esi, dword [esi]
mov ebx, eax
push esi
push edi
push ebx
call fcn.0040ae70
add esp, 0x10
mov byte [esi + ebx], 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418394
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417d02

Function at 0x41839f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417f3d