joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5463af
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x591788]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5463ef
cmp byte [ebx], 0xa
jne 0x5463ef
or byte [edi + eax + 0x28], 4
jmp 0x5463f4
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x5464f3
mov dl, byte [eax]
cmp dl, 0x1a
je 0x5464d6
inc eax
cmp dl, 0xd
je 0x546420
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x546446
cmp eax, ecx
jae 0x546454
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x546408
jmp 0x5464f3
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5464d1
cmp dword [ebp - 0x10], 0
je 0x5464d1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x591788]
test byte [eax + edi + 0x28], 0x48
je 0x5464ab
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x546496
mov byte [esi], dl
jmp 0x5464a7
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x591788]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x5464f3
cmp byte [ebp - 1], 0xa
jne 0x5464ba
cmp esi, ebx
jne 0x5464ba
mov byte [esi], 0xa
jmp 0x5464f2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00542cc6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x5464f3
mov byte [esi], 0xd
jmp 0x5464f2
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x591788]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x5464f0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x5464f3
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x5464fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x591788]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x546542
cmp word [ebx], dx
jne 0x546542
or byte [eax + edi + 0x28], 4
jmp 0x546547
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x5466aa
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x54668a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x546588
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x5465be
cmp eax, edx
jae 0x5465cc
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x546563
jmp 0x5466aa
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x546685
cmp dword [ebp - 0x18], 0
je 0x546685
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x591788]
test byte [eax + edi + 0x28], 0x48
je 0x54665b
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x54661f
mov word [esi], cx
jmp 0x546656
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x591788]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x591788]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x591788]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x5466aa
pop eax
cmp word [ebp - 4], ax
jne 0x54666b
cmp esi, ebx
jne 0x54666b
mov word [esi], ax
jmp 0x5466a7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00542cc6
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x5466aa
push 0xd
pop eax
jmp 0x546666
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x591788]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x5466a4
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x5466aa
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x54c9fe
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x57e4c4
push 0x57e4bc
push str.FlsAlloc
push 0x1f
call fcn.0054c829
mov esi, eax
add esp, 0x10
test esi, esi
je 0x54ca32
push dword [ebp + 8]
mov ecx, esi
call dword [0x55f3b0]
call esi
jmp 0x54ca38
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x54ca7c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x57e4d4
push 0x57e4cc
push str.FlsGetValue
push 0x21
call fcn.0054c829
mov esi, eax
add esp, 0x10
test esi, esi
je 0x54cab3
push dword [ebp + 8]
mov ecx, esi
call dword [0x55f3b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x54cabb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x57e4dc
push 0x57e4d4
push str.FlsSetValue
push 0x22
call fcn.0054c829
mov esi, eax
add esp, 0x10
test esi, esi
je 0x54caf5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x55f3b0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x54d8f9
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0054d875
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x54da68
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x54da68
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x54da1d
jg 0x54d955
test eax, eax
je 0x54da13
push 1
push 0x1000
call fcn.0054bbee
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x54d978
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x54da0a
push 0x8000
push ebx
call fcn.00544363
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x54d9a1
jg 0x54d99c
cmp ecx, 0x1000
jb 0x54d9a1
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00547619
add esp, 0x10
cmp eax, 0xffffffff
je 0x54d9e6
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x54d99c
jl 0x54d9cd
test ecx, ecx
jne 0x54d98e
push dword [ebp - 0xc]
push ebx
call fcn.00544363
push esi
call fcn.0054aa0a
add esp, 0xc
xor ebx, ebx
jmp 0x54da76
cmp byte [edi + 0x24], 0
je 0x54d9fd
cmp dword [edi + 0x20], 5
jne 0x54d9fd
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x54da08
mov ebx, dword [edi + 0x18]
jmp 0x54da0a
xor ebx, ebx
push esi
call fcn.0054aa0a
pop ecx
jmp 0x54da76
test ecx, ecx
jg 0x54d9df
jl 0x54da1d
test eax, eax
jae 0x54d9df
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00542cc6
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x54da3d
cmp byte [edi + 0x1c], 0
je 0x54d9df
jmp 0x54da6e
push ebx
call fcn.0054d80b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x54d9df
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x54da76
cmp byte [edi + 0x1c], 0
je 0x54da73
mov ebx, dword [edi + 0x18]
jmp 0x54da76
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00542cc6
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54fde3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x54fe80
push ebx
push esi
call fcn.0054fdac
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0054d374
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x54fe2d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x54fe7f
push edi
push eax
call fcn.0054aa44
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x54fe4d
call fcn.0054aa0a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x54fe7e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0054d374
add esp, 0x20
test eax, eax
jne 0x54fe6c
push edi
call fcn.0054aa0a
jmp 0x54fe74
push ebx
call fcn.0054aa0a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x54fe83
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x54fe94
pop esi
ret
push ebx
push edi
push esi
call fcn.0054fdac
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0054aa44
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x54febc
push ebx
push esi
push edi
call fcn.00532150
add esp, 0xc
push 0
call fcn.0054aa0a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x550616
Capabilities:
Set environment variable

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

Function at 0x552bf2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0054a3b5
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x552c61
cmp esi, dword [ebp - 4]
je 0x552c5c
cmp dword [ebp + 0xc], 0
je 0x552c5c
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x552c39
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00552744
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x552c63
xor eax, eax
inc eax
jmp 0x552c63
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x552cc8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58f140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0054a3b5
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0054a3b5
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x552d3f
cmp word [ecx], dx
je 0x552d3f
mov eax, dword [0x57e9b4]
push edi
dec eax
push eax
push 0x57e8a0
call fcn.00552c67
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x552db2
cmp word [eax], dx
je 0x552db2
mov eax, dword [edi]
test eax, eax
je 0x552d63
cmp word [eax], dx
je 0x552d63
lea eax, [ebp - 0x10]
push eax
call fcn.0055264a
jmp 0x552d6c
lea eax, [ebp - 0x10]
push eax
call fcn.005526e5
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x552ddc
mov eax, dword [0x57e89c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x57e590
call fcn.00552c67
add esp, 0xc
test al, al
je 0x552ddc
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x552da7
cmp word [eax], di
je 0x552da7
lea eax, [ebp - 0x10]
push eax
call fcn.0055264a
pop ecx
jmp 0x552dde
lea eax, [ebp - 0x10]
push eax
call fcn.005526e5
jmp 0x552da4
mov eax, dword [edi]
test eax, eax
je 0x552dc9
cmp word [eax], dx
je 0x552dc9
lea eax, [ebp - 0x10]
push eax
call fcn.005525ff
pop ecx
jmp 0x552ddc
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x552ea7
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00552aec
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x552ea7
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x552ea7
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x552ea7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x552e34
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0054cc97
test ebx, ebx
je 0x552ea2
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0054cc97
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x552ea7
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x552ea7
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00556a0c
add esp, 0x10
xor eax, eax
inc eax
jmp 0x552ea9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052df19
leave
ret
Function at 0x5564bb
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58f140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x5564fe
call fcn.0053e747
mov dword [eax], 0xf
call fcn.0053e75a
mov dword [eax], 0xd
call fcn.0053c9b9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052df19
leave
ret
test eax, eax
jne 0x556505
inc eax
jmp 0x5564f2
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x5564f0
xor eax, eax
cmp ecx, 1
setne al
jmp 0x5564f2
Function at 0x55ab20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x55ab4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x55ab4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40eef0
Capabilities:
Encode data using xor

Disassembly:
adc byte [ecx], bh
loope 0x40ee84
loopne 0x40eefb
or eax, 0x76010151
xor ecx, dword [0x61e60049]
das
or eax, 0x761a00e9
rcl byte [eax]
adc dword [ecx], eax
sub dh, byte [esi - 0x29]
jbe 0x40ee75
adc byte [ecx], dl
add dword [edx], ebp
jbe 0x40ee82
adc byte [ecx], dl
add dword [esi], edi
jbe 0x40ee8d
adc byte [ecx], ch
add dword [ebx + 0x76], edx
loope 0x40eec8
jbe 0x40ee98
adc byte [ecx], ch
add dword [esi + esi*2 - 0x16], ebx
sub dword [ecx], eax
pop esp
jbe 0x40eea7
adc byte [ecx + 1], ch
jbe 0x40eeb5
adc byte [ecx], al
out 0x61, al
out dx, eax
or al, 0x41
add dh, ah
popal
stc
or al, 0x41
add dh, ah
popal
add byte [0x623d0041], cl
sbb al, 0xd
inc ecx
add byte [esi + 0x62], al
out dx, eax
or al, 0x41
add byte [esi + esi*2 - 7], ch
adc byte [ecx], al
je 0x40ef62
adc dword [0x76870041], ecx
sbb al, 0xd
jno 0x40eef7
xchg dword [esi + 0x1c], esi
or eax, 0x76930171
jne 0x40ef0a
xchg ebx, eax
jbe 0x40ef6e
adc byte [ecx + 1], dh
jno 0x40eefd
add dword [ecx + 0x69107576], ebx
add dword [esi - 0x2ef2fa8a], ebx
add dh, ah
popal
cdq
jbe 0x40ef74
adc byte [ecx + 1], ch
sahf
jbe 0x40ef0a
or eax, 0x61e600d1
pop ebp
adc cl, al
add byte [esi + esi*2 + 0xc11086], ah
scasd eax, dword es:[edi]
jbe 0x40eea3
adc byte [ecx], dl
add dword [eax + 0x1110ff76], edi
add ebp, eax
jbe 0x40ef27
adc dword [ecx], edx
add ecx, edx
jbe 0x40ef32
adc dword [ecx + 1], edx
loopne 0x40efa4
movups xmmword [ecx + 0x1576eb01], xmm2
adc dword [ecx + 0x1976fe01], ecx
adc dword [ecx + 0x20771201], ebx
adc dword [ecx + 0x61e601], esp
or eax, 0x61e601a9
das
or eax, 0x772302b9
das
or eax, 0x772a0271
add byte [0x77380169], cl
adc dword es:[ecx + 2], esi
jmp 0x40efaa
inc eax
ja 0x40ef81
or eax, 0x774e02c9
das
adc dword [ecx], ebp
add bl, byte [ebx + 0x77]
das
pop ebx
ja 0x40efa0
or eax, 0x77610229
das
popal
ja 0x40efa6
or eax, 0x77670229
dec esp
or eax, 0x77740279
das
ja 0x40efb2
or eax, 0x77670279
dec esp
or eax, 0x778402d1
das
out 0x61, al
mov esp, 0xe9114c77
add al, dh
ja 0x40f004
push ecx
adc ecx, ebp
add cl, bl
ja 0x40f012
adc ecx, ebp
add ah, dh
popal
das
or eax, 0x77d10229
dec esp
or eax, 0x77dd02d1
xor al, 0x11
rol dword [edx], 1
out 0x61, al
popal
ja 0x40f036
Function at 0x7a8de0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7a8dea
pushal
call 0x7a8df0
pop ebp
sub ebp, 0x10
sub ebp, 0x3a8de0
jmp 0x7a8e06
mov eax, 0x3a8de0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f6
mov edx, 0x2b49a8d8
xor byte [eax], dl
inc eax
dec ecx
jne 0x7a8e1d
jmp 0x7a8e30
push ebx
adc eax, 0xd8e45153
fcomp st(0)
pop ecx
sbb dword [eax], esp
fcomp st(0)
fcomp st(3)
adc eax, 0xd8d8dc60
fsub dword [edx - 0x10]
fcomp st(0)
fsubr dword [edi]
cmp bl, bl
adc byte [ebx + 0x59], dl
aam 0xd8
fcomp st(0)
fistp dword [0xfcbc5588]
and al, 0x51
fdiv st(4), st(0)
mov al, 0xa0
mov dword [0xbeb0d8d6], eax
retf 0xd8f4
Function at 0x1e70e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [ebp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x1e72a
mov edi, ebx
mov ebx, eax
jmp 0x1e72c
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [ebp + 8]
cmp eax, dword [esi + 8]
jle 0x1e73e
push eax
push esi
call fcn.0001bfe6
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x1e767
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [edx + eax*4]
mov edx, dword [esi]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebx + 4]
jl 0x1e745
jmp 0x1e767
mov ecx, dword [edi]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esi]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x1e75c
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x1e78d
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x1e78d
dec dword [esi + 4]
cmp dword [esi + 4], ecx
jg 0x1e77c
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret 0xc
Function at 0x23006
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x23032
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 8]
call fcn.0001ea02
jmp 0x231cb
push edi
push dword [ebp + 0x18]
call fcn.0001be9a
push dword [ebp + 0x18]
call fcn.0001e25e
mov edi, eax
test edi, edi
je 0x231bf
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
lea esi, [eax + ecx + 4]
cmp esi, dword [edi + 8]
jg 0x23060
mov eax, edi
jmp 0x23067
push esi
push edi
call fcn.0001bfe6
test eax, eax
je 0x231bf
xor eax, eax
mov dword [edi + 4], esi
test esi, esi
jle 0x23083
mov ecx, dword [edi]
and dword [ecx + eax*4], 0
inc eax
cmp eax, esi
jl 0x23078
mov ecx, dword [ebx + 4]
and dword [ebp - 8], 0
test ecx, ecx
jle 0x2318a
jmp 0x23096
mov ebx, eax
mov esi, dword [ebp - 8]
mov eax, dword [ebx]
mov edx, esi
shl edx, 2
add eax, edx
mov ebx, dword [eax]
inc esi
mov dword [ebp - 0x14], ebx
cmp esi, ecx
jne 0x230b2
and dword [ebp - 0xc], 0
jmp 0x230b8
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
jle 0x23177
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
jmp 0x230dc
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
lea ecx, [ecx + ebx*4]
mov esi, dword [ecx]
inc ebx
cmp ebx, eax
jne 0x230ef
xor ebx, ebx
jmp 0x230f2
mov ebx, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, ebx
call fcn.00016c74
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00016c74
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
mov eax, ebx
xor eax, esi
push ecx
call fcn.00016c74
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
xor eax, dword [ebp - 0x30]
xor dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
mov esi, dword [ebp + ecx*4 - 0x34]
add eax, edx
xor dword [eax], esi
inc ecx
add edx, 4
cmp ecx, 4
jl 0x2314d
mov eax, dword [ebp + 0xc]
add dword [ebp - 4], 2
mov eax, dword [eax + 4]
add dword [ebp - 0x10], 8
cmp dword [ebp - 4], eax
jl 0x230d9
mov eax, dword [ebp + 0x10]
add dword [ebp - 8], 2
mov ecx, dword [eax + 4]
cmp dword [ebp - 8], ecx
jl 0x23094
mov eax, dword [edi + 4]
test eax, eax
jle 0x231a8
mov ecx, dword [edi]
lea eax, [ecx + eax*4 - 4]
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x231a8
dec dword [edi + 4]
cmp dword [edi + 4], ecx
jg 0x23197
push dword [ebp + 0x14]
push edi
push dword [ebp + 8]
call fcn.0001e79c
test eax, eax
je 0x231bf
mov dword [ebp - 0x1c], 1
push dword [ebp + 0x18]
call fcn.00018dfa
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x14