joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472780
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4727e6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4727e6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4727c7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4871b2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4871ea
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048523c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00485214
jmp 0x4871f6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4888a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4888e2
call fcn.0048e419
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4888e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4888d9
xor eax, eax
jmp 0x4888ea
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004888f0
pop edi
pop esi
pop ebx
ret 4

Function at 0x48e949
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48e977
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48e995
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048e8af
jmp 0x48e995
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48e995
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048e8af
test edi, edi
mov eax, edi
jne 0x48e97f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x45d064
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x45d09c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d07a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d089
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d098
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x46126c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46129a
mov eax, ebx
call fcn.00461d10
cmp dword [ebx + 0x3c], 0
je 0x461293
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46130b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4612fd
cmp dword [ebx + 8], 0
je 0x4612bc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4612ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4612fd
cmp dword [ebx + 8], 0
je 0x4612af
cmp eax, 3
je 0x4612e1
dec eax
jne 0x4612af
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4612af
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4612af
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x461329
cmp dword [ebx + 0x10], 0xcc
je 0x461329
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00461334
pop ebx
ret

Function at 0x46e5a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 8
jne 0x46e738
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0046d8c2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046d877
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.0046d8b2
imul byte [eax - 0x4a000965]
push 0x8dfffff9
test dword [eax - 7], eax
invalid
call fcn.0046d8b2
dec edx
nop
clc
push 0xfabca580
invalid
Function at 0x4720c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403e20
xor eax, eax
push ebp
push 0x472116
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403e30
push eax
push 0x472120
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47211d
lea eax, [ebp - 4]
call fcn.004039f0
ret
Function at 0x401009
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.0041bdb0
push 0xff
lea eax, [ebp - 0x213]
push ebx
push eax
mov byte [ebp - 0x214], bl
call fcn.0041bdb0
lea eax, [ebp - 0x10]
push eax
call fcn.0041b8f7
lea eax, [ebp - 0x10]
push eax
call fcn.0041b8d0
add esp, 0x20
cmp eax, ebx
je 0x401085
push eax
call fcn.0041bbc3
pop ecx
cmp eax, ebx
je 0x401085
push eax
push 0x435688
lea eax, [ebp - 0x214]
push 0x100
push eax
call fcn.0041b948
add esp, 0x10
mov edi, 0x104
push edi
lea eax, [ebp - 0x114]
push eax
push 0x435690
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test eax, eax
lea eax, [ebp - 0x114]
jne 0x4010b7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x4010bf
push 0x435698
push eax
call esi
push 0x43569c
lea eax, [ebp - 0x114]
push eax
call esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
je 0x401143
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
call esi
push eax
lea eax, [ebp - 0x214]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call esi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401148
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0c
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.0041bdb0
add esp, 0xc
lea edi, [esi + 1]
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x401285
cmp eax, edi
ja 0x401285
push esi
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.0041bdb0
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0x4356e4
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0041b948
add esp, 0x20
cmp eax, ebx
jg 0x401215
mov esi, 0x7ff
push esi
lea eax, [ebp - 0xa0b]
push ebx
push eax
mov byte [ebp - 0xa0c], bl
call fcn.0041bdb0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x108]
push eax
push str._snprintf_failed.__ErrorCode:__d
lea eax, [ebp - 0xa0c]
push esi
push eax
call fcn.0041b948
mov byte [ebp + eax - 0xa0c], bl
jmp 0x4012c4
mov byte [ebp + eax - 0x108], bl
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x401281
mov esi, 0x7ff
push esi
lea eax, [ebp - 0xa0b]
push ebx
push eax
mov byte [ebp - 0xa0c], bl
call fcn.0041bdb0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x108]
push eax
push str.LoadLibrary__s__failed.__ErrorCode:__d
lea eax, [ebp - 0xa0c]
push esi
push eax
call fcn.0041b948
mov byte [ebp + eax - 0xa0c], bl
lea eax, [ebp - 0xa0c]
push eax
call fcn.00401009
add esp, 0x18
mov eax, edi
jmp 0x4012d5
mov esi, 0x7ff
push esi
lea eax, [ebp - 0xa0b]
push ebx
push eax
mov byte [ebp - 0xa0c], bl
call fcn.0041bdb0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xa0c]
push str.GetSystemDirectory_failed.__Return_Code:__d__ErrorCode:__d
push esi
push eax
call fcn.0041b948
mov byte [ebp + eax - 0xa0c], bl
lea eax, [ebp - 0xa0c]
push eax
call fcn.00401009
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x40139d
push 0x104
push esi
call fcn.0041beed
pop ecx
pop ecx
test eax, eax
je 0x40139d
push 0x7ff
lea eax, [ebp - 0x7ff]
push 0
push eax
mov byte [ebp - 0x800], 0
call fcn.0041bdb0
add esp, 0xc
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x800]
je 0x401356
push dword [ebp + 0xc]
push esi
push str.Safe_CreateProcess__s___s_
push 0xffffffffffffffff
push 0x800
push eax
call fcn.0041becc
add esp, 0x18
jmp 0x40136c
push esi
push str.Safe_CreateProcess__s_
push 0xffffffffffffffff
push 0x800
push eax
call fcn.0041becc
add esp, 0x14
lea eax, [ebp - 0x800]
push eax
call fcn.00401009
pop ecx
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x4013b2
push str.Safe_CreateProcess_error:_lpApplicationName_is_NULL_or_empty.
call fcn.00401009
pop ecx
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
leave
ret

