joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4079b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40963b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
lea eax, [esp + 4]
push esi
push eax
push 0
mov esi, ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0xe8]
push 0x40cc48
push eax
mov dword [esp + 0x120], 0
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x407a69
mov eax, dword [esp + 0x124]
lea edx, [esp + 0xc]
mov ecx, dword [eax]
lea eax, [esp + 4]
push ecx
push edx
push str._s_s.url
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x138]
add esp, 0x10
mov eax, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [esp + 0x120]
push 0
push eax
mov eax, dword [esp + 0xc]
mov edx, dword [edx]
push ecx
push eax
push edx
mov ecx, esi
call fcn.00407bf0
jmp 0x407ab4
mov ecx, dword [esp + 0x124]
lea eax, [esp + 0xc]
mov edx, dword [ecx]
lea ecx, [esp + 4]
push edx
push eax
push str._s_s.lnk
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x13c]
mov ecx, dword [esp + 0x138]
add esp, 0x10
mov eax, dword [edx]
mov edx, dword [esp + 0x120]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 8]
mov edx, dword [edx]
push ecx
push eax
push edx
mov ecx, esi
call fcn.00407af0
lea ecx, [esp + 4]
mov dword [esp + 0x118], 0xffffffff
call fcn.004082ac
mov ecx, dword [esp + 0x110]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret 0x10

Function at 0x407af0
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov ecx, dword [ecx + 0xe8]
sub esp, 0x318
lea eax, [esp + 8]
lea edx, [esp + 0xc]
push eax
push edx
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x407b24
mov eax, 0x80004005
add esp, 0x318
ret 0x10
lea eax, [esp]
push eax
push 0x40a60c
push 1
push 0
push 0x40a61c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x407be4
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x40a62c
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esp]
lea edx, [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jl 0x407be4
mov eax, dword [esp]
mov edx, dword [esp + 0x31c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jl 0x407be4
mov eax, dword [esp]
mov edx, dword [esp + 0x324]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jl 0x407be4
mov eax, dword [esp]
mov edx, dword [esp + 0x328]
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
test eax, eax
jl 0x407be4
mov ecx, dword [esp + 0x320]
lea eax, [esp + 0x110]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 0x110]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
add esp, 0x318
ret 0x10
Function at 0x407cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x409660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
lea eax, [esp + 4]
mov dword [esp + 0x114], 1
push eax
push 1
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407d7a
mov edx, dword [esp + 0x124]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push ecx
push esi
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x407d7a
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x12c]
call fcn.004082c4
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x120]
mov byte [esp + 0x114], 0
call fcn.004082ac
lea ecx, [esp + 0x124]
mov dword [esp + 0x114], 0xffffffff
call fcn.004082ac
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret 0x10
Function at 0x4010df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00404830
push ebx
push edi
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1003]
mov byte [ebp - 0x1004], bl
push ebx
rep stosd dword es:[edi], eax
push 0x80
push 3
push ebx
push ebx
stosw word es:[edi], ax
push 0x80000000
push dword [ebp + 0xc]
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40112c
xor eax, eax
jmp 0x401190
mov edi, dword [ebp + 0x10]
push esi
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1004]
push ebx
push eax
mov dword [ebp + 0xc], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x1004]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp + 0xc], ebx
je 0x401183
push dword [ebp + 0xc]
lea eax, [ebp - 0x1004]
push eax
mov eax, dword [edi]
add eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp + 0xc]
add esp, 0xc
add dword [edi], eax
jmp 0x401135
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x401194
Capabilities:
Create directory
Create process on windows
Extract resource via kernel32 functions
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
push ebx
push esi
mov esi, 0x100000
push edi
push esi
call sub.MFC42.DLL_operatornew
xor ebx, ebx
push esi
push ebx
push eax
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
call dword [sym.imp.MSVCRT.dll___p___argv]
mov eax, dword [eax]
push dword [eax]
push dword [ebp - 4]
call fcn.004010df
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x127]
mov byte [ebp - 0x128], bl
mov byte [ebp - 0x24], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
push 5
push eax
call fcn.0040107c
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x128]
push str.c:_s.exe
push eax
and edi, 0x1ff
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x128]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
mov dword [ebp - 8], eax
call sub.MFC42.DLL_operatornew
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
push 0x64
mov dword [ebp - 0xc], eax
call esi
lea eax, [ebp - 0x14]
push ebx
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x64
call esi
lea eax, [ebp - 0x14]
push ebx
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call sub.MFC42.DLL_operatordelete
push dword [ebp - 4]
call sub.MFC42.DLL_operatordelete
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x527]
mov byte [ebp - 0x528], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll___p___argv]
mov eax, dword [eax]
push dword [eax]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x528]
push str.cmd.exe__c_ping_127.0.0.1__n_2_s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x528]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x1f4
call esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x404563
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x824
mov eax, dword [0x494284]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
mov ebx, dword [esp + 0x838]
lea ecx, [esp + 8]
push ebp
mov ebp, dword [esp + 0x838]
push esi
push edi
mov edi, dword [esp + 0x838]
xor esi, esi
push esi
call fcn.00419301
cmp dword [esp + 0x83c], 2
jae 0x4045b4
push str.jusched_Error:_Events_array_too_small
call fcn.00419218
pop ecx
push 0xffffffffffffff9d
pop esi
and dword [edi], 0
call fcn.00411efe
mov dword [edi], eax
test eax, eax
jne 0x4045d0
push str.ERROR:_ShutdownEvent_handle_is_NULL
call fcn.00419218
pop ecx
push 0xfffffffffffffffe
pop esi
push 0
push ebx
call fcn.00412385
pop ecx
pop ecx
test eax, eax
jne 0x4045ed
push str.jusched_ERROR:_Could_not_open_Policy_key_for_reading
call fcn.00419218
pop ecx
push 0xfffffffffffffffd
jmp 0x404609
push dword [ebx]
call fcn.00404fb1
mov dword [edi + 4], eax
pop ecx
test eax, eax
jne 0x40460a
push str.jusched_main:_ERROR_creating_registry_watch_event_notifier
call fcn.00419218
pop ecx
push 0xfffffffffffffffe
pop esi
and dword [ebp], 0
push str.SunJavaUpdateSchedulerMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp], eax
test eax, eax
jne 0x40467c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x800
mov esi, eax
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00441390
add esp, 0xc
lea eax, [esp + 0x30]
cmp esi, 0xb7
jne 0x40465c
push str.Error:_Scheduler_Mutex_already_exists_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
jmp 0x40466c
push esi
push str.Error:_Error_creating_scheduler_mutex:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
call fcn.00419218
pop ecx
or esi, 0xffffffff
jmp 0x404680
test esi, esi
je 0x4046a7
push dword [ebp]
push dword [esp + 0x840]
push edi
call fcn.004041d6
add esp, 0xc
lea ecx, [esp + 0x14]
push dword [ebx]
call fcn.00419334
lea ecx, [esp + 0x14]
call fcn.0041933e
mov ecx, dword [esp + 0x830]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043f9b7
add esp, 0x824
ret
Function at 0x405b56
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x120
mov eax, dword [0x494284]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x128]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ebp
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.0040586d
mov esi, eax
test esi, esi
jne 0x405c35
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push dword [esp + 0x28]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
call ebp
test eax, eax
jne 0x405c0d
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00405b56
mov esi, eax
test esi, esi
jne 0x405c35
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call ebp
test eax, eax
je 0x405bd2
jmp 0x405c0f
xor esi, esi
cmp dword [esp + 0xc], 0
je 0x405c24
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.0040492a
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x405c46
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043f9b7
add esp, 0x120
ret 4
Function at 0x406ac9
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x406ae3
Capabilities:
Set registry value

Disassembly:
cmp dword [esp + 8], 0
push ebp
mov ebp, ecx
jne 0x406af2
push 0xd
pop eax
jmp 0x406b23
push ebx
mov ebx, dword [esp + 0x10]
push edi
xor edi, edi
push ebx
call fcn.00445520
inc eax
add ebx, eax
add edi, eax
pop ecx
cmp eax, 1
jne 0x406afa
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop ebp
ret 8
Function at 0x409ce9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
push ebx
push ebx
push 1
mov dword [edi + 0xc], 0xbc2
mov eax, dword [0x496fc8]
push ebx
mov dword [edi + 0x18], eax
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x20], eax
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x38], eax
call fcn.00411efe
mov dword [edi + 0x3c], eax
call fcn.0040c52d
push dword [edi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [edi + 0x40], eax
call esi
push dword [edi + 0x24]
call esi
push dword [edi + 0x38]
call esi
lea eax, [ebp - 0x10c]
push eax
push ebx
push edi
push 0x409b2b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x409d7d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x20]
call esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [edi + 0x54]
mov ebx, 0x104
push ebx
push eax
push 0x7b
push dword [edi + 0x18]
call esi
push ebx
lea eax, [ebp - 0x108]
push eax
push 0x7c
push dword [edi + 0x18]
call esi
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.00409e0f
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f9b7
leave
ret 4

Function at 0x40b10d
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [eax - 1]
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov esi, edi
sar ebx, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jge 0x40b169
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebp
lea eax, [ecx - 0x30]
push eax
call fcn.004099ab
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebp
add eax, ebp
push eax
call fcn.0040bea0
mov edi, esi
cmp esi, ebx
jl 0x40b133
mov eax, dword [esp + 0x20]
cmp esi, ebx
jne 0x40b188
test al, 1
jne 0x40b188
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebp
add ecx, ebp
push eax
call fcn.0040bea0
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.0040b22e
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4118b1
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
push ebx
push esi
push edi
mov ebx, SysStringLen
lea ecx, [ebp - 0x64]
push ebx
call fcn.00419301
lea eax, [ebp - 0x48]
push 0x400
push eax
call fcn.00412523
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x4118fd
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call fcn.00411cc2
pop ecx
test eax, eax
je 0x41191d
lea eax, [ebp - 0x48]
push eax
push eax
call fcn.00411f52
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push eax
call esi
call fcn.004119d1
xor edi, edi
push edi
push str.PreDownldStatus
push edi
call fcn.0041263c
add esp, 0xc
lea ecx, [ebp - 0x64]
push ebx
call fcn.00419334
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041937b
test eax, eax
jne 0x4119b9
mov ebx, 0x20019
push ebx
lea eax, [ebp - 0x48]
inc edi
push eax
lea ecx, [ebp - 0x64]
call fcn.00419394
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.00404c4e
test esi, esi
jne 0x4119a8
push eax
lea ecx, [ebp - 0x80]
call fcn.00419301
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
call fcn.00419394
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.00404c4e
push eax
lea ecx, [ebp - 0x80]
call fcn.00419334
test esi, esi
jne 0x4119a8
push str.VersionXmlURL
lea ecx, [ebp - 0x80]
call fcn.0041936b
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041937b
test eax, eax
je 0x411952
mov ecx, dword [ebp + 0x3b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f9b7
add ebp, 0x3bc
leave
ret

Function at 0x411f52
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x494284]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x654]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x65c]
push 0x3c
pop ebx
push ebx
push 0
push eax
mov byte [esp + 0x15c], 0
call fcn.00441390
add esp, 0xc
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x250]
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], eax
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ebp, 0x104
test eax, eax
je 0x412004
push 0x100
lea eax, [esp + 0x154]
push eax
push ebp
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x26c]
push ebx
push eax
call fcn.0044b6b6
lea eax, [esp + 0x70]
push 0x471878
push eax
call fcn.004414f0
add esp, 0x2c
test eax, eax
je 0x412020
push 1
push esi
call fcn.00412824
push eax
lea eax, [esp + 0x58]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x4c]
push eax
push edi
call esi
lea eax, [esp + 0x150]
push eax
push edi
call esi
mov ecx, dword [esp + 0x650]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043f9b7
add esp, 0x644
ret
Function at 0x41205a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, 0x9c
lea eax, [ebp - 0x28]
push esi
push 0
push eax
call fcn.00441390
add esp, 0xc
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x4120a8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x94
push eax
call esi
test eax, eax
je 0x4120c4
cmp dword [ebp - 0x18], 2
jne 0x4120c1
cmp dword [ebp - 0x24], 6
jae 0x4120c1
cmp dword [ebp - 0x24], 4
jb 0x4120c1
call fcn.0041211a
jmp 0x4120c4
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.0043f9b7
add ebp, 0x78
leave
ret
Function at 0x414529
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp + 0x38c], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x398]
lea eax, [ebp - 0x78]
push eax
push 1
xor ebx, ebx
mov dword [ebp - 0x7c], 0x400
push ebx
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4145fd
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x74], bl
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push str.TransferJobID
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x7c], ebx
jbe 0x4145fd
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4145fd
lea eax, [ebp - 0x74]
push eax
call fcn.00445520
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jg 0x4145dd
lea eax, [esi + esi]
call fcn.0043fb20
mov eax, esp
lea ecx, [ebp - 0x74]
push 3
push esi
push ecx
push eax
call fcn.00403e19
mov ebx, eax
push edi
push ebx
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x10
push 0x47a9a8
push edi
call fcn.00441d9e
add esp, 0xc
test eax, eax
je 0x4145fd
xor eax, eax
jmp 0x414602
mov eax, 0x80004005
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x38c]
xor ecx, ebp
call fcn.0043f9b7
add ebp, 0x390
leave
ret
Function at 0x416215
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x68
mov eax, 0x468142
call fcn.0043fa2a
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x5c], eax
cmp dword [ebp + 0x10], edx
jne 0x41624d
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 0xf
mov byte [esi], dl
jmp 0x416367
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], edx
push ecx
push edx
push 0x40000001
push dword [ebp + 0x10]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x41636f
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], cl
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 2
test eax, eax
jne 0x41629b
mov dword [ebp - 0x18], eax
mov byte [ebp + eax - 0x28], cl
jmp 0x4162a5
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e2a4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x60]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x40000001
push dword [ebp + 0x10]
push dword [ebp - 0x5c]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x4162fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004167e7
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push str.binary2string__phase2__failed__sysError
push eax
call fcn.0040227b
add esp, 0x18
mov byte [ebp - 4], 4
jmp 0x41639b
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x18]
ja 0x416317
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x416325
sub ecx, dword [ebp - 0x18]
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e2a4
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004028bb
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x416367
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], ecx
cmp eax, 0x1000
jb 0x41635e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004078a4
mov eax, dword [ebp - 0x64]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push ecx
call fcn.0043f54d
pop ecx
pop ecx
mov eax, esi
call fcn.0043f9d9
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004167e7
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.0040227b
add esp, 0x18
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.00402d4f
push 0x48a87c
lea eax, [ebp - 0x70]
push eax
call fcn.004417dd
int3