joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7d1f
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0x103]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x104], bl
call fcn.004fc1f0
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.004fc1f0
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
stosb byte es:[edi], al
lea eax, [ebp - 0xc3]
push ebx
push eax
mov byte [ebp - 0xc4], bl
call fcn.004fc1f0
add esp, 0x24
push 0x40
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.004a064a
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.004a05a4
push 0x20
pop edi
push edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004fbb10
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004fbb10
add esp, 0x18
mov dword [ebp - 0x108], ebx
push dword [ebp + 0xc]
mov ecx, esi
push 0xf
pop eax
sub eax, dword [ebp - 0x108]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004a6796
inc dword [ebp - 0x108]
cmp dword [ebp - 0x108], 0x10
jl 0x4a7dee
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004fbb10
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004fbb10
add esp, 0x18
lea eax, [esi + 0x640]
movsx ecx, byte [ebx + 0x5a4fd0]
mov cl, byte [ebp + ecx - 0xc5]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, 0x40
jl 0x4a7e44
push 0x40
push eax
lea eax, [esi + 0x688]
push eax
mov ecx, esi
call fcn.004a067d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb958
leave
ret 8
Function at 0x4a8179
Capabilities:
Create process on windows

Disassembly:
push 0x58
mov eax, 0x57deaa
call fcn.004fb967
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x40
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.004fc1f0
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 5
pop eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 8]
xor edi, edi
add eax, 0xfffffff0
inc edi
push eax
mov dword [ebp - 0x38], edi
call fcn.00431714
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
cmp dword [esi - 4], edi
jle 0x4a81ec
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00431f53
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push ebx
push ebx
push edi
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4a8231
mov byte [ebp - 4], bl
lea ecx, [esi - 0x10]
call fcn.004310e3
mov dword [ebp - 4], 4
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, ebx
call fcn.004fba3f
ret
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x1c]
call edi
mov byte [ebp - 4], bl
lea ecx, [esi - 0x10]
call fcn.004310e3
mov dword [ebp - 4], 6
xor ebx, ebx
inc ebx
jmp 0x4a821a
Function at 0x4a8258
Capabilities:
Create process on windows

Disassembly:
push 0x94
mov eax, 0x57ded5
call fcn.004fb9d0
xor ebx, ebx
mov dword [ebp - 4], ebx
push 6
xor eax, eax
pop ecx
mov esi, 0x5a5d68
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x5c], ebx
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x9c]
push ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0xa0], ebx
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
mov esi, 0x2000000
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4a836f
lea eax, [ebp - 0x3c]
push eax
push 1
push 2
push ebx
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4a836a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x4a8365
mov eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0x48], 0x20
mov dword [ebp - 0x4c], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x19
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x4a835c
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x4a833e
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00431f53
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x3c]
call esi
push dword [ebp - 0x44]
call esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, ebx
call fcn.004fba53
ret

Function at 0x4a8600
Capabilities:
Enumerate processes

Disassembly:
push 0x234
mov eax, 0x57dfc4
call fcn.004fb9d0
mov esi, dword [ebp + 8]
xor eax, eax
push eax
push 2
mov word [esi], ax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
push 0x602968
lea ecx, [ebp - 0x240]
mov ebx, eax
call fcn.00431ef7
mov dword [ebp - 4], 1
test ebx, ebx
je 0x4a8681
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004fc4b0
push 0x5a5d94
push esi
call fcn.004fc4b0
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4a8655
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.004310e3
call fcn.004fba53
ret 4
Function at 0x4afae6
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x57fbe9
call fcn.004fb967
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4afb1e
push ebx
push dword [ebp + 8]
call fcn.004a0856
mov edi, eax
lea eax, [esi + 4]
push edi
push eax
call fcn.00503950
add esp, 0x10
cmp edi, ebx
je 0x4afb1e
push edi
call fcn.004fc324
pop ecx
lea edi, [esi + 4]
push edi
mov dword [esi + 0x20c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4afbe9
push ebx
cmp dword [esi + 0x22c], ebx
je 0x4afbd5
push ebx
push 3
push ebx
push 7
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x4afbce
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x1c]
call fcn.004f8908
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 8]
call fcn.004fc1f0
add esp, 0x10
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp + 8]
call fcn.004a89e5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004a5233
xor eax, eax
jmp 0x4afc70
mov ecx, dword [esi + 0x210]
push edi
call fcn.004ebec4
movzx eax, al
jmp 0x4afc70
mov edi, 0x98
push edi
call fcn.004fc26a
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 2
cmp ecx, ebx
je 0x4afc1b
push 0x5a68d8
push str.UTF_16
push 0x5a68d4
call fcn.004ec220
jmp 0x4afc1d
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x210]
push eax
call fcn.004eaabb
push edi
call fcn.004fc26a
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
cmp eax, ebx
je 0x4afc52
lea ecx, [esi + 0x108]
push ecx
mov ecx, eax
call fcn.004ebce6
jmp 0x4afc54
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x210]
push eax
call fcn.004eaabb
mov ecx, dword [esi + 0x210]
xor eax, eax
inc eax
mov byte [ecx + 0x75], al
call fcn.004fba3f
ret 4
Function at 0x4b1c08
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.004fc580
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x2d10], ecx
call fcn.00431e55
xor edi, edi
xor esi, esi
push esi
lea eax, [ebp - 0x204]
push 0x5a68dc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
push edi
push 3
push edi
push 3
push edi
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b1c6e
inc esi
cmp esi, 4
jl 0x4b1c31
jmp 0x4b1d0b
mov esi, 0x2710
push esi
lea eax, [ebp - 0x2cfc]
push edi
push eax
mov dword [ebp - 0x2d0c], edi
call fcn.004fc1f0
push 0xc
lea eax, [ebp - 0x2d08]
push edi
push eax
call fcn.004fc1f0
push esi
lea eax, [ebp - 0x2cfc]
push edi
push eax
mov dword [ebp - 0x2d08], edi
mov dword [ebp - 0x2d04], edi
call fcn.004fc1f0
add esp, 0x24
push edi
lea eax, [ebp - 0x2d0c]
push eax
push esi
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4b1d0b
mov eax, dword [ebp - 0x2ce4]
push 1
lea esi, [ebp - 0x5ec]
lea ecx, [ebp - 0x2cfc]
call fcn.004a02d3
pop ecx
mov ecx, dword [ebp - 0x2d10]
mov eax, esi
push eax
call fcn.0043379a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb958
leave
ret

Function at 0x4b1dd7
Capabilities:
Query environment variable

Disassembly:
push 4
mov eax, 0x58002b
call fcn.004fb967
and dword [ebp - 0x10], 0
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0x3e8
call fcn.004f8908
mov edi, eax
mov dword [esp], 0x1f4
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4b1e35
push edi
lea eax, [ebp + 0xc]
push 0x59a2b8
push eax
call fcn.00433c96
push edi
call fcn.004fc324
add esp, 0x10
lea ecx, [ebp + 0xc]
call fcn.0043398e
mov ecx, eax
call fcn.004339e0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004324a9
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, dword [ebp + 8]
call fcn.004fba3f
ret 8
Function at 0x4b1e5e
Capabilities:
Get file version info