Function at 0x4015f9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, 0x103
push esi
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.0041bdb0
push esi
lea eax, [ebp - 0x207]
push 0
push eax
mov byte [ebp - 0x208], 0
call fcn.0041bdb0
add esp, 0x18
lea eax, [ebp - 0x104]
push eax
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 1
jl 0x40164f
cmp eax, esi
jle 0x401666
push 0x43593c
push 0xffffffffffffffff
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.0041becc
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push str._sjava_install_reg.log
push 0xffffffffffffffff
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.0041becc
push 0x435958
lea eax, [ebp - 0x208]
push eax
push 0x447e24
call fcn.0041c293
add esp, 0x20
pop esi
test eax, eax
je 0x4016ac
call fcn.0041c022
add eax, 0x40
mov dword [0x447e24], eax
leave
ret
Function at 0x4016e3
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push str.___getDefaultBrowserExe:_begin.
call fcn.004016bb
pop ecx
lea eax, [ebp - 0x104]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, eax
cmp edi, esi
ja 0x4017c2
xor esi, esi
cmp edi, esi
je 0x4017c2
push str.javatmp.html
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x401772
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.___getDefaultBrowserExe:_CreateFile_failed.
mov esi, eax
call fcn.004016bb
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4017cf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jg 0x4017b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.___getDefaultBrowserExe:_FindExecutable_failed.
mov esi, eax
call fcn.004016bb
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40176e
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x4017cf
push str.___getDefaultBrowserExe:_GetTempPath_failed.
call fcn.004016bb
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4017d3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0041bdb0
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x401820
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], 0x94
call esi
cmp dword [ebp - 0x98], 6
pop esi
sbb eax, eax
inc eax
leave
ret
Function at 0x402a5b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x433]
push ebx
push eax
mov esi, 0x80004005
mov byte [ebp - 0x434], bl
call fcn.0041bdb0
push 7
xor eax, eax
mov byte [ebp - 0x34], bl
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call fcn.004188f5
add esp, 0x10
test eax, eax
je 0x402b2f
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00418772
mov eax, dword [ebp - 4]
imul eax, eax, 0xa
add esp, 0x14
mov dword [ebp - 4], eax
lea eax, [ebp - 0x434]
push eax
push 0x400
push ebx
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402b2f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x4360dc
lea eax, [ebp - 0x434]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x402b2f
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0xa]
cmp ecx, dword [ebp - 8]
jg 0x402b2d
jne 0x402b2f
movzx ecx, word [eax + 8]
cmp ecx, dword [ebp - 0xc]
jg 0x402b2d
jne 0x402b2f
movzx eax, word [eax + 0xe]
cmp eax, dword [ebp - 4]
jl 0x402b2f
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x404232
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x604
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x603]
push ebx
push eax
mov byte [ebp - 0x604], bl
call fcn.0041bdb0
push 0xff
lea eax, [ebp - 0x203]
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.0041bdb0
mov esi, dword [ebp + 8]
add esp, 0x18
cmp dword [esi + 0x187c], ebx
jne 0x404287
cmp dword [esi + 0x58], ebx
je 0x404287
xor ecx, ecx
jmp 0x40428a
xor ecx, ecx
inc ecx
cmp dword [ebp + 0xc], ebx
jne 0x4042cb
mov eax, dword [esi + 0x1878]
cmp eax, ebx
je 0x40429d
cmp ecx, ebx
je 0x4042cb
mov edx, dword [esi]
push eax
push ecx
push esi
call dword [edx + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x4042c1
push 1
call fcn.0040e8b7
pop ecx
test eax, eax
je 0x4042cb
mov eax, 0x80070204
jmp 0x4043c0
call fcn.004180c2
jmp 0x4043be
cmp dword [esi + 0x187c], ebx
je 0x4042e1
push 0x80
lea eax, [esi + 8]
push eax
call fcn.00409f06
push 0x104
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.00403d43
mov edi, eax
cmp edi, ebx
jl 0x4043aa
push str.Download_Status:_Download_Complete
call fcn.00419926
mov eax, dword [esi]
pop ecx
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x40433f
push dword [ebp + 0xc]
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [eax + 0x24]
mov edi, eax
cmp edi, ebx
jge 0x4043be
push str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x4043b8
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x72
push dword [0x4480d8]
call esi
push 0x400
lea eax, [ebp - 0x604]
push eax
push 0x74
push dword [0x4480d8]
call esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x10
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x604]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xfffffffffffffffb
call fcn.0040e292
call fcn.0041a4ea
mov dword [esp], str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
jmp 0x4043b8
push 0xffffffffffffffc3
call fcn.0040e292
mov dword [esp], str.Download_Status:_Download_Failed
call fcn.00419926
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40a541
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x4480d4]
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x38], eax
call fcn.004181b2
mov dword [esi + 0x3c], eax
call fcn.0040dccc
push dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x40], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x38]
call edi
lea eax, [ebp + 8]
push eax
push ebx
push esi
push 0x40a468
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40a5c8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov ebx, 0x104
push ebx
lea eax, [esi + 0x58]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.00409eb9
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x40acac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x40acbf
push 0xd
pop eax
jmp 0x40ace7
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40acc2
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40b1ab
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push dword [ebp + 8]
xor esi, esi
push dword [edi]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0040154e
mov ebx, eax
cmp ebx, esi
je 0x40b1f1
lea ecx, [ebp - 0x10]
call fcn.00401533
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x40b20c
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b1ab
cmp eax, esi
jne 0x40b241
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x118]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 4], 0x100
call ebx
test eax, eax
je 0x40b1f9
lea ecx, [ebp - 0x10]
call fcn.00401533
push dword [ebp + 8]
mov ecx, edi
call fcn.004014c3
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00401533
mov eax, esi
jmp 0x40b1ea
Function at 0x40b7a0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x814
push 0x4415d8
call fcn.0041cd30
push 0x436ffa
call fcn.004012da
pop ecx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
push 0x447e30
mov ecx, 0x447e60
call fcn.0040a897
mov dword [ebp + 8], 1
mov dword [ebp - 0x1c], ebx
mov esi, 0x4370d0
lea edi, [ebp - 0x24]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00404bce
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x40b8ec
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40b9da
push str.RegServer
push esi
call edi
test eax, eax
je 0x40b8e9
push 4
push str.auto
push esi
call fcn.0041d25a
add esp, 0xc
test eax, eax
jne 0x40b853
mov dword [0x445b50], ebx
mov dword [str.jau_m], 0x4370f4
jmp 0x40b8d1
push 9
push str.scheduled
push esi
call fcn.0041d25a
add esp, 0xc
test eax, eax
jne 0x40b873
mov dword [0x447e54], 1
jmp 0x40b8d1
push 7
push str.pending
push esi
call fcn.0041d25a
add esp, 0xc
test eax, eax
jne 0x40b893
mov dword [0x447e58], 1
jmp 0x40b8d1
push 8
push 0x43710c
push esi
call fcn.0041d25a
add esp, 0xc
test eax, eax
jne 0x40b8b3
mov dword [0x447e5c], 1
jmp 0x40b8d1
push 4
push str.test
push esi
call fcn.0041d25a
add esp, 0xc
test eax, eax
jne 0x40b8d1
lea eax, [esi + 5]
push eax
call fcn.0040db05
pop ecx
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00404bce
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x40b80d
jmp 0x40b8ec
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x40b9da
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push str.SunJavaUpdateCheckerMutex
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x40b99c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40b99c
call fcn.0041a0d4
call fcn.00419b8f
test eax, eax
jne 0x40b97e
mov edi, 0x400
push edi
lea eax, [ebp - 0x424]
push eax
push 0x72
push dword [0x4480d8]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
call esi
push edi
lea eax, [ebp - 0x824]
push eax
push 0x75
push dword [0x4480d8]
call esi
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x40b9d1
push dword [0x445b54]
push 0x43713c
push ebx
call fcn.00417e71
add esp, 0xc
call fcn.0040b752
mov dword [ebp - 0x1c], eax
jmp 0x40b9d1
mov dword [ebp - 0x1c], 0x64
cmp dword [ebp - 0x20], ebx
je 0x40b9d1
cmp dword [0x445b50], ebx
jne 0x40b9b8
cmp dword [0x447e54], ebx
je 0x40b9d1
push dword [0x445b54]
push 0x437144
push ebx
call fcn.00417e71
add esp, 0xc
call fcn.0040dd2b
or dword [ebp - 4], 0xffffffff
call fcn.0040b9f7
mov ecx, 0x447e60
call fcn.0040a9b2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.0041cd6b
ret 0x10