joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a19dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.0049bee8
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.0049bff4
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.0049bff4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4baaf5
lea ecx, [ebp - 0x200]
push ecx
call fcn.0049bee8
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.0049bff4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.004a2bc0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x4a1aed
push esi
call fcn.0049bff4
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.0049bff4
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0049b964
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x4a1ac4
xor eax, eax
jmp 0x4a1b74
push esi
call fcn.0049bff4
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.0049bff4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0049be44
add esp, 0xc
jmp 0x4a1b2d
mov edi, dword [ebx + 0x24]
push edi
call fcn.0049bff4
pop ecx
push eax
push esi
call fcn.0049bff4
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0049bff4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0049b984
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x4a1b2d
xor eax, eax
jmp 0x4a1b74
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.0049bee8
add esp, 8
push 0x4baaf7
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0049bee8
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.0049bee8
add esp, 8
push 0x4baaf9
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0049bee8
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a5030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4a5092
call fcn.004a4fe0
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0049bff4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0049bff4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a5110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4bb1a0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4a51ea
cmp dword [0x4bb19c], 0
jne 0x4a51ea
cmp dword [0x4bb380], 0
je 0x4a51a4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004a4ee0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4a518a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004a4ee0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4a518a
lea ebx, [ebp - 0x84]
jmp 0x4a518b
inc ebx
call fcn.004a50cc
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4a5225
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4bb1a4
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0049bff4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4bb1a7
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4a5225
cmp dword [0x4bb19c], 0
je 0x4a5204
cmp dword [0x4bb19c], 0xffffffff
je 0x4a5225
push esi
call dword [0x4bb19c]
pop ecx
mov eax, dword [0x4bb1a0]
test eax, eax
je 0x4a5225
cmp dword [0x4bb1a0], 0xffffffff
je 0x4a5225
cmp byte [eax], 0
je 0x4a5225
push esi
push eax
call fcn.004a5030
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401150
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x420004]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1f40
push 0
push 0x479650
mov dword [esp + 0x24], edi
mov dword [0x47b594], edi
call fcn.004044b0
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x47d710], xmm0
push 0x47d710
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
call fcn.00401400
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x401261
cmp dword [esp + 0x14], 3
jne 0x40125a
mov edi, dword [esi]
test edi, edi
je 0x401211
mov eax, edi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4011e0
sub eax, edx
sar eax, 1
je 0x401211
push str.medatixx
push edi
call fcn.00403fa6
add esp, 8
test eax, eax
jne 0x401211
push str.prima
push edi
call fcn.00403fa6
add esp, 8
push dword [esi + 4]
mov dword [0x47d928], 1
push 0x41d9c8
push 0x208
push 0x47cd58
mov dword [0x47d92c], 1
call fcn.004010d0
push dword [esi + 8]
push 0x41d9c8
push 0x208
push 0x47cb50
call fcn.004010d0
mov edi, dword [esp + 0x38]
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [str.ScopevisioWindowClass1]
mov eax, dword [0x41d9f8]
mov dword [esp + 0x98], eax
mov ax, word [0x41d9fc]
movups xmmword [esp + 0x70], xmm0
mov word [esp + 0x9c], ax
lea eax, [esp + 0x70]
movups xmm0, xmmword [0x41d9e0]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x48]
push eax
movups xmmword [esp + 0x84], xmm0
mov dword [esp + 0x4c], 0
movq xmm0, qword [0x41d9f0]
movq qword [esp + 0x94], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x50], 0x402e00
mov dword [esp + 0x5c], edi
call dword [sym.imp.USER32.dll_RegisterClassW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push edi
push 0
push 0
push 0x106
push 0x1c7
push 1
call esi
sub eax, 0x106
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
sub eax, 0x1c7
cdq
sub eax, edx
sar eax, 1
push eax
push 0x90080000
push str.Scopevisio
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x401396
push dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x20]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
push 0
push eax
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call esi
test eax, eax
je 0x401396
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x20]
push eax
call edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call esi
test eax, eax
jne 0x401373
mov ecx, dword [esp + 0xac]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004031d7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401940
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401950
sub eax, edx
sar eax, 1
lea esi, [eax*2 + 8]
push esi
call fcn.0040970e
push esi
mov ebx, eax
push 0
push ebx
call fcn.004044b0
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401980
sub ecx, edx
sar ecx, 1
push edi
push 0x41d9c8
lea eax, [ecx*2 + 2]
push eax
push ebx
call fcn.004010d0
add esp, 0x10
mov dword [ebp - 0x20], 0
mov eax, 0x414
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xe], 0
mov dword [ebp - 0xa], 0
mov dword [ebp - 6], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push ebx
mov esi, eax
call fcn.00408cd3
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401a00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x47df50
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401a49
or eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d7
mov esp, ebp
pop ebp
ret
push ebx
push esi
lea eax, [ebp - 0x3f4]
mov dword [ebp - 0x3f4], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x3e8
lea esi, [ebp - 0x3ec]
mov dword [ebp - 0x3f0], 0xffffffff
mov eax, esi
push 0
push eax
call fcn.004044b0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x3f0]
add esp, 0xc
push 0
push eax
push 0x64
mov eax, esi
push eax
push edi
call ebx
test eax, eax
je 0x401ad0
mov eax, dword [ebp - 0x3f0]
test eax, eax
je 0x401ad0
add esi, eax
lea ecx, [ebp - 0x3ec]
mov eax, esi
sub eax, ecx
cmp eax, 0x1f4
jge 0x401ad0
push 0
lea eax, [ebp - 0x3f0]
push eax
push 0x64
push esi
push edi
call ebx
test eax, eax
jne 0x401aa0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x3ec]
push eax
call fcn.004096e4
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.004031d7
mov esp, ebp
pop ebp
ret
Function at 0x4024e0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x402503
cmp dword [0x47d92c], ecx
jmp 0x40250f
cmp esi, 1
jne 0x402526
cmp dword [0x47d928], 0
je 0x402526
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x402687
test eax, eax
je 0x402687
mov eax, 0x47cb50
test esi, esi
mov edi, 0x47cd58
cmovne edi, eax
lea eax, [ebp - 0x210]
push edi
push 0
push str.SVLL
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x402584
push 0x30
push str.Scopevisio_Launcher_Error
push str.GetTempFileName_failed
jmp 0x402693
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4025b5
push 0x30
push str.Scopevisio_Launcher_Error
push str.Could_not_create_temp_file
jmp 0x402693
movzx ecx, byte [0x4208d0]
lea eax, [ebp - 0x214]
push 0
push eax
movzx eax, byte [0x4780d0]
test esi, esi
cmove ecx, eax
movzx eax, byte [0x4780d1]
movsx edx, cl
movzx ecx, byte [0x4208d1]
shl edx, 8
test esi, esi
cmove ecx, eax
movzx eax, cl
movzx ecx, byte [0x4208d2]
add edx, eax
movzx eax, byte [0x4780d2]
shl edx, 8
test esi, esi
cmove ecx, eax
movzx eax, cl
movzx ecx, byte [0x4208d3]
add edx, eax
movzx eax, byte [0x4780d3]
shl edx, 8
test esi, esi
cmove ecx, eax
movzx eax, cl
mov ecx, 0x4208d4
add edx, eax
test esi, esi
push edx
mov eax, str.Scopevisio_Launch_Description_nWed_Jun_12_08:53:19_CEST_2024_nhostnamewww.scopevisio.com_ncom.scopevisio.erp.client.x.explicit.usernamethierry.lorang_sieda.com_ncom.scopevisio.launch.jnlp.urlhttps:__www.scopevisio.com_clientx_0124dc5c_9242_4ecf_978c_fa63b6a0b5a1_client.jnlp_ncom.scopevisio.launch.forcejretrue_ncom.scopevisio.launch.originSCOPEVISIO_ncom.scopevisio.launch.native.versionTS_1718175199702_ncom.scopevisio.launch.jar.urlhttps:__appload.scopevisio.com_launch_n
cmovne eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
test eax, eax
jne 0x402657
push 0x30
push str.Scopevisio_Launcher_Error
push str.Could_not_write_data
push 0
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x402511
push 0x30
push str.Scopevisio_Launcher_Error
push str.Could_not_close_temp_file
push eax
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d7
mov esp, ebp
pop ebp
ret
push 0x30
push str.Scopevisio_Launcher_Error
push str.GetTempPath_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004031d7
mov esp, ebp
pop ebp
ret
Function at 0x4026b0
Capabilities:
Create process on windows
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2060
call fcn.004174d0
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x47dd40
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4027c9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4027c9
xorps xmm0, xmm0
mov dword [ebp - 0x2060], 0x44
push 0x47dd40
push str.__s___y
lea eax, [ebp - 0x2008]
movlpd qword [ebp - 0x205c], xmm0
push 0x2000
push eax
movlpd qword [ebp - 0x2054], xmm0
movlpd qword [ebp - 0x204c], xmm0
movlpd qword [ebp - 0x2044], xmm0
movlpd qword [ebp - 0x203c], xmm0
movlpd qword [ebp - 0x2034], xmm0
movlpd qword [ebp - 0x202c], xmm0
movlpd qword [ebp - 0x2024], xmm0
movups xmmword [ebp - 0x2018], xmm0
call fcn.004010d0
add esp, 0x10
mov dword [0x47df48], 1
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2060]
push eax
push 0x47db38
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2008]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4027db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, str.JRE_konnte_nicht_entpackt_werden
mov ecx, eax
call fcn.00401840
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d7
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [ebp - 0x2018]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [0x47df48], 0
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004031d7
mov esp, ebp
pop ebp
ret
Function at 0x402810
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x64c0
call fcn.004174d0
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x6458], 0x44
push 0x104
lea eax, [ebp - 0x410]
movlpd qword [ebp - 0x6454], xmm0
push eax
push 0
movlpd qword [ebp - 0x644c], xmm0
movlpd qword [ebp - 0x6444], xmm0
movlpd qword [ebp - 0x643c], xmm0
movlpd qword [ebp - 0x6434], xmm0
movlpd qword [ebp - 0x642c], xmm0
movlpd qword [ebp - 0x6424], xmm0
movlpd qword [ebp - 0x641c], xmm0
movaps xmmword [ebp - 0x64b0], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x410]
push eax
push str._Dcom.scopevisio.launch.exe_s
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.004010d0
push 0x47cd58
push 0x47cb50
lea eax, [ebp - 0x208]
push eax
push 0x47c948
push str.__s____s___jar___s____s_
lea eax, [ebp - 0x2410]
push 0x2000
push eax
call fcn.004010d0
add esp, 0x2c
lea eax, [ebp - 0x64b0]
push eax
lea eax, [ebp - 0x6458]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2410]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402a09
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Fehler:__d._Temp_Dateien_entfernen_und_erneut_versuchen_
lea eax, [ebp - 0x4410]
push 0x2000
push eax
call fcn.004010d0
add esp, 0x10
lea eax, [ebp - 0x4410]
push 0x34
push str.Launcher_konnte_nicht_gestartet_werden
push eax
push dword [0x47d374]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x402a09
mov ecx, 0x47db38
call fcn.00401940
xorps xmm0, xmm0
mov dword [ebp - 0x64a0], 0x44
movlpd qword [ebp - 0x649c], xmm0
movlpd qword [ebp - 0x6494], xmm0
movlpd qword [ebp - 0x648c], xmm0
movlpd qword [ebp - 0x6484], xmm0
movlpd qword [ebp - 0x647c], xmm0
movlpd qword [ebp - 0x6474], xmm0
movlpd qword [ebp - 0x646c], xmm0
movlpd qword [ebp - 0x6464], xmm0
movaps xmmword [ebp - 0x64c0], xmm0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x41d9c8
lea eax, [ebp - 0x6410]
push 0x2000
push eax
call fcn.004010d0
add esp, 0x10
lea eax, [ebp - 0x64c0]
push eax
lea eax, [ebp - 0x64a0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6410]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 2
push dword [0x47d374]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x402a30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.004174d0
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00401a00
push 0x47df50
push 1
mov edx, 0x47d168
mov dword [0x478ac8], eax
call fcn.00401bc0
add esp, 8
test eax, eax
jne 0x402a7d
push 0x47df50
push 1
mov edx, 0x47d168
call fcn.00402070
add esp, 8
call fcn.00401a00
push 0x47c740
mov dword [0x47b590], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [0x478ac8]
mov edx, dword [0x47b590]
cmp eax, 0xffffffff
je 0x402ab8
test al, 0x10
jne 0x402ab8
cmp dword [0x47df4c], 0
jne 0x402ab8
cmp edx, ecx
jle 0x402b3b
push edx
push ecx
push str.localVersion_d__remoteVersion_d__..._need_to_dl_java
lea eax, [ebp - 0x2008]
push 0x2000
push eax
call fcn.004010d0
add esp, 0x14
mov edx, 0x47d720
push 0x47dd40
push 1
call fcn.00401bc0
add esp, 8
test eax, eax
jne 0x402aff
push 0x47dd40
push 1
mov edx, 0x47d720
call fcn.00402070
add esp, 8
mov ecx, 0x47b598
call fcn.00401940
call fcn.004026b0
test eax, eax
je 0x402b3b
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x47c740
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x402b3b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d7
mov esp, ebp
pop ebp
ret