Disassembly:
push 0x228
mov eax, 0x58009f
call fcn.004fb9d0
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
push 0x602968
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], edi
call fcn.00431ef7
push 2
pop ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x218]
cmp esi, edi
jne 0x4b1eaf
push 0x208
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4b1eb7
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x228], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x234], eax
cmp eax, edi
je 0x4b1fa9
push eax
push ebx
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x230], edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, edi
jne 0x4b1f19
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call fcn.004324a9
mov dword [ebp - 0x224], 1
jmp 0x4b1fc5
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
push dword [ebp - 0x234]
lea eax, [ebp - 0x218]
push dword [ebp - 0x228]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x59a764
push esi
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x22c], edi
je 0x4b1fe2
mov eax, dword [ebp - 0x230]
cmp eax, edi
je 0x4b1fe2
mov cx, word [eax + 0x12]
mov dx, word [eax + 0x10]
mov si, word [eax + 0x16]
movzx eax, word [eax + 0x14]
push eax
movzx eax, si
push eax
movzx eax, dx
push eax
movzx eax, cx
push eax
lea eax, [ebp - 0x21c]
push str._d._d._d._d
push eax
call fcn.00433c96
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call fcn.004324a9
mov dword [ebp - 0x224], 1
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, dword [ebp - 0x220]
call fcn.004fba53
ret
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call fcn.004324a9
mov dword [ebp - 0x224], 1
jmp 0x4b1fc5
Function at 0x4b2000
Capabilities:
Create directory

Disassembly:
push 0x14
mov eax, 0x5800f7
call fcn.004fb967
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
xor ebx, ebx
cmp ecx, ebx
jne 0x4b2021
xor al, al
jmp 0x4b2121
push eax
lea ecx, [ebp - 0x10]
call fcn.004324a9
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4b2127
cmp eax, ecx
jg 0x4b2127
cmp word [edx + eax*2], 0x5c
je 0x4b2057
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0049afb0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
push 0x602968
lea ecx, [ebp - 0x14]
call fcn.00431ef7
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
xor esi, esi
mov byte [ebp + 0xb], bl
cmp ecx, ebx
jle 0x4b20c9
cmp esi, ebx
jl 0x4b2127
cmp esi, ecx
jg 0x4b2127
movzx eax, word [eax + esi*2]
cmp eax, 0x5c
je 0x4b20a8
cmp esi, ecx
jg 0x4b2127
push eax
jmp 0x4b20b6
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.00433b89
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0049afb0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
inc esi
cmp esi, ecx
jl 0x4b2084
xor esi, esi
cmp dword [ebp - 0x1c], ebx
jle 0x4b20f5
cmp esi, ebx
jl 0x4b2131
cmp esi, dword [ebp - 0x1c]
jge 0x4b2131
mov eax, dword [ebp - 0x20]
lea eax, [eax + esi*4]
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne byte [ebp + 0xb]
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x4b20d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00433510
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
mov al, byte [ebp + 0xb]
call fcn.004fba3f
ret
push 0x80070057
call fcn.00430f05
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x4b2141
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push 8
mov eax, 0x58013a
call fcn.004fb967
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b2170
test al, 1
je 0x4b2170
and eax, 0xfffffffe
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4b222c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4b219b
mov dword [ebp - 0x10], 1
jmp 0x4b222c
mov ecx, dword [ebp + 8]
call fcn.004a0b4b
push 0x602968
lea ecx, [ebp - 0x14]
call fcn.00431ef7
mov byte [ebp - 4], 2
push 0
call fcn.00502e22
mov edi, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
pop ecx
mov ebx, edx
jle 0x4b21d7
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00431f53
mov eax, dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
lea eax, [ebp - 0x14]
push edx
push ebx
push edi
push esi
push str._s.bak_I64d_03d
push eax
call fcn.00433c96
mov esi, dword [ebp - 0x14]
add esp, 0x18
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4b2220
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, dword [ebp - 0x10]
call fcn.004fba3f
ret
Function at 0x4b2f86
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x580434
call fcn.004fb9d0
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x4b307a
cmp byte [esi + 0x49], bl
je 0x4b307a
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4b2fbb
xor al, al
jmp 0x4b307c
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00438ab0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4b301d
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x4b3022
dec eax
je 0x4b3026
dec eax
dec eax
je 0x4b3076
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040ff10
mov al, bl
jmp 0x4b307c
mov edx, dword [ebp - 0x2c]
jmp 0x4b2fe4
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4b3032
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x4b3058
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4b3045
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0050229d
add esp, 0x10
cmp edi, eax
jne 0x4b3007
cmp byte [esi + 0x49], 0
je 0x4b3076
test edi, edi
jne 0x4b2fd6
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00411d40
jmp 0x4b2fd6
mov bl, 1
jmp 0x4b3009
mov al, 1
call fcn.004fba53
ret
Function at 0x4b3a15
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x3c
mov eax, 0x580744
call fcn.004fb9d0
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, dword [ebp + 8]
mov esi, 0x602968
push esi
mov ecx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], edi
call fcn.00431ef7
mov dword [ebp - 4], edi
mov eax, dword [0x5a6b4c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x5a6b50]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x41
mov dword [ebp - 0x20], eax
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
test byte [ebp - 0x20], 1
je 0x4b3afb
mov ax, word [ebp - 0x1c]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 3
pop edi
cmp eax, edi
jne 0x4b3afb
push esi
lea ecx, [ebp - 0x28]
call fcn.00431ef7
mov dword [ebp - 4], edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
push str._c:_I64d_I64d
push eax
call fcn.00433c96
mov eax, dword [ebx]
add esp, 0x1c
cmp dword [eax - 0xc], 0
je 0x4b3ae1
push 0x59a6a4
mov ecx, ebx
call fcn.0043a9d7
mov edi, dword [ebp - 0x28]
push dword [edi - 0xc]
mov ecx, ebx
push edi
call fcn.0043a942
and dword [ebp - 4], 0
lea ecx, [edi - 0x10]
call fcn.004310e3
inc dword [ebp - 0x1c]
inc dword [ebp - 0x24]
shr dword [ebp - 0x20], 1
cmp word [ebp - 0x1c], 0x5a
jbe 0x4b3a68
mov eax, ebx
call fcn.004fba53
ret
Function at 0x4b70f1
Capabilities:
Get hostname
Get user security identifier

Disassembly:
push 0x230
mov eax, 0x580fda
call fcn.004fba06
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x224], ebx
push 0x20a
push ebx
lea eax, [ebp - 0x220]
push eax
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, ebx
je 0x4b7246
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x230]
push eax
push ebx
lea eax, [ebp - 0x22c]
push eax
push ebx
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
cmp eax, ebx
je 0x4b7193
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4b7246
push dword [ebp - 0x22c]
push 8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call edi
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x230]
add eax, eax
push eax
push 8
call esi
push eax
call edi
cmp dword [ebp - 0x228], ebx
je 0x4b7246
cmp eax, ebx
je 0x4b7246
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x230]
push ecx
push eax
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
cmp eax, ebx
je 0x4b7246
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
cmp eax, ebx
je 0x4b7246
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x238]
call fcn.00433c70
cmp dword [ebp - 0x224], ebx
je 0x4b7237
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
inc eax
jmp 0x4b7248
xor eax, eax
call fcn.004fba62
ret
Function at 0x4b724e
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x21c
mov eax, 0x58109c
call fcn.004fba06
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 0x602968
push esi
lea ecx, [ebp - 0x220]
call fcn.00431ef7
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x224]
call fcn.00431ef7
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4b72db
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 6
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004310e3
xor eax, eax
call fcn.004fba62
ret
lea eax, [ebp - 0x21c]
push eax
call fcn.004fb22e
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0043340b
push ebx
push 0x5c
lea ecx, [ebp - 0x220]
call fcn.004324ff
cmp eax, 0xffffffff
jne 0x4b732a
mov byte [ebp - 4], 7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 8
jmp 0x4b72c2
inc eax
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x220]
call fcn.00433310
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x224]
call fcn.00433c20
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004310e3
mov esi, dword [ebp - 0x224]
cmp dword [esi - 0xc], 3
jge 0x4b7389
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.004310e3
mov byte [ebp - 4], 0xc
jmp 0x4b72c2
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.004310e3
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004310e3
xor eax, eax
inc eax
jmp 0x4b72d5