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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x4bef82
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4de7e0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x4bef82
test cl, 0x48
je 0x4bee17
cmp byte [eax + 5], 0xa
je 0x4bee17
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4bee69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x4bee51
call fcn.004b2947
mov dword [eax], 9
call fcn.004b2950
mov dword [eax], esi
jmp 0x4bee61
cmp eax, 0x6d
je 0x4bef82
push eax
call fcn.004b2959
pop ecx
or eax, 0xffffffff
jmp 0x4bef84
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x4bef7d
test eax, eax
je 0x4bee90
cmp byte [ebx], 0xa
jne 0x4bee90
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x4bee99
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x4bef77
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x4bef67
cmp al, 0xd
je 0x4beecb
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x4bef59
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4beee5
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4beee0
add dword [ebp + 0x10], 2
jmp 0x4bef39
mov dword [ebp + 0x10], eax
jmp 0x4bef55
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4bef0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4bef55
cmp dword [ebp - 0xc], 0
je 0x4bef55
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x4bef2e
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x4bef39
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x4bef58
cmp ebx, dword [ebp + 0xc]
jne 0x4bef3e
cmp byte [ebp - 1], 0xa
jne 0x4bef3e
mov byte [ebx], 0xa
jmp 0x4bef58
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004bab07
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4bef59
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x4beeaf
jmp 0x4bef77
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x4bef77
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x4bef84
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4bf905
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4bf91e
or eax, 0xffffffff
jmp 0x4bf97f
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x4bf97b
push 0x3d
push esi
call fcn.004bfb06
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4bf97b
cmp esi, eax
je 0x4bf97b
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x4ddf84]
sete cl
cmp eax, dword [0x4ddf88]
mov dword [ebp - 4], ecx
jne 0x4bf961
mov edi, eax
call fcn.004bf8a4
mov dword [0x4ddf84], eax
cmp eax, ebx
jne 0x4bf9ba
cmp dword [ebp + 0xc], ebx
je 0x4bf983
cmp dword [0x4ddf8c], ebx
je 0x4bf983
call fcn.004bed1c
test eax, eax
je 0x4bf9ba
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x4bf98c
xor eax, eax
jmp 0x4bf97e
push 4
call fcn.004afd54
cmp eax, ebx
pop ecx
mov dword [0x4ddf84], eax
je 0x4bf97b
mov dword [eax], ebx
cmp dword [0x4ddf8c], ebx
jne 0x4bf9ba
push 4
call fcn.004afd54
cmp eax, ebx
pop ecx
mov dword [0x4ddf8c], eax
je 0x4bf97b
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x4ddf84]
sub edi, esi
push esi
call fcn.004bf857
mov edi, eax
test edi, edi
pop ecx
jl 0x4bfa21
cmp dword [ebx], 0
je 0x4bfa21
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.004af8ef
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x4bfa01
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x4bfa62
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x4bf9f8
mov eax, edi
shl eax, 2
push eax
push dword [0x4ddf84]
call fcn.004b1a4a
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x4bfa62
jmp 0x4bfa5d
cmp dword [ebp - 4], 0
jne 0x4bfac9
test edi, edi
jge 0x4bfa31
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4ddf84]
call fcn.004b1a4a
test eax, eax
pop ecx
pop ecx
je 0x4bf97b
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x4ddf84], eax
cmp dword [ebp + 0xc], 0
je 0x4bfab4
push esi
call fcn.004b2c40
inc eax
inc eax
push eax
call fcn.004afd54
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4bfab4
push esi
push edi
call fcn.004ae970
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4bfaad
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.004af8ef
pop ecx
cmp dword [ebp - 4], 0
je 0x4bfac1
push esi
call fcn.004af8ef
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4bf97e
push esi
call fcn.004af8ef
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x4bf988
Function at 0x4bfcbd
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4dc34c]
xor eax, ebp
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.004bfc8d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004ae820
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4bfd21
cmp dword [ebp - 0x1c], 5
jb 0x4bfd39
jmp 0x4bfd35
cmp dword [ebp - 0x10], 1
jne 0x4bfd39
cmp dword [ebp - 0x1c], 4
ja 0x4bfd35
jne 0x4bfd39
cmp dword [ebp - 0x18], 0
jbe 0x4bfd39
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x4d7a18
call fcn.00436aa9
test eax, eax
jge 0x4bfd5a
mov byte [0x4dd1b4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004baa5e
add ebp, 0x78
leave
ret
Function at 0x4030c4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d84
test esi, esi
jne 0x4030fa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404e74
jmp 0x403118
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402fc8
mov edi, eax
test esi, esi
je 0x403118
cmp dword [ebx], 0
je 0x403118
dec esi
jmp 0x403101
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x466020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403df8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403dd8
xor eax, eax
push ebp
push 0x403dd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403e14
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403dd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x466020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x466020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404c04
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x468048], 0
je 0x404c65
cmp word [0x46821c], 0xd7b2
jne 0x404c2d
cmp dword [0x468224], 0
jbe 0x404c2d
mov eax, 0x468218
call dword [0x468234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404c8c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46602c], 0
jne 0x404c81
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406258
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406488
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4062db
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406488
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4062db
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4064a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406364
xor eax, eax
push ebp
push 0x40635d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406094
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406342
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4064c4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406342
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406364
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40647e
cmp byte [ebp - 0xd], 0
jne 0x4063ab
cmp byte [ebp - 0x12], 0
je 0x40647e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4063c4
dec ebx
cmp byte [ebx], 0x2e
je 0x4063d3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4063c3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40647e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406410
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40647e
cmp byte [ebp - 0xd], 0
je 0x40647e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40647e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40892c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4089bc
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4089bc
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40896f
test edx, 3
jne 0x40895e
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408969
jmp 0x40896f
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40896f
cmp dword [ecx - 8], 1
je 0x408979
mov edx, ebx
or edx, 3
call fcn.004054d0
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40898b
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404d84

Function at 0x4089c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408a58
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408a58
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408a0b
test edx, 3
jne 0x4089fa
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408a05
jmp 0x408a0b
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408a0b
cmp dword [ecx - 8], 1
je 0x408a15
mov edx, ebx
or edx, 3
call fcn.004054d0
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408a27
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404d84

Function at 0x4092d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405248
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4092ed
test al, 0x10
jne 0x4092f1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bdd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40be09
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e74
jmp 0x40be12
mov eax, ebx
mov edx, esi
call fcn.00404dd8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40be1c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40be3e
movzx eax, byte [esp]
jmp 0x40be40
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c4d0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c348
mov eax, dword [0x467c1c]
cmp byte [eax], 0
je 0x40c54c
mov eax, dword [0x467a20]
call fcn.00403490
call fcn.00402e28
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409568
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c594
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c582
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4679c4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46a7f4]
call fcn.0040603c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40cde0
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 0x40ceb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404e1c
lea eax, [ebp - 4]
call fcn.00405298
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405248
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cea0
mov eax, ebx
call fcn.00402ccc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce99
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.00405248
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce83
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cec8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce83
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 0x40cea0
mov eax, dword [ebp - 0x10]
call fcn.00402ce8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cebd
lea eax, [ebp - 4]
call fcn.00404d84
ret
Function at 0x41be20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46b300
cmp dword [edi], 0
jne 0x41be9c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46b2fc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x466af8
mov ecx, 2
call fcn.00402ec8
mov edx, 0x41bdf8
lea eax, [esi + 5]
call fcn.0041be18
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041be18
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41be71
mov dword [0x46b2fc], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41e418
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405248
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41e470
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x467d50]
mov dl, 1
mov eax, dword [0x41df3c]
call fcn.0040c690
call fcn.004047cc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041e044
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41f600
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41f606
ret
Function at 0x42ea30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405238
xor eax, eax
push ebp
push 0x42eb65
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42eb38
xor edx, edx
push ebp
push 0x42eb31
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x42ea7d
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42eb06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x42eaf5
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x42eabc
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405248
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402ec8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eafc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x467964]
mov dl, 1
mov eax, dword [0x407c98]
call fcn.0040c654
call fcn.004047cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eb6c
lea eax, [ebp - 4]
call fcn.00404d84
ret
Function at 0x42eb74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42ed2f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405534
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x42ed48
call fcn.00405094
mov eax, ebx
call fcn.0041b3a0
mov edi, eax
dec edi
test edi, edi
jl 0x42ec2c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b374
mov edx, dword [0x42a204]
call fcn.004040e4
test al, al
je 0x42ec28
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041b374
lea edx, [ebp - 0x14]
call fcn.0043d438
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405534
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405108
inc esi
dec edi
jne 0x42ebda
movzx eax, byte [0x42ed4c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42ed58
mov eax, dword [ebp - 8]
call fcn.0040d8a4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404e1c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043d438
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42ed48
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0043d438
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42ed48
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42ed48
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42ed64
call fcn.00409c6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ed36
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404da8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404da8
lea eax, [ebp - 0x14]
call fcn.00404d84
lea eax, [ebp - 0x10]
call fcn.00404d84
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404da8
ret