joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442733
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0xdd8], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xdd4], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x620], ax
xor ebx, ebx
lea eax, [ebp - 0x61e]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0xdd0], edi
call fcn.00492360
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push ebx
push eax
call fcn.00492360
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00492360
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
add esp, 0xc
mov dword [ebp - 0xdcc], ebx
test eax, 0xffffffe0
jne 0x4427d2
xor eax, eax
jmp 0x44292d
lea eax, [ebp - 0x620]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x4e8bc8
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call ebx
push eax
lea eax, [ebp - 0x620]
push eax
push 0x4c0f74
lea eax, [ebp - 0x418]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
push 0x4e8bc8
call edi
push eax
call ebx
push eax
lea eax, [ebp - 0x620]
push eax
push 0x4c0f74
lea eax, [ebp - 0x210]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor eax, eax
mov word [ebp - 0xdc8], ax
lea edi, [ebp - 0xdc6]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x798
stosw word es:[edi], ax
xor ebx, ebx
lea eax, [ebp - 0xdb8]
push ebx
push eax
call fcn.00492360
mov edi, dword [ebp - 0xdd8]
add esp, 0x24
push edi
xor esi, esi
lea ecx, [ebp - 0xdc8]
call fcn.00442395
pop ecx
test eax, eax
jne 0x4428c0
push dword [ebp - 0xdd0]
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.004425e9
add esp, 0xc
test eax, eax
je 0x4428b1
push ebx
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0xdcc], eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x442927
push dword [ebp - 0xdd4]
lea eax, [ebp - 0x418]
push eax
push edi
call fcn.0044268c
add esp, 0xc
test eax, eax
je 0x44290f
push dword [ebp - 0xdd0]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004425e9
add esp, 0xc
test eax, eax
je 0x44290f
push ebx
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0xdcc], eax
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x418]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call esi
mov eax, dword [ebp - 0xdcc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ff11
leave
ret
Function at 0x4440d7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aeef3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4dd070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, ecx
lea eax, [esp + 0x14]
push eax
call fcn.00443ded
pop ecx
and dword [esp + 0x38], 0
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
lea ecx, [esp + 0x1c]
call fcn.004423c9
add esp, 0xc
test esi, esi
je 0x444168
mov ecx, dword [esp + 0xc]
test ebx, ebx
je 0x444143
mov dword [ebx], ecx
cmp dword [ebp + 0x10], 0
mov dword [esi], eax
jne 0x444168
test eax, eax
je 0x444168
cmp ecx, 2
jne 0x444168
push str.CryptoMode
call fcn.004073c4
dec eax
dec eax
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [esi], eax
lea esi, [esp + 0x14]
call fcn.0040bb86
push dword [esp + 0x14]
call fcn.004903c0
mov eax, dword [esp + 0x14]
pop ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444191
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
xor ebx, ebx
inc ebx
push ebx
mov edi, ecx
push edi
push eax
mov dword [ebp - 0x24], eax
call esi
test eax, eax
jne 0x44424e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4441e0
push 0
push edi
mov eax, ebx
call fcn.0042567f
push ebx
push edi
push dword [ebp - 0x24]
call esi
jmp 0x444250
call fcn.00425ac6
push eax
push edi
push str._s._08x
lea ecx, [ebp - 0x20]
call fcn.00427909
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x444203
lea eax, [ebp - 0x1c]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x44424a
push ebx
push edi
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x444239
cmp dword [ebp - 8], 8
mov esi, dword [ebp - 0x1c]
jae 0x444223
lea esi, [ebp - 0x1c]
call fcn.004255c5
mov edi, ebx
push 0
push ebx
lea esi, [ebp - 0x20]
call fcn.00402bb8
mov eax, edi
jmp 0x444250
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x444245
lea eax, [ebp - 0x1c]
push ebx
push edi
push eax
call esi
xor edi, edi
jmp 0x44422a
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ff11
leave
ret
Function at 0x444289
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp esi, edi
je 0x44433f
push edi
push esi
call fcn.00444a51
pop ecx
pop ecx
test eax, eax
je 0x44433f
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00492360
add esp, 0xc
call fcn.00425ac6
push eax
push esi
push str._s._08x
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push esi
call fcn.0044425f
pop ecx
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.00443fde
pop ecx
pop ecx
test eax, eax
je 0x444332
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.00444191
pop ecx
test eax, eax
jne 0x44434e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x444311
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0048ff11
leave
ret
xor eax, eax
inc eax
jmp 0x444341
Function at 0x444462
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x478
mov eax, 0x4b3771
call fcn.0049174a
mov esi, ecx
push esi
mov dword [ebp - 0x42c], esi
call fcn.00444353
pop ecx
test eax, eax
je 0x4446dd
push esi
call fcn.00444399
pop ecx
test eax, eax
je 0x4446dd
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x428], ebx
call fcn.00492360
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00425ac6
push eax
push str.___08x
lea ecx, [ebp - 0x468]
call fcn.00427909
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x4444f2
mov eax, dword [eax + 4]
jmp 0x4444f5
add eax, 4
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
push ebx
push 1
lea esi, [ebp - 0x468]
call fcn.00402bb8
lea esi, [ebp - 0x21c]
call fcn.0042500b
test eax, eax
je 0x4446c9
mov ecx, dword [ebp - 0x42c]
mov edx, esi
call fcn.0044a9aa
test eax, eax
jne 0x4446c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x434], eax
push ebx
lea eax, [ebp - 0x428]
push ebx
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x434]
push eax
push 0x4446e5
push 1
mov eax, esi
push eax
call fcn.00424aed
cmp dword [ebp - 0x428], ebx
je 0x4446c9
xor eax, eax
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.00492360
add esp, 0xc
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x42c]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
cmp esi, ebx
je 0x4445cc
push str..rar
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4445cc
mov esi, str..zip
push esi
call fcn.00425ac6
push eax
push str..._08x._s
lea ecx, [ebp - 0x468]
call fcn.00427909
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x4445f1
mov eax, dword [eax + 4]
jmp 0x4445f4
add eax, 4
push eax
lea eax, [ebp - 0x424]
push eax
call edi
push ebx
push 1
lea esi, [ebp - 0x468]
call fcn.00402bb8
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00424ebe
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], ebx
call fcn.00446cca
add esp, 0xc
lea ecx, [ebp - 0x424]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044a577
mov ebx, eax
neg ebx
sbb bl, bl
pop ecx
lea edi, [ebp - 0x484]
inc bl
mov byte [ebp - 4], 0
call fcn.00413672
push dword [ebp - 0x484]
call fcn.004903c0
pop ecx
test bl, bl
je 0x4446a7
xor esi, esi
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push eax
call fcn.00444191
pop ecx
test eax, eax
jne 0x4446ae
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x444673
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4446ae
and dword [ebp - 0x428], 0
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x44c]
call fcn.0040bb61
push dword [ebp - 0x44c]
call fcn.004903c0
pop ecx
lea eax, [ebp - 0x21c]
push eax
call fcn.004255f3
mov eax, dword [ebp - 0x428]
jmp 0x4446df
xor eax, eax
call fcn.004917cd
ret
Function at 0x444706
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4dd070]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x44480f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44480f
and dword [esp + 0x10], 0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
call fcn.00492360
add esp, 0xc
call fcn.00425ac6
push eax
push esi
push str._s._08x
lea eax, [esp + 0x24]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push esi
call fcn.0044425f
pop ecx
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00444080
xor edi, edi
pop ecx
inc edi
pop ecx
test eax, eax
je 0x4447e2
and dword [esp + 0x14], 0
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00444191
pop ecx
test eax, eax
jne 0x4447c4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 5
jl 0x44479e
jmp 0x4447e2
cmp dword [ebp + 0xc], 2
mov dword [esp + 0x10], edi
jne 0x4447e2
push 2
mov ecx, esi
call fcn.00444462
pop ecx
test eax, eax
je 0x4447e2
test ebx, ebx
je 0x4447e2
mov dword [ebx], edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], edi
jne 0x444809
push edi
mov ecx, esi
call fcn.00444462
pop ecx
test eax, eax
je 0x444809
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x444809
mov dword [ebx], edi
mov eax, dword [esp + 0x10]
jmp 0x444811
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048ff11
mov esp, ebp
pop ebp
ret
Function at 0x444826
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b08cc
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4dd070]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x4dd070]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], edi
inc ebx
cmp byte [esi + 8], 7
mov dword [esp + 0x20], eax
jne 0x4448ad
push str.exts:
lea ecx, [esp + 0x48]
call fcn.004026bb
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0xbc], edi
push esi
mov dword [esp + 0x20], ebx
call fcn.004014e5
pop ecx
pop ecx
mov byte [esp + 0x17], bl
test al, al
jne 0x4448b2
mov byte [esp + 0x17], 0
or dword [esp + 0xb8], 0xffffffff
test byte [esp + 0x18], bl
je 0x4448cb
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00402abb
cmp byte [esp + 0x17], 0
je 0x444a2b
lea eax, [esp + 0x44]
push eax
push ecx
push esi
mov edx, str.exts
call fcn.00431f7c
pop ecx
push eax
call fcn.0043121e
mov dword [esp + 0xb8], ebx
cmp dword [eax + 0x18], 0x10
jb 0x444900
mov eax, dword [eax + 4]
jmp 0x444903
add eax, 4
push 0x4c1494
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00427751
add esp, 0xc
push edi
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 3
call fcn.00402abb
push dword [esp + 0x38]
lea edi, [esp + 0x30]
lea esi, [esp + 0x1c]
call fcn.0042015e
push dword [esp + 0x3c]
lea esi, [esp + 0x28]
call fcn.0042015e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x444955
cmp eax, dword [esp + 0x24]
je 0x44495a
call fcn.00490386
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x28]
je 0x444a18
lea esi, [esp + 0x18]
call fcn.0041fa4c
push eax
lea ecx, [esp + 0x90]
call fcn.004011eb
pop ecx
lea eax, [esp + 0x68]
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb8], 4
call fcn.0040d576
mov esi, eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x8c]
call fcn.0040d595
mov edi, eax
lea eax, [esp + 0x78]
lea ecx, [esp + 0x8c]
call fcn.0040d576
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x88]
push eax
call fcn.00421276
add esp, 0x1c
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x28]
call fcn.0040d4ad
push 0
push ebx
lea esi, [esp + 0x94]
mov byte [esp + 0xc0], 3
call fcn.00402bb8
lea esi, [esp + 0x18]
call fcn.0040baee
jmp 0x444947
lea esi, [esp + 0x2c]
call fcn.00402bff
push dword [esp + 0x2c]
call fcn.004903c0
pop ecx
mov al, bl
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0048ff11
mov esp, ebp
pop ebp
ret
Function at 0x4487d1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x4487f5
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4deb38]
dec edx
inc ecx
test edx, edx
jne 0x4487d9
pop esi
not eax
ret

Function at 0x4489b6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x478], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x474], eax
push edi
lea eax, [ebp - 0x470]
call fcn.0045266c
push ebx
mov edi, 0x400
push edi
lea eax, [ebp - 0x418]
push 1
push eax
call fcn.0049df2f
add esp, 0x10
jmp 0x448a29
lea ecx, [ebp - 0x418]
push ecx
lea esi, [ebp - 0x470]
call fcn.00452690
push ebx
push edi
lea eax, [ebp - 0x418]
push 1
push eax
call fcn.0049df2f
add esp, 0x14
test eax, eax
jne 0x448a04
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x470]
call fcn.00452726
mov esi, dword [ebp - 0x474]
pop ecx
push 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.00428b68
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ff11
leave
ret

Function at 0x448b26
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.00492360
mov esi, 0x4bdabc
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x448b76
lea eax, [ebp - 0x5c]
call fcn.00453878
lea eax, [ebp - 0x9c]
push 0x40
push eax
lea esi, [ebp - 0x5c]
call fcn.004538a3
push dword [ebp + 0x7c]
push dword [ebp - 0xc0]
call fcn.004538a3
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.0045393b
lea eax, [ebp - 0xb8]
call fcn.00453878
lea eax, [ebp]
push 0x40
push eax
lea esi, [ebp - 0xb8]
call fcn.004538a3
lea eax, [ebp + 0x54]
push 0x14
push eax
call fcn.004538a3
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.0045393b
mov esi, dword [ebp - 0xbc]
add esp, 0x28
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.00428b68
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048ff11
add ebp, 0x6c
leave
ret
Function at 0x448c1d
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push 0x3f
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0xa7]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0xa8], 0
call fcn.00492360
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x448c82
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.00492890
add esp, 0xc
jmp 0x448cbb
lea eax, [ebp - 0x138]
call fcn.004539fb
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.00453a3b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.00453ac7
pop ecx
pop ecx
push 0x10
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0xa8]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x48], dl
mov byte [ebp + ecx - 0x110], al
inc ecx
cmp ecx, 0x40
jb 0x448cbd
lea eax, [ebp - 0xd0]
call fcn.004539fb
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.00453a3b
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.00453a3b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.00453ac7
lea eax, [ebp - 0xd0]
call fcn.004539fb
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.00453a3b
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.00453a3b
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.00453ac7
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.00428b68
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048ff11
leave
ret
Function at 0x44a0e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x44a136
cmp eax, 0xffffffff
je 0x44a136
push esi
lea ecx, [ebp - 4]
push ecx
push 4
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44a136
cmp dword [ebp - 4], 4
jne 0x44a136
cmp dword [ebp - 8], 0x21726152
jne 0x44a136
inc esi
lea eax, [ebp - 0xc]
call fcn.004011d5
mov eax, esi
pop esi
leave
ret
Function at 0x44a577
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x4ace70
call fcn.0049174a
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
mov esi, ecx
call fcn.00413864
and dword [ebp - 4], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
jmp 0x44a5ec
lea esi, [ebp - 0x34]
call fcn.00423dd9
cmp dword [eax + 0x18], 8
jb 0x44a5bd
mov eax, dword [eax + 4]
jmp 0x44a5c0
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44a5e4
lea esi, [ebp - 0x34]
call fcn.00423dd9
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x58]
push ecx
push edx
push eax
lea edi, [ebp - 0x58]
call fcn.0041395b
lea esi, [ebp - 0x34]
call fcn.0041629e
lea edi, [ebp - 0x3c]
lea esi, [ebp - 0x34]
call fcn.0041356a
test al, al
jne 0x44a5aa
cmp dword [ebp - 0x40], 0
jne 0x44a61f
mov esi, 0x44e
lea edi, [ebp - 0x58]
call fcn.00413672
push dword [ebp - 0x58]
call fcn.004903c0
pop ecx
mov eax, esi
call fcn.004917cd
ret
mov edi, ebx
call fcn.00424f01
mov esi, ebx
call fcn.004255c5
push ebx
push 0x4c1aa4
push 0x4c1aa8
lea ecx, [ebp - 0x2c]
call fcn.00427909
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
jmp 0x44a6ac
lea esi, [ebp - 0x34]
call fcn.00423dd9
cmp dword [eax + 0x18], 8
jb 0x44a670
mov eax, dword [eax + 4]
jmp 0x44a673
add eax, 4
push eax
push str.___s_
lea ecx, [ebp - 0x74]
call fcn.00427909
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040bce9
push 0
push 1
lea esi, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00402bb8
lea esi, [ebp - 0x34]
call fcn.0041629e
lea edi, [ebp - 0x3c]
lea esi, [ebp - 0x34]
call fcn.0041356a
test al, al
jne 0x44a65d
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push ebx
call esi
test eax, eax
je 0x44a6e9
push 0x4ba504
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44a6e9
push str.__md1M
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ba92
push 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
call fcn.00402ff0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x44a70a
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.00449fc2
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00402abb
test edi, edi
je 0x44a72f
mov esi, ebx
call fcn.004255c5
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00402bb8
mov esi, edi
jmp 0x44a606
Function at 0x44a742
Capabilities:
Check if file exists

