joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cefe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x868
mov eax, 0x623078
call fcn.00503bb3
mov esi, ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edx, dword [ebp + 0x18]
test edx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x86c], eax
mov eax, 0x6a17d8
cmovne eax, edx
push eax
call fcn.00403d93
xor ecx, ecx
add esi, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0x868], ecx
mov dword [ebp - 0x864], ecx
mov dword [ebp - 0x860], ecx
cmp dword [esi + 0x10], ecx
ja 0x41cf8d
lea eax, [ebp - 0x858]
push eax
call fcn.0041d93b
pop ecx
push eax
mov ecx, esi
call fcn.004034bf
lea ecx, [ebp - 0x858]
call fcn.004019ec
xor ecx, ecx
cmp dword [esi + 0x14], 8
jb 0x41cf95
mov esi, dword [esi]
lea eax, [ebp - 0x85c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x41cfd5
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, edi
call fcn.00403d93
jmp 0x41d15c
lea eax, [ebp - 0x868]
push eax
push 0x20119
push 0
push 0x62ae00
push dword [ebp - 0x85c]
call esi
test eax, eax
je 0x41d017
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
jmp 0x41cfc9
lea eax, [ebp - 0x864]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x868]
call esi
test eax, eax
je 0x41d04a
push dword [ebp - 0x868]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x85c]
call esi
jmp 0x41d000
lea eax, [ebp - 0x860]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x870]
push dword [ebp - 0x864]
call esi
test eax, eax
je 0x41d081
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
jmp 0x41d03e
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0051c7f0
add esp, 0xc
mov dword [ebp - 0x874], 0x400
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x86c]
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
call esi
push dword [ebp - 0x868]
call esi
push dword [ebp - 0x85c]
call esi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41d0f1
sub ecx, edx
sar ecx, 1
je 0x41d000
xor eax, eax
mov dword [ebp - 0x830], ebx
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x82c], 7
push eax
call fcn.00403d6c
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov ecx, edi
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.00403d93
lea ecx, [ebp - 0x840]
call fcn.004019ec
lea ecx, [ebp - 0x828]
call fcn.004019ec
mov eax, edi
call fcn.00503b5d
ret 0x14
Function at 0x41d171
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6b6514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x14], ebx
ja 0x41d1c9
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d93b
pop ecx
lea ecx, [esi + 4]
push eax
call fcn.004034bf
lea ecx, [ebp - 0x1c]
call fcn.004019ec
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x41d1d4
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x41d1f7
xor al, al
jmp 0x41d2b0
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push ebx
push 0x62ae00
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x41d21a
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41d1f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x41d24c
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x41d1f0
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41d29f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41d271
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call esi
mov bl, 1
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00503248
leave
ret 0x10
Function at 0x41d30c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6b6514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.0051c7f0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0041d2c1
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x41d38b
cmp dword [ebp - 0x118], ebx
jbe 0x41d3d1
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x41d3d1
cmp eax, 6
jne 0x41d3b6
cmp byte [ebp - 6], 1
jne 0x41d3b1
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x41d3ad
sub eax, 1
je 0x41d3a9
push 7
jmp 0x41d3b3
push 5
jmp 0x41d3b3
push 3
jmp 0x41d3b3
push 4
pop ebx
jmp 0x41d3d1
push 0xa
pop ecx
cmp eax, ecx
jne 0x41d3ce
cmp dword [ebp - 0x114], 0x55f0
sbb ebx, ebx
add ebx, 9
jmp 0x41d3d1
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00503248
leave
ret

Function at 0x41d433
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push edi
je 0x41d4e3
cmp dword [ebp + 0xc], 0
je 0x41d4e3
push 0
push 0x80
push 3
push 0
push 5
push accept
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41d478
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41d4e6
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
je 0x41d470
jb 0x41d494
push 8
pop eax
jmp 0x41d4e6
push esi
mov esi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41d4a0
mov dword [eax], edi
inc esi
push esi
call fcn.0050328a
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
push esi
push eax
mov dword [ecx], eax
call fcn.0051c7f0
add esp, 0x10
mov dword [ebp + 8], esi
lea eax, [ebp + 8]
push esi
push eax
mov eax, dword [ebp + 0xc]
push edi
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x41d470
cmp dword [ebp + 8], edi
jne 0x41d4e3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41d4e6
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret
Function at 0x41d4ea
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
mov edi, ebx
cmp dword [eax + 0x10], ebx
je 0x41d5fb
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10], ebx
je 0x41d5fa
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41d519
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
test eax, eax
je 0x41d5fa
push 0x6c2788
push eax
call fcn.00504044
mov dword [ebp - 4], eax
pop ecx
pop ecx
test eax, eax
je 0x41d5fa
cmp dword [esi + 0x14], 0x10
jb 0x41d54e
mov esi, dword [esi]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
mov esi, dword [ebp - 4]
test eax, eax
je 0x41d5e8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d5e8
mov eax, dword [ebp - 0x10]
push 0x6c2788
push 0x80
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], ecx
call fcn.00504044
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41d5e8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x41d5b1
mov eax, dword [eax]
push eax
push dword [ebp - 8]
push str.StringFileInfo_08lx_s
push 0x80
push edi
call fcn.0041105c
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d5e6
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
call fcn.004035e1
mov bl, 1
push esi
call fcn.00503fd7
pop ecx
test edi, edi
je 0x41d5fa
push edi
call fcn.00503fd7
pop ecx
pop esi
pop edi
mov al, bl
pop ebx
leave
ret

Function at 0x41d601
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x41d664
xor edi, edi
cmp word [eax], di
je 0x41d664
push edi
push 0x80
push 2
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41d63a
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41d659
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41d667
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x41d69b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x6b6514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x21c], esi
call fcn.0051c7f0
add esp, 0xc
mov ebx, 0x20019
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x41d766
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x41d75a
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x41d78b
cmp edi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x41d78b
cmp ebx, 0x20019
jne 0x41d78b
mov esi, dword [ebp - 0x21c]
mov ebx, 0x20119
jmp 0x41d6f0
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.00403d93
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00503248
leave
ret

Function at 0x41db04
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.00503fe0
mov eax, dword [0x6b6514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x1000
mov dword [ebp - 0x1218], eax
push esi
lea eax, [ebp - 0x1210]
push 0
push eax
call fcn.0051c7f0
and dword [ebp - 0x1214], 0
add esp, 0xc
xor eax, eax
xor ebx, ebx
mov word [ebp - 8], ax
lea eax, [ebp - 0x1214]
push eax
push esi
lea eax, [ebp - 0x1210]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x41dbdf
push edi
mov edi, dword [ebp - 0x1214]
xor esi, esi
shr edi, 2
test edi, edi
je 0x41dbde
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0051c7f0
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1210]
call fcn.0041dbef
add esp, 0x18
test eax, eax
je 0x41dbd0
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00531b7f
push dword [ebp - 0x1218]
lea eax, [ebp - 0x210]
push eax
call fcn.0051cdaa
add esp, 0x10
test eax, eax
jne 0x41dbd7
inc esi
cmp esi, edi
jb 0x41db74
jmp 0x41dbde
mov ebx, dword [ebp + esi*4 - 0x1210]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00503248
leave
ret
Function at 0x41dbef
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test esi, esi
je 0x41dc1c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
push 2
pop ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, ebx
cmp ax, dx
jne 0x41dc5b
sub edi, ecx
xor ecx, ecx
sar edi, 1
lea esi, [edi + 1]
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050328a
lea ecx, [edi*2 + 2]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.0051c7f0
push dword [ebp + 8]
push esi
push ebx
call fcn.0052906e
add esp, 0x1c
mov byte [ebp - 1], 1
xor esi, esi
test edi, edi
js 0x41dce0
push 0x5c
pop eax
cmp word [ebx + esi*2], ax
jne 0x41dcd5
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41dcce
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41dcdc
push 0x5c
pop eax
mov word [ebx + esi*2], ax
inc esi
cmp esi, edi
jle 0x41dcab
jmp 0x41dce0
mov byte [ebp - 1], 0
push ebx
call fcn.00503fd7
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41dcef
Capabilities:
Get disk information

Disassembly:
push 0x3c
mov eax, 0x623144
call fcn.00503bb3
mov edi, dword [ebp + 8]
xor ebx, ebx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x41ddd6
movzx eax, word [eax]
lea ecx, [ebp - 0x40]
push eax
call fcn.0041dc22
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x41ddd6
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050328a
push esi
mov ebx, eax
push 0
push ebx
call fcn.0040ad60
add esp, 0x10
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41ddcf
xor eax, eax
mov esi, ebx
mov word [ebp - 0x42], ax
movzx eax, word [ebx]
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00523208
add esp, 0xc
test eax, eax
je 0x41ddc4
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x41ddaf
movzx eax, word [esi]
test ax, ax
je 0x41ddcf
jmp 0x41dd8d
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0041dc22
push ebx
call fcn.00503fd7
pop ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00405183
lea ecx, [ebp - 0x40]
call fcn.004019ec
lea ecx, [ebp - 0x28]
call fcn.004019ec
mov eax, edi
call fcn.00503b5d
ret
Function at 0x41ddf9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6b6514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], esi
push edi
push eax
call fcn.0051c7f0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
add esp, 0xc
or ecx, 0x8000
cmp byte [ebp + 0x10], 0
cmove ecx, dword [ebp + 0xc]
push eax
push edi
push edi
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
je 0x41de59
push edi
jmp 0x41de60
lea eax, [ebp - 0x20c]
push eax
call fcn.00403d93
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00503248
leave
ret

Function at 0x41e09c
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x41ebc2
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x6231e4
call fcn.00503bb3
mov esi, ecx
cmp dword [esi + 0x10], 0
ja 0x41ec47
lea eax, [ebp - 0x28]
push 0x62af40
push eax
call fcn.0040e937
pop ecx
pop ecx
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
call fcn.00404394
mov ecx, eax
call fcn.0040bb90
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x41ec08
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x41ec10
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x40]
push 0x629e4c
push eax
call fcn.00409b62
add esp, 0x10
mov ecx, esi
push eax
call fcn.004034bf
lea ecx, [ebp - 0x40]
call fcn.004019ec
lea ecx, [ebp - 0x58]
call fcn.004019ec
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004019ec
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41ec51
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ec6d
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41ec66
mov eax, dword [esi]
push eax
call fcn.0041dc49
pop ecx
cmp dword [esi + 0x28], 0
ja 0x41eca4
push 0
sub esp, 0x18
mov eax, esp
push 0x62a1c4
push eax
call fcn.0040e895
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0040a53a
add esp, 0x20
lea ecx, [esi + 0x18]
push eax
call fcn.0040528a
lea ecx, [ebp - 0x28]
call fcn.00403602
cmp dword [esi + 0x40], 0
ja 0x41ecdb
push 0
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_CHAIN
push eax
call fcn.0040e895
pop ecx
pop ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0040a53a
add esp, 0x20
lea ecx, [esi + 0x30]
push eax
call fcn.0040528a
lea ecx, [ebp - 0x70]
call fcn.00403602
call fcn.00503b5d
ret
Function at 0x41f5ce
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
push 2
pop ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, ebx
cmp ax, dx
jne 0x41f5e0
sub edi, ecx
xor ecx, ecx
sar edi, 1
lea esi, [edi + 1]
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050328a
push esi
mov ebx, eax
push 0
push ebx
call fcn.0040ad60
push dword [ebp + 8]
push esi
push ebx
call fcn.0052906e
add esp, 0x1c
mov byte [ebp - 1], 1
xor esi, esi
test edi, edi
js 0x41f65e
push 0x5c
pop eax
cmp word [ebx + esi*2], ax
jne 0x41f653
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f64c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41f65a
push 0x5c
pop eax
mov word [ebx + esi*2], ax
inc esi
cmp esi, edi
jle 0x41f629
jmp 0x41f65e
mov byte [ebp - 1], 0
push ebx
call fcn.00503fd7
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41f66d
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x70
mov eax, 0x6233e6
call fcn.00503bb3
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x41f775
test edi, edi
je 0x41f775
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
test eax, eax
jne 0x41f6af
call fcn.0041f5ce
pop ecx
jmp 0x41f6b5
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x78]
push 0x6a15b8
push eax
call fcn.0041f477
pop ecx
pop ecx
mov esi, dword [ebp - 0x78]
mov ecx, esi
and dword [ebp - 4], 0
push 0
call fcn.0042562f
push 0
mov ecx, esi
call fcn.0042563c
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x41f6ed
push eax
mov ecx, esi
call fcn.00425528
test ebx, ebx
je 0x41f6f9
push ebx
mov ecx, esi
call fcn.00425538
push 0
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00403d93
lea eax, [ebp - 0x40]
push eax
call fcn.0040a53a
add esp, 0x20
push eax
push 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push dword [ebp - 0x7c]
call fcn.00403d93
lea eax, [ebp - 0x28]
push eax
call fcn.0040a53a
add esp, 0x20
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004256b0
lea ecx, [ebp - 0x28]
call fcn.00403602
lea ecx, [ebp - 0x40]
call fcn.00403602
cmp dword [ebp - 0x70], 0xc8
lea ecx, [ebp - 0x70]
sete bl
call fcn.0041f56b
test esi, esi
je 0x41f771
push esi
lea ecx, [ebp - 0x78]
call fcn.0041f587
mov al, bl
jmp 0x41f777
xor al, al
call fcn.00503b5d
ret
Function at 0x41fd44
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x623510
call fcn.00503bb3
push 0x67
push 0x6f
push 0x6c
push 0x74
pop eax
push eax
push 0x6e
push 0x65
push eax
push 0x6e
push 0x6f
push 0x43
push 0x70
push eax
push eax
push 0x48
push 0x77
push 0x6f
push 0x68
push 0x53
lea eax, [ebp - 0x40]
push 0x62a9c0
push eax
call fcn.00409b62
add esp, 0x50
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x62a9b8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401975
push 0x62a9bc
lea ecx, [ebp - 0x28]
call fcn.00401975
push 0x6a1678
lea ecx, [ebp - 0x28]
call fcn.00401975
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00401917
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.004019ec
lea ecx, [ebp - 0x40]
call fcn.004019ec
mov al, bl
call fcn.00503b5d
ret