joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412f6a
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00417440
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x412fce
push ecx
lea ecx, [ebp - 0x204]
call fcn.00404e05
pop ecx
test al, al
je 0x412fce
mov al, 1
jmp 0x413013
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x413009
cmp dword [esi + 8], ebx
je 0x413009
push str.google
push dword [esi + 8]
call fcn.00426284
pop ecx
pop ecx
test eax, eax
jne 0x413009
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004168cd
leave
ret

Function at 0x4146de
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x4146ee
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x4146f4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x41471c
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x43a5d0]
test ax, ax
jne 0x414703
mov esi, ecx
jmp 0x41471f
movzx esi, si
pop edi
cmp cx, si
je 0x41473c
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x43a5d0]
test cx, cx
jne 0x414720
mov eax, 0x4390d8
jmp 0x414744
imul eax, edx, 0x1a
add eax, 0x43a5d2
push eax
mov ecx, ebx
call fcn.00403f59
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4153bb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x442c1c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x442c1c
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x4153fd
test ebx, ebx
je 0x41545b
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.00415392
test al, al
je 0x41545b
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.00405320
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00415684
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420af9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x420b44
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00420d1a
test al, al
jne 0x420b3e
sub edx, 2
cmp edx, edi
jne 0x420b24
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x420b66
lea eax, [edi + 2]
cmp edx, eax
je 0x420b66
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00420a45
add esp, 0x10
jmp 0x420c60
push esi
lea ecx, [ebp - 0x255]
call fcn.00420d1a
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420ba9
push dword [ebp - 0x25c]
jmp 0x420b56
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x420be6
cmp word [ebp - 0x226], 0
je 0x420c07
cmp word [ebp - 0x226], ax
jne 0x420be6
cmp word [ebp - 0x224], 0
je 0x420c07
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00420a45
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x420c53
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x420bc0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x420c3b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x420c60
push 0x420875
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00424b70
add esp, 0x10
jmp 0x420c30
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004168cd
leave
ret
Function at 0x4216b4
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4216cd
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4216c8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4216b2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4216ba
cmp edx, ebx
jne 0x421808
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x421689
add eax, dword [eax + 4]
jmp 0x421676
mov dword [ebp + 0xc], ebx
jmp 0x4216d8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4216f0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42170e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42176c
mov edx, edi
mov dword [ebp + 8], edi
or byte [ecx + 0x865], al
add byte [eax - 0x77], al
jge 0x42174b
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x421753
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42175c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x421766
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x421748
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4216d2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4217b9
dec eax
je 0x4217b0
sub eax, 3
je 0x4217a7
mov dword [ebp - 4], 0x40
jmp 0x4217d6
mov dword [ebp - 4], 4
jmp 0x4217bc
mov dword [ebp - 4], 0x20
jmp 0x4217bc
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x421808
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x421788
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00421019
enter 0x4fa2, 0xffffffffffffff9a
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x421814
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421730
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4216cd
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4216c8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4216b2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4216ba
cmp edx, ebx
jne 0x421808
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x421689
add eax, dword [eax + 4]
jmp 0x421676
mov dword [ebp + 0xc], ebx
jmp 0x4216d8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4216f0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42170e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42176c
mov edx, edi
mov dword [ebp + 8], edi
or byte [ecx + 0x865], al
add byte [eax - 0x77], al
jge 0x42174b
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x421753
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42175c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x421766
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x421748
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4216d2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4217b9
dec eax
je 0x4217b0
sub eax, 3
je 0x4217a7
mov dword [ebp - 4], 0x40
jmp 0x4217d6
mov dword [ebp - 4], 4
jmp 0x4217bc
mov dword [ebp - 4], 0x20
jmp 0x4217bc
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x421808
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x421788
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00421019
enter 0x4fa2, 0xffffffffffffff9a
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x421814
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48ceec
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
push 5
lea eax, [esp + 4]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete al
test al, al
je 0x48cf1a
mov eax, ebx
mov edx, esp
call fcn.00405728
jmp 0x48cf26
mov eax, ebx
mov edx, 0x48cf34
call fcn.00405584
pop ecx
pop edx
pop ebx
ret

Function at 0x48d6a4
Capabilities:
Identify system language via api

Disassembly:
push ebx
add esp, 0xffffff98
mov ebx, eax
call sub.kernel32.dll_GetUserDefaultLangID
push 0x64
lea edx, [esp + 4]
push edx
movzx eax, ax
push eax
call sub.kernel32.dll_VerLanguageNameA
mov eax, ebx
mov edx, esp
mov ecx, 0x65
call fcn.004057a0
add esp, 0x68
pop ebx
ret

