joyce8/EMBER2024-capa huggingface dataset:
Function at 0x675bb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70a968
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.00675cf0
add esp, 4
test al, al
jne 0x675c0a
xor bl, bl
jmp 0x675c93
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
lea edi, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
add ebx, edx
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 7
cmovae edi, dword [ebp - 0x40]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, ebx
sub eax, edi
push eax
call fcn.00439ea0
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push ebx
push edi
call fcn.00675a20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.006a727d
add esp, 8
test eax, eax
je 0x675c89
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x675c89
xor bl, bl
jmp 0x675c8b
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0042fbd0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x675cc3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x675cb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x675ce0
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
call fcn.00691015
int3

Function at 0x675cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
push 0
push 0x400
push 0x7815f0
mov dword [ebp - 0x408], 0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x675db7
push 0x400
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0068e800
push 0x400
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push eax
call fcn.006a7739
lea eax, [ebp - 0x404]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x675d66
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00430160
push 1
push 0x77fe64
mov ecx, esi
call fcn.00441450
push 0xb
push str.AdobeGCInfo
mov ecx, eax
call fcn.00441450
push dword [ebp - 0x408]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x6760e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70aa0b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0
push eax
push 0
push 0x400
push 0x7815c0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x676139
xor al, al
jmp 0x676265
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0068e800
push 0x400
push dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
call fcn.006a7739
lea eax, [ebp - 0x410]
mov dword [ebp - 0x418], 0
add esp, 0x18
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x676190
sub eax, edx
lea ecx, [ebp - 0x428]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00430160
push 1
push 0x77fe64
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
call fcn.00441450
push 5
push 0x780d2c
mov ecx, eax
call fcn.00441450
push 1
push 0x77fe64
lea ecx, [ebp - 0x428]
call fcn.00441450
push 0xd
push str.AdobeGCClient
mov ecx, eax
call fcn.00441450
push dword [ebp - 0x42c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
push 0
cmovae eax, dword [ebp - 0x428]
push eax
mov dword [ebp - 0x42c], 0
call fcn.006a7353
mov edx, dword [ebp - 0x414]
add esp, 8
test eax, eax
sete bl
cmp edx, 0x10
jb 0x676263
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x676259
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67627f
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
call fcn.00691015
int3
Function at 0x6ae7c8
Capabilities:
Read file on windows

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

Function at 0x6ae7d3
Capabilities:
Read file on windows

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

Function at 0x6bc70a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret
Function at 0x49a294
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 0x49a2c2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49a2e0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049a1fa
jmp 0x49a2e0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49a2e0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049a1fa
test edi, edi
mov eax, edi
jne 0x49a2ca
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x5b9e60
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 8
mov eax, dword [0x7c9028]
mov edx, dword [0x7c902c]
mov dword [esp + 4], 0
lea ecx, [eax + eax]
mov eax, dword [0xbc3068]
or ecx, edx
mov dword [esp], ecx
fild qword [esp]
test eax, eax
fadd qword [0x7c9040]
fstp qword [0x7c9040]
jne 0x5b9f14
push esi
push 0
call sub.comdlg32.dll_ChooseColorA
push str.Crypt32.dll
mov dword [0x7c9e2c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CertCloseStore
push eax
mov dword [0xbc3068], eax
call esi
mov edx, dword [0xbc3068]
push str.CertEnumCertificatesInStore
push edx
mov dword [0xbc3064], eax
call esi
mov dword [0xbc3054], eax
mov eax, dword [0xbc3068]
push str.CertFreeCertificateContext
push eax
call esi
mov ecx, dword [0xbc3068]
push str.PFXImportCertStore
push ecx
mov dword [0xbc304c], eax
call esi
mov edx, dword [0xbc3068]
push str.CryptAcquireCertificatePrivateKey
push edx
mov dword [0xbc3060], eax
call esi
mov dword [0xbc3050], eax
pop esi
add esp, 8
ret

Function at 0x5f8d8b
Capabilities:
Encode data using xor

Disassembly:
inc edx
inc ebx
stosd dword es:[edi], eax
invalid
mov ch, 0xcc
imul ebp, dword [eax], 0xfffffff2
dec ebp
pop edi
push eax
mov bh, 0xe4
and ecx, esi
inc edi
mov al, byte [0xf2d794f8]
xlatb
shl ah, cl
rol byte [ebx], cl
adc byte [ebx], 0x72
mov dh, 0x49
std
xchg esi, eax
imul ebx, dword [esi + 0x762c7b81], 0xffffff97
mov ah, 0x40
or ah, bh
cmp dword es:[0xbf91fc39], esi
je 0x5f8d40
cmc
invalid

Function at 0x6440ab
Capabilities:
Encode data using xor

Disassembly:
sbb eax, 0xe51d94fb
idiv byte [ebx + 0x3f]
sti
xchg esp, eax
sbb eax, 0x3f7bf6e5
imul ecx, dword [ebp - 0x37], 0x45
push edi
pop ecx
test eax, 0xfd8be20e
pushal
xor al, 0xa3
imul esi, dword [edx + 0x108a0ea6], 0xdb5826d5
inc ebp
aam 0x95
fld xword [eax - 0x16]
mov ch, 0xfb
stosb byte es:[edi], al
adc al, 0x17
fild dword [ecx + 0x19bbd5a8]
inc edi
sti
jne 0x6440ac
xchg ecx, eax
push edi
pop edx
inc esp
enter 0xffffffffffffff37, 0xffffffffffffffcd
cmp dword [eax + 5], edi
movsb byte es:[edi], byte [esi]
test eax, 0xefa31f73
sbb ch, bl
lds edi, [ebx - 0x4c]
fisub dword [ecx]
std
stosb byte es:[edi], al
and ecx, dword [0x239f85f6]
jmp 0xd418887d
Function at 0x5e9b0b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5e9b26
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124aed4b]
pop edx
test eax, eax
je 0x5e9bf8
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5e9be7
test dword [ebp - 0x2a8], 1
jne 0x5e9be7
and dword [ebp - 0x2a8], 0x100
jne 0x5e9be7
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3a21]
pop edx
pop esi
test eax, eax
je 0x5e9b8a
jmp 0x5e9be7
cmp word [esi], 0x5a4d
jne 0x5e9be7
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5e9be7
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d39ad]
pop edx
test eax, eax
je 0x5e9be7
lea eax, [ebp - 0x28c]
push eax
call fcn.005e9a67
test eax, eax
jne 0x5e9be0
jmp 0x5e9be7
mov eax, esi
jmp 0x5e9bf8
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5e9b26
pop esi
leave
ret 4
Function at 0x100081d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
lea ecx, [eax + 0x393]
push esi
push edi
mov edi, eax
mov dword [esp + 0x14], ecx
cmp eax, ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edi
ja 0x100083db
mov ebx, dword [esp + 0x14]
nop
cmp edi, 0x40c9
ja 0x100083c2
je 0x1000824d
mov ecx, edi
sub ecx, 0xdf6
je 0x10008220
sub ecx, 0x3d
jmp 0x100083c8
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, ecx
mov esi, ecx
shl eax, 0x10
and esi, 0xff00
or eax, esi
shr ecx, 8
and ecx, 0xff00
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 3]
or eax, ecx
jmp 0x100083ca
push 2
call fcn.10013cd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10008295
call fcn.10011590
push 2
call fcn.10013cd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10008295
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
push eax
call fcn.10016810
add esp, 4
push 2
call fcn.10013cd0
mov esi, eax
add esp, 4
test esi, esi
je 0x100083be
mov edi, 0x5386
cmp edi, 0x54b8
ja 0x1000835b
je 0x1000834c
cmp edi, 0x541f
ja 0x10008323
je 0x1000830c
mov eax, edi
sub eax, 0x5386
je 0x100082ea
sub eax, 0x33
je 0x100082d8
sub eax, 0x33
jne case.0x1000836f.21740
mov word [esi + 0xa], 0xff00
jmp case.0x1000836f.21740
xor ecx, ecx
mov word [esi + 0x74], cx
mov dword [esi + 0x2c], 0x8000800
jmp case.0x1000836f.21740
push 0xa8
push 0
push esi
call fcn.100fefe0
mov ecx, 0x100
add esp, 0xc
mov byte [esi + 0x14], 0x40
mov word [esi + 0x72], cx
jmp case.0x1000836f.21740
mov edx, 0x80
mov eax, 6
mov word [esi + 0x3c], dx
mov word [esi + 0x4c], ax
jmp case.0x1000836f.21740
mov eax, edi
sub eax, 0x5452
je 0x1000833c
sub eax, 0x33
jne case.0x1000836f.21740
mov ecx, 1
mov word [esi + 0x56], cx
jmp case.0x1000836f.21740
or ecx, 0xffffffff
mov dword [esi + 0x48], 0x60000
mov word [esi + 0x3a], cx
jmp case.0x1000836f.21740
call fcn.10019180
mov ebx, eax
mov dword [esi + 0x68], ebx
mov dword [esi + 0x5c], ebx
jmp case.0x1000836f.21740
lea eax, [edi - 0x54eb]
cmp eax, 0xcc
ja case.0x1000836f.21740
movzx edx, byte [eax + 0x100083fc]
jmp dword [edx*4 + 0x100083e4]
mov eax, dword [0x10175914]
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x34], eax
jmp case.0x1000836f.21740
mov dword [esi + 0x9c], 0x6ddd00
jmp case.0x1000836f.21740
mov byte [esi + 0x38], 0
mov dword [esi + 0x8c], 0x100247b0
jmp case.0x1000836f.21740
mov byte [esi + 0xa5], 0
jmp case.0x1000836f.21740
mov dword [esi + 0x50], ebx
add edi, 0x33
cmp edi, 0x55b7
jbe 0x1000829a
mov edi, dword [esp + 0x10]
mov eax, esi
jmp 0x100083ca
cmp edi, 0x4106
je 0x100083db
add edi, 0x3d
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x14]
jbe 0x10008200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e490
Capabilities:
Get common file path

Disassembly:
mov eax, 0x3a9a
jmp fcn.1000bb00
Function at 0x100156b0
Capabilities:
Set current directory

Disassembly:
mov eax, 0x1543
jmp fcn.1000e510
Function at 0x10018a80
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea ebx, [eax + 0x3c0]
push edi
mov esi, eax
cmp eax, ebx
ja 0x10018ae1
mov edi, dword [ebp - 4]
mov eax, esi
sub eax, 0x2a0a
je 0x10018ab8
sub eax, 0x30
je 0x10018aeb
sub eax, 0x12a4
jne 0x10018ada
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10018ada
inc word [eax + 0xe]
jmp 0x10018ada
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push 0
push 0
push eax
mov eax, dword [edx]
push ecx
push eax
push 0
call fcn.100fe2c0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10018b01
add esi, 0x30
cmp esi, ebx
jbe 0x10018a96
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1001bdb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea ebx, [eax + 0x160b]
push edi
mov esi, eax
cmp eax, ebx
ja 0x1001be96
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileExA]
nop
cmp esi, 0x3597
ja 0x1001be65
je 0x1001be43
mov eax, esi
sub eax, 0x237b
je 0x1001be27
sub eax, 0x11aa
je 0x1001be0c
sub eax, 0x39
jne 0x1001be8b
mov eax, 0x65
mov dword [ebp - 7], 0x6c6946
mov word [ebp - 4], ax
jmp 0x1001be8b
mov ecx, 0x4d
mov word [ebp - 0xc], cx
mov edx, 0x77
mov dword [ebp - 0xb], 0x654e79
mov word [ebp - 8], dx
jmp 0x1001be8b
call fcn.10005060
mov al, byte [0x101744c1]
inc al
mov byte [0x101744c1], al
test al, 1
je 0x1001be8b
call fcn.1001a9c0
jmp 0x1001be8b
mov eax, 0x6c
mov dword [ebp - 0x18], 0x4f794d
mov ecx, 0x4664
mov word [ebp - 0x15], ax
mov word [ebp - 0x14], cx
mov dword [ebp - 0x12], 0x656c69
jmp 0x1001be8b
mov eax, esi
sub eax, 0x35d0
je 0x1001be8b
sub eax, 0x39
jne 0x1001be8b
push 1
push eax
push eax
push eax
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x18]
push eax
call edi
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
add esi, 0x39
cmp esi, ebx
jbe 0x1001bdd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10023370
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10017180
Function at 0x1002b690
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
lea ecx, [eax + 0x1238]
push edi
mov edi, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], ecx
cmp eax, ecx
ja 0x1002b7a2
mov esi, dword [ebp - 0x14]
xor ebx, ebx
cmp edi, 0x5112
ja 0x1002b786
je 0x1002b769
lea eax, [edi - 0x5009]
cmp eax, 0xd4
ja case.0x1002b6de.20490
movzx eax, byte [eax + 0x1002b894]
jmp dword [eax*4 + 0x1002b87c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], 0x8000
jmp case.0x1002b6de.20490
cmp byte [ebp - 1], bl
je case.0x1002b6de.20490
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, ebx
sete cl
mov byte [ebp - 1], cl
cmp cl, bl
jne case.0x1002b6de.20490
cmp dword [eax + 0x1c], ebx
sete byte [ebp - 1]
jmp case.0x1002b6de.20490
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov esi, dword [edx + 0x1c]
mov dword [esi + 0x1c], ebx
mov ecx, dword [eax]
mov dword [ecx + 0x14], ebx
mov edx, dword [eax]
mov dword [edx + 8], ebx
mov eax, dword [eax]
mov dword [eax + 0x18], ebx
jmp case.0x1002b6de.20490
mov eax, dword [esi + 8]
cmp eax, ebx
je case.0x1002b6de.20490
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and eax, 1
mov dword [edx + 0x30], eax
jmp case.0x1002b6de.20490
lea eax, [esi + 0x530]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
jmp case.0x1002b6de.20490
cmp edi, 0x6cc1
ja 0x1002b7ee
je 0x1002b7c8
mov eax, edi
sub eax, 0x5147
je 0x1002b7ac
sub eax, 0x35
jne case.0x1002b6de.20490
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x1bc0], 1
mov dword [esi + 0x1bc4], 0xffffffff
mov dword [ebp - 0x10], ebx
jmp case.0x1002b6de.20490
xor eax, eax
push 0xfffffffffffffff5
mov byte [ebp - 2], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 8], eax
jmp case.0x1002b6de.20490
mov eax, edi
sub eax, 0x6cf6
je 0x1002b859
sub eax, 0x35
jne case.0x1002b6de.20490
mov edi, 0xd7
mov eax, edi
sub eax, 0xd7
je 0x1002b824
sub eax, 0x36
jne 0x1002b849
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.100fdef1
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 2], bl
je 0x1002b849
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x1002b849
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
add edi, 0x36
cmp edi, 0x10d
jbe 0x1002b801
mov edi, dword [ebp - 0xc]
jmp case.0x1002b6de.20490
cmp dword [ebp - 8], 0xffffffff
jne case.0x1002b6de.20490
mov byte [ebp - 2], bl
add edi, 0x35
mov dword [ebp - 0xc], edi
cmp edi, dword [ebp - 0x14]
jbe 0x1002b6b4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10041b40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.100feb80
mov edx, dword [esp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x64]
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
inc edi
test byte [ecx + 0x34], 1
je 0x10041b8b
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
lea ebx, [edi + ecx]
cmp ebx, eax
jbe 0x10041b7b
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
add dword [esi + 0x14], ecx
add dword [esi + 0x18], ecx
sub eax, ecx
sub dword [esi + 0xc], ecx
mov dword [esi + 8], eax
jmp 0x10041b96
mov eax, dword [esp + 0x18]
cmp edi, dword [eax + 8]
ja 0x10041b74
mov esi, eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
movzx ebx, byte [ecx + eax - 1]
mov ecx, dword [edx + 0xb0]
push ecx
call fcn.10056bc0
push eax
call fcn.100ada40
add esp, 8
test eax, 0x200000
je 0x10041bcf
or edx, 0xffffffff
sub edx, ebx
add dword [esi + 8], edx
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [esi + 8]
lea eax, [ebx + edi]
mov esi, ebp
sub esi, eax
xor esi, eax
mov ecx, ebp
xor ecx, eax
or esi, ecx
xor esi, ebp
shr esi, 0x1f
mov eax, 0x100
dec esi
mov dword [esp + 0x18], eax
cmp ebp, eax
jae 0x10041bfb
mov eax, ebp
mov dword [esp + 0x18], ebp
xor edi, edi
test eax, eax
je 0x10041c57
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
mov ecx, ebx
shr ecx, 0x1f
lea edx, [eax + ebp - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
lea esp, [esp]
mov edx, ebx
sub edx, edi
shr edx, 0x1f
mov eax, edi
shr eax, 0x1f
xor dl, al
xor cl, al
or dl, cl
mov ecx, dword [esp + 0x10]
xor dl, cl
dec dl
movzx eax, dl
mov edx, dword [esp + 0x24]
movzx edx, byte [edx]
dec dword [esp + 0x24]
xor edx, ebx
and eax, edx
not eax
inc edi
and esi, eax
cmp edi, dword [esp + 0x18]
jb 0x10041c20
mov eax, dword [esp + 0x1c]
not esi
and esi, 0xff
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
and ecx, esi
neg ecx
inc ebx
and ebx, ecx
sub ebp, ebx
mov dword [eax + 8], ebp
pop ebp
mov eax, ecx
pop edi
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebx
pop ecx
ret
Function at 0x10041c90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.100feb80
mov eax, dword [0x1016fb90]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
push ebx
push ebp
mov ebp, dword [esp + 0xbc]
push esi
mov esi, dword [esp + 0xbc]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
push edi
mov dword [esp + 0x20], eax
sub eax, ebp
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edi
cmp dword [esi + 0xc], ebp
jae 0x10041cf4
push 0x4d4
push 0x10119934
push str.assertion_failed:_rec__orig_len___md_size
call fcn.1005dc80
add esp, 0xc
cmp ebp, 0x40
jbe 0x10041d10
push 0x4d5
push 0x10119934
push str.assertion_failed:_md_size___EVP_MAX_MD_SIZE
call fcn.1005dc80
add esp, 0xc
mov eax, dword [esi + 0xc]
lea ebx, [esp + 0x34]
neg ebx
and ebx, 0x3f
lea ecx, [ebp + 0x100]
lea ebx, [esp + ebx + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
cmp eax, ecx
jbe 0x10041d3d
sub eax, ebp
sub eax, 0x100
mov dword [esp + 0x10], eax
push ebp
push edi
xor esi, esi
push ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
call fcn.100fefe0
mov edi, dword [esp + 0x1c]
mov eax, edi
add esp, 0xc
xor ecx, ecx
cmp eax, dword [esp + 0x14]
jae 0x10041df4
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0xc0]
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x30], eax
jmp 0x10041d84
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, edi
xor edx, dword [esp + 0x24]
xor esi, ebx
lea eax, [edx - 1]
not edx
shr edx, 0x1f
shr eax, 0x1f
and eax, edx
mov edx, edi
xor edx, ebx
mov ebx, dword [esp + 0x28]
or esi, edx
neg eax
xor esi, edi
mov edx, eax
or edx, dword [esp + 0x1c]
shr esi, 0x1f
inc dword [esp + 0x10]
neg esi
and edx, esi
mov esi, dword [esp + 0x18]
and eax, ecx
mov dword [esp + 0x1c], edx
or esi, eax
mov eax, dword [esp + 0x30]
and dl, byte [eax + edi]
inc ecx
or byte [ecx + ebx - 1], dl
mov edx, ecx
sub edx, ebp
xor edx, ebp
mov eax, ecx
xor eax, ebp
or edx, eax
xor edx, ecx
shr edx, 0x1f
neg edx
inc edi
and ecx, edx
mov dword [esp + 0x18], esi
cmp edi, dword [esp + 0x14]
jb 0x10041d80
xor eax, eax
test ebp, ebp
je 0x10041e2d
lea ebx, [ebx]
mov ecx, esi
xor ecx, 0x20
mov dl, byte [ecx + ebx]
mov cl, byte [esi + ebx]
mov edx, dword [esp + 0x2c]
mov byte [edx + eax], cl
inc esi
mov ecx, esi
sub ecx, ebp
xor ecx, ebp
mov edx, esi
xor edx, ebp
or ecx, edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
inc eax
and esi, ecx
cmp eax, ebp
jb 0x10041e00
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100fef11
add esp, 0xa8
ret
Function at 0x100532c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x10053304
mov al, byte [edx]
test al, al
je 0x10053304
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
inc edx
xor esi, eax
mov al, byte [edx]
test al, al
jne 0x100532d7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret