joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ee70
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
push str.KZ_Config_Integration_
push 0x10000
xor edi, edi
push edi
push 0x8000004
mov esi, ecx
push edi
push 0xffffffffffffffff
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [esi], eax
cmp eax, edi
je 0x42eeaa
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x42eecf
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1cc]
sub esp, 0x24c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x1c8], eax
mov eax, ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push esi
mov dword [ecx], edx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push 0
push 0
mov esi, 0x104
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x41]
call fcn.00427b6c
test eax, eax
jne 0x42ef8e
push str.KuaiZip.exe
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00433f24
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ef8e
push 0x38
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00430560
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], str._KZsetup_integration
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42ef8e
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
jmp 0x42ef90
xor eax, eax
mov ecx, dword [ebp + 0x1c8]
xor ecx, ebp
pop esi
call fcn.0043039d
add ebp, 0x1cc
leave
ret

Function at 0x42f69c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4da640], 0
push esi
jne 0x42f60f
call fcn.0042f535
test eax, eax
je 0x42f652
mov eax, dword [0x4da640]
cmp eax, 1
jne 0x42f630
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x42f652
pop esi
ret
push eax
call dword [0x4da648]
test eax, eax
jne 0x42f69a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42f656
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4da640]
call dword [0x4da648]
mov edi, eax
test edi, edi
je 0x42f67b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x42f697
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4da640]
call dword [0x4da644]
add edi, 0x10
cmp edi, esi
jb 0x42f683
mov eax, edi
pop edi
pop esi
ret
jmp 0x42f5fc

Function at 0x43039d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d5784]
jne 0x4303a7
repz ret
jmp fcn.0043785c
Function at 0x4444b7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043632e
and dword [ebp - 4], 0
cmp dword [0x4db240], 0
mov ebx, eax
jne 0x444568
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x444619
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x444619
push eax
call fcn.004362bc
mov dword [esp], 0x4b4d24
push edi
mov dword [0x4db240], eax
call esi
push eax
call fcn.004362bc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4db244], eax
call esi
push eax
call fcn.004362bc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4db248], eax
call esi
push eax
call fcn.004362bc
pop ecx
mov dword [0x4db250], eax
test eax, eax
je 0x444568
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004362bc
pop ecx
mov dword [0x4db24c], eax
mov eax, dword [0x4db24c]
cmp eax, ebx
je 0x4445c0
cmp dword [0x4db250], ebx
je 0x4445c0
push eax
call fcn.00436337
push dword [0x4db250]
mov esi, eax
call fcn.00436337
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4445c0
test edi, edi
je 0x4445c0
call esi
test eax, eax
je 0x4445b7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4445b7
test byte [ebp - 0xc], 1
jne 0x4445c0
or dword [ebp + 0x10], 0x200000
jmp 0x4445f9
mov eax, dword [0x4db244]
cmp eax, ebx
je 0x4445f9
push eax
call fcn.00436337
pop ecx
test eax, eax
je 0x4445f9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4445f9
mov eax, dword [0x4db248]
cmp eax, ebx
je 0x4445f9
push eax
call fcn.00436337
pop ecx
test eax, eax
je 0x4445f9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4db240]
call fcn.00436337
pop ecx
test eax, eax
je 0x444619
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44461b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44dbfe
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.00430560
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
mov dword [ebp - 0x808], 0x400
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x44dc66
push 0x800
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00430560
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043039d
leave
ret
Function at 0x45632c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00430560
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043039d
leave
ret

Function at 0x456389
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00430560
add esp, 0xc
push 0
push 0x1c
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043039d
leave
ret

Function at 0x4563e6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00430560
add esp, 0xc
push 0
push 0x28
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043039d
leave
ret

Function at 0x456443
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00430560
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043039d
leave
ret

Function at 0x4564a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00430560
add esp, 0xc
push 0
push 0x17
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043039d
leave
ret
Function at 0x4564fd
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00430560
add esp, 0xc
push 0
push 7
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043039d
leave
ret

Function at 0x45655a
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00430560
add esp, 0xc
push 0
push 0x18
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043039d
leave
ret

Function at 0x4566fd
Capabilities:
Create directory

Disassembly:
push 0x64
mov eax, 0x4ae1b0
call fcn.00430415
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408a60
mov eax, dword [ebp - 0x18]
xor ebx, ebx
dec eax
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00422657
cmp word [eax], 0x5c
je 0x456739
push 0x5c
push 1
lea ecx, [ebp - 0x2c]
call fcn.00422912
lea ecx, [ebp - 0x70]
call fcn.0042ee07
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 7
call fcn.004050e0
xor esi, esi
xor edi, edi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], ebx
jbe 0x456796
push edi
lea ecx, [ebp - 0x2c]
call fcn.00422657
cmp word [eax], 0x5c
jne 0x456779
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x70]
call fcn.004262fa
push edi
lea ecx, [ebp - 0x2c]
call fcn.00422657
movzx eax, word [eax]
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.00422912
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x45675e
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x64]
lea ecx, [ebp - 0x50]
call fcn.00425ce1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
jmp 0x4567e1
lea ecx, [ebp - 0x58]
call fcn.0044b564
cmp dword [eax + 0x18], 8
jb 0x4567c6
mov eax, dword [eax + 4]
jmp 0x4567c9
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [ebp - 0x58]
neg esi
call fcn.0042e4fc
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x50]
call fcn.00425ce1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x58]
call fcn.00422385
test al, al
je 0x4567b3
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00405110
lea ecx, [ebp - 0x70]
call fcn.0042ee34
push dword [ebp - 0x70]
call fcn.0042f8dc
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405110
mov eax, esi
call fcn.00430498
ret
Function at 0x4576d2
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.snutil::CMD5Checksum.0
call fcn.00430560
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x458305
Capabilities:
Enumerate device drivers on windows
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae44c
mov eax, dword fs:[0]
push eax
mov eax, 0xbbc0
call fcn.00433370
mov eax, dword [0x4d5784]
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 esi, ecx
mov dword [ebp - 0x4c], esi
call fcn.0042ee07
xor ebx, ebx
push 0x3e7c
lea eax, [ebp - 0x7d48]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x7d4c], ebx
call fcn.00430560
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov edi, 0xfa0
push edi
lea eax, [ebp - 0x7d4c]
push eax
call sub.PSAPI.DLL_EnumProcesses
cmp dword [ebp - 0x40], ebx
je 0x458473
mov dword [ebp - 0x44], ebx
jbe 0x458473
mov esi, dword [ebp - 0x44]
lea esi, [ebp + esi*4 - 0x7d4c]
push dword [esi]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [ebp - 0x48], eax
cmp eax, ebx
je 0x458461
push 0x3e7c
lea eax, [ebp - 0x3ec8]
push ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x3ecc], ebx
call fcn.00430560
push 0x3e7c
lea eax, [ebp - 0xbbc8]
push ebx
push eax
mov dword [ebp - 0xbbcc], ebx
call fcn.00430560
add esp, 0x18
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 0x3ecc]
push eax
push dword [ebp - 0x48]
call sub.PSAPI.DLL_EnumProcessModules
shr dword [ebp - 0x3c], 2
cmp dword [ebp - 0x3c], ebx
jne 0x458424
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 0xbbcc]
push eax
call sub.PSAPI.DLL_EnumDeviceDrivers
shr dword [ebp - 0x3c], 2
cmp dword [ebp - 0x40], ebx
je 0x458461
jmp 0x458458
push dword [ebp - 0x3ecc]
lea ecx, [ebp - 0x38]
push dword [ebp - 0x48]
call fcn.00457dba
mov eax, dword [esi]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.004582ab
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405110
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x40]
jb 0x458392
mov esi, dword [ebp - 0x4c]
mov eax, esi
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.0043039d
leave
ret
Function at 0x45c09c
Capabilities:
Get file size

Disassembly:
push 0
mov eax, 0x4ae916
call fcn.004303ac
mov esi, dword [ebp + 0x28]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0044f474
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45c0ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044f980
mov eax, ebx
call fcn.00430484
ret
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, esi
jmp 0x45c0d6

Function at 0x45c120
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x4ae8f3
call fcn.004303ac
mov edi, dword [ebp + 0x28]
mov esi, dword [ebp + 0x2c]
xor ebx, ebx
push ebx
sub esp, 0x20
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 4], ebx
call fcn.0044fbdd
call fcn.0045c09c
add esp, 0x24
push ebx
push 0x80
mov dword [esi], eax
push 3
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
inc eax
push eax
push SysReAllocString
lea ecx, [ebp + 8]
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
call fcn.0044f474
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x45c1bc
mov eax, dword [esi]
inc eax
push eax
call fcn.0042f8d1
pop ecx
push ebx
lea ecx, [ebp - 0x14]
push ecx
mov dword [edi], eax
push dword [esi]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x45c1d0
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044f980
mov eax, ebx
call fcn.00430484
ret
mov eax, dword [esi]
mov ecx, dword [edi]
mov byte [eax + ecx], bl
xor ebx, ebx
inc ebx
jmp 0x45c1b3

Function at 0x45c1dc
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0
mov eax, 0x4ae916
call fcn.004303ac
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0044f474
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
or eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
not ecx
and eax, ecx
push eax
lea ecx, [ebp + 8]
call fcn.0044f474
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
mov esi, eax
call fcn.0044f980
mov eax, esi
call fcn.00430484
ret
Function at 0x45c2d6
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x4ae939
call fcn.004303ac
mov ebx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call fcn.0044f474
push eax
call fcn.0045c0ff
xor edi, edi
inc edi
pop ecx
test eax, eax
je 0x45c31e
push edi
push esi
sub esp, 0x20
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0044fbdd
call fcn.0045c1dc
add esp, 0x28
push esi
push 0x80
push 2
lea eax, [ebp - 0x20]
push eax
push edi
push 0xc0000000
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
call fcn.0044f474
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45c369
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [ebp - 0x14], eax
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0044f980
mov eax, dword [ebp - 0x14]
call fcn.00430484
ret
Function at 0x45d41c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
cmp dword [ecx + 4], esi
push edi
jle 0x45d528
mov eax, dword [ecx + 0x2c]
mov al, byte [esi + eax]
mov edx, dword [ecx + 0x1c]
mov byte [esi + edx], al
mov eax, dword [ecx + 0x30]
mov al, byte [esi + eax]
mov edx, dword [ecx + 0x20]
mov byte [esi + edx], al
mov eax, dword [ecx + 0x34]
mov al, byte [esi + eax]
mov edx, dword [ecx + 0x24]
mov byte [esi + edx], al
mov eax, dword [ecx + 0x38]
mov al, byte [esi + eax]
mov edx, dword [ecx + 0x28]
mov byte [esi + edx], al
inc esi
cmp esi, dword [ecx + 4]
jl 0x45d430
jmp 0x45d528
xor eax, eax
lea edi, [ecx + 0x1c]
mov edx, dword [edi]
mov dl, byte [edx + esi - 1]
mov byte [ebp + eax - 4], dl
inc eax
add edi, 4
cmp eax, 4
jl 0x45d470
mov edi, dword [ecx + 4]
mov eax, esi
cdq
idiv edi
test edx, edx
jne 0x45d4db
mov dl, byte [ebp - 3]
mov al, byte [ebp - 4]
mov byte [ebp - 4], dl
mov dl, byte [ebp - 2]
mov byte [ebp - 3], dl
mov dl, byte [ebp - 1]
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
xor edi, edi
lea edx, [ebp + edi - 4]
movzx eax, byte [edx]
mov ebx, eax
shr ebx, 4
shl ebx, 4
and eax, 0xf
mov al, byte [ebx + eax + 0x4d72e8]
inc edi
cmp edi, 4
mov byte [edx], al
jl 0x45d4a9
mov eax, esi
cdq
idiv dword [ecx + 4]
mov al, byte [eax + 0x4d74e8]
xor byte [ebp - 4], al
jmp 0x45d508
cmp edi, 6
jle 0x45d508
cmp edx, 4
jne 0x45d508
xor edi, edi
lea edx, [ebp + edi - 4]
movzx eax, byte [edx]
mov ebx, eax
shr ebx, 4
shl ebx, 4
and eax, 0xf
mov al, byte [ebx + eax + 0x4d72e8]
inc edi
cmp edi, 4
mov byte [edx], al
jl 0x45d4e7
xor edi, edi
lea edx, [ecx + 0x1c]
mov eax, dword [edx]
mov ebx, eax
sub ebx, dword [ecx + 4]
add edx, 4
mov bl, byte [ebx + esi]
xor bl, byte [ebp + edi - 4]
inc edi
cmp edi, 4
mov byte [eax + esi], bl
jl 0x45d50d
inc esi
mov eax, dword [ecx + 8]
lea eax, [eax*4 + 4]
cmp esi, eax
jl 0x45d46b
and dword [ebp - 0xc], 0
cmp dword [ecx + 8], 0
jl 0x45d5ad
mov edx, dword [ebp - 0xc]
xor eax, eax
shl edx, 2
mov dword [ebp - 0x10], edx
lea edx, [ecx + 0x1c]
mov dword [ebp - 8], edx
lea edx, [eax + 1]
cmp edx, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
jge 0x45d596
mov edi, dword [ebp - 8]
add edi, 4
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ebx, dword [edi]
add edx, dword [ebp - 0x10]
add ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
mov bl, byte [ebx + eax]
add esi, edx
mov dl, byte [esi]
mov byte [esi], bl
mov esi, dword [edi]
add esi, dword [ebp - 0x10]
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], 4
mov byte [esi + eax], dl
jl 0x45d569
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 4
cmp eax, 3
jl 0x45d555
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ecx + 8]
jle 0x45d544
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45d659
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, dword [ebx + 0x18]
add esi, dword [ebp - 8]
lea edi, [ebp - 0x14]
mov dword [ebp - 0xc], esi
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x11]
push esi
push 9
mov ecx, ebx
call fcn.0045d395
push dword [ebp - 0x12]
mov ecx, ebx
push 0xd
mov byte [ebp - 1], al
call fcn.0045d395
mov cl, byte [ebp - 1]
push dword [ebp - 0x13]
xor cl, al
mov byte [ebp - 1], cl
push 0xb
mov ecx, ebx
call fcn.0045d395
mov cl, byte [ebp - 1]
push dword [ebp - 0x14]
xor cl, al
mov byte [ebp - 1], cl
push 0xe
mov ecx, ebx
call fcn.0045d395
mov cl, byte [ebp - 1]
xor cl, al
mov eax, dword [ebp - 0xc]
push esi
mov byte [eax], cl
push 0xd
mov ecx, ebx
call fcn.0045d395
push dword [ebp - 0x12]
mov ecx, ebx
push 0xb
mov byte [ebp - 1], al
call fcn.0045d395
mov cl, byte [ebp - 1]
push dword [ebp - 0x13]
xor cl, al
mov byte [ebp - 1], cl
push 0xe
mov ecx, ebx
call fcn.0045d395
mov cl, byte [ebp - 1]
push dword [ebp - 0x14]
xor cl, al
mov byte [ebp - 1], cl
push 9
mov ecx, ebx
call fcn.0045d395
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 8]
xor cl, al
mov eax, dword [ebx + 0x18]
push esi
mov byte [eax + edx + 1], cl
push 0xb
mov ecx, ebx
call fcn.0045d395
push dword [ebp - 0x12]
mov ecx, ebx
push 0xe
mov byte [ebp - 1], al
call fcn.0045d395
mov cl, byte [ebp - 1]
push dword [ebp - 0x13]
xor cl, al
mov byte [ebp - 1], cl
push 9
mov ecx, ebx
call fcn.0045d395
push dword [ebp - 0x14]
mov cl, byte [ebp - 1]
xor cl, al
push 0xd
mov byte [ebp - 1], cl
mov ecx, ebx
call fcn.0045d395
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 8]
xor cl, al
mov eax, dword [ebx + 0x18]
push esi
mov byte [eax + edx + 2], cl
push 0xe
mov ecx, ebx
call fcn.0045d395
push dword [ebp - 0x12]
mov ecx, ebx
push 9
mov byte [ebp - 1], al
call fcn.0045d395
mov cl, byte [ebp - 1]
push dword [ebp - 0x13]
xor cl, al
mov byte [ebp - 1], cl
push 0xd
mov ecx, ebx
call fcn.0045d395
mov cl, byte [ebp - 1]
push dword [ebp - 0x14]
xor cl, al
mov byte [ebp - 1], cl
push 0xb
mov ecx, ebx
call fcn.0045d395
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 8]
add dword [ebp - 8], 4
xor cl, al
cmp dword [ebp - 8], 0x10
mov eax, dword [ebx + 0x18]
mov byte [eax + edx + 3], cl
jl 0x45d668
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45d7c6
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push edi
mov dword [esi + 0xc], eax
call fcn.0045d3d2
dec dword [esi + 0xc]
mov edi, dword [esi + 8]
jmp 0x45d7ec
call fcn.0045d3d2
dec dword [esi + 0xc]
mov ecx, esi
call fcn.0045d659
mov ecx, esi
dec edi
call fcn.0045d5b2
call fcn.0045d621
test edi, edi
jg 0x45d7dd
pop edi
pop esi
jmp fcn.0045d3d2