Function at 0x48dd0c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ddad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48dd80
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x48ddc4
call fcn.0040af98
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, 0x48ddd0
call fcn.00405864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48dd97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ddb4
lea eax, [ebp - 0x28]
call fcn.00405530
ret

Function at 0x48dde0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48de71
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xa
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push 0
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
push 0
call sub.kernel32.dll_LoadResource
mov esi, eax
push ebx
push 0
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push esi
call sub.kernel32.dll_LockResource
lea edx, [ebp - 8]
mov ecx, ebx
xchg edx, eax
call fcn.00405620
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00405584
push esi
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48de78
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1000b172
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000b181
pop dword [ebp - 0x24]
mov eax, 0x1000b181
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x17ef7989
sub dword [ebp - 0x34], 0xc99d343e
mov dword [ebp - 0x30], 0x6c1be7e8
add dword [ebp - 0x30], 0xc617645d
mov dword [ebp - 0x2c], 0x63b7d151
add dword [ebp - 0x2c], 0xe89472dd
mov dword [ebp - 0x28], 0x777bf306
add dword [ebp - 0x28], 0x88840cfa
lea eax, [ebp - 0x34]
push eax
mov eax, 0xd7259624
add eax, 0x38dc09e4
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x6d7b0417
add dword [ebp - 0x34], 0x6f7653f
mov dword [ebp - 0x30], 0x2cc5064b
sub dword [ebp - 0x30], 0xeb58a4d6
mov dword [ebp - 0x2c], 0xc25cd043
sub dword [ebp - 0x2c], 0x5eed63d7
mov dword [ebp - 0x28], 0xd4258714
add dword [ebp - 0x28], 0x2bda78ec
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x84edeeef
add eax, 0x8b13b11d
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3b9a6
push 0
call eax
mov ecx, 0xdbf844fd
sub ecx, 0xdbf7f7b4
xor esi, esi
add esi, eax
mov edx, 0x10024a00
add edx, dword [ebp - 0x24]
mov edi, 0xc37d2879
mov dword [ebp - 0x14], 0x183751d
mov ebx, dword [edx]
xor dword [ebp - 0xc], 0x6bd35766
sub ebx, edi
sub dword [ebp - 0x20], ecx
mov dword [esi], ebx
xor dword [ebp - 0x1c], edi
add esi, 0xbdd29ec9
sub esi, 0xbdd29ec5
add edx, 0x5bf878c6
add edx, 0xa407873e
loop 0x1000b294
add eax, 0xe3fb3955
sub eax, 0xe3fa115e
mov ebx, eax
add eax, 0xe16799d2
sub eax, 0xe16799cd
mov ecx, 0x7d0c196d
add ecx, 0x92f3e693
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x8cd145
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push dword [esp + 8]
popfd
lea esp, [esp + 0x1c]
call fcn.00aaab8f
Function at 0xfae6af
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, 0x64413fbd
test esi, ecx
xor ebx, eax
test ebp, edi
test ebp, 0x28e03fbc
add ebp, eax
jmp 0xb9aa1f
bswap eax
clc
cmp di, di
jmp 0x8aac8d
add edi, eax
mov esi, esp
lea esp, [esp - 0xc0]
bsr eax, ebp
rdtsc
btc ebp, 0x96
mov ebx, edi
add edx, esp
rdtsc
cdq
mov edx, 0
cmp cx, 0x77dc
sub ebx, edx
lea ebp, [0xa0f946]
mov eax, dword [edi]
cmp ax, bx
lea edi, [edi + 4]
test sp, bp
jmp 0xbbeb01
push ebp
ret
xor eax, ebx
jmp 0xbcbe1a
not eax
inc eax
cmp di, si
test si, dx
jmp 0x9956d1
push ebx
movzx bx, bl
push eax
push edx
not bl
push ebp
mov ebx, 0x25bb7ba8
pushfd
rcr dh, 0x7e
rcl bl, cl
push ecx
push esi
bt ebp, 0x5f
push edi
mov eax, 0
movzx esi, si
push eax
mov edi, dword [esp + 0x28]
movsx ebp, si
btr edx, ebx
ror edi, 1
mov esi, 0x65ba5be3
dec bp
bswap edi
not esi
movzx dx, dh
movsx ebp, si
dec edi
cmovs edx, edx
inc bl
not edi
or ebp, esi
test esp, eax
movzx ebx, di
xor edi, 0x726916b9
inc edi
btr bp, si
rcr bl, cl
jmp 0xa0f91f
Function at 0x7031617f
Capabilities:
Encode data using xor

