joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b65d8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4b65fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b66b6
jmp 0x4b66b1
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x4b661b
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x4b661d
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x4b66a5
jg 0x4b6630
test esi, esi
je 0x4b66a5
test ecx, ecx
jl 0x4b6672
jg 0x4b663a
test eax, eax
je 0x4b6672
cmp ebx, ecx
jg 0x4b664c
jl 0x4b6644
cmp esi, eax
jae 0x4b664c
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004edeb0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x4b6678
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x4b66a5
jg 0x4b6682
test esi, esi
je 0x4b66a5
cmp dword [edi + 0x4c], 0
je 0x4b66a5
mov ecx, edi
call fcn.004b4cf8
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.00500a24
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
leave
ret 0xc

Function at 0x4b6785
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4b67a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b6859
jmp 0x4b6854
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x4b67c8
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x4b67ca
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x4b6848
jg 0x4b67dd
test esi, esi
je 0x4b6848
test ecx, ecx
jl 0x4b6821
jg 0x4b67e7
test eax, eax
je 0x4b6821
cmp edi, ecx
jg 0x4b67f9
jl 0x4b67f1
cmp esi, eax
jae 0x4b67f9
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.004edeb0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x4b6824
mov edx, dword [ebp + 8]
test edi, edi
jl 0x4b6848
jg 0x4b682e
test esi, esi
je 0x4b6848
cmp dword [ebx + 0x4c], 0
je 0x4b6848
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.00502311
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4b77ee
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b781d
push 2
pop eax
jmp 0x4b78a5
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004b7601
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004edce0
add esp, 0x14
mov dword [ebp - 0x58], edi
test ebx, ebx
mov dword [ebp - 0x48], esi
mov ecx, 0x64b438
mov dword [ebp - 0x54], 0x40
mov eax, 0x64bc70
mov dword [ebp - 0x3c], 5
cmove eax, ecx
cmp dword [ebp - 8], 8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
and dword [ebp - 0x40], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x20], 0
mov esi, eax
je 0x4b789b
cmp dword [ebp + 0x10], 0
je 0x4b789b
push dword [ebp + 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x1c]
call fcn.0040199e
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e275
leave
ret
Function at 0x4b8cb5
Capabilities:
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x6379f6
call fcn.0040ebd7
mov edi, ecx
lea eax, [ebp - 0x230]
push eax
call fcn.004b89e2
and dword [ebp - 4], 0
lea esi, [edi + 4]
and dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4b8ce7
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push 0x64bcd8
call fcn.00401918
push 0x64bcdc
mov ecx, esi
call fcn.00401918
push 0x6b4c90
mov ecx, esi
call fcn.00401918
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, esi
push eax
call fcn.004018a7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4b8d3c
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b8dd4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004edce0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b89c2
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
and dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4b8d93
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00401918
push 0x6b4c90
mov ecx, esi
call fcn.00401918
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, esi
push eax
call fcn.004018a7
cmp dword [esi + 0x14], 8
jb 0x4b8ddc
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea esi, [edi + 0x1c]
and dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4b8df4
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push 0x64bcd8
call fcn.00401918
push 0x64bcdc
mov ecx, esi
call fcn.00401918
push 0x6b4c90
mov ecx, esi
call fcn.00401918
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.004b8a41
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040480f
lea ecx, [ebp - 0x248]
call fcn.0040199e
lea ecx, [ebp - 0x230]
call fcn.0040199e
call fcn.0040eb81
ret
Function at 0x4b9e7e
Capabilities:
Move file

Disassembly:
push 0x4c
mov eax, 0x637bb9
call fcn.0040ebd7
mov esi, ecx
cmp dword [esi + 0x1c], 0xffffffff
je 0x4b9e9f
push dword [esi + 0x1c]
call fcn.00507de7
or dword [esi + 0x1c], 0xffffffff
pop ecx
mov eax, dword [esi + 0x28]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b93da
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005026ac
mov edi, dword [esi + 0x28]
sub edi, 2
pop ecx
js 0x4b9f23
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004b93da
lea eax, [edi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004b93da
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x28]
call fcn.0040199e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0040199e
sub edi, 1
jns 0x4b9ecd
mov ecx, esi
call fcn.004b9d5d
lea ecx, [ebp - 0x58]
mov byte [esi + 0x5c], 0
call fcn.0040199e
call fcn.0040eb81
ret

Function at 0x4b9f3c
Capabilities:
Move file

Disassembly:
push 0x4c
mov eax, 0x637bb9
call fcn.0040ebd7
mov esi, ecx
cmp dword [esi + 0x1c], 0xffffffff
je 0x4b9f5d
push dword [esi + 0x1c]
call fcn.00507de7
or dword [esi + 0x1c], 0xffffffff
pop ecx
mov eax, dword [esi + 0x28]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b93da
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005026ac
mov edi, dword [esi + 0x28]
sub edi, 2
pop ecx
js 0x4b9fe1
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004b93da
lea eax, [edi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004b93da
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x28]
call fcn.0040199e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0040199e
sub edi, 1
jns 0x4b9f8b
mov ecx, esi
call fcn.004b9df4
lea ecx, [ebp - 0x58]
mov byte [esi + 0x5c], 0
call fcn.0040199e
call fcn.0040eb81
ret
Function at 0x4bab89
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3100
call fcn.0040f590
mov eax, dword [0x6cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x3100], edi
call fcn.004edce0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004edce0
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
push str.._c:
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040c7de
add esp, 0x10
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4bac1f
mov al, 1
jmp 0x4bad28
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.004edce0
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.004edce0
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.004edce0
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4baca1
mov bl, 2
jmp 0x4bad1f
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.004bad37
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.004bad37
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bace2
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
mov ecx, edi
call fcn.004bc243
lea edx, [ebp - 0x9dc]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4bad03
mov ecx, dword [ebp - 0x3100]
lea eax, [ebp - 0x9dc]
sub edx, edi
push edx
push eax
call fcn.004bc243
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e275
leave
ret
Function at 0x4baf2a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6cb06c]
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.004edce0
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.004baedf
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x4bafa9
cmp dword [ebp - 0x118], ebx
jbe 0x4bafef
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x4bafef
cmp eax, 6
jne 0x4bafd4
cmp byte [ebp - 6], 1
jne 0x4bafcf
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x4bafcb
sub eax, 1
je 0x4bafc7
push 7
jmp 0x4bafd1
push 5
jmp 0x4bafd1
push 3
jmp 0x4bafd1
push 4
pop ebx
jmp 0x4bafef
push 0xa
pop ecx
cmp eax, ecx
jne 0x4bafec
cmp dword [ebp - 0x114], 0x55f0
sbb ebx, ebx
add ebx, 9
jmp 0x4bafef
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040e275
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
push 2
mov byte [ebp - 1], dl
pop ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, ebx
cmp ax, dx
jne 0x4bb030
push dword [ebp + 8]
sub edi, ecx
sar edi, 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bb052
mov al, 1
jmp 0x4bb0e3
push esi
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056047b
push esi
mov ebx, eax
push 0
push ebx
call fcn.00409e46
push dword [ebp + 8]
push esi
push ebx
call fcn.004fc05b
add esp, 0x1c
xor esi, esi
movzx eax, word [ebx + esi*2]
cmp eax, 0x5c
je 0x4bb091
cmp eax, 0x2f
jne 0x4bb0cd
mov dword [ebp - 8], eax
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bb0c6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4bb0d4
mov eax, dword [ebp + 0xc]
mov byte [ebp - 1], 1
cmp dword [eax + 0x24], 0
je 0x4bb0c6
push ebx
mov ecx, eax
call fcn.004baffe
mov eax, dword [ebp - 8]
mov word [ebx + esi*2], ax
inc esi
cmp esi, edi
jbe 0x4bb083
jmp 0x4bb0d8
mov byte [ebp - 1], 0
push ebx
call fcn.0040ed15
mov al, byte [ebp - 1]
pop ecx
pop esi
pop edi
pop ebx
leave
ret
Function at 0x4bb17d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6cb06c]
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.004edce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x8000
cmp byte [ebp + 0x10], 0
push edi
cmove eax, dword [ebp + 0xc]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4bb1e8
xor eax, eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x4bb1f6
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404153
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0040e275
leave
ret

Function at 0x4bb259
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 0x4bb309
cmp dword [ebp + 0xc], 0
je 0x4bb309
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4bb29e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4bb30c
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 0x4bb296
jb 0x4bb2ba
push 8
pop eax
jmp 0x4bb30c
push esi
mov esi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4bb2c6
mov dword [eax], edi
inc esi
push esi
call fcn.0056047b
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
push esi
push eax
mov dword [ecx], eax
call fcn.004edce0
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 0x4bb296
cmp dword [ebp + 8], edi
jne 0x4bb309
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4bb30c
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret
Function at 0x4bb310
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 0x4bb421
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10], ebx
je 0x4bb420
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4bb33f
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 0x4bb420
push 0x6d86d8
push eax
call fcn.0056095a
mov dword [ebp - 4], eax
pop ecx
pop ecx
test eax, eax
je 0x4bb420
cmp dword [esi + 0x14], 0x10
jb 0x4bb374
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 0x4bb40e
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 0x4bb40e
mov eax, dword [ebp - 0x10]
push 0x6d86d8
push 0x80
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], ecx
call fcn.0056095a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4bb40e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x4bb3d7
mov eax, dword [eax]
push eax
push dword [ebp - 8]
push str.StringFileInfo_08lx_s
push 0x80
push edi
call fcn.0040c7de
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 0x4bb40c
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
call fcn.0040395f
mov bl, 1
push esi
call fcn.0040ed15
pop ecx
test edi, edi
je 0x4bb420
push edi
call fcn.0040ed15
pop ecx
pop esi
pop edi
mov al, bl
pop ebx
leave
ret

Function at 0x4bb427
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x4bb48a
xor edi, edi
cmp word [eax], di
je 0x4bb48a
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 0x4bb460
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 0x4bb47f
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 0x4bb48d
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x4bba70
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 0x4bd5da
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x3c
mov eax, 0x637e1b
call fcn.0040ebd7
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x4bd5fd
xor al, al
jmp 0x4bd6bd
lea edi, [ecx + 4]
cmp dword [edi + 0x10], 0
ja 0x4bd620
lea eax, [ebp - 0x40]
push eax
call fcn.004bdc87
pop ecx
push eax
mov ecx, edi
call fcn.00403826
lea ecx, [ebp - 0x40]
call fcn.0040199e
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
push edi
call fcn.00404ea2
xor edi, edi
lea ecx, [ebp - 0x28]
push str.Software_
mov dword [ebp - 4], edi
call fcn.00401918
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.00401918
test ebx, ebx
je 0x4bd668
push 0x6b4c90
lea ecx, [ebp - 0x28]
call fcn.00401918
push ebx
lea ecx, [ebp - 0x28]
call fcn.00401918
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push ecx
push 0xf003f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], edi
cmovae eax, dword [ebp - 0x28]
push edi
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bd6b3
test esi, esi
je 0x4bd6a0
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4bd6aa
push edi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.0040199e
mov al, 1
call fcn.0040eb81
ret 0xc
Function at 0x4bd999
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6cb06c]
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 0x4bd9f1
lea eax, [ebp - 0x1c]
push eax
call fcn.004bdc87
pop ecx
lea ecx, [esi + 4]
push eax
call fcn.00403826
lea ecx, [ebp - 0x1c]
call fcn.0040199e
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x4bd9fc
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 0x4bda1f
xor al, al
jmp 0x4bdad8
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push ebx
push 0x64c068
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x4bda42
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4bda18
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 0x4bda74
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x4bda18
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 0x4bdac7
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4bda99
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.0040e275
leave
ret 0x10