joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4450d0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d84d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x66c214]
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
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x4c]
mov dword [ebp - 0x18], 0
push esi
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.00433990
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0044bf70
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0044bd10
lea eax, [ebp - 0x58]
mov edx, 0x642008
push eax
lea ecx, [ebp - 0x70]
call fcn.00448040
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00436580
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x445189
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00433df0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.0044c200
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0044c000
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
je 0x445215
cmp dword [esi + 0x10], 0
je 0x445215
cmp dword [ebp - 0x18], 0
je 0x445215
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x4451ec
mov esi, dword [esi]
push eax
push esi
call fcn.00592f4d
add esp, 8
test eax, eax
jne 0x445215
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x445211
push 0xffffffffffffffff
push 0
push eax
call fcn.00433990
mov bl, 1
jmp 0x445217
xor bl, bl
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x44522c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433df0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x445255
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433df0
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x44527e
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433df0
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.00562e44
mov esp, ebp
pop ebp
ret
Function at 0x447c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d78e6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x66c214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00562e63
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00564dd3
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44af80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x44af9b
mov eax, dword [edi]
jmp 0x44af9d
mov eax, edi
mov ecx, dword [ebp + 8]
mov byte [eax], 0
test ecx, ecx
je 0x44b0fa
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x44b0fa
mov al, byte [ecx]
dec ebx
mov byte [ebp + esi - 8], al
inc ecx
mov ah, byte [ebp - 6]
inc esi
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
mov dword [ebp + 8], ecx
mov byte [ebp - 2], ah
mov byte [ebp + 0x13], dl
mov byte [ebp - 1], dh
cmp esi, 3
jne 0x44b037
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0xc], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0xb], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
xor esi, esi
nop
movzx eax, byte [ebp + esi - 0xc]
mov ecx, edi
movzx eax, byte [eax + 0x63b9d0]
push eax
push 1
call fcn.0043c0d0
inc esi
cmp esi, 4
jl 0x44b010
mov ecx, dword [ebp + 8]
xor esi, esi
mov dl, byte [ebp + 0x13]
mov dh, byte [ebp - 1]
test ebx, ebx
jne 0x44afb6
mov dword [ebp + 8], esi
test esi, esi
je 0x44b0f0
mov eax, esi
cmp esi, 3
jge 0x44b070
cmp eax, 3
jae 0x44b103
mov byte [ebp + eax - 8], 0
inc eax
cmp eax, 3
jl 0x44b054
mov cl, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
jmp 0x44b073
mov cl, byte [ebp - 2]
mov al, dh
xor ebx, ebx
shr al, 2
and dh, 3
mov byte [ebp - 0xc], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0xb], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 9], cl
lea eax, [esi + 1]
mov byte [ebp - 0xa], dl
mov dword [ebp + 0x10], eax
test eax, eax
jle 0x44b0ce
mov esi, eax
nop
movzx eax, byte [ebp + ebx - 0xc]
mov ecx, edi
movzx eax, byte [eax + 0x63b9d0]
push eax
push 1
call fcn.0043c0d0
inc ebx
cmp ebx, esi
jl 0x44b0b0
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x44b0f0
mov ebx, 3
sub ebx, esi
nop word [eax + eax]
push 0x3d
push 1
mov ecx, edi
call fcn.0043c0d0
sub ebx, 1
jne 0x44b0e0
mov eax, dword [edi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00563580
int3

Function at 0x44be30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44be6d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x44be7b
xor ecx, ecx
jmp 0x44be93
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44be84
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00433520
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00562e44
mov esp, ebp
pop ebp
ret
Function at 0x44c470
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x60], 8
lea eax, [esi + 0x4c]
push edi
jb 0x44c488
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44c4b3
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x44c4d2
mov eax, dword [ebp - 0x10]
mov bl, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x44c4de
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x44c524
cmp dword [ebp - 4], 0
jl 0x44c524
jg 0x44c4fa
cmp dword [ebp - 8], 0xa00000
jb 0x44c524
mov eax, dword [esi + 0x68]
lea edi, [esi + 0x68]
test eax, eax
je 0x44c50b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.004453f0
mov eax, dword [esi]
mov ecx, esi
push edi
mov eax, dword [eax]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44c530
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44c57e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x44c57b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x44c57b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
mov ecx, dword [ebp + 0x1c]
setne bl
cmp ecx, 8
jb 0x44c596
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00433df0
pop esi
mov al, bl
pop ebx
pop ebp
ret 0x18

Function at 0x44c6f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
mov esi, ecx
xor bh, bh
push edi
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x44c702
xor edi, edi
nop
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x44c710
pop edi
pop esi
pop ebx
ret
Function at 0x44c750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
je 0x44c7db
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x44c7db
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x44c7db
mov dl, byte [esi + 0x101]
sub ecx, edi
push ebx
mov bh, byte [esi + 0x100]
mov byte [ebp + 0xf], dl
mov dword [ebp + 8], ecx
dec eax
lea edi, [edi + 1]
mov dword [ebp + 0x10], eax
inc bh
mov al, byte [ebp + 0xf]
movzx edx, bh
mov bl, byte [edx + esi]
add al, bl
movzx ecx, al
mov byte [ebp + 0xf], al
movzx eax, byte [ecx + esi]
mov byte [edx + esi], al
mov byte [ecx + esi], bl
movzx eax, byte [edx + esi]
mov ecx, dword [ebp + 8]
add al, bl
movzx eax, al
movzx eax, byte [eax + esi]
xor al, byte [ecx + edi - 1]
mov byte [edi - 1], al
mov eax, dword [ebp + 0x10]
test eax, eax
jg 0x44c781
mov dl, byte [ebp + 0xf]
mov al, 1
mov byte [esi + 0x100], bh
pop ebx
pop edi
mov byte [esi + 0x101], dl
pop esi
pop ebp
ret 0xc
pop edi
xor al, al
pop esi
pop ebp
ret 0xc

Function at 0x44c7f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c750

Function at 0x44c800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x44c85b
push ebx
push esi
push edi
mov edi, 0x63bc48
mov byte [edx], 0xd0
mov ebx, 0x63bc49
lea eax, [edx + 1]
mov ecx, 0x63bc4a
sub edi, edx
sub ebx, edx
mov esi, 0x15
sub ecx, edx
mov dword [ebp + 8], ecx
movzx ecx, byte [edi + eax]
lea eax, [eax + 3]
xor cl, byte [edx]
mov byte [eax - 3], cl
movzx ecx, byte [ebx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x44c830
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4

Function at 0x44c870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x44c8cb
push ebx
push esi
push edi
mov edi, 0x63ba58
mov byte [edx], 0xbd
mov ebx, 0x63ba59
lea eax, [edx + 1]
mov ecx, 0x63ba5a
sub edi, edx
sub ebx, edx
mov esi, 0x15
sub ecx, edx
mov dword [ebp + 8], ecx
movzx ecx, byte [edi + eax]
lea eax, [eax + 3]
xor cl, byte [edx]
mov byte [eax - 3], cl
movzx ecx, byte [ebx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x44c8a0
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4
Function at 0x44c8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x44c958
push ebx
push esi
mov ecx, str.1e210
mov byte [edx], 0x30
sub ecx, edx
lea eax, [edx + 1]
push edi
mov dword [ebp + 8], ecx
mov edi, 0x63ba98
mov ebx, 0x63ba99
mov ecx, 0x63ba9b
sub edi, edx
sub ebx, edx
sub ecx, edx
mov esi, 0x56
mov dword [ebp - 4], ecx
nop dword [eax + eax]
movzx ecx, byte [edi + eax]
lea eax, [eax + 4]
xor cl, byte [edx]
mov byte [eax - 4], cl
movzx ecx, byte [ebx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 3], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x44c920
pop edi
pop esi
pop ebx
mov eax, 0x159
mov esp, ebp
pop ebp
ret 4
Function at 0x44ca10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
push 1
mov dword [ebp - 0x18], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push 0xe
push eax
call fcn.0058a6c2
add esp, 0x10
cmp eax, 1
je 0x44ca55
mov eax, 0xfffffffe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 4
mov cl, byte [ebp - 0x14]
mov ch, byte [ebp - 0x13]
mov edx, dword [ebp - 0x12]
mov eax, dword [ebp - 0xa]
mov byte [esi], cl
mov byte [esi + 1], ch
mov dword [esi + 4], edx
mov dword [esi + 0xc], eax
push ebx
mov bx, word [ebp - 0xe]
mov word [esi + 8], bx
push edi
mov di, word [ebp - 0xc]
mov word [esi + 0xa], di
cmp cl, 0x42
jne 0x44cbbc
cmp ch, 0x4d
jne 0x44cbbc
test bx, bx
jne 0x44cbbc
test di, di
jne 0x44cbbc
cmp edx, 0x36
jbe 0x44cbbc
cmp edx, 0x1e8480
ja 0x44cbbc
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44cac7
push eax
call fcn.0058d115
add esp, 4
push dword [esi + 4]
call fcn.0058d11a
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x44caf1
pop edi
pop ebx
mov eax, 0xfffffff9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 4
xor edx, edx
mov ecx, dword [esi + 0x3c]
movzx eax, byte [ebp + edx - 0x14]
mov byte [edx + ecx], al
mov ecx, dword [esi + 0x3c]
movzx eax, byte [ebp + edx - 0x13]
mov byte [ecx + edx + 1], al
add edx, 2
cmp edx, 0xe
jl 0x44caf3
push dword [ebp - 0x18]
mov eax, dword [esi + 4]
sub eax, 0xe
push 1
push eax
mov eax, dword [esi + 0x3c]
add eax, 0xe
push eax
call fcn.0058a6c2
add esp, 0x10
cmp eax, 1
je 0x44cb37
push dword [esi + 0x3c]
jmp 0x44cbad
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0xe]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x12]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x16]
mov dword [esi + 0x18], eax
movzx eax, word [ecx + 0x1a]
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], 1
movzx eax, word [ecx + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x1e]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x22]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x26]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x2a]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x2e]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0x32]
mov dword [esi + 0x38], eax
jne 0x44cbac
cmp dword [esi + 0x24], 0
jne 0x44cbac
mov eax, dword [esi + 0x20]
cmp eax, 0x18
je 0x44cb97
cmp eax, 0x20
jne 0x44cbac
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.0058d115
mov dword [esi + 0x3c], 0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffe
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00562e44
mov esp, ebp
pop ebp
ret 4
Function at 0x44cc50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov edx, dword [edi + 0x3c]
test edx, edx
jne 0x44cc87
lea eax, [edx - 3]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x44cca4
lea eax, [ebx - 4]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
push esi
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44ccb0
mov eax, dword [edi + 0x18]
sub ecx, esi
imul eax, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x10], ecx
lea eax, [eax + eax*2]
cmp ecx, eax
jbe 0x44cce3
pop esi
pop ebx
mov eax, 0xfffffffb
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x20]
xor ecx, ecx
mov edi, dword [edi + 0xc]
xor esi, esi
add edi, edx
shr eax, 3
xor edx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x8040201
mov dword [ebp - 8], 0x80402010
cmp dword [ebp - 0x10], ecx
jbe 0x44cd56
nop word [eax + eax]
mov al, byte [esi + ebx]
test byte [ebp + edx - 0xc], al
mov al, byte [ecx + edi]
jne 0x44cd24
test al, 1
je 0x44cd2d
dec al
jmp 0x44cd2a
test al, 1
jne 0x44cd2d
inc al
mov byte [ecx + edi], al
inc ecx
cmp dword [ebp - 0x14], 4
jne 0x44cd48
mov eax, ecx
and eax, 0x80000003
jns 0x44cd42
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x44cd48
inc ecx
inc edx
cmp edx, 8
jne 0x44cd51
xor edx, edx
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x44cd10
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push dword [eax + 0x3c]
call fcn.00592b15
mov ecx, dword [ebp - 4]
add esp, 0x10
dec eax
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
pop ebx
and eax, 0xfffffffa
pop edi
call fcn.00562e44
mov esp, ebp
pop ebp
ret 8
Function at 0x450f30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00579420
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00443520
push 1
push 0x63f8f0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0058e895
push 3
push 0x6422b8
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0058e895
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.00579420
add esp, 0x40
lea eax, [ebp - 0x310]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x450fed
push 0
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret
Function at 0x45ad70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9c38
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
jb 0x45ade6
mov edx, dword [edx]
push eax
lea ecx, [ebp - 0x90]
call fcn.0045cd00
add esp, 4
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x90]
call fcn.0045ce20
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x45ae28
mov eax, dword [esi]
jmp 0x45ae2a
mov eax, esi
lea edx, [ebp - 0x20]
cmp edx, eax
jb 0x45ae65
cmp ecx, 0x10
jb 0x45ae3a
mov edx, dword [esi]
jmp 0x45ae3c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x20]
cmp eax, edx
jbe 0x45ae65
cmp ecx, 0x10
jb 0x45ae51
mov ecx, dword [esi]
jmp 0x45ae53
mov ecx, esi
push 0x10
lea eax, [ebp - 0x20]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00433760
jmp 0x45aea0
cmp ecx, 0x10
jae 0x45ae76
push dword [esi + 0x10]
mov ecx, esi
push 0x10
call fcn.00430f80
cmp dword [esi + 0x14], 0x10
jb 0x45ae80
mov eax, dword [esi]
jmp 0x45ae82
mov eax, esi
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax], xmm0
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0x10
jb 0x45ae9a
mov eax, dword [esi]
jmp 0x45ae9c
mov eax, esi
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push esi
call fcn.0045b2d0
mov edi, eax
test edi, edi
je 0x45aeb9
push str.Failed_to_Encrypt_checksum.
jmp 0x45aee1
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
push esi
call fcn.0045d880
add esp, 4
push esi
call fcn.0045acb0
mov edi, eax
test edi, edi
je 0x45aeeb
push str.Failed_to_scramble_checksum.
push 4
call fcn.004541a0
add esp, 8
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x45af00
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00430ec0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 8
Function at 0x45d880
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, edx
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x45d89d
mov eax, dword [edi]
jmp 0x45d89f
mov eax, edi
mov byte [eax], 0
test ecx, ecx
je 0x45d9fa
test ebx, ebx
je 0x45d9fa
mov al, byte [ecx]
dec ebx
mov byte [ebp + esi - 8], al
inc ecx
mov ah, byte [ebp - 6]
inc esi
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 2], ah
mov byte [ebp + 0xb], dl
mov byte [ebp - 1], dh
cmp esi, 3
jne 0x45d937
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0xc], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0xb], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebp + esi - 0xc]
mov ecx, edi
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0043c0d0
inc esi
cmp esi, 4
jl 0x45d910
mov ecx, dword [ebp - 0x10]
xor esi, esi
mov dl, byte [ebp + 0xb]
mov dh, byte [ebp - 1]
test ebx, ebx
jne 0x45d8b2
mov dword [ebp + 8], esi
test esi, esi
je 0x45d9f0
mov eax, esi
cmp esi, 3
jge 0x45d970
cmp eax, 3
jae 0x45da03
mov byte [ebp + eax - 8], 0
inc eax
cmp eax, 3
jl 0x45d954
mov cl, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
jmp 0x45d973
mov cl, byte [ebp - 2]
mov al, dh
xor ebx, ebx
shr al, 2
and dh, 3
mov byte [ebp - 0xc], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0xb], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 9], cl
lea eax, [esi + 1]
mov byte [ebp - 0xa], dl
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x45d9ce
mov esi, eax
nop
movzx eax, byte [ebp + ebx - 0xc]
mov ecx, edi
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0043c0d0
inc ebx
cmp ebx, esi
jl 0x45d9b0
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x45d9f0
mov ebx, 3
sub ebx, esi
nop word [eax + eax]
push 0x3d
push 1
mov ecx, edi
call fcn.0043c0d0
sub ebx, 1
jne 0x45d9e0
mov eax, dword [edi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00563580
int3