joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4278d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041cca0
cmp word [esi + 0x90c], 0
lea edi, [esi + 0x90c]
jne 0x427935
cmp word [esi + 0x704], 0
lea ebx, [esi + 0x704]
jne 0x427915
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
push 0x104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x427929
mov word [edi], ax
cmp word [edi], 0
lea ecx, [esi + 0x704]
je 0x427937
mov ecx, edi
lea eax, [esi + 0xbec]
push eax
push ecx
push 0x47a144
push 0x479538
mov dword [ebp - 0x410], eax
call fcn.00405c30
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 8
push eax
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call ebx
push 0x208
call fcn.0045081c
add esp, 0x18
cmp word [edi], 0
mov dword [ebp - 0x414], eax
jne 0x4279bf
cmp word [esi + 0x704], 0
jne 0x427997
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
push 0x104
push edi
lea eax, [esi + 0x704]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x4279b3
xor ecx, ecx
mov word [edi], cx
cmp word [edi], 0
jne 0x4279bf
lea edi, [esi + 0x704]
push edi
push str.sZona.exe__MINIMIZED
push 0x479538
call fcn.00405c30
mov edx, dword [ebp - 0x414]
add esp, 8
push eax
push 0x104
push edx
call ebx
mov bl, byte [esi + 9]
push 0x479608
push 0x4793b8
call fcn.00405c30
add esp, 0x18
test bl, bl
je 0x427a18
mov ecx, dword [ebp - 0x410]
mov edi, dword [ebp - 0x414]
push ecx
mov ecx, eax
mov edx, SysReAllocString
call fcn.004039d0
add esp, 4
jmp 0x427a50
lea edx, [ebp - 0x418]
push edx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x427a50
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x414]
push eax
call fcn.00450827
movzx ecx, byte [esi + 0xa]
push ecx
mov ecx, esi
call fcn.00426fd0
add esp, 8
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp byte [esi + 0xb], 0
je 0x427ae6
push 0x414
call fcn.00450883
mov edi, eax
add esp, 4
test edi, edi
je 0x427ac0
lea ecx, [ebp - 0x20c]
push ecx
lea eax, [edi + 4]
xor edx, edx
push 0x208
push eax
mov dword [edi], vtable.CommandWithOneArg.0
mov word [eax], dx
call fcn.00450e0b
add esp, 0xc
mov dword [edi], vtable.FirewallAdd.0
jmp 0x427ac2
xor edi, edi
mov esi, dword [esi + 0x8d30]
mov edx, dword [esi]
mov edx, dword [edx]
push 0x100
lea eax, [ebp - 0x40c]
push eax
push edi
mov ecx, esi
call edx
push edi
call fcn.00450827
add esp, 4
mov eax, dword [ebp - 0x410]
push eax
call fcn.00404ee0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x428de0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e1ec
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x479604
push 0x479144
mov esi, ecx
call fcn.00405c30
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
call ebx
add esp, 0x14
push 0
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push str.sutils.jar
push 0x479538
call fcn.00405c30
add esp, 8
push eax
lea ecx, [ebp - 0x420]
push 0x104
push ecx
call ebx
add esp, 0x10
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x428ea9
test al, 0x10
jne 0x428ea9
push 0x47c0b0
push 0x47acb8
call fcn.00405c30
add esp, 8
push eax
push str.INFO
mov ecx, edi
call fcn.00414290
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x420]
push ecx
lea eax, [ebp - 0x43c]
call fcn.00401cc7
push 0x47c0f4
push 0xae
lea eax, [ebp - 0x43c]
mov dword [ebp - 4], 0
call fcn.00404a80
add esp, 8
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.004012b8
push esi
push str.sLicense_ru.rtf
push 0x479538
call fcn.00405c30
add esp, 8
push eax
lea edx, [ebp - 0x218]
push 0x104
push edx
call ebx
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x43c]
call fcn.00401cc7
push 0x478f6c
push 0x6a
lea eax, [ebp - 0x43c]
mov dword [ebp - 4], 1
call fcn.00404a80
add esp, 8
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.004012b8
push esi
push str.sLicense_uk.rtf
push 0x479538
call fcn.00405c30
add esp, 8
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call ebx
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x43c]
call fcn.00401cc7
push 0x478f6c
push 0x6c
lea eax, [ebp - 0x43c]
mov dword [ebp - 4], 2
call fcn.00404a80
add esp, 8
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.004012b8
push esi
push str.sLicense_en.rtf
push 0x479538
call fcn.00405c30
add esp, 8
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
lea eax, [ebp - 0x458]
call fcn.00401cc7
mov dword [ebp - 4], 3
push 0x478f6c
push 0x6b
lea eax, [ebp - 0x458]
call fcn.00404a80
add esp, 8
lea ecx, [ebp - 0x458]
call fcn.004012b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42bba0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fab8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042cd40
fstp qword [ebp - 0x84]
add esp, 4
push str.setMaxMemoryPercentOfTotal
lea eax, [ebp - 0x30]
call fcn.00401cc7
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00401489
mov ecx, dword [0x494034]
push eax
push str.INFO
call fcn.00414290
lea ecx, [ebp - 0x30]
call fcn.004012b8
fldz
fld qword [ebp - 0x84]
fcom st(1)
fnstsw ax
fld qword [0x481b80]
test ah, 5
jp 0x42bc32
fstp st(1)
fstp st(0)
fstp qword [ebp - 0x84]
jmp 0x42bc3f
fstp st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x42bc2a
fstp st(0)
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
shrd ecx, eax, 0xa
mov dword [ebp - 0x7c], ecx
shr eax, 0xa
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x78], eax
and ecx, 0x80000000
fild qword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], 0
fild qword [ebp - 0x7c]
fchs
faddp st(1)
fmul qword [ebp - 0x84]
fdiv qword [0x481b80]
call fcn.0046bc70
mov dword [esi + 0x1f4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 4

Function at 0x42bcc0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fab8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042cd40
fstp qword [ebp - 0x84]
add esp, 4
push str.setInitMemoryPercentOfTotal
lea eax, [ebp - 0x30]
call fcn.00401cc7
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00401489
mov ecx, dword [0x494034]
push eax
push str.INFO
call fcn.00414290
lea ecx, [ebp - 0x30]
call fcn.004012b8
fldz
fld qword [ebp - 0x84]
fcom st(1)
fnstsw ax
fld qword [0x481b80]
test ah, 5
jp 0x42bd52
fstp st(1)
fstp st(0)
fstp qword [ebp - 0x84]
jmp 0x42bd5f
fstp st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x42bd4a
fstp st(0)
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
shrd ecx, eax, 0xa
mov dword [ebp - 0x7c], ecx
shr eax, 0xa
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x78], eax
and ecx, 0x80000000
fild qword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], 0
fild qword [ebp - 0x7c]
fchs
faddp st(1)
fmul qword [ebp - 0x84]
fdiv qword [0x481b80]
call fcn.0046bc70
mov dword [esi + 0x200], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 4
Function at 0x4328f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f788
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov esi, edx
push ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x432a34
test al, 0x10
jne 0x432a34
push 0x2800
call fcn.0045081c
mov dword [ebp - 0x38], eax
add esp, 4
lea edi, [ebp - 0x30]
mov eax, ebx
call fcn.004041b0
mov edi, dword [ebp - 0x30]
add eax, edi
mov dword [ebp - 0x30], eax
sub eax, edi
mov dword [ebp - 0x34], edi
cmp eax, 0x1f
jl 0x4329a3
mov esi, edi
sub esi, str.ru_megamakc_core_JavaArch.class
mov ecx, str.ru_megamakc_core_JavaArch.class
lea esp, [esp]
cmp ecx, 0x47e38b
je 0x432a0c
mov dl, byte [esi + ecx]
cmp dl, byte [ecx]
jne 0x432996
inc ecx
jmp 0x432980
inc dword [ebp - 0x34]
dec eax
inc esi
cmp eax, 0x1f
jge 0x432974
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jae 0x432a14
push edi
call fcn.00450827
add esp, 4
push str.JavaArch.class_found
push str.INFO
mov ecx, esi
call fcn.00414290
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x38]
push ebx
push eax
push str.__s_binjavaw.exe___classpath___s__ru.megamakc.core.JavaArch
push 0x1400
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 0
push edi
mov ebx, esi
mov ecx, 1
call fcn.00403bd0
mov ecx, edi
add esp, 0xc
push ecx
mov esi, eax
call fcn.00450827
xor eax, eax
add esp, 4
cmp esi, 0x20
sete al
jmp 0x432a6b
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
jmp 0x4329a6
push str.JavaArch.class_NOT_FOUND
push str.ERROR
mov ecx, esi
call fcn.00414290
test edi, edi
je 0x432a69
push edi
call fcn.00450827
add esp, 4
jmp 0x432a69
push ebx
lea eax, [ebp - 0x2c]
call fcn.00401cc7
push str._not_found
push eax
mov dword [ebp - 4], 0
call fcn.00401cf8
call fcn.00401489
push eax
push str.INFO
mov ecx, esi
call fcn.00414290
lea ecx, [ebp - 0x2c]
call fcn.004012b8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x432d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472e0c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x48f310]
xor eax, esp
mov dword [esp + 0x4bc], eax
push esi
push edi
mov eax, dword [0x48f310]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
xor esi, esi
push str._sjre
lea edx, [esp + 0xbc]
mov edi, ecx
mov dword [esp + 0x18], esi
call fcn.00421910
lea eax, [esp + 0xbc]
push eax
push str._s_binclientjvm.dll
lea edx, [esp + 0x2cc]
call fcn.00421910
add esp, 0x10
lea ecx, [esp + 0x2bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x432f90
test al, 0x10
jne 0x432f90
push str.Local_Java_is_found__check_version...
push str.INFO
mov ecx, edi
call fcn.00414290
lea edx, [esp + 0x2bc]
push edx
push str.INFO
mov ecx, edi
call fcn.00414290
push edi
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x3c]
call fcn.00449960
add esp, 4
lea eax, [esp + 0x38]
mov dword [esp + 0x4d8], esi
call fcn.00401489
push eax
push str.INFO
mov ecx, edi
call fcn.00414290
lea eax, [esp + 0x5c]
push eax
call fcn.00449b40
push esi
push edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x4e0], 1
call fcn.00449bf0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x5c]
call fcn.004328a0
lea ecx, [esp + 0x14]
call fcn.004012b8
push str.Local_Java_is_good__use_it
push str.INFO
mov ecx, edi
call fcn.00414290
push 0xc8
call fcn.00450883
add esp, 4
test eax, eax
je 0x432ecd
mov esi, eax
call fcn.004295d0
mov esi, eax
jmp 0x432ecf
xor esi, esi
push 0xffffffffffffffff
push 0x4942a8
xor eax, eax
mov ecx, esi
call fcn.00401e6a
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x18]
call fcn.00401cc7
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x8c]
xor eax, eax
mov byte [esp + 0x4e0], 4
call fcn.00401e6a
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d8], 1
call fcn.004012b8
lea eax, [esp + 0x38]
call fcn.00401489
push eax
lea eax, [esp + 0x18]
call fcn.00401cc7
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x38]
xor eax, eax
mov byte [esp + 0x4e0], 5
call fcn.00401e6a
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d8], 1
call fcn.004012b8
mov ecx, esi
mov edi, ebx
call fcn.00434600
lea ecx, [esp + 0x90]
call fcn.004012b8
lea ecx, [esp + 0x74]
call fcn.004012b8
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esp + 0x38]
call fcn.004012b8
mov al, 1
jmp 0x432f92
xor al, al
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4bc]
xor ecx, esp
call fcn.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x434ca0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x2b8]
push ecx
xor ebx, ebx
push 0x20019
mov dword [ebp - 0x2c0], eax
push ebx
mov eax, esi
mov dword [ebp - 0x2c4], esi
mov dword [ebp - 4], ebx
call fcn.00401489
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x434f45
mov dword [ebp - 0x2b4], ebx
xor eax, eax
cmp eax, ebx
jne 0x434f38
mov ecx, dword [ebp - 0x2b4]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x2c8]
push edx
mov edx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x224]
push eax
push ecx
push edx
mov dword [ebp - 0x2c8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x2bc], eax
cmp eax, ebx
jne 0x434ecd
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x25c]
call fcn.00401cc7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24c], ebx
jne 0x434d83
mov byte [ebp - 4], bl
jmp 0x434ec2
push 0x4795d0
lea eax, [ebp - 0x294]
call fcn.00401cc7
mov edi, eax
mov eax, esi
lea ebx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call fcn.0042a680
mov edi, eax
lea eax, [ebp - 0x25c]
lea ebx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.0042c890
lea ecx, [ebp - 0x2b0]
call fcn.004012b8
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 6
call fcn.004012b8
mov ecx, ebx
push ecx
lea edx, [ebp - 0x240]
push str.fullKeyPath
push edx
call fcn.0040ae00
add esp, 0xc
mov byte [ebp - 4], 7
call fcn.00401489
mov ecx, dword [0x494034]
push eax
push str.INFO
call fcn.00414290
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 6
call fcn.004012b8
push str.JavaHome
lea eax, [ebp - 0x240]
call fcn.00401cc7
lea edx, [ebp - 0x240]
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.00435250
lea ecx, [ebp - 0x240]
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.004012b8
cmp dword [ebx + 0x10], 0
je 0x434eb3
push 0xc8
call fcn.00450883
add esp, 4
test eax, eax
je 0x434e71
mov esi, eax
call fcn.004295d0
mov esi, dword [ebp - 0x2c4]
mov edi, eax
jmp 0x434e73
xor edi, edi
push 0xffffffffffffffff
push 0x49421c
xor eax, eax
mov ecx, edi
call fcn.00401e6a
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x8c]
xor eax, eax
call fcn.00401e6a
push 0xffffffffffffffff
lea eax, [ebp - 0x25c]
push eax
lea ecx, [edi + 0x38]
xor eax, eax
call fcn.00401e6a
mov ecx, edi
mov edi, dword [ebp - 0x2c0]
call fcn.00434600
lea ecx, [ebp - 0x278]
call fcn.004012b8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.004012b8
inc dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x2bc]
xor ebx, ebx
jmp 0x434d17
mov ecx, dword [ebp - 0x2b8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 4
Function at 0x434f70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f563
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x2d4]
push ecx
xor ebx, ebx
push 0x20019
mov dword [ebp - 0x2dc], eax
push ebx
mov eax, esi
mov dword [ebp - 0x2e0], esi
mov dword [ebp - 4], ebx
call fcn.00401489
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x43522c
mov dword [ebp - 0x2d0], ebx
xor eax, eax
cmp eax, ebx
jne 0x43521f
mov ecx, dword [ebp - 0x2d0]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x2e4]
push edx
mov edx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x224]
push eax
push ecx
push edx
mov dword [ebp - 0x2e4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x2d8], eax
cmp eax, ebx
jne 0x4351b4
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x25c]
call fcn.00401cc7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24c], ebx
jne 0x435053
mov byte [ebp - 4], bl
jmp 0x4351a9
push 0x4795d0
lea eax, [ebp - 0x2cc]
call fcn.00401cc7
mov edi, eax
mov eax, esi
lea ebx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call fcn.0042a680
mov edi, eax
lea eax, [ebp - 0x25c]
lea ebx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.0042c890
lea ecx, [ebp - 0x2b0]
call fcn.004012b8
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 6
call fcn.004012b8
push str.fullKeyPath
lea eax, [ebp - 0x294]
call fcn.00401cc7
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x240]
mov byte [ebp - 4], 7
call fcn.0042c890
mov byte [ebp - 4], 8
call fcn.00401489
mov ecx, dword [0x494034]
push eax
push str.INFO
call fcn.00414290
mov ecx, ebx
call fcn.004012b8
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 6
call fcn.004012b8
push str.JavaHome
lea eax, [ebp - 0x240]
call fcn.00401cc7
lea edx, [ebp - 0x240]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 9
call fcn.00435250
lea ecx, [ebp - 0x240]
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.004012b8
cmp dword [ebx + 0x10], 0
je 0x43519a
push 0xc8
call fcn.00450883
add esp, 4
test eax, eax
je 0x435158
mov esi, eax
call fcn.004295d0
mov esi, dword [ebp - 0x2e0]
mov edi, eax
jmp 0x43515a
xor edi, edi
push 0xffffffffffffffff
push 0x4942a8
xor eax, eax
mov ecx, edi
call fcn.00401e6a
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x8c]
xor eax, eax
call fcn.00401e6a
push 0xffffffffffffffff
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [edi + 0x38]
xor eax, eax
call fcn.00401e6a
mov ecx, edi
mov edi, dword [ebp - 0x2dc]
call fcn.00434600
lea ecx, [ebp - 0x278]
call fcn.004012b8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.004012b8
inc dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2d8]
xor ebx, ebx
jmp 0x434fe7
mov edx, dword [ebp - 0x2d4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 4
Function at 0x436100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov dword [ebp - 0x20c], eax
cmp ebx, dword [eax + 4]
je 0x4361f8
push esi
push edi
lea ebx, [ebx]
mov eax, dword [ebx]
mov esi, dword [eax + 4]
push esi
push str.oftwarePinstall_s
push 0x4793b8
call fcn.00405c30
add esp, 8
push eax
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push str.fferDate
push 0x47927c
call fcn.00405c30
add esp, 0x18
add esi, 0xb30
mov edi, eax
je 0x4361e4
push 0
lea edx, [ebp - 0x208]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4361e4
mov eax, esi
lea edx, [eax + 2]
jmp 0x4361b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4361b0
sub eax, edx
mov edx, dword [ebp - 0x208]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20c]
add ebx, 4
cmp ebx, dword [ecx + 4]
jne 0x436130
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045080d
mov esp, ebp
pop ebp
ret 4

Function at 0x437ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebx], 0
mov eax, dword [ebp + 0xc]
push edi
je 0x437fc1
push eax
push str._sinit.xml
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push str.write_init_xml_to
push str.INFO
mov ecx, esi
call fcn.00414290
lea ecx, [ebp - 0x210]
push ecx
push str.INFO
mov ecx, esi
call fcn.00414290
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x437f8d
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 0x414]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createInitXml__d
lea edx, [ebp - 0x410]
push 0x100
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
push str.ERROR
mov ecx, esi
call fcn.00414290
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x439de0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4729c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
call fcn.00404e00
mov ecx, dword [ebp + 0xc]
push 1
push edi
push edi
push 0x36ee80
push ecx
push 2
push edi
sub esp, 0x1c
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], esp
mov edi, esp
push ecx
mov eax, esp
xor esi, esi
mov dword [ebp - 0x38], esp
call fcn.00402a24
mov eax, edi
call fcn.00401f4d
push esi
push esi
call fcn.004012f5
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
mov ecx, edi
call fcn.00401e6a
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 4]
sub esp, 0x1c
add ecx, 0x880
mov eax, esp
mov dword [ebp - 0x38], esp
push ecx
call fcn.00401cc7
push str.artnerUtilId
push 0x47a470
mov byte [ebp - 4], 2
call fcn.00405c30
sub esp, 0x14
mov edx, esp
mov dword [ebp - 0x30], esp
push eax
mov eax, edx
call fcn.00401cc7
push ebx
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00445f40
add esp, 0x74
mov eax, ebx
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439ec9
test al, 0x10
je 0x439ed2
xor esi, esi
mov eax, ebx
call fcn.004012d8
lea ecx, [ebp - 0x2c]
call fcn.004012b8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret