joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429c7b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00492210
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00426902
mov esp, ebp
pop ebp
ret

Function at 0x429cd2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00492210
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
pop esi
jb 0x429d28
cmp dword [ebp - 0x118], 2
jb 0x429d28
xor eax, eax
inc eax
jmp 0x429d32
cmp dword [ebp - 0x11c], 0xa
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426902
mov esp, ebp
pop ebp
ret

Function at 0x429f1f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5c9cf3
call fcn.004271b6
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0042b6f8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0042b72c
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x429f5f
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429fc1
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push str.WorthyShop
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x429f9c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429fc1
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0042b70b
call fcn.00427190
ret 8
Function at 0x42a0ed
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5c9d30
call fcn.004271ea
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.00492210
lea eax, [edi + 0x6c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42a147
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004020e0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x42a18d
mov eax, dword [esi]
jmp 0x42a18f
mov eax, esi
push ebx
push eax
call fcn.00499cbc
pop ecx
pop ecx
test eax, eax
jne 0x42a1db
cmp byte [edi + 1], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x42a1bf
call fcn.00429ffd
jmp 0x42a1c4
call fcn.0042a0b7
push eax
mov ecx, esi
call fcn.004029a0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00427ea1
mov eax, esi
call fcn.004271a5
ret 0x10
Function at 0x42ad2f
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5c9dcd
call fcn.004271ea
mov ebx, ecx
call fcn.00429fd1
lea edi, [ebx + 0x84]
push eax
mov ecx, edi
call fcn.00427ef8
mov esi, str.WorthyShop.ini
push esi
call fcn.00499d1e
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00404790
push str.gwzsgf
push 0x5de180
push str.ZGAppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0042a08d
and dword [ebp - 4], 0
lea esi, [ebx + 0x9c]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x42ada5
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404af0
push str.gwzsgf
mov ecx, esi
call fcn.00428a15
test eax, eax
jne 0x42ae21
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00492210
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42add2
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.gwzsgf
push eax
push edi
push 0x5de180
push str.ZGAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42ae03
xor eax, eax
jmp 0x42ae10
lea eax, [ebp - 0x218]
push eax
call fcn.00499d1e
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00404c10
jmp 0x42ae26
mov edi, str.gwzsgf
push edi
mov ecx, esi
call fcn.00428a15
test eax, eax
jne 0x42aee9
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00492210
add esp, 0xc
lea eax, [ebx + 0x3c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00429619
push str.WorthyShop.ini
mov byte [ebp - 4], 1
call fcn.00499d1e
pop ecx
push eax
push str.WorthyShop.ini
lea ecx, [ebp - 0x230]
call fcn.00404790
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5de180
push str.ZGAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42aeba
xor eax, eax
jmp 0x42aec7
lea eax, [ebp - 0x218]
push eax
call fcn.00499d1e
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00404c10
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00427ea1
push edi
mov ecx, esi
call fcn.00428a15
test eax, eax
jne 0x42af25
push edi
push 0x5de180
push str.ZGAppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0042a0ed
push eax
mov ecx, esi
call fcn.004029a0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00427ea1
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00427ea1
call fcn.004271a5
ret
Function at 0x42b778
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x42b7f8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x42b7f7
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret

Function at 0x42bc5c
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 0x42f3c5
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00499d1e
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042694d
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.00499cfc
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x42f43f
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x42f436
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f42c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42f43d
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x42f409
jmp 0x42f43f
xor edi, edi
push esi
call fcn.00426956
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f44f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.0042f91d
lea eax, [ebp - 0x20c]
push eax
call fcn.00499d1e
add esp, 0x14
test eax, eax
je 0x42f506
push ebx
mov ebx, 0x5d9db0
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004a3eec
lea eax, [ebp - 0x20c]
push str.ZLSDPath
push eax
call fcn.004a3eec
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004a3eec
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x42f4df
lea eax, [ebp - 0x20c]
push eax
call fcn.0042f3c5
pop ecx
cmp word [ebp - 0x20c], si
je 0x42f4f7
lea eax, [ebp - 0x20c]
push eax
call fcn.00499d1e
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00404c10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00426902
mov esp, ebp
pop ebp
ret

Function at 0x42f5fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x658ad0]
test al, al
jne 0x42f697
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00492210
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42f68e
lea eax, [ebp - 0x20c]
push eax
call fcn.00495188
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004915c4
pop ecx
pop ecx
test eax, eax
jne 0x42f686
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004915c4
pop ecx
pop ecx
test eax, eax
je 0x42f68e
mov byte [0x658ad0], bl
jmp 0x42f694
mov bl, byte [0x658ad0]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426902
mov esp, ebp
pop ebp
ret
Function at 0x42f6a5
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x5ca26f
call fcn.004271ea
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.00492210
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00492210
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00492210
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00492210
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00492210
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00492210
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.0042f91d
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00499cfc
lea eax, [ebp - 0x218]
push eax
call fcn.00499d1e
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0049236a
add esp, 0x24
test eax, eax
jne 0x42f7a9
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0042f44f
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.004020b0
push esi
push 1
jmp 0x42f90a
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00499cfc
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.004a3eec
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.00499cfc
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.004a3eec
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.00499cfc
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.004a3eec
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x42f8e7
cmp dword [ebp - 0xc5c], 0
je 0x42f8e7
test ecx, ecx
je 0x42f8e7
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.00405420
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f8b7
lea eax, [ebp - 0x420]
push eax
call fcn.0042f3c5
pop ecx
cmp word [ebp - 0x420], 0
jne 0x42f8c5
xor eax, eax
jmp 0x42f8d2
lea eax, [ebp - 0x420]
push eax
call fcn.00499d1e
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00404c10
jmp 0x42f8f6
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0042f44f
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.004020b0
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00427ea1
mov eax, edi
call fcn.004271a5
ret
Function at 0x42f990
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0x2a0
mov eax, 0x5ca2bf
call fcn.004271ea
lea eax, [ebp + 8]
xor edi, edi
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
call fcn.00429619
xor ebx, ebx
mov esi, 0x5de5e0
inc ebx
push esi
mov byte [ebp - 4], bl
call fcn.00499d1e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00404790
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42fb0d
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42fb0d
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x42f9f0
cmp word [ebp - 0x27a], 0
je 0x42f9f0
cmp word [ebp - 0x27a], ax
jne 0x42fa2f
cmp word [ebp - 0x278], 0
je 0x42f9f0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
cmp word [ebp - 0x27c], ax
jne 0x42fa4c
mov eax, edi
jmp 0x42fa59
lea eax, [ebp - 0x27c]
push eax
call fcn.00499d1e
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404c10
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x42fac3
call fcn.00429619
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00404680
push 0x5d9db0
call fcn.00499d1e
pop ecx
push eax
push 0x5d9db0
lea ecx, [ebp - 0x28]
call fcn.00404790
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00429619
call fcn.0042f990
jmp 0x42faee
call fcn.00429619
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00404680
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00429619
call fcn.0042fb59
add esp, 0x18
lea ecx, [ebp - 0x28]
push edi
push ebx
call fcn.00427ea1
push edi
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00427ea1
jmp 0x42f9f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x42fb3f
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00427ea1
push edi
push ebx
lea ecx, [ebp + 8]
call fcn.00427ea1
call fcn.004271a5
ret

Function at 0x430a83
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x430db3
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str..del
push esi
call fcn.004915c4
pop ecx
pop ecx
test eax, eax
je 0x430deb
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x430e7a
push edi
xor edi, edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00492210
add esp, 0xc
lea eax, [ebp - 0x20c]
test edi, edi
jne 0x430e1f
push esi
push str._s.del
push eax
call fcn.00405420
add esp, 0xc
jmp 0x430e2f
push edi
push esi
push str._s.del_d
push eax
call fcn.00405420
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430e59
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x430e59
cmp edi, 0xa
jge 0x430e79
inc edi
jmp 0x430dee
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004a3f1d
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00426902
mov esp, ebp
pop ebp
ret

Function at 0x43511c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x435124
mov dword [edx*4 + 0x658bd0], ecx
inc edx
cmp edx, 0x100
jb 0x43511f
mov esi, 0x800
jmp 0x43516d
mov ecx, dword [edx*4 + 0x6587d0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x658bd0]
mov dword [edx*4 + 0x658bd0], ecx
inc edx
cmp edx, esi
jb 0x435151
mov dword [0x65abf8], 0x43115a
call fcn.0043552f
mov ecx, dword [0x65abf8]
test eax, eax
mov edx, 0x4311f3
cmove ecx, edx
mov dword [0x65abf8], ecx
pop esi
ret

Function at 0x4355e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x4355f8
xor eax, eax
jmp 0x43561f
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.004a18e8
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x435616
xor eax, eax
jmp 0x43561e
push dword [ebx]
call fcn.004a1ad3
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x435672
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x435684
xor eax, eax
jmp 0x4356ab
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.004a4379
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x4356a2
xor eax, eax
jmp 0x4356aa
push dword [ebx]
call fcn.004a1ad3
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x436239
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x43625a
xor eax, eax
jmp 0x4363af
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
mov edx, dword [ebp + 8]
push ebx
or ebx, 0xffffffff
add ecx, edx
mov dword [ebp - 8], ecx
add edx, edi
mov dword [ebp - 4], edx
cmp edx, ecx
jae 0x436286
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x436283
inc edx
cmp edx, ecx
jb 0x436276
mov dword [ebp - 4], edx
mov edi, edx
sub edi, dword [ebp + 8]
cmp edx, ecx
jae 0x436393
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x4362be
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test al, al
je 0x4362fb
cmp al, 0xff
je 0x4362fb
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x43638c
dec ecx
shl esi, cl
and esi, 7
je 0x43629e
movzx eax, byte [esi + 0x5de714]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x5de70c], 0
mov al, byte [ecx + 4]
je 0x4362e5
test al, al
je 0x4362e5
cmp al, 0xff
jne 0x43629e
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
jmp 0x43626d
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 0x10]
shl ebx, 8
or ebx, eax
cmp dword [ebp + 0x18], 0
je 0x436328
add ebx, edi
add ebx, edx
jmp 0x43632c
sub ebx, edi
sub ebx, edx
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x436362
movzx eax, byte [esi + 0x5de714]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x436351
cmp al, 0xff
jne 0x436362
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp + 0xc]
jmp 0x43631c
mov edx, dword [ebp - 4]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x4362f0
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret