joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e5b4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00406430
xor eax, eax
push ebp
push 0x47e6a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00406ea0
mov ebx, pe_nt_image_headers32
mov eax, edi
mov ecx, ebx
xor edx, edx
call fcn.00406584
cmp dword [ebp + 0xc], 0
je 0x47e633
mov eax, dword [ebp + 0xc]
call fcn.004064d4
push eax
push ebx
mov eax, edi
call fcn.00406ea8
push eax
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetPrivateProfileStringW
mov esi, eax
jmp 0x47e65e
push ebx
mov eax, edi
call fcn.00406ea8
push eax
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetProfileStringW
mov esi, eax
test esi, esi
je 0x47e670
mov eax, dword [edi]
call fcn.004064d4
call fcn.0040de80
mov esi, eax
mov eax, ebx
sub eax, 8
cmp esi, eax
jl 0x47e681
cmp ebx, 0x10000
jl 0x47e68c
mov eax, edi
mov edx, esi
call fcn.004067ac
jmp 0x47e693
add ebx, ebx
jmp 0x47e5ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e6b0
lea eax, [ebp - 4]
call fcn.00406438
ret

Function at 0x47e77c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
mov word [ebp - 0x10], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x47e7c6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004064d4
push eax
push 8
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004064d4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetPrivateProfileStringW
jmp 0x47e7ea
push 8
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004064d4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetProfileStringW
push ebx
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_lstrcmpW
test eax, eax
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47e85c
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov word [esp], 0
test ebx, ebx
je 0x47e89a
mov eax, ebx
call fcn.004064d4
push eax
push pe_nt_image_headers32
lea eax, [esp + 8]
push eax
push 0x47e8cc
push 0
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_GetPrivateProfileStringW
jmp 0x47e8b8
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x47e8cc
push 0
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_GetProfileStringW
cmp word [esp], 0
sete al
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x47ec9c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47ed33
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x47ece7
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW_1
mov ecx, eax
lea edx, [ebp - 0x20c]
mov eax, edi
call fcn.00406584
jmp 0x47ed1d
call sub.kernel32.dll_GetCommandLineW_1
mov ebx, eax
cmp word [ebx], 0
jne 0x47ed00
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040649c
jmp 0x47ed13
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0047eaec
mov ebx, eax
test esi, esi
je 0x47ed13
dec esi
jmp 0x47ecee
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00406448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ed3a
lea eax, [ebp - 4]
call fcn.00406438
ret

Function at 0x47f114
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0040e224
add esp, 0x208
pop ebx
ret

Function at 0x47f140
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0040e224
add esp, 0x208
pop ebx
ret
Function at 0x47f448
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47f580
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x47f56a
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x47f4a5
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x47f56a
cmp dword [ebp - 0x14], 0
jne 0x47f4bc
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00406448
mov bl, 1
jmp 0x47f56a
cmp dword [ebp - 0x14], 0x70000000
jb 0x47f4ca
call fcn.00411a58
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00406584
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00406ea8
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
cmp eax, 0xea
je 0x47f46e
test eax, eax
jne 0x47f56a
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x47f518
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x47f56a
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x47f520
dec esi
test esi, esi
je 0x47f52f
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x47f51f
cmp dword [ebp - 0x10], 7
jne 0x47f53a
test esi, esi
je 0x47f53a
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.004067ac
cmp dword [ebp - 0x10], 7
jne 0x47f55d
test esi, esi
je 0x47f55d
lea eax, [ebp - 4]
call fcn.00406ea8
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406448
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f587
lea eax, [ebp - 4]
call fcn.00406438
ret

Function at 0x47f5ac
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 0x47f628
test esi, esi
je 0x47f5d9
cmp word [esi], 0
jne 0x47f628
mov eax, dword [0x4fef70]
cmp dword [eax], 2
je 0x47f628
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 0x47f616
cmp edi, 0xea
jne 0x47f628
test edi, edi
jne 0x47f625
cmp word [esp], 0
jne 0x47f625
mov bl, 1
jmp 0x47f628
inc esi
jmp 0x47f5e7
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47f694
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x47f6a8
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyW
pop esi
pop ebx
ret
cmp dword [0x5041a0], 0
jne 0x47f6cb
push 0x47f6f0
push 0x47f710
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409600
mov dword [0x5041a0], eax
cmp dword [0x5041a0], 0
je 0x47f6e5
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x5041a0]
jmp 0x47f6ea
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x47f72c
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 0x47f89f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x47f760
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
jne 0x47f76a
mov ebx, 0x57
jmp 0x47f889
mov eax, dword [0x4fef70]
cmp dword [eax], 2
jne 0x47f878
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.0047f66c
test eax, eax
jne 0x47f878
xor eax, eax
push ebp
push 0x47f871
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.00406584
xor eax, eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47f7c5
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.00406ea8
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 0x47f830
mov edi, dword [ebp - 4]
test edi, edi
je 0x47f800
sub edi, 4
mov edi, dword [edi]
cmp edi, 0x10000
jge 0x47f85a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x47f81f
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.00406584
jmp 0x47f7b9
test esi, esi
jne 0x47f85a
mov eax, dword [ebp - 4]
call fcn.004064d4
mov ecx, eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebp - 5]
call fcn.0047f72c
test eax, eax
je 0x47f7b9
inc dword [ebp - 0x18]
jmp 0x47f7b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f878
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.0047f694
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f8a6
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x47f938
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 [0x4fef70]
cmp dword [eax], 2
je 0x47f955
mov byte [ebp - 1], 1
jmp 0x47fb23
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 0x4fddd4
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x47fb23
xor eax, eax
push ebp
push 0x47fb1c
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 0x47f9b7
push 0x47fb30
push 0x47fb5c
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409600
mov ebx, eax
test ebx, ebx
je 0x47f9de
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x47fb05
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x47fb05
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 0x47fa2f
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x47fa10
call fcn.00404b68
jmp 0x47fb23
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x47fa2f
call fcn.00404b68
jmp 0x47fb23
xor eax, eax
push ebp
push 0x47fafe
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 0x47fa72
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x47fa72
call fcn.00404b68
call fcn.00404b68
jmp 0x47fb23
mov eax, dword [ebp - 0x14]
call fcn.00403018
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 0x47faa4
call fcn.00404b68
call fcn.00404b68
jmp 0x47fb23
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x47fadf
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 0x47fadb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x47fadb
mov byte [ebp - 1], 1
jmp 0x47fadf
inc ebx
dec esi
jne 0x47fab1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fb05
mov eax, dword [ebp - 0x18]
call fcn.00403034
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 0x47fb23
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 0x48050c
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 0x4805b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fef70]
cmp dword [eax], 2
jne 0x48054f
push 1
mov eax, esi
call fcn.004064d4
push eax
mov eax, edi
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x48059d
mov eax, esi
call fcn.004064d4
mov edx, eax
lea eax, [ebp - 4]
call fcn.004065f4
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x480582
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x48059d
mov eax, esi
call fcn.004064d4
push eax
mov eax, edi
call fcn.004064d4
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 0x4805ba
lea eax, [ebp - 4]
call fcn.00406438
ret

Function at 0x481320
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 0x4881e4
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 0x488394
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.00486e34
pop ecx
test al, al
jne 0x48822b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004884c8
xor ebx, ebx
jmp 0x488394
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x488249
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.004884c8
xor ebx, ebx
jmp 0x488394
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.0049de54
test eax, eax
jne 0x488280
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.004884c8
xor ebx, ebx
jmp 0x488394
test byte [edi + 4], 1
je 0x48838d
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.00486e34
pop ecx
test al, al
jne 0x4882b4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004884c8
xor ebx, ebx
jmp 0x488394
mov edx, dword [0x4844bc]
mov eax, 0xc
call fcn.0040765c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48835f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00405d30
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00405ac4
mov edx, dword [ebp - 4]
call fcn.00486e34
pop ecx
test al, al
jne 0x488322
mov edx, dword [0x4844bc]
mov eax, dword [ebp - 8]
call fcn.00407670
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004884c8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488394
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00481b90
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.00481fa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48838d
dec esi
jne 0x488202
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2b20
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 0x4a2b6c
cmp dword [ebp - 0x104], 2
jne 0x4a2b6c
cmp dword [ebp - 0x110], 5
ja 0x4a2b6a
cmp dword [ebp - 0x110], 5
jne 0x4a2b6c
cmp dword [ebp - 0x10c], 1
jb 0x4a2b6c
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a8bd8
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x504414
mov eax, esi
mov edx, 8
test al, 1
je 0x4a8bf4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a8bf6
shr eax, 1
dec edx
jne 0x4a8be7
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a8be0
pop esi
ret

Function at 0x4a8c0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x504410], 0
jne 0x4a8c2f
call fcn.004a8bd8
push 1
push 0x504410
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4a8c5a
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x504414]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4a8c35
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4a97c4
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 0x4aa4b0
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.004064d4
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x4aa552
mov eax, ebx
call fcn.00403018
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4aa54b
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 0x4aa535
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4aa574
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4aa535
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 0x4aa569
mov eax, dword [ebp - 0x10]
call fcn.00403034
ret
mov eax, dword [0x4fef70]
cmp dword [eax], 1
je 0x4aa569
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004aa2d4
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aa77c
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.004aa730
test al, al
jne 0x4aa79d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4aa7eb
xor eax, eax
push ebp
push 0x4aa7db
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.004064d4
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 0x4aa7e2
lea eax, [ebp - 0xc]
call fcn.004aa76c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4aa7f4
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.004aa730
test al, al
jne 0x4aa818
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4aa87e
xor eax, eax
push ebp
push 0x4aa86e
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 0x4aa875
lea eax, [ebp - 0xc]
call fcn.004aa76c
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x4aa88c
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.004aa730
test al, al
jne 0x4aa8b0
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4aa908
xor eax, eax
push ebp
push 0x4aa8f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.004064d4
push eax
mov eax, esi
call fcn.004064d4
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 0x4aa8ff
lea eax, [ebp - 0xc]
call fcn.004aa76c
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4