joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x423cb4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [ebp + 0x10]
mov ecx, 0x41e2b8
mov edx, dword [ebp + 0xc]
mov edi, 0xc
mov esi, edx
mov dword [ebx], 0
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x405eb5
add ecx, 4
add esi, 4
sub edi, 4
jae 0x405e90
mov ecx, dword [ebp + 8]
mov dword [ebx], ecx
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov ecx, 0x41e2c8
mov esi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405ee5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405ec0
mov ecx, dword [ebp + 8]
mov dword [ebx], ecx
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x80004001
pop ebx
pop ebp
ret 0xc

Function at 0x405fc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x427020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x423d38
call edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x406076
mov eax, dword [ecx]
lea edx, [ebp - 0x208]
push edx
push 0x423e74
push ecx
call dword [eax]
xor esi, esi
test eax, eax
cmovns esi, dword [ebp - 0x208]
jns 0x406015
cmp eax, 0x80004002
jne 0x40608a
test esi, esi
je 0x406076
mov eax, dword [esi]
lea ecx, [ebp - 0x208]
push ecx
push esi
call dword [eax + 0x4c]
push dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push 0x423d48
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call edi
cmp dword [ebp - 0x208], 4
jne 0x406070
push 0
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x423d88
call edi
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040d409
mov esp, ebp
pop ebp
ret 0x24
push eax
call fcn.0040ce40
int3
Function at 0x407080
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x427020]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4071ba
test eax, eax
je 0x4071ba
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4071ba
push ecx
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x74], 0
xorps xmm0, xmm0
mov dword [esp + 0x7d], 0
push eax
movq qword [esp + 0x79], xmm0
mov word [esp + 0x85], 0
mov byte [esp + 0x87], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.004067a0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00406870
mov ebx, esi
xor edi, edi
movzx eax, byte [esp + edi + 0x6c]
xorps xmm0, xmm0
push eax
push 0x423e84
lea eax, [esp + 0x84]
mov byte [esp + 0x84], 0
push 0x20
push eax
movdqu xmmword [esp + 0x8d], xmm0
mov dword [esp + 0xa5], 0
movq qword [esp + 0x9d], xmm0
mov word [esp + 0xa9], 0
mov byte [esp + 0xab], 0
call fcn.0040e369
mov ax, word [esp + 0x8c]
lea ebx, [ebx + 2]
inc edi
mov word [ebx - 2], ax
add esp, 0x10
cmp edi, 0x10
jl 0x407135
cmp byte [esi], 0
je 0x4071ba
mov al, byte [esi]
cmp al, 0x41
jb 0x4071b4
cmp al, 0x5a
ja 0x4071b4
add al, 0x20
mov byte [esi], al
inc esi
cmp byte [esi], 0
jne 0x4071a6
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040d409
mov esp, ebp
pop ebp
ret 0xc

