joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4034c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x403552
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x403544
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x40353c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x403505
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x403560
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x4035a1.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x4035a1.2
jmp dword [eax*4 + 0x40362c]
mov word [esp + 0x48], di
jmp 0x4035da
mov word [esp + 0x48], 2
jmp 0x4035da
mov word [esp + 0x48], 3
jmp 0x4035da
mov word [esp + 0x48], 4
jmp 0x4035da
mov word [esp + 0x48], 7
jmp 0x4035da
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x403624
cmp dword [esp + 0x70], edi
je 0x403610
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x41b370
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 0x41b39e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41b3bc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041b2d6
jmp 0x41b3bc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41b3bc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041b2d6
test edi, edi
mov eax, edi
jne 0x41b3a6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4012c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [ebp + 0xc]
cmp eax, 0x6c
je 0x4012f8
cmp eax, 0x69
je 0x401305
cmp eax, 0x6b
je 0x401396
cmp eax, 2
je 0x4013e8
leave
ret 0xc
push dword [ebp + 8]
call fcn.004013fc
jmp 0x4012f4
push edi
push es
push ds
pop es
lea edi, [ebp - 0x4c]
mov ecx, 0x4c
xor eax, eax
cld
rep stosb byte es:[edi], al
pop es
pop edi
mov dword [ebp - 0x4c], 0x4c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], 0x40205d
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x403190
mov dword [ebp - 0x2c], 0x100
lea edx, [ebp - 0x14c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x18], 0x1804
mov byte [0x403190], 0
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
test eax, eax
je 0x4012f4
push 0x403190
push 0x68
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetDlgItemTextA]
jmp 0x4012f4
push 0x403134
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov dword [0x403134], 0x41
push 0x403178
push 0x403134
push 0x403290
push 0
push 0
push 0
push 0
push 0
push 0x402072
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
jmp 0x4012f4
push 0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_EndDialog]
jmp 0x4012f4
Function at 0x4018f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov edi, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [ebp + 0x10], 0
je 0x40192d
mov edx, eax
xor edx, dword [edi + ecx]
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x413390]
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x401912
xor eax, 0xffffffff
pop edi
leave
ret 0xc
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0xb0c2c0b
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x61373ed9
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x402810
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Encrypt data using aes via winapi

Disassembly:
sub esp, 0x4c
cmp dword [esi], 0
mov al, 0x22
mov byte [esp], 0x7a
mov byte [esp + 1], 0x86
mov byte [esp + 2], 0xe9
mov byte [esp + 3], 0x5b
mov byte [esp + 4], al
mov byte [esp + 5], 0x95
mov byte [esp + 6], 0x9e
mov byte [esp + 7], 0x9a
mov byte [esp + 8], 0xb4
mov byte [esp + 9], 0x15
mov byte [esp + 0xa], 0x75
mov byte [esp + 0xb], 0xdb
mov byte [esp + 0xc], 0x94
mov byte [esp + 0xd], 0xef
mov byte [esp + 0xe], 0x13
mov byte [esp + 0xf], 0x3a
mov byte [esp + 0x10], 0x9c
mov byte [esp + 0x11], 0xf9
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0xbb
mov byte [esp + 0x14], 0xa2
mov byte [esp + 0x15], 0x34
mov byte [esp + 0x16], 0x65
mov byte [esp + 0x17], 0x6f
mov byte [esp + 0x18], 0xab
mov byte [esp + 0x19], 0x44
mov byte [esp + 0x1a], 0xc3
mov byte [esp + 0x1b], 0xee
mov byte [esp + 0x1c], 0xa
mov byte [esp + 0x1d], 0xb2
mov byte [esp + 0x1e], 0xe5
mov byte [esp + 0x1f], 0x42
jne 0x4028d5
push 0xf0000000
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4028d5
mov dword [esi], eax
xor al, al
add esp, 0x4c
ret
push 0x2c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00401100
push 0x20
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x40]
push edx
mov word [esp + 0x38], 0x208
mov word [esp + 0x3c], 0x6610
mov byte [esp + 0x40], 0x20
call fcn.00401140
mov edx, dword [esi]
add esp, 0x18
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x2c
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x40293b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00407a30
add esp, 4
xor al, al
add esp, 0x4c
ret
mov al, 1
add esp, 0x4c
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4cf90a34
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x242b08ef
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x8f7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8f71a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8f707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f706a
add dl, dl
jne 0x8f7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f70dc
xor eax, eax
add dl, dl
jne 0x8f7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f717d
add dl, dl
jne 0x8f70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8f70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8f7075
mov eax, 1
add dl, dl
jne 0x8f70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f70e1
sub eax, ebx
mov ebx, 1
jne 0x8f7128
mov ecx, 1
add dl, dl
jne 0x8f710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8f713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f7136
cmp eax, 0x7d00
jae 0x8f716d
cmp eax, 0x500
jb 0x8f7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f7075
cmp eax, 0x7f
ja 0x8f7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8f719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8f7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401ab0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
movzx eax, byte [edx]
push ebx
push esi
mov esi, ecx
push edi
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
mov byte [esi + 7], al
movzx eax, byte [edx + 8]
mov byte [esi + 8], al
movzx eax, byte [edx + 9]
mov byte [esi + 9], al
movzx eax, byte [edx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [edx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [edx + 0xc]
mov byte [esi + 0xc], al
movzx eax, byte [edx + 0xd]
mov byte [esi + 0xd], al
movzx eax, byte [edx + 0xe]
mov byte [esi + 0xe], al
movzx eax, byte [edx + 0xf]
mov byte [esi + 0xf], al
movzx eax, byte [edx + 0x10]
mov byte [esi + 0x10], al
movzx eax, byte [edx + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edx + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edx + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edx + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edx + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edx + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edx + 0x17]
mov byte [esi + 0x17], al
movzx eax, byte [edx + 0x18]
mov byte [esi + 0x18], al
movzx eax, byte [edx + 0x19]
mov byte [esi + 0x19], al
movzx eax, byte [edx + 0x1a]
mov byte [esi + 0x1a], al
movzx eax, byte [edx + 0x1b]
mov byte [esi + 0x1b], al
movzx eax, byte [edx + 0x1c]
mov byte [esi + 0x1c], al
lea eax, [esi + 0x1d]
movzx ecx, byte [edx + 0x1d]
mov byte [eax], cl
movzx ecx, byte [edx + 0x1e]
mov byte [esi + 0x1e], cl
movzx ecx, byte [edx + 0x1f]
mov byte [esi + 0x1f], cl
mov esi, 8
nop dword [eax + eax]
mov cl, byte [eax + 1]
mov edi, esi
mov dh, byte [eax + 2]
mov bl, byte [eax - 1]
mov bh, byte [eax]
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], dh
and edi, 7
jne 0x401bf9
movzx ecx, cl
movzx edx, bh
mov bh, byte [ecx + 0x4531e8]
movzx ecx, byte [esp + 0xf]
mov cl, byte [ecx + 0x4531e8]
mov byte [esp + 0xe], cl
movzx ecx, bl
mov cl, byte [ecx + 0x4531e8]
mov byte [esp + 0xf], cl
mov ecx, esi
shr ecx, 3
mov bl, byte [ecx + 0x4530d8]
xor bl, byte [edx + 0x4531e8]
mov dh, byte [esp + 0xf]
jmp 0x401c2a
cmp edi, 4
jne 0x401c2a
mov dl, byte [esp + 0xe]
movzx ecx, bl
mov bl, byte [ecx + 0x4531e8]
movzx ecx, bh
mov bh, byte [ecx + 0x4531e8]
movzx ecx, dl
mov cl, byte [ecx + 0x4531e8]
mov byte [esp + 0xe], cl
movzx ecx, dh
mov dh, byte [ecx + 0x4531e8]
movzx ecx, byte [eax - 0x1d]
inc esi
mov dl, byte [esp + 0xe]
xor cl, bl
mov byte [eax + 3], cl
movzx ecx, byte [eax - 0x1c]
xor cl, bh
mov byte [eax + 4], cl
movzx ecx, byte [eax - 0x1b]
xor cl, dl
mov byte [eax + 5], cl
movzx ecx, byte [eax - 0x1a]
xor cl, dh
mov byte [eax + 6], cl
add eax, 4
cmp esi, 0x3c
jb 0x401ba0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x402100
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, edx
mov ebx, 4
push esi
push edi
mov esi, ecx
lea edi, [ebp + 0xe0]
mov edx, 4
nop dword [eax + eax]
mov al, byte [edi]
inc edi
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x402120
sub ebx, 1
jne 0x402116
lea eax, [ebp + 0xd0]
mov byte [esp + 0x13], 0xd
mov dword [esp + 0x14], eax
nop
movzx eax, byte [esi + 9]
mov edi, esi
mov cl, byte [esi + 0xd]
mov ebx, 4
mov byte [esi + 0xd], al
movzx eax, byte [esi + 5]
mov byte [esi + 9], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xa]
mov byte [esi + 1], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
movzx eax, byte [esi + 7]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 7], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xb], al
mov byte [esi + 0xf], cl
nop word [eax + eax]
mov ecx, edi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x4530e8]
mov byte [ecx - 4], al
sub edx, 1
jne 0x4021b0
inc edi
sub ebx, 1
jne 0x4021a0
mov edx, dword [esp + 0x14]
mov eax, esi
mov ebx, 4
mov edi, 4
nop word [eax + eax]
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x4021e0
sub ebx, 1
jne 0x4021d5
mov ecx, esi
call fcn.00401c70
mov dl, byte [esp + 0x13]
sub dword [esp + 0x14], 0x10
dec dl
mov byte [esp + 0x13], dl
test dl, dl
jne 0x402140
movzx eax, byte [esi + 9]
mov edi, esi
mov cl, byte [esi + 0xd]
mov ebx, 4
mov byte [esi + 0xd], al
movzx eax, byte [esi + 5]
mov byte [esi + 9], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xa]
mov byte [esi + 1], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
movzx eax, byte [esi + 7]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 7], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xb], al
mov byte [esi + 0xf], cl
mov ecx, edi
mov edx, 4
nop dword [eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x4530e8]
mov byte [ecx - 4], al
sub edx, 1
jne 0x402270
inc edi
sub ebx, 1
jne 0x402265
sub ebp, esi
lea edx, [ebx + 4]
nop
mov ecx, 4
mov al, byte [esi + ebp]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x402295
sub edx, 1
jne 0x402290
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4022b0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, ecx
push esi
push edi
mov edi, edx
lea eax, [ebp + 0xf0]
mov dword [esp + 0x10], eax
mov esi, eax
test ebx, ebx
je 0x402305
dec ebx
shr ebx, 4
inc ebx
mov eax, edi
sub esi, edi
mov edx, 0x10
nop dword [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x4022e0
mov edx, ebp
mov ecx, edi
call fcn.00401ec0
mov esi, edi
add edi, 0x10
sub ebx, 1
jne 0x4022d2
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esi]
pop edi
pop esi
pop ebp
movups xmmword [eax], xmm0
pop ebx
pop ecx
ret

Function at 0x402320
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, edx
mov ebp, ecx
test edi, edi
je 0x40236a
dec edi
shr edi, 4
push ebx
inc edi
movups xmm0, xmmword [esi]
mov edx, ebp
mov ecx, esi
call fcn.00402100
lea ecx, [ebp + 0xf0]
mov edx, 0x10
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
xor byte [esi], al
inc esi
sub edx, 1
jne 0x402350
movups xmmword [ebp + 0xf0], xmm0
sub edi, 1
jne 0x402335
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x40ad00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444a2d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x459020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00405560
push 8
call fcn.00423b52
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 1
call fcn.004225df
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
call fcn.0040bed0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + 0xb], al
test ecx, ecx
je 0x40ae2a
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x40ae2a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x40ae46
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.00405560
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ba50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444af0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x459020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00423b52
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004225df
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411b50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 4], ecx
cmp dword [eax], ecx
jle 0x411c94
mov edx, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
nop
mov esi, dword [edx]
add esi, ecx
mov al, byte [esi]
mov byte [esp + 0x20], al
mov eax, dword [edx + 4]
mov al, byte [ecx + eax]
mov byte [esp + 0x1c], al
mov eax, dword [edx + 8]
mov al, byte [ecx + eax]
mov byte [esp + 0x18], al
mov eax, dword [edx + 0xc]
mov al, byte [ecx + eax]
mov byte [esp + 0x10], al
push dword [esp + 0x10]
push 9
call fcn.004119e0
push dword [esp + 0x18]
mov bl, al
push 0xd
call fcn.004119e0
mov ebp, dword [esp + 0x1c]
xor bl, al
push ebp
push 0xb
call fcn.004119e0
mov edi, dword [esp + 0x20]
xor bl, al
push edi
push 0xe
call fcn.004119e0
push dword [esp + 0x10]
xor bl, al
push 0xd
mov byte [esi], bl
call fcn.004119e0
mov esi, dword [esp + 0x18]
mov bl, al
push esi
push 0xb
call fcn.004119e0
push ebp
push 0xe
xor bl, al
call fcn.004119e0
push edi
push 9
xor bl, al
call fcn.004119e0
mov ecx, dword [esp + 0x14]
xor bl, al
mov eax, dword [esp + 0x2c]
push dword [esp + 0x10]
push 0xb
mov eax, dword [eax + 4]
mov byte [ecx + eax], bl
call fcn.004119e0
push esi
push 0xe
mov bl, al
call fcn.004119e0
push ebp
push 9
xor bl, al
call fcn.004119e0
push edi
push 0xd
xor bl, al
call fcn.004119e0
mov ecx, dword [esp + 0x14]
xor bl, al
mov eax, dword [esp + 0x2c]
push dword [esp + 0x10]
push 0xe
mov eax, dword [eax + 8]
mov byte [ecx + eax], bl
call fcn.004119e0
push esi
push 9
mov bl, al
call fcn.004119e0
xor bl, al
push ebp
push 0xd
call fcn.004119e0
push edi
push 0xb
xor bl, al
call fcn.004119e0
mov edx, dword [esp + 0x2c]
xor bl, al
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov byte [ecx + eax], bl
inc ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax]
jl 0x411b70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4