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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
mov ebp, eax
push 0
push 0
push 0
push 0
push esi
push ebp
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
test bl, bl
je 0x47a518
test esi, esi
je 0x47a4c9
cmp word [esi], 0
jne 0x47a518
mov eax, dword [0x550480]
cmp dword [eax], 2
je 0x47a518
xor ebx, ebx
xor esi, esi
mov dword [esp + 4], 2
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push esi
push ebp
call sub.advapi32.dll_RegEnumValueW
mov edi, eax
test edi, edi
je 0x47a506
cmp edi, 0xea
jne 0x47a518
test edi, edi
jne 0x47a515
cmp word [esp], 0
jne 0x47a515
mov bl, 1
jmp 0x47a518
inc esi
jmp 0x47a4d7
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47a584
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x47a598
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyW
pop esi
pop ebx
ret
cmp dword [0x5560d0], 0
jne 0x47a5bb
push 0x47a5e0
push 0x47a600
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409820
mov dword [0x5560d0], eax
cmp dword [0x5560d0], 0
je 0x47a5d5
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x5560d0]
jmp 0x47a5da
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x47a585
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x47a598
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyW
pop esi
pop ebx
ret
cmp dword [0x5560d0], 0
jne 0x47a5bb
push 0x47a5e0
push 0x47a600
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409820
mov dword [0x5560d0], eax
cmp dword [0x5560d0], 0
je 0x47a5d5
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x5560d0]
jmp 0x47a5da
mov eax, 0x7f
pop esi
pop ebx
ret
Function at 0x47a61c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x47a78f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x47a650
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
jne 0x47a65a
mov ebx, 0x57
jmp 0x47a779
mov eax, dword [0x550480]
cmp dword [eax], 2
jne 0x47a768
push 0
push 8
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movzx eax, byte [ebp - 5]
call fcn.0047a55c
test eax, eax
jne 0x47a768
xor eax, eax
push ebp
push 0x47a761
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.0040674c
xor eax, eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47a6b5
sub ebx, 4
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
call fcn.00407070
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov esi, eax
cmp esi, 0xea
jne 0x47a720
mov edi, dword [ebp - 4]
test edi, edi
je 0x47a6f0
sub edi, 4
mov edi, dword [edi]
cmp edi, 0x10000
jge 0x47a74a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x47a70f
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040674c
jmp 0x47a6a9
test esi, esi
jne 0x47a74a
mov eax, dword [ebp - 4]
call fcn.0040669c
mov ecx, eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebp - 5]
call fcn.0047a61c
test eax, eax
je 0x47a6a9
inc dword [ebp - 0x18]
jmp 0x47a6a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a768
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movzx eax, byte [ebp - 5]
call fcn.0047a584
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a796
lea eax, [ebp - 4]
call fcn.00406600
ret
Function at 0x47a828
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
mov eax, dword [0x550480]
cmp dword [eax], 2
je 0x47a845
mov byte [ebp - 1], 1
jmp 0x47aa13
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
push 0x54ec00
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x47aa13
xor eax, eax
push ebp
push 0x47aa0c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 5
jb 0x47a8a7
push 0x47aa20
push 0x47aa4c
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409820
mov ebx, eax
test ebx, ebx
je 0x47a8ce
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x47a9f5
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x47a9f5
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x47a91f
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x47a900
call fcn.00404d30
jmp 0x47aa13
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x47a91f
call fcn.00404d30
jmp 0x47aa13
xor eax, eax
push ebp
push 0x47a9ee
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x47a962
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x47a962
call fcn.00404d30
call fcn.00404d30
jmp 0x47aa13
mov eax, dword [ebp - 0x14]
call fcn.00403030
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x47a994
call fcn.00404d30
call fcn.00404d30
jmp 0x47aa13
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x47a9cf
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x47a9cb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x47a9cb
mov byte [ebp - 1], 1
jmp 0x47a9cf
inc ebx
dec esi
jne 0x47a9a1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a9f5
mov eax, dword [ebp - 0x18]
call fcn.0040304c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aa13
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b4d0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x47b577
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x550480]
cmp dword [eax], 2
jne 0x47b513
push 1
mov eax, esi
call fcn.0040669c
push eax
mov eax, edi
call fcn.0040669c
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x47b561
mov eax, esi
call fcn.0040669c
mov edx, eax
lea eax, [ebp - 4]
call fcn.004067bc
mov eax, dword [ebp - 4]
call fcn.0040669c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x47b546
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x47b561
mov eax, esi
call fcn.0040669c
push eax
mov eax, edi
call fcn.0040669c
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b57e
lea eax, [ebp - 4]
call fcn.00406600
ret

