joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fa30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x43fa37
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x43fb14
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5d3fa0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x5d3fa0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x5d3fa0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5d3fa0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5d3fa0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5d3fa0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5d3fa0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5d3fa0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x43fa50
pop edi
test edx, edx
je 0x43fb3b
jmp 0x43fb20
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5d3fa0]
inc ecx
sub edx, 1
jne 0x43fb20
not eax
pop esi
ret

Function at 0x4402d0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x440302
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4402f8
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x440315
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
push esi
add eax, ecx
push eax
push edx
call fcn.005699d0
add dword [edi + 0x18], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret

Function at 0x440330
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x440363
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44035d
mov byte [esi + 8], 1
mov edi, dword [esp + 8]
jmp 0x44038f
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x440375
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call fcn.005699d0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x4403a6
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x4403a0
cmp byte [esi + 8], 0
je 0x4403a0
or eax, 0xffffffff
add esp, 8
ret
Function at 0x4404e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x440525
cmp byte [esi + 1], 0
je 0x44052d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x440541
cmp byte [esi + 1], 0
je 0x440533
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x44054a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x4404fe
xor eax, eax
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x44054a
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
mov dword [esp + 0xc], edi
cmp ebp, edi
jae 0x44055e
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.005667f9
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x440579
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
mov eax, 4
mov dword [esp + 0x18], 0
cmp edi, eax
jbe 0x44068c
jmp 0x44059c
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
mov dword [esp + 0x14], edi
cmp eax, edi
ja 0x4405ad
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x20], eax
cmp ebp, 0x404
jbe 0x4405c6
mov ebp, 0x404
cmp byte [esi], 0
je 0x4405eb
cmp byte [esi + 1], 0
je 0x44068c
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4405ee
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebp
je 0x440616
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440610
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x44063c
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x440627
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
push edi
add ecx, eax
push ecx
push ebx
call fcn.005699d0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x44068c
lea eax, [ebp - 3]
test eax, eax
jle 0x44067e
lea esp, [esp]
dec eax
cmp byte [eax + ebx], 0x50
jne 0x44066c
cmp byte [eax + ebx + 1], 0x4b
jne 0x44066c
cmp byte [eax + ebx + 2], 5
jne 0x44066c
cmp byte [eax + ebx + 3], 6
je 0x440672
test eax, eax
jg 0x440650
jmp 0x44067e
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
jne 0x44068c
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x440590
push ebx
call fcn.005668e2
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x441500
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [esi], 0
push ebp
mov ebp, dword [esp + 0xc]
push edi
jne 0x441593
cmp dword [esi + 4], 0xffffffff
jne 0x441593
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x441530
mov eax, dword [0x5cd740]
mov dword [edi], eax
cmp ebx, 1
jne 0x44155e
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, ebx
je 0x44155e
mov eax, 0x2000000
pop edi
pop ebp
pop ecx
ret 8
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebp
mov edi, ebx
call fcn.00440190
add esp, 0xc
test eax, eax
jne 0x441581
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ecx
ret 8
call fcn.004406a0
mov dword [esi], eax
mov eax, dword [0x6199bc]
pop edi
pop ebp
pop ecx
ret 8
pop edi
mov eax, 0x1000000
pop ebp
pop ecx
ret 8

Function at 0x441da0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.0056b700
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [0x619cf4], eax
mov dword [0x619cf8], edx
cmp eax, 6
jae 0x441dfd
push 0x619cfc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 0x619cf0
call fcn.00565f92
add esp, 0x118
ret
Function at 0x450180
Capabilities:
Set file attributes
Write file on windows

Disassembly:
sub esp, 0xc58
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0xc54], eax
push ebx
push ebp
mov ebp, dword [esp + 0xc64]
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x4501ae
xor al, al
jmp 0x4502f8
test ebp, ebp
jne 0x4501b5
lea ebp, [edi + 8]
push ebp
call fcn.004660f0
add esp, 4
test eax, eax
jne 0x4501a7
lea esi, [esp + 0x18]
call fcn.00450080
cmp byte [esp + 0x248], 0
push 0
mov eax, esi
push eax
push ebp
push 0
je 0x450207
lea ecx, [esp + 0x368]
push ecx
call fcn.0056ab46
lea edx, [esp + 0x36c]
add esp, 0x14
push edx
call fcn.004660f0
add esp, 4
neg eax
sbb eax, eax
inc eax
jmp 0x4502f8
lea ecx, [esp + 0x260]
push ecx
call fcn.0056ab46
add esp, 0x14
lea eax, [esp + 0x250]
call fcn.004503a0
test al, al
je 0x4501a7
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4501a7
mov eax, dword [edi + 4]
push eax
call fcn.00461a40
test eax, eax
jne 0x4501a7
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [esp]
mov edx, dword [edi + 4]
push 0x800
lea ecx, [esp + 0x464]
push ecx
push edx
call fcn.00461a60
mov esi, eax
test esi, esi
jle 0x4502b4
push 0
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x46c]
push ecx
push ebp
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x4502b1
cmp dword [esp + 0x14], esi
je 0x450270
or esi, 0xffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 4]
push edx
call fcn.00461f30
test esi, esi
jne 0x4502f1
mov ecx, dword [esp + 0x230]
lea eax, [esp + 0x250]
call fcn.004503e0
mov eax, dword [esp + 0x244]
push eax
lea ecx, [esp + 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [esp + 0xc64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00565f92
add esp, 0xc58
ret 4

Function at 0x4503e0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x30
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
jne 0x45040d
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x30
ret
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x45047b
lea ecx, [esp + 0x18]
push ecx
push esi
shr esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x45047b
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x45047b
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
mov eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp eax, 1
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x30
ret
Function at 0x450c90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
mov edi, edx
je 0x450cc7
pop edi
pop esi
mov eax, 0xfffffffb
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565f92
add esp, 0x24
ret 8
cmp dword [esi + 8], 0
jne 0x450cae
test edi, edi
je 0x450e86
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x450e86
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
push ebx
mov ebx, eax
mov eax, dword [esi + 4]
sar ebx, 4
sub eax, 0
je 0x450e09
sub eax, 1
je 0x450d18
pop ebx
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565f92
add esp, 0x24
ret 8
lea eax, [esi + 0xc]
mov dword [esp + 0x10], ebx
test ebx, ebx
jle 0x450d6c
mov ecx, dword [eax]
xor ecx, dword [edi]
mov edx, dword [edi + 4]
xor edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 8]
xor ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [edi + 0xc]
xor edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], edx
call fcn.00451160
mov ecx, dword [esp + 0x10]
dec ecx
mov eax, ebp
add edi, 0x10
add ebp, 0x10
mov dword [esp + 0x10], ecx
test ecx, ecx
jg 0x450d23
mov ecx, dword [esp + 0x38]
shl ebx, 4
mov edx, ebx
mov dword [esp + 0x14], edx
sub edx, ecx
add edx, 0x10
mov ebx, 0x10
sub ebx, edx
mov dword [esp + 0x1c], ebx
test ebx, ebx
jle 0x450db9
sub edi, eax
mov dword [esp + 0x18], edi
lea edi, [esp + 0x20]
mov ecx, eax
sub edi, eax
mov dword [esp + 0x10], ebx
jmp 0x450da0
mov ebx, dword [esp + 0x18]
mov bl, byte [ebx + ecx]
xor bl, byte [ecx]
inc ecx
sub dword [esp + 0x10], 1
mov byte [edi + ecx - 1], bl
jne 0x450da0
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
cmp ecx, 0x10
jge 0x450e60
mov edi, eax
lea eax, [esp + 0x20]
sub edi, eax
lea esp, [esp]
lea eax, [edi + ecx]
mov al, byte [esp + eax + 0x20]
xor al, dl
mov byte [esp + ecx + 0x20], al
inc ecx
cmp ecx, 0x10
jl 0x450dd0
push ebp
lea ecx, [esp + 0x24]
call fcn.00451160
mov eax, dword [esp + 0x14]
pop ebx
pop edi
pop esi
add eax, 0x10
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565f92
add esp, 0x24
ret 8
mov dword [esp + 0x10], ebx
test ebx, ebx
jle 0x450e30
push ebp
mov ecx, edi
call fcn.00451160
mov eax, dword [esp + 0x10]
dec eax
add edi, 0x10
add ebp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jg 0x450e11
mov ecx, dword [esp + 0x38]
shl ebx, 4
mov dword [esp + 0x14], ebx
sub ebx, ecx
add ebx, 0x10
mov ecx, 0x10
sub ecx, ebx
push ecx
lea edx, [esp + 0x24]
push edi
push edx
call fcn.005699d0
push ebx
lea eax, [esp + 0x40]
sub eax, ebx
push ebx
push eax
call fcn.0056b700
add esp, 0x18
push ebp
lea ecx, [esp + 0x24]
call fcn.00451160
mov eax, dword [esp + 0x14]
pop ebx
pop edi
pop esi
add eax, 0x10
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565f92
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00565f92
add esp, 0x24
ret 8
Function at 0x450ea0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x2c
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
mov ebp, dword [esp + 0x38]
mov edx, dword [ebp + 0x1c]
sub edx, 6
xor eax, eax
cmp edx, eax
push esi
push edi
jle 0x450ece
mov esi, dword [esp + 0x44]
mov ecx, edx
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp edx, eax
mov dword [esp + 0x10], eax
jle 0x450f18
lea esi, [ecx + 8]
jmp 0x450ee0
mov edi, dword [esp + 0x10]
cmp edi, dword [ebp + 0x1c]
ja 0x450f18
cmp ecx, edx
jge 0x450f06
lea ecx, [ecx]
cmp eax, 4
jge 0x450f09
mov ebx, dword [esp + ecx*4 + 0x18]
lea edi, [esi + eax]
inc ecx
inc eax
cmp ecx, edx
mov dword [ebp + edi*4], ebx
jl 0x450ef0
cmp eax, 4
jne 0x450f14
inc dword [esp + 0x10]
add esi, 4
xor eax, eax
cmp ecx, edx
jl 0x450ee0
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 0x1c]
ja 0x451056
mov esi, 0x602660
jmp 0x450f34
mov esi, dword [esp + 0x14]
movzx edi, byte [esp + edx*4 + 0x15]
mov cl, byte [esp + 0x18]
xor cl, byte [edi + str.cw]
add esi, 4
mov byte [esp + 0x18], cl
movzx edi, byte [esp + edx*4 + 0x16]
movzx ebx, byte [edi + str.cw]
xor byte [esp + 0x19], bl
movzx edi, byte [esp + edx*4 + 0x17]
movzx ebx, byte [edi + str.cw]
xor byte [esp + 0x1a], bl
movzx edi, byte [esp + edx*4 + 0x14]
xor cl, byte [esi - 4]
movzx ebx, byte [edi + str.cw]
xor byte [esp + 0x1b], bl
mov byte [esp + 0x18], cl
mov dword [esp + 0x14], esi
mov ecx, 1
cmp edx, 8
je 0x450fa2
cmp edx, ecx
jle 0x451003
mov esi, dword [esp + ecx*4 + 0x14]
xor dword [esp + ecx*4 + 0x18], esi
inc ecx
cmp ecx, edx
jl 0x450f93
jmp 0x451003
mov esi, dword [esp + ecx*4 + 0x14]
xor dword [esp + ecx*4 + 0x18], esi
inc ecx
cmp ecx, 4
jl 0x450fa2
movzx ecx, byte [esp + 0x24]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x28], cl
movzx ecx, byte [esp + 0x25]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x29], cl
movzx ecx, byte [esp + 0x26]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x2a], cl
movzx ecx, byte [esp + 0x27]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x2b], cl
mov ecx, 5
mov esi, dword [esp + ecx*4 + 0x14]
xor dword [esp + ecx*4 + 0x18], esi
inc ecx
cmp ecx, 8
jl 0x450ff5
xor ecx, ecx
test edx, edx
jle 0x451049
mov esi, dword [esp + 0x10]
lea esi, [esi*4 + 8]
mov edi, dword [esp + 0x10]
cmp edi, dword [ebp + 0x1c]
ja 0x451049
cmp ecx, edx
jge 0x451037
cmp eax, 4
jge 0x45103a
mov ebx, dword [esp + ecx*4 + 0x18]
lea edi, [esi + eax]
inc ecx
inc eax
cmp ecx, edx
mov dword [ebp + edi*4], ebx
jl 0x451021
cmp eax, 4
jne 0x451045
inc dword [esp + 0x10]
add esi, 4
xor eax, eax
cmp ecx, edx
jl 0x451014
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 0x1c]
jbe 0x450f30
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00565f92
add esp, 0x2c
ret 8
Function at 0x451070
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 1
cmp dword [edx + 0x1c], ecx
jbe 0x45115a
push esi
lea eax, [edx + 0x32]
push edi
jmp 0x451090
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x602260]
movzx edi, byte [eax - 1]
xor esi, dword [edi*4 + 0x601a60]
movzx edi, byte [eax]
xor esi, dword [edi*4 + 0x601e60]
movzx edi, byte [eax - 2]
xor esi, dword [edi*4 + 0x601660]
inc ecx
mov dword [eax - 2], esi
movzx esi, byte [eax + 5]
mov esi, dword [esi*4 + 0x602260]
movzx edi, byte [eax + 4]
xor esi, dword [edi*4 + 0x601e60]
movzx edi, byte [eax + 3]
xor esi, dword [edi*4 + 0x601a60]
movzx edi, byte [eax + 2]
xor esi, dword [edi*4 + 0x601660]
add eax, 0x10
mov dword [eax - 0xe], esi
movzx esi, byte [eax - 7]
mov esi, dword [esi*4 + 0x602260]
movzx edi, byte [eax - 8]
xor esi, dword [edi*4 + 0x601e60]
movzx edi, byte [eax - 9]
xor esi, dword [edi*4 + 0x601a60]
movzx edi, byte [eax - 0xa]
xor esi, dword [edi*4 + 0x601660]
mov dword [eax - 0xa], esi
movzx esi, byte [eax - 3]
movzx edi, byte [eax - 4]
mov esi, dword [esi*4 + 0x602260]
xor esi, dword [edi*4 + 0x601e60]
movzx edi, byte [eax - 5]
xor esi, dword [edi*4 + 0x601a60]
movzx edi, byte [eax - 6]
xor esi, dword [edi*4 + 0x601660]
mov dword [eax - 6], esi
cmp ecx, dword [edx + 0x1c]
jb 0x451090
pop edi
pop esi
ret
Function at 0x4520a0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x7c
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
xor ebx, ebx
mov eax, ecx
push edi
mov byte [esp + 0x74], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4520e3
push ecx
sub eax, edi
lea ecx, [esp + 0x10]
call fcn.00451e90
lea ecx, [esp + 0xc]
call fcn.00451fa0
push esi
lea ebx, [esp + 0x10]
call fcn.00452120
mov ecx, dword [esp + 0x80]
pop edi
pop ebx
xor ecx, esp
call fcn.00565f92
add esp, 0x7c
ret

Function at 0x453410
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x45342d
push ebx
push ebx
push ebx
push 2
call fcn.00455090
pop ebp
xor al, al
pop ebx
ret 8
push edi
call fcn.00453220
push 2
or eax, 0xffffffff
push 0
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.00568fdd
push ebx
call fcn.005691ff
push 0
push 0
push ebx
mov edi, eax
call fcn.00568fdd
add esp, 0x1c
test edi, edi
jg 0x453476
push 0
push 0
push 0
push 0xc
mov ecx, ebp
call fcn.00455090
pop edi
pop ebp
xor al, al
pop ebx
ret 8
lea eax, [edi + 1]
push esi
push eax
call fcn.00466c63
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.0056a103
add esp, 0x14
cmp eax, 1
je 0x4534b8
push esi
call fcn.00466c92
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebp
call fcn.00455090
pop esi
pop edi
pop ebp
xor al, al
pop ebx
ret 8
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x4534e1
mov dl, byte [eax]
cmp dl, 0xd
jne 0x4534d8
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x4534dc
jmp 0x4534db
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x4534c5
mov eax, dword [esp + 0x18]
push eax
mov byte [ecx], 0
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call edx
push esi
call fcn.00466c92
add esp, 4
pop esi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop edi
pop ebp
sete al
pop ebx
ret 8

Function at 0x453ca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x589433
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.004539a0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x6038c0
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x5cdb90
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00453010
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x465db0
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x589758
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x60]
mov ebp, 0x10
mov bl, 1
cmp dword [esi + 0x18], ebp
jb 0x465df6
mov eax, dword [esi + 4]
jmp 0x465df9
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x465f2b
xor bl, bl
cmp dword [esi + 0x14], 0
je 0x465f2b
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], bl
call fcn.00403d80
mov dword [esp + 0x58], 0
mov edi, edi
mov ecx, dword [esp + 0x44]
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x465e54
call fcn.00566dab
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x465e62
lea eax, [esp + 0x34]
cmp byte [eax + esi], 0x5c
jne 0x465ea7
dec ecx
push ecx
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.0044f640
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 1
call fcn.00403d80
mov byte [esp + 0x58], 0
cmp dword [esp + 0x2c], ebp
jb 0x465e40
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00466c92
add esp, 4
jmp 0x465e40
push 1
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c], 0x5c
call fcn.00465af0
cmp eax, 0xffffffff
je 0x465f18
push eax
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.0044f640
push eax
mov byte [esp + 0x5c], 2
call fcn.00465db0
add esp, 4
mov bl, al
cmp dword [esp + 0x2c], ebp
jb 0x465ef7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00466c92
add esp, 4
test bl, bl
je 0x465f18
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x465f09
lea eax, [esp + 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
sete bl
cmp dword [esp + 0x48], ebp
jb 0x465f2b
mov edx, dword [esp + 0x34]
push edx
call fcn.00466c92
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00565f92
add esp, 0x4c
ret