Function at 0x407480
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x427020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3f
lea eax, [ebp - 0x7b]
mov byte [ebp - 0x7c], 0
push 0
push eax
mov edi, ecx
call fcn.0040eea0
mov esi, dword [ebp + 8]
add esp, 0xc
xor edx, edx
lea ecx, [ecx]
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
movsx eax, byte [eax + esi]
shl eax, cl
sar eax, 7
and al, 1
mov byte [ebp + edx - 0x7c], al
inc edx
cmp edx, 0x40
jb 0x4074b0
push 0x37
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x3c], 0
push 0
push eax
call fcn.0040eea0
add esp, 0xc
xor eax, eax
jmp 0x4074f0
movsx ecx, byte [eax + 0x4241b0]
movzx ecx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x3c], cl
movsx ecx, byte [eax + 0x4241b1]
movzx ecx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x3b], cl
movsx ecx, byte [eax + 0x4241b2]
movzx ecx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x3a], cl
movsx ecx, byte [eax + 0x4241b3]
mov dl, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x39], dl
add eax, 4
cmp eax, 0x38
jl 0x4074f0
push ecx
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00407d60
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040d409
mov esp, ebp
pop ebp
ret 8
Function at 0x407560
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x427020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
lea eax, [ebp - 0x63]
mov byte [ebp - 0x64], 0
push 0
push eax
mov edi, ecx
call fcn.0040eea0
push 0x3f
lea eax, [ebp - 0xe3]
mov byte [ebp - 0xe4], 0
push 0
push eax
call fcn.0040eea0
push 0x3f
lea eax, [ebp - 0xa3]
push 0
push eax
call fcn.0040eea0
mov esi, dword [ebp + 8]
add esp, 0x24
xor edx, edx
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
movsx eax, byte [eax + esi]
shl eax, cl
sar eax, 7
and al, 1
mov byte [ebp + edx - 0x64], al
inc edx
cmp edx, 0x40
jb 0x4075b8
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004080f0
movdqu xmm0, xmmword [ebp - 0xe4]
xor esi, esi
movdqu xmmword [ebp - 0x44], xmm0
movdqu xmm0, xmmword [ebp - 0xd4]
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmm0, xmmword [ebp - 0xc4]
movdqu xmmword [ebp - 0x24], xmm0
movdqu xmm0, xmmword [ebp - 0xb4]
movdqu xmmword [ebp - 0x14], xmm0
lea ecx, [ecx]
push ecx
push esi
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00407f70
inc esi
cmp esi, 0x10
jl 0x407620
movdqu xmm0, xmmword [ebp - 0x24]
xor eax, eax
movdqu xmmword [ebp - 0xa4], xmm0
movdqu xmm0, xmmword [ebp - 0x14]
movdqu xmmword [ebp - 0x94], xmm0
movdqu xmm0, xmmword [ebp - 0x44]
movdqu xmmword [ebp - 0x84], xmm0
movdqu xmm0, xmmword [ebp - 0x34]
movdqu xmmword [ebp - 0x74], xmm0
lea ebx, [ebx]
movsx ecx, byte [eax + 0x423ea0]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x600], cl
movsx ecx, byte [eax + 0x423ea1]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x601], cl
movsx ecx, byte [eax + 0x423ea2]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x602], cl
movsx ecx, byte [eax + 0x423ea3]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x603], cl
add eax, 4
cmp eax, 0x40
jl 0x407670
xorps xmm0, xmm0
mov ebx, 1
movq qword [edi + 0x680], xmm0
lea eax, [ebx - 1]
mov ecx, 7
and eax, 7
lea edx, [ebx - 1]
sub ecx, eax
shr edx, 3
movzx eax, byte [ebx + edi + 0x5ff]
shl al, cl
mov ecx, 7
or byte [edx + edi + 0x680], al
mov eax, ebx
and eax, 7
mov edx, ebx
sub ecx, eax
shr edx, 3
movzx eax, byte [ebx + edi + 0x600]
shl al, cl
mov ecx, 7
or byte [edx + edi + 0x680], al
lea edx, [ebx + 1]
movzx eax, byte [ebx + edi + 0x601]
mov esi, edx
and edx, 7
shr esi, 3
sub ecx, edx
lea edx, [ebx + 2]
shl al, cl
mov ecx, 7
or byte [esi + edi + 0x680], al
mov esi, edx
movzx eax, byte [ebx + edi + 0x602]
and edx, 7
shr esi, 3
sub ecx, edx
add ebx, 4
shl al, cl
or byte [esi + edi + 0x680], al
lea eax, [ebx - 1]
cmp eax, 0x40
jb 0x4076e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d409
mov esp, ebp
pop ebp
ret 8
Function at 0x407790
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x427020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
lea eax, [ebp - 0x63]
mov byte [ebp - 0x64], 0
push 0
push eax
mov edi, ecx
call fcn.0040eea0
push 0x3f
lea eax, [ebp - 0xe3]
mov byte [ebp - 0xe4], 0
push 0
push eax
call fcn.0040eea0
push 0x3f
lea eax, [ebp - 0xa3]
push 0
push eax
call fcn.0040eea0
mov esi, dword [ebp + 8]
add esp, 0x24
xor edx, edx
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
movsx eax, byte [eax + esi]
shl eax, cl
sar eax, 7
and al, 1
mov byte [ebp + edx - 0x64], al
inc edx
cmp edx, 0x40
jb 0x4077e8
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004080f0
movdqu xmm0, xmmword [ebp - 0xe4]
xor esi, esi
movdqu xmmword [ebp - 0x44], xmm0
movdqu xmm0, xmmword [ebp - 0xd4]
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmm0, xmmword [ebp - 0xc4]
movdqu xmmword [ebp - 0x24], xmm0
movdqu xmm0, xmmword [ebp - 0xb4]
movdqu xmmword [ebp - 0x14], xmm0
lea ecx, [ecx]
push ecx
mov eax, 0xf
mov ecx, edi
sub eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00407f70
inc esi
cmp esi, 0x10
jl 0x407850
movdqu xmm0, xmmword [ebp - 0x24]
xor eax, eax
movdqu xmmword [ebp - 0xa4], xmm0
movdqu xmm0, xmmword [ebp - 0x14]
movdqu xmmword [ebp - 0x94], xmm0
movdqu xmm0, xmmword [ebp - 0x44]
movdqu xmmword [ebp - 0x84], xmm0
movdqu xmm0, xmmword [ebp - 0x34]
movdqu xmmword [ebp - 0x74], xmm0
movsx ecx, byte [eax + 0x423ea0]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x640], cl
movsx ecx, byte [eax + 0x423ea1]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x641], cl
movsx ecx, byte [eax + 0x423ea2]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x642], cl
movsx ecx, byte [eax + 0x423ea3]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x643], cl
add eax, 4
cmp eax, 0x40
jl 0x4078a1
xorps xmm0, xmm0
mov ebx, 1
movq qword [edi + 0x688], xmm0
lea eax, [ebx - 1]
mov ecx, 7
and eax, 7
lea edx, [ebx - 1]
sub ecx, eax
shr edx, 3
movzx eax, byte [ebx + edi + 0x63f]
shl al, cl
mov ecx, 7
or byte [edx + edi + 0x688], al
mov eax, ebx
and eax, 7
mov edx, ebx
sub ecx, eax
shr edx, 3
movzx eax, byte [ebx + edi + 0x640]
shl al, cl
mov ecx, 7
or byte [edx + edi + 0x688], al
lea edx, [ebx + 1]
movzx eax, byte [ebx + edi + 0x641]
mov esi, edx
and edx, 7
shr esi, 3
sub ecx, edx
lea edx, [ebx + 2]
shl al, cl
mov ecx, 7
or byte [esi + edi + 0x688], al
mov esi, edx
movzx eax, byte [ebx + edi + 0x642]
and edx, 7
shr esi, 3
sub ecx, edx
add ebx, 4
shl al, cl
or byte [esi + edi + 0x688], al
lea eax, [ebx - 1]
cmp eax, 0x40
jb 0x407911
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d409
mov esp, ebp
pop ebp
ret 8
Function at 0x407d60
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x427020]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x3b], xmm0
push ebx
movq qword [ebp - 0x2b], xmm0
mov eax, dword [edx + 0x18]
movdqu xmmword [ebp - 0x1f], xmm0
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0x34]
movq qword [ebp - 0xf], xmm0
movdqu xmm0, xmmword [edx]
mov dword [ebp - 0x5c], eax
xor eax, eax
inc ecx
mov byte [ebp - 0x3c], 0
movdqu xmmword [ebp - 0x58], xmm0
push esi
movq xmm0, qword [edx + 0x10]
movq qword [ebp - 0x48], xmm0
movdqu xmm0, xmmword [edx + 0x1c]
mov word [ebp - 0x23], 0
mov byte [ebp - 0x21], 0
movdqu xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x20], 0
movq xmm0, qword [edx + 0x2c]
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], ecx
push edi
mov edi, edi
movsx ebx, byte [eax + 0x424170]
mov esi, 0x1c
sub esi, ebx
lea eax, [ebp - 0x58]
add eax, ebx
push esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040efb0
push ebx
lea eax, [ebp - 0x58]
mov edi, ebx
push eax
neg edi
lea eax, [ebp - 0x20]
add eax, edi
push eax
call fcn.0040efb0
lea eax, [ebp - 0x74]
add eax, ebx
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040efb0
push ebx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 4]
add eax, edi
push eax
call fcn.0040efb0
push 0x37
lea eax, [ebp - 0xab]
push 0
push eax
call fcn.0040eea0
movdqu xmm0, xmmword [ebp - 0x3c]
mov esi, dword [ebp - 0x24]
add esp, 0x3c
movdqu xmm2, xmmword [ebp - 0x20]
xor eax, eax
mov edi, dword [ebp - 8]
movq xmm1, qword [ebp - 0x2c]
movq xmm3, qword [ebp - 0x10]
mov edx, dword [ebp - 0xb4]
movdqu xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x94], esi
movq qword [ebp - 0x9c], xmm1
movdqu xmmword [ebp - 0x90], xmm2
mov dword [ebp - 0x78], edi
movq qword [ebp - 0x80], xmm3
lea ecx, [ecx]
movsx ecx, byte [eax + 0x424180]
movzx ecx, byte [ebp + ecx - 0xad]
mov byte [edx + eax - 1], cl
movsx ecx, byte [eax + 0x424181]
movzx ecx, byte [ebp + ecx - 0xad]
mov byte [edx + eax], cl
movsx ecx, byte [eax + 0x424182]
movzx ecx, byte [ebp + ecx - 0xad]
mov byte [edx + eax + 1], cl
movsx ecx, byte [eax + 0x424183]
movzx ecx, byte [ebp + ecx - 0xad]
mov byte [edx + eax + 2], cl
movsx ecx, byte [eax + 0x424184]
movzx ecx, byte [ebp + ecx - 0xad]
mov byte [edx + eax + 3], cl
movsx ecx, byte [eax + 0x424185]
movzx ecx, byte [ebp + ecx - 0xad]
mov byte [edx + eax + 4], cl
add eax, 6
cmp eax, 0x30
jl 0x407ea0
mov eax, dword [ebp - 0xb0]
add edx, 0x30
inc eax
movq qword [ebp - 0x48], xmm1
mov dword [ebp - 0x40], esi
movq qword [ebp - 0x64], xmm3
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], edx
movdqu xmmword [ebp - 0x58], xmm0
movdqu xmmword [ebp - 0x74], xmm2
cmp eax, 0x10
jl 0x407df0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d409
mov esp, ebp
pop ebp
ret 8
Function at 0x4080f0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, 0x424133
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x424130
mov dword [ebp + 0xc], 0x10
mov edi, 0x424131
mov ebx, 0x424132
sub esi, eax
sub edi, eax
sub ebx, eax
sub ecx, eax
mov dword [ebp - 4], ecx
dec dword [ebp + 0xc]
lea eax, [eax + 4]
movsx ecx, byte [esi + eax - 4]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 4], cl
movsx ecx, byte [edi + eax - 4]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 3], cl
movsx ecx, byte [ebx + eax - 4]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 2], cl
mov ecx, dword [ebp - 4]
movsx ecx, byte [ecx + eax - 4]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 1], cl
jne 0x408123
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x408170
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, 0x424103
mov edx, dword [ebp + 8]
sub ecx, eax
push ebx
mov dword [ebp - 4], ecx
mov ebx, 0x424102
push esi
mov ecx, 0x424104
mov dword [ebp + 0xc], 8
sub ecx, eax
mov esi, 0x424100
push edi
mov dword [ebp - 8], ecx
mov edi, 0x424101
mov ecx, 0x424105
sub esi, eax
sub edi, eax
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0xc], ecx
lea esp, [esp]
dec dword [ebp + 0xc]
lea eax, [eax + 6]
movsx ecx, byte [esi + eax - 6]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 6], cl
movsx ecx, byte [edi + eax - 6]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 5], cl
movsx ecx, byte [ebx + eax - 6]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 4], cl
mov ecx, dword [ebp - 4]
movsx ecx, byte [ecx + eax - 6]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 3], cl
mov ecx, dword [ebp - 8]
movsx ecx, byte [ecx + eax - 6]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 2], cl
mov ecx, dword [ebp - 0xc]
movsx ecx, byte [ecx + eax - 6]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 1], cl
jne 0x4081c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x10
xor ecx, ecx
test edx, edx
je 0x408315
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
cmp edx, 0x20
jb 0x4082f5
lea eax, [ebx - 1]
add eax, edx
cmp esi, eax
ja 0x40826e
lea eax, [esi - 1]
add eax, edx
cmp eax, ebx
jae 0x4082f5
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x408280
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x4082f5
mov eax, edx
mov dword [ebp - 4], edx
mov edx, esi
and eax, 0x1f
sub dword [ebp - 4], eax
sub edx, edi
mov dword [ebp - 8], edx
mov eax, edi
mov edx, ebx
sub edx, edi
mov dword [ebp - 0xc], edx
mov edx, esi
mov esi, dword [ebp - 8]
sub edx, ebx
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
lea edx, [ebx + 0x10]
jmp 0x4082b0
movdqu xmm0, xmmword [eax]
mov ebx, dword [ebp - 0x10]
add ecx, 0x20
lea eax, [eax + 0x20]
lea edx, [edx + 0x20]
movdqu xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [esi + eax - 0x20], xmm1
movdqu xmm1, xmmword [eax - 0x10]
movdqu xmm0, xmmword [edx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ebx + edx - 0x20], xmm1
mov ebx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 4]
jb 0x4082b0
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
cmp ecx, edx
jae 0x408312
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
dec edx
jne 0x408302
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4083f0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, 0x423ee3
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x423ee0
mov dword [ebp + 0xc], 8
mov edi, 0x423ee1
mov ebx, 0x423ee2
sub esi, eax
sub edi, eax
sub ebx, eax
sub ecx, eax
mov dword [ebp - 4], ecx
dec dword [ebp + 0xc]
lea eax, [eax + 4]
movsx ecx, byte [esi + eax - 4]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 4], cl
movsx ecx, byte [edi + eax - 4]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 3], cl
movsx ecx, byte [ebx + eax - 4]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 2], cl
mov ecx, dword [ebp - 4]
movsx ecx, byte [ecx + eax - 4]
movzx ecx, byte [ecx + edx - 1]
mov byte [eax - 1], cl
jne 0x408423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a1c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [ebp - 4]
push edi
call fcn.0040ca00
push eax
lea ecx, [esi + 8]
call fcn.004071e0
mov edi, dword [ebp - 4]
test edi, edi
je 0x40a226
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x40a226
test edi, edi
je 0x40a226
mov eax, dword [edi]
test eax, eax
je 0x40a206
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x40a21d
push eax
call fcn.0040d418
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.0040d418
add esp, 4
push ecx
mov ecx, esp
push 0x424244
call fcn.00401090
mov ecx, esi
call fcn.00409c40
mov ecx, esi
call fcn.0040a020
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x40a28c
mov eax, dword [eax]
test eax, eax
je 0x40a28c
push eax
call edi
cmp eax, 0xa
jb 0x40a28c
mov ecx, esi
call fcn.0040a8e0
push 0
push 0
push esi
push 0x40b910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x48], eax
mov eax, 1
mov dword [esi + 0x4c], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40a2d0
mov eax, dword [eax]
test eax, eax
je 0x40a2d0
push eax
call edi
cmp eax, 1
jne 0x40a2d0
mov edi, dword [esi + 0x10]
test edi, edi
je 0x40a2bd
cmp dword [edi + 4], 0
jne 0x40a2b8
push dword [edi]
call fcn.0040cee0
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
jmp 0x40a2bf
xor eax, eax
push 1
push eax
call fcn.0040e534
add esp, 4
push eax
call fcn.0040be80
pop edi
mov dword [esi + 0x4c], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b6f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d6d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x427020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x14]
call fcn.0040ca00
push eax
lea ecx, [ebx + 8]
call fcn.004071e0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x40b776
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x40b776
test esi, esi
je 0x40b776
mov eax, dword [esi]
test eax, eax
je 0x40b756
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40b76d
push eax
call fcn.0040d418
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0040d418
add esp, 4
push str.PE98389WCVH
lea ecx, [ebx + 0xc]
call fcn.00401240
mov ecx, ebx
call fcn.0040a020
push 0x408
call fcn.0040d49c
mov esi, eax
add esp, 4
test esi, esi
je 0x40b7cf
push 0x408
push 0
push esi
call fcn.0040eea0
mov ecx, dword [ebx + 0x10]
add esp, 8
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x40b7c4
lea eax, [ecx + 8]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, esi
call fcn.00408bb0
mov esi, eax
jmp 0x40b7d1
xor esi, esi
push ecx
mov ecx, esp
push 0x424210
call fcn.00401090
mov ecx, esi
call fcn.00408d70
cmp dword [esi + 0x400], 1
jle 0x40b8fb
push 1
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00408d20
mov dword [ebp - 4], 0
mov edi, dword [eax]
test edi, edi
je 0x40b821
cmp dword [edi + 4], 0
jne 0x40b81c
push dword [edi]
call fcn.0040cee0
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
jmp 0x40b823
xor eax, eax
push eax
call fcn.0040e534
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x14]
cmp eax, 0x12fab26
setne dl
mov byte [ebp - 0xd], dl
test edi, edi
je 0x40b88c
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x40b88c
test edi, edi
je 0x40b88c
mov eax, dword [edi]
test eax, eax
je 0x40b869
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x40b880
push eax
call fcn.0040d418
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.0040d418
mov dl, byte [ebp - 0xd]
add esp, 4
push 0
test dl, dl
je 0x40b8bb
push 0x423700
push str.Hr_g
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, esi
call fcn.00408c30
push esi
call fcn.0040d418
add esp, 4
push 0
call fcn.0040dffc
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00408d20
push eax
lea ecx, [ebx + 0x60]
call fcn.004071e0
lea ecx, [ebp - 0x18]
call fcn.004011e0
mov ecx, esi
call fcn.00408c30
push esi
call fcn.0040d418
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x423700
push 0x424310
jmp 0x40b89c