Function at 0x47b8ec
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x483308
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
lea edi, [ebp - 0xd]
mov bl, 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x18]
dec esi
test esi, esi
jl 0x4834b8
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.00481f58
pop ecx
test al, al
jne 0x48334f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004835ec
xor ebx, ebx
jmp 0x4834b8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x48336d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.004835ec
xor ebx, ebx
jmp 0x4834b8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [edi]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00499188
test eax, eax
jne 0x4833a4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.004835ec
xor ebx, ebx
jmp 0x4834b8
test byte [edi + 4], 1
je 0x4834b1
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.00481f58
pop ecx
test al, al
jne 0x4833d8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004835ec
xor ebx, ebx
jmp 0x4834b8
mov edx, dword [0x47f5e0]
mov eax, 0xc
call fcn.00407824
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x483483
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00405ef8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00405c8c
mov edx, dword [ebp - 4]
call fcn.00481f58
pop ecx
test al, al
jne 0x483446
mov edx, dword [0x47f5e0]
mov eax, dword [ebp - 8]
call fcn.00407838
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004835ec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4834b8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0047ccb4
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.0047d0cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4834b1
dec esi
jne 0x483326
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4975e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x49776a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0048d490
mov esi, eax
cmp esi, 0xffffffff
jne 0x497613
xor ebx, ebx
jmp 0x497754
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, ebx
call fcn.004951e4
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x38]
mov edx, dword [edx + 4]
mov edx, dword [edx + esi*4]
mov edx, dword [edx + 0x14]
call fcn.004054f4
xor edi, edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x497641
sub eax, 4
mov eax, dword [eax]
mov edx, eax
test edx, edx
jle 0x49766b
mov esi, 1
mov eax, 0x49777c
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi - 1]
movzx ecx, cl
bt dword [eax], ecx
setb al
test al, al
je 0x497667
inc edi
inc esi
dec edx
jne 0x49764c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ebx, 0x15
cmp edi, 1
jb 0x497687
add ebx, 3
cmp edi, 2
jb 0x49768f
add ebx, 3
cmp edi, 3
jb 0x4976a0
mov eax, edi
sub eax, 2
add eax, eax
lea eax, [eax + eax*2]
add ebx, eax
push 0x40
push 0x1000
push ebx
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov byte [eax], 0x55
inc eax
mov byte [eax], 0x8b
inc eax
mov byte [eax], 0xec
inc eax
mov byte [eax], 0x68
inc eax
mov dword [eax], esi
add eax, 4
cmp edi, 1
jb 0x4976e1
mov byte [eax], 0x8b
inc eax
mov byte [eax], 0x55
inc eax
mov byte [eax], 8
inc eax
cmp edi, 2
jb 0x4976f2
mov byte [eax], 0x8b
inc eax
mov byte [eax], 0x4d
inc eax
mov byte [eax], 0xc
inc eax
cmp edi, 3
jb 0x49771e
mov edx, edi
sub edx, 3
jl 0x49771e
inc edx
mov esi, 3
mov byte [eax], 0xff
inc eax
mov byte [eax], 0xb5
inc eax
mov ecx, esi
add ecx, ecx
add ecx, ecx
add ecx, 4
mov dword [eax], ecx
add eax, 4
inc esi
dec edx
jne 0x497704
mov byte [eax], 0xb8
inc eax
mov edx, dword [ebp - 8]
mov dword [eax], edx
add eax, 4
mov byte [eax], 0xff
inc eax
mov byte [eax], 0x55
inc eax
mov byte [eax], 0xfc
inc eax
mov byte [eax], 0x5a
inc eax
mov byte [eax], 0x5d
inc eax
mov byte [eax], 0xc2
inc eax
mov edx, edi
add edx, edx
add edx, edx
mov byte [eax], dl
inc eax
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497771
lea eax, [ebp - 4]
call fcn.00405444
ret

