joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406bfc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call sub.MSVCRT.dll_strlen
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
lea eax, [edi + 1]
push eax
call ebx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
je 0x406c71
test edi, edi
jle 0x406c36
sub esi, eax
mov ecx, edi
mov dl, byte [esi + eax]
xor dl, 0x13
mov byte [eax], dl
inc eax
dec ecx
jne 0x406c2a
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
call ebx
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0x10
test ebx, ebx
je 0x406c65
push ebx
push edi
push dword [ebp + 8]
call fcn.00406b70
add esp, 0xc
and byte [esi + ebx], 0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406c76
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call sub.MSVCRT.dll_strlen
mov edi, eax
push esi
push edi
push esi
call fcn.00406bb1
mov eax, edi
add esp, 0x10
cdq
sub eax, edx
xor ecx, ecx
sar eax, 1
test eax, eax
jle 0x406ca5
xor byte [ecx + esi], 0x13
inc ecx
cmp ecx, eax
jl 0x406c9c
and byte [eax + esi], 0
pop edi
pop esi
ret
Function at 0x407376
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x407388
leave
ret
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
mov dword [ebp - 4], str.extensions
mov ebx, 0x103
jmp 0x4073a1
xor eax, eax
cmp dword [ebp - 4], eax
je 0x4074c6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x208], eax
je 0x40748a
push dword [ebp - 4]
mov word [ebp - 0x414], ax
mov ecx, 0x81
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43d538
lea eax, [ebp - 0x414]
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4074c6
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4074c6
and word [ebp - 0x20c], ax
push dword [ebp - 4]
mov ecx, 0x81
lea edi, [ebp - 0x20a]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._s_s.bak
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40745f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4074c6
push 4
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4074c6
push dword [ebp - 4]
mov word [ebp - 0x61c], ax
mov ecx, 0x81
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x61a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43d538
lea eax, [ebp - 0x61c]
push ebx
push eax
call esi
lea eax, [ebp - 0x61c]
push eax
call fcn.004245e4
add esp, 0x18
add dword [ebp - 4], 0x20c
cmp dword [ebp - 4], 0x43d524
jl 0x40739f
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407831
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and word [ebp - 0x210], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
mov dword [ebp - 4], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x103
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x4078ae
cmp word [ebp - 0x210], ax
je 0x4078ae
lea eax, [ebp - 0x210]
push eax
push 0x43caa8
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x407ed4
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
jne 0x407ef0
cmp word [eax], di
je 0x408036
push edi
push 0x20
push 3
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x408036
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 2
jb 0x40802f
cmp ebx, 0xffffffff
je 0x40802f
lea ebp, [ebx + 2]
mov dword [esp + 0x18], edi
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
test edi, edi
je 0x40802f
push ebp
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ah, byte [edi + 1]
mov al, byte [edi]
cmp ax, 0xfeff
jne 0x407fcf
lea eax, [edi + 2]
test eax, eax
je 0x408022
mov ebx, dword [sym.imp.MSVCRT.dll_wcstok]
mov ebp, 0x43d70c
push ebp
push eax
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x408022
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp eax, 0xe
pop ecx
jl 0x407fca
cmp eax, 0x14
jge 0x407fca
cmp word [esi + 8], 0x5f
jne 0x407fca
push 5
add esi, 0x12
push 0x43d700
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x40801a
push ebp
push 0
jmp 0x407f8b
mov ebx, dword [sym.imp.MSVCRT.dll_strtok]
mov ebp, 0x43d6fc
push ebp
push edi
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x408022
push esi
call sub.MSVCRT.dll_strlen
cmp eax, 0xe
pop ecx
jl 0x408015
cmp eax, 0x14
jge 0x408015
cmp byte [esi + 4], 0x5f
jne 0x408015
push 5
add esi, 9
push str._auth
push esi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x40801a
push ebp
push 0
jmp 0x407fdc
mov dword [esp + 0x10], 1
push edi
call fcn.0043265a
mov eax, dword [esp + 0x14]
pop ecx
jmp 0x408038
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4080fa
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
je 0x4082ad
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
call esi
test eax, eax
pop ecx
je 0x4082ad
mov edx, 0x81
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x236]
mov word [ebp - 0x238], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x43e]
mov word [ebp - 0x440], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x440]
push 0x26
push eax
push ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 0x208
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x440]
push eax
push str._sInternet_Exploreriexplore.exe
lea eax, [ebp - 0x238]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp - 0x238]
push eax
call edi
test eax, eax
jne 0x4081df
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x467084
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x238]
push eax
call edi
test eax, eax
jne 0x4081df
mov word [ebp - 0x238], bx
lea eax, [ebp - 0x238]
push eax
call esi
pop ecx
pop edi
test eax, eax
jbe 0x408212
push 0xa
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x238]
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4082a8
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x436320
push 0x15
push ebx
push 0x4362e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4082ad
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4082a8
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 4], ebx
je 0x408260
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x20]
mov esi, eax
push edx
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20]
mov word [ebp - 0x20], bx
push edx
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x30]
mov word [ebp - 0x30], 8
mov dword [ebp - 0x28], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 1
pop eax
jmp 0x4082af
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x408fc0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x4684f8
push 8
mov eax, edx
pop esi
test al, 1
je 0x408fda
shr eax, 1
xor eax, 0xedb88320
jmp 0x408fdc
shr eax, 1
dec esi
jne 0x408fcd
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x4688f8
jl 0x408fc8
pop esi
ret

Function at 0x409377
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
and byte [esi], 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4093d3
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4093d3
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4093c2
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov byte [esi], 1
mov eax, esi
pop edi
pop esi
ret 4
Function at 0x40a4cc
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x40de7f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
je 0x40ded1
cmp dword [ebp + 0x10], esi
je 0x40ded1
push esi
push 0x80000080
push 2
push esi
push 3
push 0xc0000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40ded1
mov dword [ebp + 0x10], esi
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push edi
jne 0x40ded7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp + 0x10], esi
sete al
jmp 0x40ded3
Function at 0x40e66e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40e6ed
cmp dword [ebp + 0x10], 0
je 0x40e6ed
mov ecx, eax
shr ecx, 0x10
test cx, cx
jne 0x40e69a
movzx eax, ax
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x40e6ed
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40e6ed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40e6ed
and byte [esi + 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0x1c], 0
push 1
mov dword [esi + 8], eax
pop eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40e7fc
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x40e826
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e826
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jne 0x40e82a
xor eax, eax
jmp 0x40e83b
and dword [esi + 0x10], 0
and dword [esi + 0x1c], 0
push 1
pop eax
mov byte [esi + 4], al
mov dword [esi + 0x18], eax
pop edi
pop esi
ret 4

Function at 0x410073
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp - 4]
xor eax, eax
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x40ffa6
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x411d67
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x411d75
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x411e56
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x435d10]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x435d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x435d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x435d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x435d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x435d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x435d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x435d10]
xor eax, esi
inc edx
dec edi
jne 0x411d92
pop ebx
cmp dword [ebp + 0x10], 0
je 0x411e77
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x435d10]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x411e5c
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x41269d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x4126d1
lea eax, [ebp + 8]
push 0
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4126cc
mov byte [esi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x4126f9
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4126e2
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
pop edi
div dword [ebp + 0xc]
pop esi
pop ebp
ret
Function at 0x413608
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x413685
cmp dword [esi + 4], 0xffffffff
jne 0x413685
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x43f45c
push edi
call dword [sym.imp.MSVCRT.dll_wcscat]
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x413657
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x413657
mov eax, 0x2000000
jmp 0x41368a
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041247e
add esp, 0x10
test eax, eax
jne 0x413675
mov eax, dword [ebp - 4]
jmp 0x41368a
push eax
call fcn.00412978
mov dword [esi], eax
mov eax, dword [0x46a6f8]
pop ecx
jmp 0x41368a
mov eax, 0x1000000
pop esi
leave
ret 0xc

Function at 0x413a75
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x413b18
mov cx, word [edi]
test cx, cx
je 0x413b18
mov eax, edi
mov edx, edi
cmp cx, 0x2f
je 0x413aa6
cmp cx, 0x5c
jne 0x413aa8
mov eax, edx
inc edx
inc edx
mov cx, word [edx]
test cx, cx
jne 0x413a9a
cmp eax, edi
je 0x413ae8
sub eax, edi
push esi
mov esi, eax
lea eax, [ebp - 0x208]
sar esi, 1
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
and word [ebp + esi*2 - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.00413a75
add esp, 0x14
pop esi
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x410]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x410]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
leave
ret
Function at 0x414b80
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 1
call fcn.00404707
xor ebx, ebx
lea ecx, [ebp - 4]
push ebx
push 0x43fbe4
call fcn.00404a42
cmp eax, ebx
jle 0x414d09
add eax, 2
push edi
push eax
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00418426
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x414d00
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.004328a0
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
cmp edx, 0x400
rep stosd dword es:[edi], eax
mov dword [ebp + 8], edx
stosw word es:[edi], ax
jb 0x414c60
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
fild qword [ebp - 0x24]
push ecx
push ecx
lea eax, [ebp - 0x234]
fmul dword [0x436118]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x414c7b
push edx
push str._d_MB
lea eax, [ebp - 0x234]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x43fbc0
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, dword [ebp + 8]
pop ecx
jbe 0x414d00
mov dword [esi + 0xa40], 0x4545c8
mov eax, dword [0x43c4ec]
mov dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0xc], ebx
call fcn.00404768
mov edi, str.iRYOzz
mov eax, edi
test eax, eax
je 0x414cbf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
push dword [ebp + 8]
mov edi, 0x407
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp + 8]
mov dword [esi + 0xf54], 1
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
pop edi
lea ecx, [ebp - 4]
call fcn.00404beb
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 4
Function at 0x41556e
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
push ebx
push esi
push edi
call fcn.0041cd00
add eax, 0x4c
lea ecx, [ebp - 8]
push eax
call fcn.004046c1
lea eax, [ebp - 8]
push str.pluginbar.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418486
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x415611
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x415611
push str.InitPluginbar
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x46a704], eax
je 0x415611
and word [ebp - 0x220], 0
push dword [ebp - 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
push 0x43caa8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push 0x103
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [0x46a704]
and word [ebp - 0xa20], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa1e]
rep stosd dword es:[edi], eax
and dword [ebp - 0x10], 0
push 4
pop ebx
mov dword [ebp - 0xc], 1
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultFAV
lea eax, [ebp - 0xa20]
push 0x3ff
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call esi
add esp, 0x10
lea eax, [ebp - 0x18]
mov edi, str.isinit
mov esi, SysReAllocString
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x415688
cmp dword [ebp - 0x10], 1
je 0x41569d
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 0x469e68
pop edi
mov ecx, eax
pop esi
test ecx, ecx
pop ebx
je 0x4156c2
cmp word [0x469e68], 0
je 0x4156c2
push 0xbb8
push eax
call fcn.00427b2a
pop ecx
pop ecx
call fcn.0041cd00
mov ecx, eax
call fcn.00422ba1
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
leave
ret

Function at 0x4156e0
Capabilities:
Hide graphical window

Disassembly:
add ecx, 0xbfc
jmp 0x418b76
mov eax, dword [ecx + 4]
test eax, eax
je 0x418b86
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret