joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
push str.SoftwarePinstall_s
lea eax, [ebp - 0x204]
push 0x100
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
add esi, 0x508
je 0x40c0a8
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x204]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40c0a8
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c070
mov ecx, dword [ebp - 0x208]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.offerDate
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004276fb
mov esp, ebp
pop ebp
ret

Function at 0x40c0c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
push str.SoftwarePinstall_s
lea eax, [ebp - 0x204]
push 0x100
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
add esi, 0x508
je 0x40c168
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x204]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40c168
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c130
mov ecx, dword [ebp - 0x208]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.installDate
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004276fb
mov esp, ebp
pop ebp
ret
Function at 0x40d4c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44015a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x45407c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
push str.Handle_response...
push str.INFO
call fcn.00404920
cmp dword [edi + 0xc14], 0
jne 0x40d6ec
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d6b2
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
push edi
call fcn.0042770a
add esp, 4
push 0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push ebx
call fcn.00406b50
add esp, 8
lea esi, [ebp - 0x48]
call fcn.00408810
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x14]
push 0x458994
push esi
lea ecx, [ebp - 0x48]
call fcn.00425990
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x40d59e
mov ecx, dword [ebx]
push str.Cant_parse_xml
push str.INFO
call fcn.00404920
push str.time
lea eax, [ebp - 0x48]
call fcn.00425e50
push str.idState
lea eax, [ebp - 0x48]
call fcn.00425e50
cmp eax, edi
je 0x40d5bf
mov edi, dword [eax + 4]
push esi
call fcn.00427715
add esp, 4
test edi, edi
je 0x40d68e
mov ecx, str.free
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d5fd
test dx, dx
je 0x40d5f9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d5fd
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d5d7
xor eax, eax
jmp 0x40d602
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40d63d
cmp word [ebx + 0x804], ax
lea esi, [ebx + 0x804]
je 0x40d62c
push str.s_user_id
mov ecx, str.SoftwarePinstall
mov edx, SysReAllocString
call fcn.00405af0
add esp, 4
mov dword [ebx + 0xc14], 1
push str.s_user_id_is_free
jmp 0x40d682
mov ecx, str.busy
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d66a
test dx, dx
je 0x40d666
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d66a
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d644
xor eax, eax
jmp 0x40d66f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40d68e
mov dword [ebx + 0xc14], 2
push str.s_user_id_is_busy
mov ecx, dword [ebx]
push str.INFO
call fcn.00404920
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.00424c70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x400
call fcn.0042770a
add esp, 4
push ebx
push str.Cant_open_response_file__s
mov esi, eax
push 0x200
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov ecx, dword [edi]
add esp, 0x10
push esi
push str.INFO
call fcn.00404920
push esi
call fcn.00427715
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40d810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x40000
xor esi, esi
call fcn.0042770a
add esp, 4
push esi
push esi
mov edi, eax
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov edx, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 4]
push ecx
push 0x40000
push edi
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x40d898
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x40d898
xor eax, eax
test ecx, ecx
je 0x40d87e
lea ecx, [ecx]
movzx edx, byte [eax + edi]
cmp word [esi*2 + 0x456c3c], dx
jne 0x40d876
cmp esi, 0x19
je 0x40d8ac
inc esi
jmp 0x40d878
xor esi, esi
inc eax
inc ebx
cmp eax, ecx
jb 0x40d860
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 0x40000
push edi
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x40d850
push edi
call fcn.00427715
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00427715
add esp, 4
pop edi
pop esi
lea eax, [ebx + 1]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40df90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43f23e
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x45407c]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x45407c]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, ecx
push 0x400
mov dword [esp + 0x1c], edi
call fcn.0042770a
mov ecx, dword [edi + 0x40]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x20]
add esp, 4
add eax, 0x264
push eax
mov eax, dword [edx + 0x2c]
push 0x200
push esi
call eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00427715
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
add esp, 4
push 0x18
mov dword [esp + 0x24], ecx
call fcn.00427771
mov esi, eax
add esp, 4
test esi, esi
je 0x40e09c
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x14]
mov ecx, dword [edx + 0x20]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push 0
push 0
push 0
push edx
push 0xa
push ebx
add eax, 0xfffffff6
push eax
push 0
push 0x50000001
push 0x446884
push str.msctls_progress32
add ecx, 8
push 0
mov dword [esi + 4], ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40e09e
xor esi, esi
mov eax, dword [edi + 8]
mov dword [edi + 0x58], esi
mov eax, dword [eax + 0x10]
push 0x424
mov dword [esp + 0x2c], eax
call fcn.00427771
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
xor eax, eax
mov dword [esp + 0x240], eax
cmp esi, eax
je 0x40e13f
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x20]
mov ecx, str.INFORMATION
mov ebx, eax
shl ebx, 5
sub ebx, eax
movzx eax, word [ecx]
add ecx, 2
add eax, ebx
cmp ecx, 0x448a4e
jl 0x40e0d6
mov dword [esp + 0x14], eax
lea eax, [edx + 0x264]
lea edx, [esp + 0x14]
call fcn.00405250
mov ebx, dword [eax]
test ebx, ebx
jne 0x40e10b
mov ebx, str.INFORMATION
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x28]
mov edi, dword [ecx + 4]
mov eax, dword [eax + 4]
push ebx
push 0x64
add edx, 0xffffffe2
push edx
push 0x14
add ecx, 8
push ecx
push eax
mov ebx, 0x14
call fcn.00422030
mov edi, dword [esp + 0x18]
mov dword [esi], vtable.UrlLinkLabel.0
jmp 0x40e141
xor esi, esi
mov dword [esp + 0x240], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx + 0x2c]
mov ecx, edi
mov dword [edi + 0x5c], esi
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
push 0x100
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call edx
mov ecx, dword [edi + 0x5c]
lea eax, [esp + 0x2c]
push eax
add ecx, 0x224
push 0x100
push ecx
call fcn.00428080
add esp, 0xc
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004276fb
mov esp, ebp
pop ebp
ret
Function at 0x40e8c0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push 0x446948
push ecx
push eax
call ebx
add esp, 0xc
push 0
add esi, 4
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push esi
push str._sutils.jar
lea edx, [ebp - 0x414]
push 0x104
push edx
call ebx
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e94a
test al, 0x10
jne 0x40e94a
push str.Old_utils.jar_is_found__delete_it
push str.INFO
mov ecx, edi
call fcn.00404920
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0x448c4c
push 0xae
lea eax, [ebp - 0x414]
call fcn.004064b0
push esi
push str._sLicense_ru.rtf
lea edx, [ebp - 0x20c]
push 0x104
push edx
call ebx
push 0x4465c8
push 0x6a
lea eax, [ebp - 0x20c]
call fcn.004064b0
push esi
push str._sLicense_uk.rtf
lea eax, [ebp - 0x20c]
push 0x104
push eax
call ebx
push 0x4465c8
push 0x6c
lea eax, [ebp - 0x20c]
call fcn.004064b0
push esi
push str._sLicense_en.rtf
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call ebx
add esp, 0x48
push 0x4465c8
push 0x6b
lea eax, [ebp - 0x20c]
call fcn.004064b0
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004276fb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410120
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x208
mov ebx, ecx
call fcn.0042770a
push 0x208
mov esi, eax
call fcn.0042770a
add ebx, 0x17e8
push ebx
push str.Software_s
mov edi, eax
push 0x104
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push edi
mov ebx, 0x104
mov edi, str.exec
call fcn.00405900
mov eax, dword [ebp - 4]
push eax
call fcn.00427715
add esp, 0x20
xor bl, bl
cmp word [esi], 0
je 0x4101a6
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4101a4
test al, 0x10
jne 0x4101a4
push esi
mov bl, 1
call fcn.00427715
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
push esi
call fcn.00427715
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410b10
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004094d0
lea eax, [ebx + 0x17e8]
push eax
lea esi, [ebx + 0xfc0]
push esi
push str._s_s.exe
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x208
call fcn.0042770a
push esi
push str._sZona.exe__MINIMIZED
mov edi, eax
push 0x104
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x28
cmp byte [ebx + 5], 0
je 0x410b9c
mov ecx, dword [ebp - 0x414]
push ecx
mov esi, edi
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edx, SysReAllocString
call fcn.00405af0
add esp, 4
jmp 0x410bd8
lea edx, [ebp - 0x410]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x410bd8
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x410]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x410]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00427715
movzx eax, byte [ebx + 6]
push ebx
push eax
call fcn.00410520
add esp, 0xc
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp byte [ebx + 7], 0
je 0x410c7c
push 0x414
call fcn.00427771
mov esi, eax
add esp, 4
test esi, esi
je 0x410c47
lea edx, [ebp - 0x20c]
push edx
lea eax, [esi + 4]
xor ecx, ecx
push 0x208
push eax
mov dword [esi], vtable.CommandWithOneArg.0
mov word [eax], cx
call fcn.00428080
add esp, 0xc
mov dword [esi], vtable.FirewallAdd.0
mov dword [ebp - 0x410], esi
jmp 0x410c51
mov dword [ebp - 0x410], 0
mov ecx, dword [ebp - 0x410]
mov esi, dword [ebx + 0x11884]
push 0x100
lea edi, [ebp - 0x40c]
call fcn.00403b90
mov eax, dword [ebp - 0x410]
push eax
call fcn.00427715
add esp, 4
mov ecx, dword [ebp - 0x414]
push ecx
call fcn.00406990
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004276fb
mov esp, ebp
pop ebp
ret
Function at 0x410e00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push esi
push edi
push eax
mov edi, ecx
push 0x446b64
lea esi, [edi + 0x138c4]
push 0x104
push esi
call ebx
push 0x208
call fcn.0042770a
add edi, 0x17e8
push edi
push str.Software_s
push 0x104
push eax
mov dword [ebp - 8], eax
call ebx
add esp, 0x24
test esi, esi
je 0x410eb2
mov edx, dword [ebp - 8]
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x410eb2
mov eax, esi
lea edx, [eax + 2]
jmp 0x410e80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410e80
mov ecx, dword [ebp - 4]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.DownloadsDir
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
push eax
call fcn.00427715
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410ed0
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push edi
mov ebx, ecx
lea ecx, [ebx + 0x17e8]
push ecx
lea eax, [ebx + 0xfc0]
push eax
push str._s_s.exe
lea edx, [ebp - 0x414]
push 0x104
push edx
call esi
add esp, 0x14
push 0
lea eax, [ebp - 0xa2c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareZona
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x410f83
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410f45
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0xa2c]
push ecx
lea edx, [ebp - 0x414]
push edx
push 1
push 0
push str.exec
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xa2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor edx, edx
lea eax, [ebp - 0x20c]
push eax
push edx
push edx
push edx
push edx
mov word [ebp - 0x20c], dx
call edi
lea ecx, [ebp - 0x20c]
push ecx
push str._sZona.lnk
mov edx, ecx
push 0x104
push edx
call esi
lea esi, [ebx + 0x138c4]
add esp, 0x10
cmp word [esi], 0
jne 0x410fd8
push 0
push str.DEBUG
push str.Unknown_download_dir
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.00406aa0
add esp, 0xc
xor edx, edx
lea eax, [ebp - 0x20c]
push eax
push edx
push edx
push 0xb
push edx
mov word [ebp - 0x20c], dx
call edi
lea ecx, [ebp - 0x20c]
push ecx
push str._sProgramsZona.lnk
mov edx, ecx
push 0x104
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
cmp word [esi], 0
jne 0x41103d
push 0
push str.DEBUG
push str.Unknown_download_dir
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.00406aa0
lea eax, [ebx + 0xfc0]
push eax
lea eax, [ebp - 0xa24]
xor edx, edx
push 0x208
push eax
mov dword [ebp - method.std::error_category.virtual_4], vtable.CommandWithOneArg.0
mov word [ebp - 0xa24], dx
call fcn.00428080
mov esi, dword [ebx + 0x11884]
add esp, 0x18
push 0x100
lea edi, [ebp - 0x614]
lea ecx, [ebp - 0xa28]
mov dword [ebp - method.AddUninstallInfoCommand.virtual_0], vtable.AddUninstallInfoCommand.0
call fcn.00403b90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004276fb
mov esp, ebp
pop ebp
ret
Function at 0x4115f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x420], edx
call fcn.0042770a
add esp, 4
push edi
push str._sZona.jar
mov esi, eax
push 0x104
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x2800
call fcn.0042770a
add esp, 0x14
push esi
push ebx
push 0x449998
mov edi, eax
push 0x1400
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov ebx, dword [ebp - 0x430]
add esp, 0x14
push 0
push edi
mov ecx, 1
call fcn.00405cd0
push edi
mov ebx, eax
call fcn.00427715
add esp, 0xc
push esi
call fcn.00427715
add esp, 4
cmp ebx, 0x407
jbe 0x4116c8
mov esi, dword [ebp - 0x428]
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x4116c8
lea esp, [esp]
cmp ax, 0x20
jb 0x4116db
cmp ax, 0x7e
ja 0x4116db
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4116b0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004276fb
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x420]
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push esi
push str._spluginszxulrunnerplugin.properties
lea eax, [ebp - 0x41c]
push 0x104
push eax
mov byte [ebx], 1
call edi
push esi
push str._spluginszxulrunner10plugin.properties
lea ecx, [ebp - 0x214]
push 0x104
push ecx
call edi
add esp, 0x20
xor eax, eax
push eax
push 1
push 3
push eax
push 1
push SysReAllocString
lea edx, [ebp - 0x41c]
push edx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411759
lea eax, [ebp - 0x424]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x424]
or ecx, dword [ebp - 0x420]
jne 0x41177e
lea edx, [ebp - 0x214]
push edx
call fcn.00405ed0
add esp, 4
or eax, edx
je 0x4116c8
mov ecx, dword [ebp - 0x42c]
mov byte [ebx + 1], 1
call fcn.00406f40
test al, al
jne 0x4117a6
mov byte [ebx + 2], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004276fb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004276fb
mov esp, ebp
pop ebp
ret
Function at 0x4141f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x1a
mov eax, str.using_GlobalMemoryStatusEx
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.004040e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x414253
lea eax, [ebp - 0x2c]
mov ecx, dword [0x458868]
push eax
push str.INFO
call fcn.00404920
cmp dword [ebp - 0x18], esi
jb 0x414275
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427715
add esp, 4
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x70], 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
shrd ecx, eax, 0xa
mov dword [ebp - 0x78], ecx
shr eax, 0xa
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x74], eax
and ecx, 0x80000000
fild qword [ebp - 0x78]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 0
fild qword [ebp - 0x78]
fchs
faddp st(1)
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004276fb
mov esp, ebp
pop ebp
ret

Function at 0x414880
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fc18
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00416a50
fstp qword [ebp - 0x80]
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x1a
mov eax, str.setMaxMemoryPercentOfTotal
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.004040e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x4148eb
lea eax, [ebp - 0x2c]
mov ecx, dword [0x458868]
push eax
push str.INFO
call fcn.00404920
cmp dword [ebp - 0x18], esi
jb 0x41490d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427715
add esp, 4
fldz
fld qword [ebp - 0x80]
fcom st(1)
fnstsw ax
fld qword [0x44cfd8]
test ah, 5
jp 0x41492a
fstp st(1)
fstp st(0)
fstp qword [ebp - 0x80]
jmp 0x414937
fstp st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x414925
fstp st(0)
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x70], 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
shrd ecx, eax, 0xa
mov dword [ebp - 0x78], ecx
shr eax, 0xa
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x74], eax
and ecx, 0x80000000
fild qword [ebp - 0x78]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 0
fild qword [ebp - 0x78]
fchs
faddp st(1)
fmul qword [ebp - 0x80]
fdiv qword [0x44cfd8]
call fcn.0043e8c0
mov dword [edi + 0x1f4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004276fb
mov esp, ebp
pop ebp
ret