Function at 0x4a7aec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4a7b38
cmp dword [ebp - 0x104], 2
jne 0x4a7b38
cmp dword [ebp - 0x110], 5
ja 0x4a7b36
cmp dword [ebp - 0x110], 5
jne 0x4a7b38
cmp dword [ebp - 0x10c], 1
jb 0x4a7b38
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a85ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a8682
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406664
lea eax, [ebp - 4]
call fcn.00407068
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040669c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4a866c
mov eax, ebx
call fcn.00403030
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a8665
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040669c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4a864f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a8694
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4a864f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a866c
mov eax, dword [ebp - 0x10]
call fcn.0040304c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8689
lea eax, [ebp - 4]
call fcn.00406600
ret

Function at 0x4b3ea0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x556354
mov eax, esi
mov edx, 8
test al, 1
je 0x4b3ebc
shr eax, 1
xor eax, 0xedb88320
jmp 0x4b3ebe
shr eax, 1
dec edx
jne 0x4b3eaf
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4b3ea8
pop esi
ret

Function at 0x4b3eeb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x556350], 0
jne 0x4b3ef7
call fcn.004b3ea0
push 1
push 0x556350
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4b3f22
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x556354]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4b3efd
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4b4cc8
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret
Function at 0x4b59b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040669c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x4b5a56
mov eax, ebx
call fcn.00403030
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b5a4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4b5a39
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b5a78
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4b5a39
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5a6d
mov eax, dword [ebp - 0x10]
call fcn.0040304c
ret
mov eax, dword [0x550480]
cmp dword [eax], 1
je 0x4b5a6d
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004b57d8
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b5c80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b5c34
test al, al
jne 0x4b5ca1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b5cef
xor eax, eax
push ebp
push 0x4b5cdf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.0040669c
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5ce6
lea eax, [ebp - 0xc]
call fcn.004b5c70
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b5cf8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b5c34
test al, al
jne 0x4b5d1c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b5d82
xor eax, eax
push ebp
push 0x4b5d72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5d79
lea eax, [ebp - 0xc]
call fcn.004b5c70
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4b5d90
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b5c34
test al, al
jne 0x4b5db4
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b5e0c
xor eax, eax
push ebp
push 0x4b5dfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040669c
push eax
mov eax, esi
call fcn.0040669c
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5e03
lea eax, [ebp - 0xc]
call fcn.004b5c70
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b5e18
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b5c34
test al, al
jne 0x4b5e39
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b5e85
xor eax, eax
push ebp
push 0x4b5e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040669c
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5e7c
lea eax, [ebp - 0xc]
call fcn.004b5c70
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b5ff0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b5c34
test al, al
jne 0x4b6013
mov dword [ebp - 4], 0xffffffff
jmp 0x4b605f
xor eax, eax
push ebp
push 0x4b604f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040669c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6056
lea eax, [ebp - 0xc]
call fcn.004b5c70
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b6194
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b5c34
test al, al
jne 0x4b61b8
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b620c
xor eax, eax
push ebp
push 0x4b61fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040669c
push eax
mov eax, esi
call fcn.0040669c
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6203
lea eax, [ebp - 0xc]
call fcn.004b5c70
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret