joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a1a6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x177c
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x177c], ecx
push 0x1770
lea ecx, [ebp - 0x1774]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x40a269
and dword [ebp - 0x1778], 0
lea eax, [ebp - 0x1774]
push eax
call fcn.0041d280
pop ecx
test eax, eax
jbe 0x40a234
mov eax, dword [ebp - 0x1778]
lea eax, [ebp + eax - 0x1774]
cmp byte [eax], 0x2f
jne 0x40a219
mov byte [eax], 0x5c
inc dword [ebp - 0x1778]
lea eax, [ebp - 0x1774]
push eax
call fcn.0041d280
pop ecx
cmp dword [ebp - 0x1778], eax
jb 0x40a204
lea eax, [ebp - 0x1774]
push eax
push esi
call fcn.0040831a
pop ecx
pop ecx
test al, al
je 0x40a265
push 1
push 0
push dword [ebp - 0x177c]
push ebx
push edi
push esi
call fcn.00409bf7
add esp, 0x18
test al, al
je 0x40a265
xor eax, eax
inc eax
jmp 0x40a26b
xor eax, eax
jmp 0x40a26b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d798
leave
ret
Function at 0x40a67e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
push ebx
mov byte [eax], 0
lea eax, [ebp - 0x20]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREej_technologiesexe4jlocatedjvms_
push dword [ebp + 8]
mov byte [ebp - 1], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a7f4
push esi
mov esi, 0x1770
push edi
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0041d128
push esi
mov dword [ebp - 0x1c], eax
call fcn.0041d128
push esi
mov dword [ebp - 0xc], eax
call fcn.0041d128
push esi
mov edi, eax
call fcn.0041d128
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push ebx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x40a7b8
mov eax, dword [ebp - 8]
push dword [ebp - 0xc]
mov byte [edi], 0
mov byte [eax], 0
call fcn.0041d280
inc eax
pop ecx
test eax, eax
jle 0x40a73b
mov edx, dword [ebp - 0xc]
mov ecx, edi
sub edx, edi
mov dword [ebp - 0x24], eax
mov al, byte [edx + ecx]
cmp al, 0x2f
jne 0x40a733
mov byte [ecx], 0x5c
jmp 0x40a735
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x24]
jne 0x40a727
cmp byte [ebp + 0x1c], 0
jne 0x40a752
push str.i4j_jres
push edi
call fcn.0041f360
pop ecx
pop ecx
test eax, eax
je 0x40a798
push 1
push 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 8]
push edi
call fcn.00409bf7
add esp, 0x18
test al, al
je 0x40a798
push dword [ebp + 0x10]
push dword [ebp - 8]
call fcn.00409b1d
pop ecx
pop ecx
test al, al
je 0x40a798
push dword [ebp - 8]
push dword [ebp + 0x10]
call fcn.0041d6a0
push edi
push dword [ebp + 0xc]
call fcn.0041d6a0
add esp, 0x10
mov byte [ebp - 1], 1
inc dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push 0
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
push dword [ebp - 0x20]
call ebx
cmp eax, 0x103
jne 0x40a706
push edi
call fcn.0041d558
push dword [ebp - 8]
call fcn.0041d558
push dword [ebp - 0x1c]
call fcn.0041d558
push dword [ebp - 0xc]
call fcn.0041d558
add esp, 0x10
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x40adb6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x4500c4]
mov dword [ebp - 4], 0x4500c4
jmp 0x40ae18
mov eax, dword [ebp - 4]
mov edi, dword [eax]
push edi
call fcn.0041d280
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0041d128
pop ecx
pop ecx
test esi, esi
jle 0x40adfa
mov ecx, eax
sub edi, eax
mov edx, esi
mov bl, byte [edi + ecx]
xor bl, 0xbb
mov byte [ecx], bl
inc ecx
dec edx
jne 0x40adee
push esi
push eax
push dword [ebp + 8]
mov byte [eax + esi], 0
call fcn.0041e171
add esp, 0xc
test eax, eax
je 0x40ae29
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
push dword [eax]
call fcn.0041d280
pop ecx
test eax, eax
ja 0x40adcc
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov al, 1
jmp 0x40ae24

Function at 0x40af7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x40afac
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edi
movsx edi, byte [edx]
mov eax, dword [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4500c8]
inc edx
dec esi
mov dword [ecx], eax
jne 0x40af8e
pop edi
pop esi
ret
Function at 0x40b3dc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x465c
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
cmp dword [0x45f164], esi
jne 0x40b430
push 0x18
call fcn.0041d963
mov edx, eax
pop ecx
cmp edx, esi
je 0x40b41e
push 6
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [0x45f164], edx
jmp 0x40b424
mov dword [0x45f164], esi
push dword [0x45f164]
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push dword [0x45f164]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x45f160]
cmp eax, esi
je 0x40b45f
cmp dword [0x45f15c], esi
jne 0x40b45f
push str.a_ccsUTF_8
push eax
call fcn.0041f347
pop ecx
pop ecx
mov dword [0x45f15c], eax
cmp byte [0x45f158], 0
jne 0x40b60a
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push ebx
mov bl, byte [0x463844]
mov edi, 0x1770
push edi
lea eax, [ebp - 0x1774]
push eax
push str.EXE4J_LOG
mov byte [0x45f158], 1
call esi
test eax, eax
jbe 0x40b4b1
lea eax, [ebp - 0x1774]
push 0x43b11c
push eax
call fcn.0041ebd0
pop ecx
pop ecx
test eax, eax
jne 0x40b4b1
mov bl, 1
push edi
lea eax, [ebp - 0x1774]
push eax
push str.INSTALL4J_LOG
call esi
test eax, eax
jbe 0x40b4dd
lea eax, [ebp - 0x1774]
push 0x43b11c
push eax
call fcn.0041ebd0
pop ecx
pop ecx
test eax, eax
jne 0x40b4dd
mov bl, 1
test bl, bl
pop ebx
jne 0x40b4ed
push 0x40b3c6
call fcn.0041e3d5
pop ecx
mov edi, 0x2ee0
push edi
call fcn.0041d128
mov esi, eax
xor eax, eax
push eax
push esi
mov word [esi], ax
call fcn.00405043
push esi
call fcn.0041da4b
add esp, 0x10
test eax, eax
jne 0x40b520
push 0x43b104
push esi
call fcn.0041dfba
jmp 0x40b53c
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
je 0x40b53e
cmp ax, 0x2f
je 0x40b53e
push 0x43b100
push esi
call fcn.0041df8c
pop ecx
pop ecx
push edi
call fcn.0041d128
pop ecx
mov dword [0x45f160], eax
xor edi, edi
inc edi
push edi
push esi
push str._si4j_nlog__d.log
push dword [0x45f160]
call fcn.0040b3b0
push dword [0x45f160]
call fcn.00404767
add esp, 0x14
test al, al
je 0x40b579
cmp edi, 0x3e8
jl 0x40b54c
push esi
call fcn.0041d558
mov esi, str.w_ccsUTF_8
push esi
push dword [0x45f160]
call fcn.0041f347
add esp, 0xc
mov dword [0x45f15c], eax
test eax, eax
jne 0x40b5b8
mov eax, str.c:i4j_nlog
push esi
push eax
mov dword [0x45f160], eax
call fcn.0041f347
pop ecx
pop ecx
mov dword [0x45f15c], eax
test eax, eax
je 0x40b60a
push 0x1770
lea eax, [ebp - 0x4654]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x465c]
push eax
call fcn.0041eb56
lea eax, [ebp - 0x465c]
push eax
call fcn.0042210e
push eax
lea eax, [ebp - 0x4654]
push eax
push str.Started_executable__s_at__S_n
push dword [0x45f15c]
call fcn.00422171
push dword [0x45f15c]
call fcn.0041e5d7
add esp, 0x1c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041d798
leave
ret
Function at 0x40b6d3
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x16fc]
mov eax, 0x177c
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp + 0x16f8], eax
push esi
xor esi, esi
push esi
call fcn.004047c0
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00405377
add esp, 0xc
push esi
lea eax, [ebp - 0x7c]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREej_technologiesexe4jpids_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40b752
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push 4
push esi
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x16f8]
xor ecx, ebp
pop esi
call fcn.0041d798
add ebp, 0x16fc
leave
ret

Function at 0x40b768
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1704]
mov eax, 0x1784
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp + 0x1700], eax
push edi
xor edi, edi
push edi
call fcn.004047c0
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00405377
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0x20019
push edi
push str.SOFTWAREej_technologiesexe4jpids_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b7f2
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40b7e9
cmp dword [ebp - 0x78], 4
jne 0x40b7e9
mov edi, dword [ebp - 0x7c]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1700]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0041d798
add ebp, 0x1704
leave
ret

Function at 0x40baa7
Capabilities:
Create mailslot
Create thread

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0040b844
pop ecx
xor ebx, ebx
push ebx
push 0xffffffffffffffff
mov esi, eax
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push esi
mov edi, eax
call fcn.0041d558
pop ecx
cmp edi, 0xffffffff
jne 0x40bae5
push str.creating_mailslot_failed
call fcn.0040b684
pop ecx
jmp 0x40bb00
push str.creating_mailslot_successful
call fcn.0040b684
pop ecx
push ebx
push ebx
push edi
push 0x40b87f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret
Function at 0x40bb04
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push dword [ebp + 8]
call fcn.0040b844
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call fcn.0041da4b
pop ecx
pop ecx
test eax, eax
jne 0x40bb2a
mov dword [ebp + 0xc], str.__i4j_empty_command_line
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 0
mov ebx, 0x80
push ebx
push 3
push 0
push 1
mov edi, 0x40000000
push edi
push dword [ebp - 0xc]
call esi
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40bb9d
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
cmp eax, 0x32
jge 0x40bb82
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push ebx
push 3
push 0
push 1
push edi
push dword [ebp - 0xc]
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x40bb58
cmp dword [ebp - 4], 0xffffffff
jne 0x40bb9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error_mailslot_CreateFile__d
call fcn.0040b684
pop ecx
pop ecx
jmp 0x40bbf5
push dword [ebp + 0xc]
call fcn.0041da4b
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
add esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40bbd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error_mailslot_WriteFile__d
call fcn.0040b684
pop ecx
pop ecx
jmp 0x40bbec
cmp dword [ebp - 8], esi
je 0x40bbec
push esi
push dword [ebp - 8]
push str.error_mailslot_WriteFile_length__d__d
call fcn.0040b684
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call fcn.0041d558
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40be88
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1774
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x278b
call fcn.00403858
pop ecx
test eax, eax
je 0x40bfcd
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x40bed1
cmp byte [0x4620a0], bl
je 0x40bfcc
call dword [0x45f174]
jmp 0x40bfcc
cmp byte [0x4620a0], bl
jne 0x40bfcc
push edi
call fcn.00405ed5
push eax
lea eax, [ebp - 0x1774]
push str._s_bin_splashscreen.dll
push eax
call fcn.0041e231
lea eax, [ebp - 0x1774]
push eax
push str.loading_splashscreen_dll_from__S
call fcn.0040b684
add esp, 0x14
lea eax, [ebp - 0x1774]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40bf2c
push str.Could_not_load_splashscreen.dll
call fcn.0040b625
pop ecx
jmp 0x40bfcb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SplashClose
push edi
call esi
push str.SplashInit
push edi
mov dword [0x45f174], eax
call esi
push str.SplashLoadMemory
push edi
mov dword [0x45f170], eax
call esi
mov dword [0x462098], eax
cmp dword [0x45f174], ebx
je 0x40bfbf
mov ecx, dword [0x45f170]
cmp ecx, ebx
je 0x40bfbf
cmp eax, ebx
je 0x40bfbf
call ecx
push 0xa
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push esi
push eax
push edi
call dword [0x462098]
pop ecx
pop ecx
push eax
push str.splash_load_memory_returned__d___p___p___d_
call fcn.0040b684
add esp, 0x14
mov byte [0x4620a0], 1
jmp 0x40bfca
push str.Could_not_find_functions_in_splashscreen.dll
call fcn.0040b625
pop ecx
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d798
leave
ret

Function at 0x40cae2
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ee4
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4508dc], 1
jne 0x40cb8c
and dword [0x4508dc], 0
push 0x6b
call fcn.00403858
pop ecx
cmp eax, 1
je 0x40cb8c
push 0x1770
lea eax, [ebp - 0x2ee4]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
test eax, eax
je 0x40cb8c
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x1774]
push 0x43bc6c
push eax
call fcn.0041e231
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add esp, 0x10
lea eax, [ebp - 0x1774]
push eax
call esi
test eax, eax
je 0x40cb8b
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1774]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x4508dc], eax
lea eax, [ebp - 0x2ee4]
push eax
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d798
leave
ret
Function at 0x40ccf2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1774
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, 0x4620c0
lea eax, [ebp - 0x1774]
push eax
call fcn.004050a8
push 0
call fcn.0041eb56
push edx
push eax
lea eax, [ebp - 0x1774]
push eax
push str._s_dir_d
push esi
call fcn.0041e231
push esi
push str.Temp_dir3:__S
call fcn.0040b684
add esp, 0x24
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40cd85
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x43bcf8
call fcn.0040b684
inc edi
cmp edi, 0xa
pop ecx
pop ecx
jl 0x40cd12
push 0x43bcf4
push 0x3f1
mov byte [0x4620c0], 0
call fcn.00403fa8
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041d798
leave
ret

Function at 0x40cd93
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40ce01
push esi
lea eax, [ebp - 0x10]
push eax
push 0x43bd88
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40ce00
push esi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret

Function at 0x40cedc
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebx
push esi
push edi
mov ebx, 0xbb80
push ebx
call fcn.0041d128
mov esi, eax
mov dword [esp], 0x2ee0
call fcn.0041d128
mov edi, eax
mov dword [esp], 0x1770
push edi
push 0x2714
call fcn.004037a1
push edi
push str.native_lib_dir_is__S
call fcn.0040b684
push edi
call fcn.004066c9
push 0x40cebf
push edi
push esi
call fcn.004054f2
push esi
call fcn.0041d280
add esp, 0x28
test eax, eax
je 0x40cf51
push esi
call fcn.0041d280
cmp byte [eax + esi - 1], 0x3b
pop ecx
je 0x40cf51
push 0x438e34
push esi
call fcn.0041d6b0
pop ecx
pop ecx
push esi
call fcn.0041d280
pop ecx
sub ebx, eax
push ebx
push esi
call fcn.0041d280
pop ecx
add eax, esi
push eax
mov ebx, str.PATH
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x40cf8c
push esi
push str.Setting_PATH__native_libs___S
call fcn.0040b684
pop ecx
pop ecx
jmp 0x40cfa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Setting_PATH__native_libs___S_failed_with_error__d
call fcn.0040b684
add esp, 0xc
push esi
call fcn.0041d280
add eax, 6
push eax
call fcn.0041d128
push esi
mov ebx, eax
push str.PATH_s
push ebx
call fcn.0041e231
push ebx
call fcn.00421ba1
push ebx
call fcn.0041d558
push esi
call fcn.0041d558
push edi
call fcn.0041d558
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x40dd3d
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
lea eax, [ebp + 8]
cmp byte [ebp + 8], bl
jne 0x40dd75
push eax
push 0xf003f
push ebx
push str.SOFTWAREej_technologiesexe4j_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ddb9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x40ddb0
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREej_technologiesexe4j_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40ddb9
push 4
lea eax, [ebp - 4]
push eax
push 4
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret

Function at 0x40de31
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1700]
mov eax, 0x1780
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp + 0x16fc], eax
push ebx
xor ebx, ebx
cmp byte [ebp + 0x1708], bl
je 0x40de7a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.InstallStarted
lea eax, [ebp - 0x74]
push str._s__d
push eax
call fcn.0041e231
add esp, 0x10
jmp 0x40de90
push str.InstallStarted
lea eax, [ebp - 0x74]
push 0x439dc0
push eax
call fcn.0041e231
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0xf003f
push ebx
push str.SOFTWAREej_technologiesexe4j_
push 0x80000001
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ded8
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x16fc]
mov eax, dword [ebp - 0x78]
xor ecx, ebp
pop ebx
call fcn.0041d798
add ebp, 0x1700
leave
ret
Function at 0x40e028
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x2e6c]
mov eax, 0x2eec
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp + 0x2e68], eax
mov eax, dword [ebp + 0x2e78]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
mov edi, dword [ebp + 0x2e74]
mov dword [ebp - 0x80], eax
test edi, edi
je 0x40e0af
lea eax, [ebp - 0x78]
push eax
push 0x4e21
call fcn.0040373f
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
push 0x3eb
push edi
call esi
lea eax, [ebp - 0x78]
push eax
push 0x4e2c
call fcn.0040373f
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
push 2
push edi
call esi
push 5
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
call fcn.0040d793
test al, al
jne 0x40e0bf
push 0x4e22
jmp 0x40e10a
mov byte [ebp - 0x79], 0
xor esi, esi
cmp byte [ebp - 0x79], 0
jne 0x40e110
push str.jre.tar.gz
push dword [ebp - 0x80]
push edi
call fcn.0040db2f
add esp, 0xc
mov byte [ebp - 0x79], al
test al, al
jne 0x40e0f9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Retry_JRE_download
call fcn.0040b625
pop ecx
inc esi
cmp esi, 3
jl 0x40e0c5
cmp byte [ebp - 0x79], 0
jne 0x40e110
push 0x4e23
call fcn.00403f54
pop ecx
test edi, edi
je 0x40e125
push 0
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
mov ecx, dword [ebp + 0x2e68]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d798
add ebp, 0x2e6c
leave
ret

Function at 0x40e1e6
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
call ebx
push str.extracting_JRE
mov dword [esp + 0x14], eax
call fcn.0040b684
mov edi, 0x43c708
push edi
call fcn.0041efc5
pop ecx
pop ecx
test eax, eax
je 0x40e21d
push str.Could_not_create_JRE_dir
call fcn.0040b625
pop ecx
push 0x97
call fcn.00403858
mov ebp, dword [esp + 0x1c]
push eax
push ebp
push edi
mov esi, str.jre.tar.gz
push esi
call fcn.0040f979
add esp, 0x14
test al, al
jne 0x40e257
push str.Could_not_untar_JRE
call fcn.0040b625
mov dword [esp], str.The_bundled_JRE_is_corrupted._If_you_downloaded_the_setup_file_please_download_it_again.
call fcn.00403f42
pop ecx
push esi
call fcn.0042195f
pop ecx
call ebx
sub eax, dword [esp + 0x10]
push 0x99
mov dword [0x463860], eax
call fcn.00403858
pop ecx
test eax, eax
je 0x40e2c0
push str.JRE_is_packed
call fcn.0040b684
xor eax, eax
pop ecx
cmp ebp, eax
je 0x40e2a6
lea ecx, [esp + 0x10]
push ecx
push eax
push ebp
push 0x40dfdf
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call fcn.0040ff08
mov dword [esp], str.jrejre
call fcn.0040ff08
pop ecx
mov byte [0x46386c], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.0040e13d
Function at 0x40e6f7
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ee4
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x1770
lea eax, [ebp - 0x2ee4]
push eax
push 0x96
call fcn.0040376b
lea eax, [ebp - 0x2ee4]
push eax
call fcn.0041da4b
test eax, eax
seta al
mov byte [0x463864], al
lea eax, [ebp - 0x2ee4]
push eax
push str.Download_location:__s
call fcn.0040b684
push 0x9d
call fcn.00403858
add esp, 0x1c
test eax, eax
jne 0x40e77c
push eax
push 0x40e41c
push esi
push 0x68
push dword [0x46383c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 0x3ec
jne 0x40e7b2
push 0x4620c0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.Downloading_JRE
call fcn.0040b684
lea eax, [ebp - 0x2ee4]
push eax
push esi
call fcn.0040e028
push str.Done
call fcn.0040b684
add esp, 0x10
mov byte [0x463866], 1
test esi, esi
je 0x40e7ce
push 0x9b
call fcn.00403858
pop ecx
test eax, eax
je 0x40e7ce
push 0
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0041d798
leave
ret 4