Disassembly:
rol byte [ecx], cl
rol byte [eax], 0
add byte [eax], al
add byte [eax], al
add byte [ecx], bh
add byte [eax], al
add byte [eax], ah
and byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], cl
add ebp, dword [ebp]
jae 0x7031616e
add byte [bx], bl
xor al, 0
xor dword [eax], eax
add byte cs:[eax + eax + 0x78], dh
add byte [eax + eax], dh
add byte [edx + 0xf7], bh
add byte [eax], cl
add byte [eax], bh
bound eax, qword [eax]
add byte [eax], al
add byte [eax], al
jo 0x7031614e
add byte [eax], al
add byte [eax], al
add al, 0
std
cli
invalid
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x438c96
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop ebx
dec esi
sub esi, 0xf072e646
sub edi, edi
call fcn.00438cd8
sub edi, 0xd57273b1
inc esi
and esi, esi
xor dword [edx], ebx
sub edi, 0xf554de9e
inc edx
inc edi
dec edi
add esi, 1
cmp edx, eax
jne fcn.00438c96
add edi, 0x8ac6a608
inc esi
push edi
pop edi
ret
Function at 0x401996
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
sete dl
cmp dword [ebp + 8], 0
sete al
mov ecx, 0
or dl, al
jne 0x401ada
lea ecx, [edi*4 + 0xb]
mov edx, 0x2aaaaaab
mov eax, ecx
imul edx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
lea edx, [edx*4 + 1]
cmp edx, dword [ebp + 0x14]
jle 0x401a3d
mov dword [esp], 0x6f
call 0x40c300
sub esp, 4
mov ecx, 0
jmp 0x401ada
movzx eax, byte [ecx]
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.j9i2zbsx]
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x3d
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
movzx eax, byte [ecx + 1]
and eax, 0xf
movzx eax, byte [eax*4 + section.j9i2zbsx]
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
mov esi, 0
mov ecx, dword [ebp + 8]
cmp esi, edi
jge 0x401ad2
movzx eax, byte [ecx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.j9i2zbsx]
mov byte [ebx], al
mov eax, edi
sub eax, esi
cmp eax, 1
je 0x4019fc
movzx edx, byte [ecx]
and edx, 3
shl edx, 4
movzx eax, byte [ecx + 1]
shr al, 4
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.j9i2zbsx]
mov byte [ebx + 1], al
mov eax, edi
sub eax, esi
cmp eax, 2
je 0x401a1f
movzx edx, byte [ecx + 1]
and edx, 0xf
shl edx, 2
movzx eax, byte [ecx + 2]
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.j9i2zbsx]
mov byte [ebx + 2], al
movzx eax, byte [ecx + 2]
and eax, 0x3f
movzx eax, byte [eax + section.j9i2zbsx]
mov byte [ebx + 3], al
add esi, 3
add ecx, 3
add ebx, 4
cmp esi, edi
jl 0x401a4d
mov byte [ebx], 0
mov ecx, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6f07bbe7
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x60a029cc], 0
push ebx
jne 0x6f07bc64
push eax
push ebx
push ecx
push edx
xor eax, eax
cpuid
xor eax, eax
xor ebx, 0x756e6547
sete al
xor ebx, ebx
xor ecx, 0x6c65746e
sete bl
and eax, ebx
xor ecx, ecx
xor edx, 0x49656e69
sete cl
and eax, ecx
mov dword [ebp - 4], eax
mov eax, 1
cpuid
xor ecx, ecx
xor edx, edx
mov ebx, 0xff0
and ebx, eax
mov dword [ebp - 8], ebx
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 4], 0
mov eax, 1
je 0x6f07bc58
cmp dword [ebp - 8], 0x660
jae 0x6f07bc58
xor eax, eax
mov eax, dword [eax*4 + 0x60a00724]
mov dword [0x60a029cc], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov dword [eax + 0x50], 0xc3d2e1f0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43b646
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
mov edi, 0xdc1a3f47
sub edi, 0x11cc8ce5
sub ecx, 1
call fcn.0043b68d
add ecx, ecx
xor dword [ebx], eax
mov ecx, 0xeea1a899
inc ebx
sub ecx, 0x185df0ff
dec ecx
sub edi, edi
cmp ebx, edx
jne fcn.0043b646
mov edi, 0x88666641
mov ecx, ecx
ret
Function at 0x402d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x402d2c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x402d4e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x402d50
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x402dd5
jg 0x402d65
test esi, esi
je 0x402dd5
test ecx, ecx
jl 0x402db8
jg 0x402d6f
test eax, eax
je 0x402db8
cmp edi, ecx
jg 0x402d83
jl 0x402d79
cmp esi, eax
jae 0x402d83
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
mov edx, dword [ebp + 8]
sbb edi, dword [esp + 0x10]
add edx, ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x402dd5
jg 0x402dbb
test esi, esi
je 0x402dd5
jmp 0x402dbb
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x402dd5
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc