joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476a70
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e60
call fcn.00491ff0
mov eax, dword [esp + 0x8e68]
push ebx
push ebp
mov ebp, dword [esp + 0x8e6c]
push esi
mov esi, ecx
mov cl, byte [edx]
xor ebx, ebx
cmp cl, 0x41
je 0x476a9b
cmp cl, 0x61
jne 0x476aec
cmp byte [edx + 1], bl
jne 0x476aec
cmp byte [edi], bl
jne 0x476aec
cmp byte [eax], bl
jne 0x476aec
cmp byte [esi], bl
jne 0x476aec
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x476acd
cmp byte [ebp + 0xca], bl
jne 0x476acd
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x476acd
xor esi, esi
cmp byte [esp + 0x8e7c], bl
je 0x476ae0
cmp esi, ebx
je 0x476ae0
mov dword [ebp + 0xa4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
cmp cl, bl
jne 0x476b0d
cmp byte [edi], bl
jne 0x476b0d
cmp byte [eax], bl
jne 0x476b0d
cmp byte [esi], bl
jne 0x476b0d
mov eax, ebp
call fcn.00476c60
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x828], 0x499861
mov byte [esp + 0xc45], bl
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc50], ebx
mov dword [esp + 0xc54], ebx
mov dword [esp + 0xc58], ebx
mov dword [esp + 0xc5c], ebx
mov dword [esp + 0xc68], ebx
mov dword [esp + 0xc6c], ebx
call fcn.004776f0
test eax, eax
je 0x476c1e
test byte [esp + 0xc], 2
mov al, byte [esp + 0x8e78]
mov ecx, dword [esp + 0x8e80]
mov edx, dword [esp + 0x8e84]
mov byte [esp + 0xc35], al
mov dword [esp + 0xc44], ecx
mov dword [esp + 0xc48], edx
je 0x476c2a
mov eax, dword [esp + 0x828]
cmp eax, 0xffff
je 0x476bf6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x476c1e
cmp byte [ebp + 0xca], bl
jne 0x476bef
mov eax, dword [esp + 0x828]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x476bef
mov ecx, dword [esp + 0x828]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x476c1e
mov eax, dword [esp + 0x828]
cmp dword [esp + 0xc5c], eax
je 0x476c0f
lea esi, [esp + 0xc]
mov dword [esp + 0xc5c], eax
call fcn.00477b30
push ebx
lea edx, [esp + 0x10]
push edx
call fcn.00477bf0
test eax, eax
jne 0x476c3a
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
lea eax, [esp + 0xc]
push eax
push 0x476cd0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc3c]
cmp byte [esp + 0x8e7c], bl
je 0x476c54
cmp eax, ebx
je 0x476c54
mov dword [ebp + 0xa4], eax
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
Function at 0x476e40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x8018
call fcn.00491ff0
push ebx
push ebp
mov ebp, dword [esp + 0x8028]
push esi
push edi
mov edi, dword [esp + 0x802c]
mov esi, ecx
test edi, edi
je 0x476e69
mov ecx, edi
call fcn.004134d0
cmp dword [esp + 0x8038], 0
jne 0x476e7e
mov dword [esp + 0x8038], 0x1f4
cmp dword [esp + 0x803c], 1
jge 0x476e93
mov dword [esp + 0x803c], 0x32
cmp ebp, 1
jge 0x476e9d
mov ebp, 1
test esi, esi
je 0x47706a
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x47706a
cmp ebp, dword [esp + 0x20]
jg 0x47706a
push 0x8000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x1c]
call fcn.00473de0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x477063
dec ebp
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
jmp 0x476f10
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push ebp
push 0x403
push esi
call ebx
test eax, eax
je 0x476f87
mov edx, 0x7fff
cmp word [esp + 0x14], dx
ja 0x476fde
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push edi
push ebp
push 0x402
push esi
call ebx
test eax, eax
je 0x476f87
movzx ecx, word [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
inc ecx
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x476fd9
mov edx, dword [esp + 0x8034]
lea eax, [esp + 0x28]
call fcn.004763c0
test al, al
jne 0x477004
cmp dword [esp + 0x802c], 0
jne 0x476fe8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x477037
mov edi, dword [esp + 0x8038]
test edi, edi
js 0x476fbe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x47701c
mov edx, dword [esp + 0x803c]
push 1
push edx
call fcn.004013c0
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x476f10
mov byte [esp + 0x28], 0
cmp dword [esp + 0x802c], 0
je 0x477037
mov eax, dword [esp + 0x802c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push eax
call fcn.004756d0
mov esi, eax
jmp 0x47703c
mov eax, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push eax
call fcn.004756d0
jmp 0x476fde
mov ecx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x49ae68
push ecx
call fcn.004756d0
mov edi, dword [esp + 0x1c]
mov esi, 1
push 0x8000
push 0
push edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov edi, dword [esp + 0x802c]
mov eax, 0x49ae68
test edi, edi
jne 0x477078
mov eax, 0x49b128
mov ecx, dword [0x4a7978]
test byte [ecx + 0xe0], 1
jne 0x4770a5
mov edx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.004756d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov ecx, dword [0x4ac700]
push 0x499861
push 0
push eax
call fcn.0042d8b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
Function at 0x477b30
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0xc50]
test ecx, ecx
je 0x477be7
mov eax, dword [esi]
test eax, eax
je 0x477be7
push edi
test al, 1
jne 0x477b59
mov eax, dword [esi + 0x80c]
cmp byte [eax], 0
je 0x477b72
push 0x7fff
lea edi, [esi + 0xc58]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x477b72
mov byte [edi], al
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x477b8d
mov edx, dword [esi + 0xc50]
lea ecx, [esi + 0xc54]
push ecx
push edx
call edi
test byte [esi], 0x20
je 0x477bc8
mov ecx, dword [esi + 0xc50]
lea eax, [esp + 4]
push eax
push ecx
call edi
test eax, eax
je 0x477bc8
movzx edx, byte [esi + 0xc28]
mov ecx, dword [esp + 4]
push edx
lea eax, [esi + 0x8d58]
call fcn.0044e070
add esp, 4
test eax, eax
jne 0x477bc8
mov byte [esi + 0x8d58], al
test byte [esi], 8
pop edi
je 0x477be7
mov ecx, dword [esi + 0xc50]
push 0x101
lea eax, [esi + 0x8c57]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
pop ecx
ret

Function at 0x478330
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e5c
call fcn.00491ff0
mov eax, dword [esp + 0x8e60]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4783dd
mov dword [esp + 0xc44], eax
lea eax, [esp + 4]
push eax
push 0x478a70
mov dword [esp + 0xc], ebx
mov dword [esp + 0x818], 0x499861
mov byte [esp + 0xc35], bl
mov dword [esp + 0xc38], ebx
mov dword [esp + 0xc3c], ebx
mov dword [esp + 0xc40], ebx
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc58], ebx
mov dword [esp + 0xc5c], ebx
mov byte [esp + 0xc50], cl
mov dword [esp + 0xc54], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc34], ebx
je 0x4783dd
mov ecx, dword [0x4a7978]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x4783dd
push 1
push eax
call fcn.004013c0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x8e5c
ret 4
Function at 0x4783f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x47840c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4a7978]
push eax
push esi
mov ecx, edi
call fcn.004788b0
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x478443
test eax, eax
jne 0x478447
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00478500
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x4784c6
test esi, esi
je 0x4784c6
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.004013c0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x4784a5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x4784a5
push 1
push 0x8000012f
call fcn.004013c0
add esp, 8
push esi
call edi
test eax, eax
jne 0x478480
mov edx, dword [0x4a7978]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x4784be
push 1
push eax
call fcn.004013c0
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x4784e0
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00478500
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00478680
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x478680
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e68
call fcn.00491ff0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x478800
xor cl, cl
mov eax, edi
call fcn.00478820
test eax, eax
jne 0x4786b5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4a7978]
push eax
push ebp
mov ecx, edi
call fcn.004788b0
test eax, eax
je 0x4786d8
xor eax, eax
mov dword [0x4ac314], eax
jmp 0x4786dd
mov eax, dword [0x4ac314]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x824], 0x499861
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc64], ebx
mov dword [esp + 0xc68], ebx
cmp byte [esp + 0x8e7c], bl
je 0x478723
mov byte [esp + 0xc41], bl
cmp eax, ebx
je 0x47872b
mov byte [esp + 0xc41], 1
mov ecx, dword [0x4ac310]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0xc54], eax
lea eax, [esp + 0x18]
push eax
push 0x478980
mov dword [esp + 0xc58], ecx
mov dword [esp + 0xc60], edx
call esi
mov eax, dword [esp + 0xc48]
cmp eax, ebx
je 0x4787d8
lea ecx, [esp + 0x10]
push ecx
push 0x477500
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x478795
mov edx, dword [esp + 0xc48]
call fcn.00478040
mov dword [esp + 0xc48], esi
mov eax, dword [esp + 0xc48]
call fcn.00476560
mov edx, dword [esp + 0xc48]
call fcn.00478040
mov edx, dword [0x4a7978]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x478800
push 1
push eax
call fcn.004013c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
mov eax, dword [0x4ac314]
cmp eax, ebx
je 0x478800
cmp eax, 1
setg al
mov dword [0x4ac314], ebx
cmp al, bl
je 0x478800
mov edx, ebp
call fcn.00478040
push ebx
mov ecx, edi
call fcn.00478680
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8e68
ret 4
Function at 0x48c964
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a6d90]
jne 0x48c96e
repz ret
jmp fcn.00491237