Function at 0x413b92
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00413855

Function at 0x413b9d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004139d6
Function at 0x1000f763
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000f7a2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000f7a2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000f7a2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000f7a2
cmp dword [ecx + 0x74], 0xe
jbe 0x1000f7a2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001241f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100124bc
push ebx
push esi
call fcn.100123e8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001237c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10012469
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100124bb
push edi
push eax
call fcn.100133da
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10012489
call fcn.10010ec4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100124ba
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001237c
add esp, 0x20
test eax, eax
jne 0x100124a8
push edi
call fcn.10010ec4
jmp 0x100124b0
push ebx
call fcn.10010ec4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10012729
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a888
push 0x1001a880
push str.FlsAlloc
push 0x1f
call fcn.10012645
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001275d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019150]
call esi
jmp 0x10012763
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100127a7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a898
push 0x1001a890
push str.FlsGetValue
push 0x21
call fcn.10012645
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100127de
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100127e6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a8a0
push 0x1001a898
push str.FlsSetValue
push 0x22
call fcn.10012645
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012820
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10019150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10017ea0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10017ecd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10017ecd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push esi
push edi
xor esi, esi
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
push 0x8000000
push esi
push esi
push esi
push eax
push esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x6c], 1
mov word [esp + 0x72], si
mov dword [esp + 0x74], esi
mov word [esp + 0x70], si
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, esi
je 0x401072
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
mov eax, edi
pop edi
pop esi
add esp, 0x58
ret