Disassembly:
push 0xac
mov eax, 0x4ace28
call fcn.0049174a
mov esi, ecx
mov edi, edx
push esi
mov dword [ebp - 0x60], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a76d
mov eax, 0x44f
jmp 0x44a8f3
push esi
call fcn.0044a0e0
pop ecx
test eax, eax
je 0x44a786
mov edx, edi
mov ecx, esi
call fcn.0044a279
jmp 0x44a8f3
push esi
push 0x4c1aa4
push str.__s__l___s_
lea ecx, [ebp - 0x4c]
call fcn.00427909
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.00402ff0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x44a7c1
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00449fc2
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
cmp eax, ebx
jne 0x44a8da
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x44a7e4
lea eax, [ebp - 0x2c]
push 0x4c1af4
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00427751
add esp, 0xc
mov byte [ebp - 4], 4
push dword [ebp - 0x74]
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x58]
mov dword [ebp - 0x50], ebx
call fcn.0042015e
push dword [ebp - 0x70]
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x68]
call fcn.0042015e
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x44a825
cmp eax, dword [ebp - 0x68]
je 0x44a82a
call fcn.00490386
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x64]
je 0x44a8c9
lea esi, [ebp - 0x58]
call fcn.0041fa4c
push eax
call fcn.0042baaf
test eax, eax
jne 0x44a84d
inc dword [ebp - 0x50]
jmp 0x44a8bc
cmp dword [ebp - 0x50], 1
jne 0x44a8b6
lea esi, [ebp - 0x58]
call fcn.0041fa4c
cmp dword [eax + 0x14], 0x35
jbe 0x44a8bc
call fcn.0041fa4c
push 0xffffffffffffffff
push 0x35
push eax
lea esi, [ebp - 0xb8]
call fcn.0040ba64
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call fcn.00403e24
pop ecx
push eax
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.0040f9bc
push ebx
push 1
lea esi, [ebp - 0x9c]
call fcn.00402bb8
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.00402abb
jmp 0x44a8bc
cmp dword [ebp - 0x50], 2
je 0x44a8c9
lea esi, [ebp - 0x58]
call fcn.0040baee
jmp 0x44a80b
lea esi, [ebp - 0x80]
call fcn.00402bff
push dword [ebp - 0x80]
call fcn.004903c0
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00402abb
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.00402bb8
mov eax, dword [ebp - 0x5c]
call fcn.004917cd
ret