joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd5b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
xor eax, eax
xor bl, bl
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x24c]
push eax
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x401394
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x401386
cmp word [ebp - 0x218], 0
jne 0x401359
xor ecx, ecx
jmp 0x401371
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401362
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402440
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4013e4
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4013e4
cmp word [ebp - 0x218], 0
jne 0x4013b4
xor ecx, ecx
jmp 0x4013cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4013c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402440
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x401489
mov esi, dword [ebp - 0x21c]
cmp esi, 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x401445
lea edx, [ecx - 1]
cmp edx, ecx
ja 0x401435
cmp esi, 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov dword [ebp - 0x220], edx
mov word [eax + edx*2], cx
jmp 0x401445
sub edx, ecx
push 0
push edx
lea ecx, [ebp - 0x230]
call fcn.00402960
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.004031d0
mov esi, dword [ebp - 0x250]
push eax
mov ecx, esi
call fcn.00401e70
cmp dword [ebp - 0x234], 0x10
jb 0x40147b
push dword [ebp - 0x248]
call fcn.004a37d1
add esp, 4
push 6
push str.Adobe
mov ecx, esi
call fcn.00402180
cmp dword [ebp - 0x21c], 8
jb 0x4014a0
push dword [ebp - 0x230]
call fcn.004a37d1
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x4014c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.004032e0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [ebp - 8], 8
jb 0x401507
push dword [ebp - 0x1c]
call fcn.004a37d1
add esp, 4
test bl, bl
je 0x40155d
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.004032e0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401534
test al, 0x10
jbe 0x401534
mov bl, 1
jmp 0x401536
xor bl, bl
cmp dword [ebp - 8], 8
jb 0x401547
push dword [ebp - 0x1c]
call fcn.004a37d1
add esp, 4
test bl, bl
jne 0x40155d
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004a2eda
mov esp, ebp
pop ebp
ret

Function at 0x4018e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd28
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, esi
lea ecx, [ebp - 0x40]
mov edi, 4
call fcn.004032e0
mov edx, esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004032e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [ebp - 0x14], 8
jb 0x401956
push dword [ebp - 0x28]
call fcn.004a37d1
add esp, 4
test bl, bl
jne 0x401976
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
and edi, eax
cmp dword [ebp - 0x2c], 8
jb 0x401987
push dword [ebp - 0x40]
call fcn.004a37d1
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x401c90
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfcf0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov edx, ecx
lea ecx, [ebp - 0x40]
call fcn.004032e0
mov edx, edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004032e0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push 0
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
test esi, esi
je 0x401d33
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.004032e0
cmp dword [eax + 0x14], 8
jb 0x401d14
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x44], 8
jb 0x401d31
push dword [ebp - 0x58]
call fcn.004a37d1
add esp, 4
test esi, esi
setne bl
cmp dword [ebp - 0x14], 8
jb 0x401d47
push dword [ebp - 0x28]
call fcn.004a37d1
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x401d6c
push dword [ebp - 0x40]
call fcn.004a37d1
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret

Function at 0x403840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bff58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, edi
lea ecx, [ebp - 0x28]
mov esi, 4
call fcn.004032e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [ebp - 0x14], 8
jb 0x4038a5
push dword [ebp - 0x28]
call fcn.004a37d1
add esp, 4
test bl, bl
je 0x4038ed
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.004032e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4038d2
test al, 0x10
jbe 0x4038d2
mov bl, 1
jmp 0x4038d4
xor bl, bl
cmp dword [ebp - 0x14], 8
jb 0x4038e5
push dword [ebp - 0x28]
call fcn.004a37d1
add esp, 4
test bl, bl
je 0x40393c
xor eax, eax
jmp 0x40393e
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea edx, [ebp - 0x40]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00401570
test al, al
je 0x40392b
lea ecx, [ebp - 0x40]
call fcn.00403840
mov esi, eax
test esi, esi
jne 0x40392b
mov ecx, edi
call fcn.004018e0
mov esi, eax
cmp dword [ebp - 0x2c], 0x10
jb 0x40393c
push dword [ebp - 0x40]
call fcn.004a37d1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x404600
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0031
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
call fcn.0049ade0
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push eax
push 0x200
mov dword [0x4e7f48], 0x4ce444
mov dword [0x4e7fd4], 0
mov word [0x4e7fd8], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404687
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 8
call fcn.004a387d
mov esi, eax
add esp, 4
test esi, esi
je 0x4046a3
mov dword [esi], 0
mov byte [esi + 4], 0
jmp 0x4046a5
xor esi, esi
mov dword [0x4e7fd0], esi
cmp dword [esi], 0
jne 0x4046c3
push str.Local5071F542_DF26_4e46_810E_74570ED35255
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi], eax
push 0xc0
call fcn.004a387d
add esp, 4
mov dword [ebp - 0x414], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4046e8
push ecx
mov ecx, eax
call fcn.00496030
jmp 0x4046ea
xor eax, eax
mov byte [ebp - 4], 0
push 0x1e
mov ecx, eax
mov dword [0x4e7fcc], eax
call fcn.004941f0
mov ecx, dword [0x4e7fcc]
sub esp, 8
call fcn.004944e0
mov eax, dword [0x4e7ff0]
test al, 1
jne 0x40474e
or eax, 1
mov dword [0x4e7ff0], eax
mov byte [ebp - 4], 2
mov dword [0x4e7fe8], 0
mov dword [0x4e7fec], 0
call fcn.0048da80
push 0x4c2920
mov dword [0x4e7fe8], eax
call fcn.004a377d
add esp, 4
mov byte [ebp - 4], 0
push dword [0x4e7fcc]
mov ecx, 0x4e7fe8
call fcn.004947a0
push 3
push 0x4ce330
mov ecx, 0x4e7f68
call fcn.00402440
mov eax, 0x4e7f48
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x40dc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
push esi
push edi
lea edx, [eax + 1]
call fcn.0040a900
mov edi, eax
dec ebx
mov dword [ebp + 8], ebx
test edi, edi
je 0x40dcc2
xor esi, esi
test ebx, ebx
jle 0x40dcb5
mov edi, edi
mov eax, dword [ebp - 4]
movsx ebx, byte [eax + esi + 1]
movsx edx, byte [eax + esi]
mov ecx, ebx
sar ecx, 6
and cl, 1
mov al, cl
shl al, 3
sub al, cl
mov ecx, edx
sar ecx, 6
sub bl, al
and cl, 1
mov al, cl
shl al, 3
sub al, cl
sub dl, al
mov ecx, esi
and bl, 0xf
shl dl, 4
shr ecx, 1
xor bl, dl
add esi, 2
mov byte [ecx + edi], bl
cmp esi, dword [ebp + 8]
jl 0x40dc70
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov byte [eax + edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e1b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x40e1dd
lea ecx, [ecx]
movzx eax, byte [ebx]
lea ecx, [esi*8]
movzx edx, byte [eax + 0x4cb038]
xor edx, ecx
dec edi
xor esi, edx
lea ebx, [ebx + 1]
test edi, edi
jg 0x40e1c0
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x40e260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
lea eax, [esi*8]
cmp eax, 0x400
mov ecx, 0x80
cmova esi, ecx
push edi
mov dword [ebp - 4], ebx
cmp esi, dword [ebx]
jne 0x40e291
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4e7628]
test eax, eax
je 0x40e29c
call eax
lea eax, [esi*8]
push eax
call fcn.0040a330
mov ecx, dword [0x4e762c]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x40e2bd
call ecx
test esi, esi
je 0x40e288
push dword [ebx + 0xc]
call fcn.0040a630
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x4e5c38]
shr eax, 3
add esp, 4
lea ecx, [eax*8]
push ecx
push 0
push esi
mov dword [ebp - 8], eax
mov dword [ebx], eax
call fcn.004a9520
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x40e3a0
mov esi, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
xor edi, edi
test esi, esi
jle 0x40e32f
movzx eax, byte [ebx]
dec esi
movzx edx, byte [eax + 0x4cb038]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
lea ebx, [ebx + 1]
test esi, esi
jg 0x40e312
xor edx, edx
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ecx]
lea esi, [eax + edx*8]
test esi, esi
je 0x40e37a
mov eax, dword [esi]
test eax, eax
je 0x40e34d
mov edx, dword [esi + 4]
jmp 0x40e34f
xor edx, edx
inc eax
mov dword [esi], eax
mov dword [esi + 4], ecx
test edx, edx
je 0x40e37a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x40e36f
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x40e396
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x40e396
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x40e38c
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x40e306
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov ecx, dword [ebp + 8]
cmp dword [eax + 0xc], 0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
je 0x40e514
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov ebx, edx
test ecx, ecx
jle 0x40e504
movzx eax, byte [ebx]
lea ecx, [esi*8]
movzx edx, byte [eax + 0x4cb038]
xor edx, ecx
dec edi
xor esi, edx
lea ebx, [ebx + 1]
test edi, edi
jg 0x40e4e4
mov ecx, dword [ebp + 8]
mov eax, esi
mov esi, dword [ebp - 4]
xor edx, edx
div dword [esi]
pop edi
mov eax, esi
pop esi
pop ebx
jmp 0x40e516
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x40e530
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40e540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
mov edi, edx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
je 0x40e595
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x40e585
mov esi, edx
movzx eax, byte [esi]
lea ecx, [edi*8]
movzx edx, byte [eax + 0x4cb038]
xor edx, ecx
dec ebx
xor edi, edx
lea esi, [esi + 1]
test ebx, ebx
jg 0x40e565
mov esi, dword [ebp - 0xc]
mov eax, edi
xor edx, edx
div dword [esi]
mov edi, dword [ebp - 8]
mov ebx, edx
mov dword [ebp - 4], edx
jmp 0x40e59a
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x40e5e2
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x40e5d2
push ebx
mov edx, eax
mov ecx, esi
call fcn.0040e460
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x40e680
push 0x14
call fcn.0040a330
mov edi, eax
add esp, 4
test edi, edi
jne 0x40e606
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 8], ebx
inc dword [esi + 4]
mov edx, dword [esi + 4]
cmp edx, 0xa
jb 0x40e646
mov eax, dword [esi]
add eax, eax
cmp edx, eax
jbe 0x40e646
add edx, edx
mov ecx, esi
call fcn.0040e260
test eax, eax
je 0x40e646
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0040e1b0
xor edx, edx
div dword [esi]
jmp 0x40e649
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40e667
push edi
lea edx, [eax + edx*8]
mov ecx, esi
call fcn.0040e1f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
mov dword [edi], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x40e676
mov dword [eax + 4], edi
mov dword [edi + 4], 0
mov dword [esi + 8], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ecx
mov ebx, edx
test edx, edx
je 0x44339d
cmp byte [edx], cl
je 0x443395
inc ebx
cmp byte [ebx], cl
jne 0x443390
sub ebx, edx
and ebx, 0x3fffffff
mov edi, dword [esi + 0x14]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edi
test edi, edi
jle 0x443487
mov edi, eax
cmp eax, 2
jge 0x4433ba
xor edi, 1
mov eax, dword [ebp + 8]
test eax, eax
je 0x44341f
mov edx, eax
mov eax, dword [esi + 0x10]
mov ecx, edi
add ecx, ecx
mov esi, dword [eax + ecx*8]
mov eax, edx
mov al, byte [eax]
test al, al
je 0x4433fd
jmp 0x4433e0
movzx ecx, byte [esi]
movzx eax, al
mov al, byte [eax + 0x4cb038]
cmp al, byte [ecx + 0x4cb038]
jne 0x4433fd
mov al, byte [edx + 1]
inc edx
inc esi
test al, al
jne 0x4433e0
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x4cb038]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x4cb038]
sub eax, ecx
jne 0x443495
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x10]
add edi, edi
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
mov dword [ebp - 4], ecx
cmp dword [ecx + 0xc], 0
je 0x443468
mov edi, edx
xor edx, edx
mov esi, ebx
test ebx, ebx
jle 0x443460
mov edi, edi
movzx eax, byte [edi]
dec esi
movzx ecx, byte [eax + 0x4cb038]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
lea edi, [edi + 1]
test esi, esi
jg 0x443440
mov ecx, dword [ebp - 4]
mov eax, edx
xor edx, edx
div dword [ecx]
jmp 0x44346a
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ebx
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x44348e
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x443498
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x443498
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x14]
jge 0x443485
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
jmp 0x4433b0
Function at 0x4435c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, edx
test edx, edx
je 0x4435ed
cmp byte [edx], al
je 0x4435e5
jmp 0x4435e0
inc ebx
cmp byte [ebx], al
jne 0x4435e0
sub ebx, edx
and ebx, 0x3fffffff
mov esi, dword [ecx + 0x14]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], esi
test esi, esi
jle 0x4436c9
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], esi
mov eax, edi
cmp edi, 2
jge 0x443610
xor eax, 1
shl eax, 4
cmp dword [ebp + 8], 0
mov ecx, dword [eax + esi + 0xc]
mov dword [ebp - 0x10], ecx
je 0x44366b
mov ecx, dword [ebp + 8]
mov esi, dword [eax + esi]
mov al, byte [ecx]
mov edx, ecx
test al, al
je 0x44364d
mov edi, edi
movzx ecx, byte [esi]
movzx eax, al
mov al, byte [eax + 0x4cb038]
cmp al, byte [ecx + 0x4cb038]
jne 0x44364d
mov al, byte [edx + 1]
inc edx
inc esi
test al, al
jne 0x443630
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x4cb038]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x4cb038]
sub eax, ecx
jne 0x4436d7
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add ecx, 0x18
mov dword [ebp - 0x10], ecx
cmp dword [ecx + 0xc], 0
je 0x4436ac
mov edi, edx
xor edx, edx
mov esi, ebx
test ebx, ebx
jle 0x4436a1
movzx eax, byte [edi]
dec esi
movzx ecx, byte [eax + 0x4cb038]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
lea edi, [edi + 1]
test esi, esi
jg 0x443681
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov eax, edx
xor edx, edx
div dword [ecx]
jmp 0x4436ae
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ebx
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x4436d0
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
je 0x4436da
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4436da
mov eax, dword [ebp - 4]
inc edi
mov dword [ebp - 0xc], edi
cmp edi, dword [ebp - 0x14]
jge 0x4436c9
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
jmp 0x443606
Function at 0x443750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
add edx, edx
mov dword [ebp - 0xc], edi
mov eax, dword [eax + edx*8 + 0xc]
add eax, 0x18
mov dword [ebp - 8], eax
mov esi, ecx
test ecx, ecx
je 0x44378e
cmp byte [ecx], 0
je 0x443786
jmp 0x443780
inc esi
cmp byte [esi], 0
jne 0x443780
sub esi, ecx
and esi, 0x3fffffff
mov edx, dword [eax]
xor ebx, ebx
mov dword [ebp - 0x10], edx
test edx, edx
je 0x4437d7
mov eax, ecx
mov dword [ebp - 4], eax
test esi, esi
jle 0x4437cb
mov edi, esi
movzx eax, byte [eax]
lea ecx, [ebx*8]
movzx edx, byte [eax + 0x4cb038]
mov eax, dword [ebp - 4]
xor edx, ecx
inc eax
dec edi
xor ebx, edx
mov dword [ebp - 4], eax
test edi, edi
jg 0x4437a4
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
div dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, edx
push ebx
mov edx, ecx
push esi
mov ecx, eax
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x443856
mov ecx, dword [ebp - 8]
mov esi, dword [eax + 8]
push ebx
mov edx, eax
call fcn.0040e460
add esp, 4
test esi, esi
je 0x443856
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + 8]
cmp ecx, esi
jne 0x443822
mov eax, dword [esi + 0x14]
mov dword [edx + 8], eax
mov edx, esi
mov ecx, edi
call fcn.004436f0
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x44384d
mov eax, dword [ecx + 0x14]
cmp eax, esi
je 0x443847
mov ecx, eax
test ecx, ecx
jne 0x443826
mov edx, esi
mov ecx, edi
call fcn.004436f0
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
mov edx, esi
mov ecx, edi
call fcn.004436f0
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
shl edx, 4
add edx, dword [eax + 0x10]
push esi
push edi
mov dword [ebp - 0x14], eax
mov esi, ecx
test ecx, ecx
je 0x443e10
cmp byte [ecx], 0
je 0x443e08
inc esi
cmp byte [esi], 0
jne 0x443e02
sub esi, ecx
and esi, 0x3fffffff
mov ebx, dword [edx + 0xc]
add ebx, 8
xor edi, edi
mov eax, dword [ebx]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x443e5f
mov ebx, esi
test esi, esi
jle 0x443e53
mov esi, ecx
nop
movzx eax, byte [esi]
lea ecx, [edi*8]
movzx edx, byte [eax + 0x4cb038]
xor edx, ecx
dec ebx
xor edi, edx
lea esi, [esi + 1]
test ebx, ebx
jg 0x443e30
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, edi
xor edx, edx
div dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov edi, edx
push edi
mov edx, ecx
push esi
mov ecx, ebx
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x443e83
mov esi, dword [eax + 8]
push edi
mov edx, eax
mov ecx, ebx
call fcn.0040e460
add esp, 4
jmp 0x443e85
xor esi, esi
mov edx, esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00443b00
or dword [esi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret