joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4404f0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x5e6ea9af
push esi
push edi
mov edi, edx
movzx esi, cx
mul ebx
shr ecx, 0x10
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
mov dword [ebp - 0xc], ecx
sub edx, eax
mov dword [ebp - 4], edx
test edi, edi
jne 0x44052c
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x440647
xor ebx, ebx
cmp edx, 7
jbe 0x440596
mov eax, 7
sub eax, edi
mov dword [ebp - 0x10], eax
movzx eax, byte [edi]
add ebx, 8
add esi, eax
movzx eax, byte [edi + 1]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 2]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 3]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 4]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 5]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 6]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 7]
add ecx, esi
add edi, 8
add esi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
add ecx, esi
cmp eax, edx
jb 0x440545
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0x10], 0
cmp ebx, eax
jae 0x440609
sub eax, ebx
cmp eax, 2
jb 0x4405f5
mov edx, dword [ebp - 4]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [ebx + edx*2]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, ebx
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebx, esi
add edi, 2
add esi, eax
add ecx, esi
sub edx, 1
jne 0x4405c3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x440601
movzx eax, byte [edi]
mov edx, dword [ebp - 8]
add esi, eax
add ecx, esi
inc edi
jmp 0x440604
movzx eax, byte [edi]
mov ebx, edx
add esi, eax
add ecx, esi
inc edi
jmp 0x440604
mov edx, dword [ebp - 8]
lea eax, [edx + ebx]
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, 0x15b0
add ecx, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], edx
jne 0x440534
shl ecx, 0x10
pop edi
lea eax, [esi + ecx]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x440660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
test esi, esi
jne 0x44066f
xor eax, eax
pop esi
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
not ecx
test edi, edi
je 0x4406b2
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
movzx edx, al
mov eax, edx
shr edx, 4
xor eax, ecx
shr ecx, 4
and eax, 0xf
xor ecx, dword [eax*4 + 0x6485d0]
mov eax, ecx
shr ecx, 4
and eax, 0xf
xor edx, eax
xor ecx, dword [edx*4 + 0x6485d0]
sub edi, 1
jne 0x440680
not ecx
pop edi
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x444f00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x445015
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x445015
cmp edx, dword [esi + 0x10]
jae 0x445015
cmp dword [esi + 0x14], 1
jne 0x445015
mov eax, dword [ecx + 0x10]
mov edi, dword [eax + edx*4]
add edi, dword [ecx]
je 0x445015
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x445015
mov dword [ebx], edx
mov eax, dword [ecx + 0x10]
xor ecx, ecx
mov eax, dword [eax + edx*4]
mov dword [ebx + 4], eax
movzx eax, word [edi + 4]
mov word [ebx + 8], ax
movzx eax, word [edi + 6]
mov word [ebx + 0xa], ax
movzx eax, word [edi + 8]
mov word [ebx + 0xc], ax
movzx eax, word [edi + 0xa]
mov word [ebx + 0xe], ax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0
movzx eax, word [edi + 0x24]
mov word [ebx + 0x28], ax
mov eax, dword [edi + 0x26]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x2a]
add eax, dword [esi + 0x40]
mov dword [ebx + 0x30], eax
adc ecx, dword [esi + 0x44]
mov esi, 0x103
mov dword [ebx + 0x34], ecx
movzx eax, word [edi + 0x1c]
cmp eax, esi
cmovb esi, eax
lea eax, [edi + 0x2e]
push esi
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.005aeb10
mov byte [esi + ebx + 0x3c], 0
mov esi, 0xff
movzx eax, word [edi + 0x20]
cmp eax, esi
cmovb esi, eax
mov dword [ebx + 0x38], esi
movzx ecx, word [edi + 0x1e]
movzx eax, word [edi + 0x1c]
add ecx, edi
add eax, 0x2e
add eax, ecx
push esi
push eax
lea eax, [ebx + 0x140]
push eax
call fcn.005aeb10
add esp, 0x18
mov byte [esi + ebx + 0x140], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x446940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x673f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
push 0
push ecx
push esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x44698b
mov esi, dword [edi + 4]
test esi, esi
je 0x44698b
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
push eax
call dword [esi + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
Function at 0x4469a0
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x734
mov eax, dword [0x673f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x72c], eax
mov eax, dword [ebp + 0xc]
mov ebx, edx
mov dword [ebp - 0x734], eax
test edi, edi
je 0x446b97
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x446b97
cmp ebx, dword [edi + 0x10]
jae 0x446b97
cmp dword [edi + 0x14], 1
jne 0x446b97
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
add eax, dword [ecx]
je 0x446b97
movzx esi, word [eax + 0x1c]
mov ecx, 0x103
cmp esi, ecx
cmovae esi, ecx
add eax, 0x2e
push esi
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.005aeb10
add esp, 0xc
mov byte [ebp + esi - 0x110], 0
lea eax, [ebp - 0x520]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x446b97
xor eax, eax
lea edx, [eax + 0x5c]
nop word [eax + eax]
movzx ecx, word [ebp + eax*2 - 0x520]
test cx, cx
je 0x446a82
cmp ecx, 0x2f
jne 0x446a7a
mov word [ebp + eax*2 - 0x520], dx
inc eax
cmp eax, 0x104
jl 0x446a60
lea eax, [ebp - 0x520]
push eax
push dword [ebp - 0x72c]
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x446b97
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x446af9
cmp ebx, dword [edi + 0x10]
jae 0x446af9
cmp dword [edi + 0x14], 1
jne 0x446af9
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
add eax, dword [ecx]
je 0x446af9
movzx ecx, word [eax + 0x1c]
test ecx, ecx
je 0x446acf
cmp byte [ecx + eax + 0x2d], 0x2f
je 0x446ad5
test byte [eax + 0x26], 0x10
je 0x446af9
push 0
lea eax, [ebp - 0x318]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x728]
push 0x104
push eax
call fcn.005b1d6f
add esp, 0xc
lea eax, [ebp - 0x728]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
lea eax, [ebp - 0x728]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x446b97
mov eax, dword [ebp - 0x734]
mov edx, ebx
push ecx
mov dword [ebp - 0x72c], eax
lea eax, [ebp - 0x730]
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x730], esi
call fcn.00445020
add esp, 0xc
push esi
test eax, eax
jne 0x446baa
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
Function at 0x446bd0
Capabilities:
Create directory
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x673f64]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x68]
mov esi, ecx
mov ebx, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x446c64
push 0x48
lea eax, [esp + 0x1c]
mov dword [esp + 0x64], esi
push 0
push eax
mov dword [esp + 0x70], edi
call fcn.005ae810
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x6c]
add esp, 0xc
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0x4468c0
mov dword [esp + 0x14], eax
call fcn.004444f0
test eax, eax
je 0x446c64
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
xor edx, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.004449b0
test eax, eax
jne 0x446c78
lea ecx, [esp + 0x18]
call fcn.00445750
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
push 0
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [esp + 0x28]
xor esi, esi
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x446cbf
test edi, edi
je 0x446c9e
mov eax, dword [edi]
push ecx
push esi
mov ecx, edi
call dword [eax]
push edi
push ebx
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.004469a0
mov ecx, dword [esp + 0x30]
add esp, 8
test al, al
je 0x446d53
inc esi
cmp esi, ecx
jb 0x446c92
mov bl, byte [esp + 0x13]
test edi, edi
je 0x446ccf
mov eax, dword [edi]
push ecx
push ecx
mov ecx, edi
call dword [eax]
mov esi, dword [esp + 0x50]
test esi, esi
je 0x446d3f
cmp dword [esp + 0x34], 0
je 0x446d3f
mov edi, dword [esp + 0x38]
test edi, edi
je 0x446d3f
cmp dword [esp + 0x2c], 1
jne 0x446d3f
push dword [esi]
push dword [esp + 0x44]
call edi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push dword [esi + 0x10]
push dword [esp + 0x4c]
call edi
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
push dword [esi + 0x20]
push dword [esp + 0x54]
call edi
xorps xmm0, xmm0
add esp, 0x18
movups xmmword [esi + 0x20], xmm0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x446d35
push eax
call fcn.005b237d
add esp, 4
mov dword [esi + 0x30], 0
push esi
push dword [esp + 0x44]
call edi
add esp, 8
mov ecx, dword [esp + 0x74]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x446cc3
Function at 0x446d60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x673f64]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edx + 0x14], 8
push esi
push edi
mov esi, ecx
jb 0x446d7f
mov edx, dword [edx]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x20c]
push 0
push 0
push 0x104
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call edi
test eax, eax
je 0x446e9f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x446db0
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0
push 0
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
test eax, eax
je 0x446e9f
cmp dword [esi + 0x14], 8
jb 0x446de0
mov esi, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x446e9f
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.00454d42
add esp, 4
mov dword [ebp - 0x210], 0
mov esi, eax
lea eax, [ebp - 0x210]
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446e83
cmp ebx, dword [ebp - 0x210]
jne 0x446e83
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0xc
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x20c]
push ebx
push esi
call fcn.004465a0
add esp, 0x14
test eax, eax
je 0x446e83
push esi
call fcn.00454d3d
add esp, 4
mov al, 1
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
push esi
call fcn.00454d3d
add esp, 4
xor al, al
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
Function at 0x447da0
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x673f64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x100000
mov esi, ecx
call fcn.005c027f
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x447df1
mov eax, dword [esi + 8]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0xc], 2
je 0x447eda
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea eax, [ebp - 0x10]
push eax
push 0x100000
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x447f1e
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x447f15
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0xc]
mov byte [ebp - 0x29], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x447eb3
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x447ea8
push 0
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x447e9f
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x14
push eax
lea eax, [ebp - 0x28]
push eax
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
setne byte [ebp - 0x29]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp byte [ebp - 0x29], 0
mov eax, dword [esi + 8]
mov ecx, dword [eax]
je 0x447f23
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0xc]
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0xc], 2
jne 0x447e06
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call fcn.005bfc6b
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
push 0
mov ecx, dword [eax]
jmp 0x447f25
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x447efb
Function at 0x449520
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x673f64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x20c]
mov edi, ecx
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4495e0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push str.UniqueId
push eax
call esi
test eax, eax
je 0x4495e0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44958f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4495e0
push str.data
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x4495e0
lea edx, [ebp - 0x20c]
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4495b0
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.004059d0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret

Function at 0x449600
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0x80
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x449673
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x449671
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0xbb8
jae 0x449671
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push dword [ebp + 8]
push 0
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x449631
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f124d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x673f64]
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 ebx, ecx
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], eax
call fcn.00449520
test al, al
je 0x449799
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x6c]
mov edx, 0x80000000
cmovae ecx, dword [ebp - 0x6c]
push ecx
push 3
call fcn.00449600
mov esi, eax
add esp, 8
mov dword [ebp - 0x70], esi
cmp esi, 0xffffffff
je 0x449799
push 0
lea eax, [ebp - 0x54]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x449789
nop dword [eax + eax]
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x449789
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edi, eax
ja 0x44975e
lea eax, [edi + ecx]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x449744
mov eax, dword [ebx]
lea esi, [eax + ecx]
push edi
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.005aeb10
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x70]
jmp 0x449772
push edi
lea eax, [ebp - 0x50]
mov byte [ebp - 0x74], 0
push eax
push dword [ebp - 0x74]
mov ecx, ebx
push edi
call fcn.0040eeb0
push 0
lea eax, [ebp - 0x54]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x449720
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x10], 0
seta bl
jmp 0x44979b
xor bl, bl
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x4497d1
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4497c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4497ef
push edx
push ecx
call fcn.0058a7f7
add esp, 8
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.0058a7e9
mov esp, ebp
pop ebp
ret
call fcn.005b1b1f
int3
Function at 0x449800
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1295
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x673f64]
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 ebx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00449680
test al, al
jne 0x449860
xor bl, bl
jmp 0x44992f
xor edi, edi
mov dword [ebp - 0x28], 0
mov esi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x4c], str.glority
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x48]
push eax
push 4
push edi
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 7
push eax
push edi
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
cmp eax, 1
sete cl
mov byte [ebp - 0x59], cl
jne 0x4498e0
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x44]
call fcn.0040d1b0
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov cl, byte [ebp - 0x59]
test cl, cl
jne 0x4498e8
xor bl, bl
jmp 0x449902
cmp esi, 0x10
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
shr edi, 1
push edi
push eax
call fcn.004059d0
mov esi, dword [ebp - 0x14]
mov bl, 1
cmp esi, 0x10
jb 0x44992f
mov ecx, dword [ebp - 0x28]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x449925
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44997d
push esi
push ecx
call fcn.0058a7f7
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x44995f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x449955
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44997d
push edx
push ecx
call fcn.0058a7f7
add esp, 8
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.0058a7e9
mov esp, ebp
pop ebp
ret
call fcn.005b1b1f
int3