Function at 0x48f284
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a6d90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004898f2
and dword [ebp - 0x14], 0
cmp dword [0x4a9ad4], 0
mov dword [ebp - 0x18], eax
jne 0x48f337
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x48f3df
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x48f3df
mov esi, dword [fcn.00485460]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a9ad4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a9ad8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a9adc], eax
call edi
push eax
call esi
mov dword [0x4a9ae4], eax
test eax, eax
je 0x48f337
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a9ae0], eax
mov eax, dword [0x4a9ae0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00485464]
cmp eax, ecx
je 0x48f390
cmp dword [0x4a9ae4], ecx
je 0x48f390
push eax
call esi
push dword [0x4a9ae4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48f390
test ebx, ebx
je 0x48f390
call edi
test eax, eax
je 0x48f387
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48f387
test byte [ebp - 8], 1
jne 0x48f390
or dword [ebp + 0x10], 0x200000
jmp 0x48f3c3
mov eax, dword [0x4a9ad8]
cmp eax, dword [ebp - 0x18]
je 0x48f3c3
push eax
call esi
test eax, eax
je 0x48f3c3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48f3c3
mov eax, dword [0x4a9adc]
cmp eax, dword [ebp - 0x18]
je 0x48f3c3
push eax
call esi
test eax, eax
je 0x48f3c3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a9ad4]
call esi
test eax, eax
je 0x48f3df
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x48f3e1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c964
leave
ret
Function at 0x401685
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov dword [esp + 4], 0x4ae2c4
mov dword [esp], 0x1ffe
call sub.KERNEL32.DLL_GetTempPathW
push eax
push eax
mov dword [esp + 4], 4
mov dword [esp], 0x4982b4
call fcn.0040b177
mov dword [esp + 0x10], eax
mov eax, dword [0x4982b4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4ae2c4
mov dword [esp + 4], str._s_08x_08x.exe
mov dword [esp], 0x4b22c4
call sub.msvcrt.dll_swprintf
lea eax, [ebp - 9]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4b22c4
lea ebx, [ebp - 0x14]
mov dword [esp], ebx
call fcn.00441450
lea esi, [ebp - 0x10]
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00407bc5
push edx
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], str.tmpexe:___s_
call fcn.0040ace7
mov dword [esp], esi
call fcn.0044b870
mov dword [esp], ebx
call fcn.00441ab0
mov eax, 0x4b22c4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401a39
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [ebp - 0x2c], eax
mov edi, edx
xor ebx, ebx
lea esi, [ebp - 0x20]
mov eax, edi
test al, al
je 0x401a5a
mov eax, dword [ebx + 0x482330]
jmp 0x401a60
mov eax, dword [ebx + 0x482334]
mov edx, dword [ebx + 0x48232c]
mov ecx, dword [ebx + 0x482328]
mov dword [ebp - 0x24], eax
mov dword [esp + 0x20], esi
lea eax, [ebp - 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0x30], edx
call sub.ADVAPI32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
mov edx, dword [ebp - 0x30]
jne 0x401afb
mov dword [esp + 0x14], 4
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
push eax
add ebx, 0x10
cmp ebx, 0x2f0
jne 0x401a4c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401b47
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov esi, ecx
lea ecx, [ebp - 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyExW
sub esp, 0x14
xor ebx, ebx
test eax, eax
jne 0x401bb4
mov dword [esp + 4], esi
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegDeleteValueW
push edx
push edx
test eax, eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
jne 0x401bae
call sub.ADVAPI32.dll_RegCloseKey
push eax
mov dword [esp], str.autorun:_removed_
call fcn.0040ace7
mov bl, 1
jmp 0x401bb4
call sub.ADVAPI32.dll_RegCloseKey
push esi
mov al, bl
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401e46
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
push ecx
push ecx
mov esi, eax
cmp eax, 0xffffffff
je 0x401f74
mov dword [ebp - 0x140], 0x128
lea eax, [ebp - 0x140]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.KERNEL32.DLL_Process32First
push edx
push edx
test eax, eax
je 0x401f6b
mov dword [esp + 4], 0x5c
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
mov ebx, eax
test eax, eax
jne 0x401ebb
lea ebx, [ebp - 0x11c]
xor edi, edi
mov dword [esp + 4], ebx
mov eax, dword [edi*4 + 0x4830f4]
mov dword [esp], eax
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x401ef5
xor edi, edi
mov dword [esp + 4], ebx
mov eax, dword [edi*4 + 0x483510]
mov dword [esp], eax
call sub.msvcrt.dll__stricmp
test eax, eax
je 0x401f54
inc edi
cmp edi, 9
jne 0x401ed6
jmp 0x401f00
inc edi
cmp edi, 0xf1
jne 0x401ebd
jmp 0x401f54
mov eax, dword [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call sub.KERNEL32.DLL_OpenProcess
sub esp, 0xc
test eax, eax
je 0x401f44
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.DLL_TerminateProcess
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], str.killed:___s_
jmp 0x401f4f
mov dword [esp + 4], ebx
mov dword [esp], str.cant_kill:___s_
call fcn.0040ace7
lea eax, [ebp - 0x140]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.KERNEL32.DLL_Process32Next
jmp 0x401e8f
mov dword [esp], esi
call sub.KERNEL32.DLL_CloseHandle
push eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402232
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor edx, edx
mov eax, 0x80000001
call fcn.00401a39
call fcn.004017bf
test al, al
je 0x40225a
xor edx, edx
mov eax, 0x80000002
leave
jmp fcn.00401a39
leave
ret

Function at 0x40225c
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, 0x48117a
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov eax, 0x80000001
call fcn.00401b47
mov ecx, str.System_Health_Monitoring_Service_Pro
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov eax, 0x80000001
call fcn.00401b47
call fcn.004017bf
test al, al
je 0x4022bc
mov ecx, 0x48117a
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov eax, 0x80000002
call fcn.00401b47
mov ecx, str.System_Health_Monitoring_Service_Pro
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov eax, 0x80000002
leave
jmp fcn.00401b47
leave
ret
Function at 0x4027a6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [0x494034], 0
jne 0x4027cf
call sub.KERNEL32.DLL_GetTickCount
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [0x494034], eax
mov edx, str.javascript:
mov eax, esi
call fcn.0040273d
test al, al
jne 0x4028fd
mov edx, str.about:
mov eax, esi
call fcn.0040273d
test al, al
jne 0x4028fd
jmp 0x4028e0
mov byte [0x492025], 1
mov dword [esp + 4], 3
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
push eax
push eax
lea eax, [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.USER32.dll_GetWindowRect
push eax
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x18], 0x40
mov eax, dword [ebp - 0xc]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
sub eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.USER32.dll_SetWindowPos
sub esp, 0x1c
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], str.parent:___u__u____u__u_
call fcn.0040ace7
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00401bdb
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00408a50
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.USER32.dll_UpdateWindow
push eax
mov byte [ebx + 0x3a], 0
mov dword [esp + 4], 3
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
push eax
push eax
jmp 0x4028fd
mov eax, dword [esi]
mov dword [esp + 4], eax
mov dword [esp], str.DONE_URL:___s__n
call fcn.0040ace7
cmp byte [ebx + 0x3a], 0
je 0x4028c9
jmp 0x4027fc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x402962
Capabilities:
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, eax
mov dword [esp], eax
call sub.KERNEL32.DLL_GetFileAttributesW
push edx
mov esi, 1
inc eax
je 0x402a69
mov eax, ebx
call fcn.004015cb
mov esi, eax
test eax, eax
je 0x402a31
lea eax, [ebp - 0x19]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
lea edi, [ebp - 0x20]
mov dword [esp], edi
call fcn.00441450
lea eax, [ebp - 0x24]
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [ebp - 0x2c], eax
call fcn.00407bc5
push ecx
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp], str.trying_to_delete_opened_file:___s_
call fcn.0040ace7
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0044b870
mov dword [esp], edi
call fcn.00441ab0
mov dword [esp], ebx
call sub.KERNEL32.DLL_DeleteFileW
push edi
mov dword [esp], esi
test eax, eax
je 0x402a1f
call sub.KERNEL32.DLL_FlushFileBuffers
push eax
mov dword [esp], esi
call sub.KERNEL32.DLL_CloseHandle
push eax
mov dword [esp], ebx
call sub.KERNEL32.DLL_GetFileAttributesW
push edx
inc eax
je 0x402a16
mov dword [esp], ebx
call sub.KERNEL32.DLL_DeleteFileW
push edi
mov dword [esp], str._opened_new_file_deleted_sucessfully
jmp 0x402a2c
call sub.KERNEL32.DLL_CloseHandle
push esi
mov dword [esp], str._cant_delete_opened_new_file
call fcn.0040ace7
mov dword [esp], ebx
call sub.KERNEL32.DLL_GetFileAttributesW
push ecx
mov esi, 1
inc eax
je 0x402a69
mov dword [esp], str._trying_generic_deletion
call fcn.0040ace7
mov dword [esp], ebx
call sub.KERNEL32.DLL_DeleteFileW
push edx
test eax, eax
jne 0x402a69
mov dword [esp], str._generic_deletion_failed
call fcn.0040ace7
xor esi, esi
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret