joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60a10e
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x60a13a
xor eax, eax
jmp 0x60a1b7
push 0xfe
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], 0
push 0
push eax
call fcn.004cf9d0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xff
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x60a136
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.004cf380
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c392d
mov esp, ebp
pop ebp
ret

Function at 0x611d01
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, dword [ebp + 0xc]
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov esi, eax
cmp edi, 0x21
jb 0x611d4f
cmp edi, 0x28
jbe 0x611d49
lea eax, [edi - 0x2d]
cmp eax, 1
ja 0x611d4f
or esi, 0x100
cmp dword [ebp + 0x10], 0
je 0x611d5b
or esi, 0x1000000
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004cf9d0
add esp, 0xc
shl esi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.005d1246
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c392d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4045fe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push edi
push eax
push 0x20019
xor ebx, ebx
mov dword [ebp - 0xc], ecx
push ebx
push str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncDefaultFindAttachmentPerms
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, 0x80004005
call esi
test eax, eax
je 0x40464f
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncDefaultFindAttachmentPerms
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4046d0
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.tSearchAttachmentsWhiteList
push dword [ebp - 8]
call ebx
cmp eax, 0xea
je 0x404674
test eax, eax
jne 0x4046c7
mov eax, dword [ebp - 4]
inc eax
push eax
mov dword [ebp - 4], eax
call fcn.00405204
mov esi, eax
pop ecx
test esi, esi
je 0x4046c7
push dword [ebp - 4]
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push str.tSearchAttachmentsWhiteList
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x4046c0
push esi
call dword [sym.imp.MSVCR120.dll__mbslwr]
pop ecx
mov ecx, dword [ebp - 0xc]
push esi
call fcn.0040433e
mov edi, eax
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404756
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4047c2
lea eax, [ebp - 0x10]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
push esi
push str.bEnableATL7Compat
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4047b9
cmp dword [ebp - 8], 4
jne 0x4047b9
inc eax
cmp dword [ebp - 0xc], eax
cmove esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4047c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
push edi
push eax
push 0x20019
xor edi, edi
xor esi, esi
push edi
push str.SoftwareAdobeAdobe_AcrobatDCSecurity
push reloc.OLEAUT32.dll_SysReAllocString
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40482f
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push edi
push 0x40750c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404826
cmp dword [ebp - 4], eax
cmove esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404837
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x40649c
call fcn.00405674
cmp dword [0x40a01c], 0
mov esi, dword [ebp + 8]
jne 0x404856
mov al, 1
jmp 0x404926
test esi, esi
je 0x404924
xor ebx, ebx
cmp word [esi], bx
je 0x404924
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404924
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x404924
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0040492c
pop ecx
pop ecx
and dword [ebp - 4], ebx
xor edi, edi
mov esi, dword [0x40a01c]
inc edi
cmp dword [ebp - 0x18], ebx
je 0x404911
lea eax, [ebp - 0x28]
push eax
call fcn.00404b7e
pop ecx
test al, al
jne 0x404911
cmp dword [ebp - 0x18], esi
jbe 0x404911
cmp dword [0x40a020], 8
lea eax, [ebp - 0x28]
mov ecx, 0x40a00c
cmovae ecx, dword [0x40a00c]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x404911
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x404911
push 0x4075e0
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
movzx ebx, bl
pop ecx
pop ecx
cmovne ebx, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push edi
call fcn.004015d3
mov al, bl
jmp 0x404926
xor al, al
call fcn.00405632
ret
Function at 0x4049d4
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0x230
mov eax, 0x4064cc
call fcn.00405674
xor eax, eax
mov bl, al
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x404b6c
push str.__alloweddir
mov bl, 1
call dword [sym.imp.MSVCR120.dll_wcslen]
xor esi, esi
mov dword [ebp - 0x234], eax
pop ecx
mov dword [ebp - 0x238], esi
cmp dword [ebp - 0x23c], esi
jle 0x404b65
cmp dword [edi + esi*4], 0
je 0x404b52
push eax
push str.__alloweddir
push dword [edi + esi*4]
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x404b4c
mov eax, dword [edi + esi*4]
xor edx, edx
mov ecx, dword [ebp - 0x234]
mov bl, dl
lea esi, [eax + ecx*2]
cmp word [esi], dx
je 0x404b74
push esi
call dword [sym.imp.MSVCR120.dll_wcslen]
pop ecx
cmp eax, 0x104
jae 0x404b46
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404b46
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x404b46
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0040492c
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x220], esi
je 0x404b34
mov ecx, 0x104
cmp dword [ebp - 0x220], ecx
jae 0x404b34
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
test eax, eax
jne 0x404b34
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x404b34
cmp word [ebp - 0x218], si
jne 0x404b12
mov eax, esi
jmp 0x404b20
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x40a00c
push eax
call fcn.00402ec1
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push esi
push 1
call fcn.004015d3
mov esi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
inc esi
mov dword [ebp - 0x238], esi
cmp esi, dword [ebp - 0x23c]
jl 0x404a33
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
call fcn.00405632
ret
mov esi, dword [ebp - 0x238]
mov eax, ecx
jmp 0x404b52

Function at 0x404e1d
Capabilities:
Accept command line arguments

Disassembly:
push esi
push 1
call fcn.00404c7d
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call fcn.004049d4
test al, al
jne 0x404e4c
xor eax, eax
inc eax
jmp 0x404e5b
push esi
call fcn.00404c3c
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x457e17ef
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x5ea398b
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
adc dword [eax], eax
not dword [eax]
inc eax
add byte [edx], bl
adc al, byte [eax]
cmp eax, 0xd300ec12
add byte [0xd300ec12], bh
adc ebp, esp
add byte [eax + 0x12], cl
inc eax
add byte [esi + 0x14], dh
inc eax
add byte [edx - 0x1bffbfa8], al
adc al, 0x66
add bl, dh
adc al, 0x22
add byte [esi], dl
adc eax, 0x1b980040
sbb ebx, dword fs:[ebx]
sbb ebx, dword [ebx]
add bl, byte [ebx]
sbb ebx, dword [ebx]
sbb ebx, dword [ebx]
sbb ebx, dword [ebx]
add ebx, dword [ebx]
sbb edx, dword [ebx - 0x39]
sbb eax, dword [esi]
sbb eax, dword [edi]
sbb ebx, dword [ebx]
sbb ebx, dword [ebx]
sbb ebx, dword [ebx]
in al, dx
sbb ebx, dword [ebx]
or byte [ecx], cl
or cl, byte [ebx]
bound ecx, qword [ecx + 0x1b0f6118]
sbb edx, dword [eax]
sbb edx, dword [ecx]
adc dl, byte [ebx]
sbb edx, dword [edx + 0x19181716]
inc eax
nop
nop
nop
nop
nop
xchg ebp, eax
nop
nop
nop
jae 0x4016dd
nop
nop
nop
push ebp
mov ebp, esp
je 0x40179a
jmp 0x4016e7
js 0x401805
inc ecx
pop ss

Function at 0x401e40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
xchg edi, eax
in al, dx
js 0x401e9d
mov esi, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x78]
invalid
nop

Function at 0x40ad5a
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40ad5c
ret
Function at 0x40a23c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
xor ebp, ebp
xor edi, edi
lea eax, [ebx + 0x10]
call fcn.00403dcc
cmp ebp, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x40a2a5
mov eax, dword [ebx + 0x10]
mov edx, 0x40a3d8
call fcn.00404190
jne 0x40a274
lea eax, [ebx + 0x10]
call fcn.00403dcc
jmp 0x40a2ad
mov eax, dword [ebx + 0x10]
mov edx, 0x40a3e4
call fcn.00404190
jne 0x40a290
lea eax, [ebx + 0x10]
mov edx, 0x40a3d8
call fcn.00403e20
cmp dword [ebx + 0x10], 0
jne 0x40a2ad
lea eax, [ebx + 0x10]
mov edx, 0x40a3e4
call fcn.00403e20
jmp 0x40a2ad
lea eax, [ebx + 0x10]
call fcn.00403dcc
mov eax, ebx
call fcn.0040a08c
mov eax, dword [0x40b158]
inc dword [eax]
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov word [esp], 2
push 0x8b
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a307
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
mov word [esp], 2
push 0x1bd
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a34a
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
mov word [esp], 2
push 0x75d7
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a38d
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
test edi, edi
je 0x40a3b7
push esi
call sub.wsock32.dll_closesocket
lea eax, [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, 0x40a3f0
call fcn.00404090
mov eax, ebx
call fcn.00409f64
mov ebp, eax
push 0x200
call sub.KERNEL32.DLL_Sleep
jmp 0x40a251

Function at 0x414de0
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], eax
dec ebx
sub ebx, edx
add ebx, edx
add ecx, 4
add edx, 0x2d06fd8a
cmp ecx, edi
jne fcn.00414de0
mov edx, esi
add ebx, 0xadc46853
ret
Function at 0x4010d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c004]
jne 0x4010e0
repz ret
jmp fcn.0040160c

Function at 0x40956c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c004]
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.004041b8
and dword [ebp - 0x14], 0
cmp dword [0x42ed80], 0
mov dword [ebp - 0x18], eax
jne 0x40961f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4096c7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4096c7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42ed80], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42ed84], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42ed88], eax
call edi
push eax
call esi
mov dword [0x42ed90], eax
test eax, eax
je 0x40961f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42ed8c], eax
mov eax, dword [0x42ed8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409678
cmp dword [0x42ed90], ecx
je 0x409678
push eax
call esi
push dword [0x42ed90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409678
test ebx, ebx
je 0x409678
call edi
test eax, eax
je 0x40966f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40966f
test byte [ebp - 8], 1
jne 0x409678
or dword [ebp + 0x10], 0x200000
jmp 0x4096ab
mov eax, dword [0x42ed84]
cmp eax, dword [ebp - 0x18]
je 0x4096ab
push eax
call esi
test eax, eax
je 0x4096ab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4096ab
mov eax, dword [0x42ed88]
cmp eax, dword [ebp - 0x18]
je 0x4096ab
push eax
call esi
test eax, eax
je 0x4096ab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ed80]
call esi
test eax, eax
je 0x4096c7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4096c9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010d6
leave
ret
Function at 0x4207e0
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [0x42fa6c]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
jmp 0x420800
mov dword [0x42f6d4], edi
cmp eax, 0x3dc
jne 0x42081d
push 0x42a574
push 0
push 0
call esi
mov eax, dword [0x42fa6c]
dec ebx
jne 0x420800
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
xor esi, esi
or ebx, 0xffffffff
jmp 0x420830
cmp eax, 0x997
jne 0x420842
push 0
push 0
call edi
mov eax, dword [0x42fa6c]
cmp esi, 0x845f8b
jne 0x420859
mov eax, dword [0x42dbe0]
add eax, 0xa231
mov dword [0x42fa6c], eax
cmp eax, 0x141
jne 0x420870
mov dword [0x42f2a8], 0xec58acac
mov dword [0x42f2ac], ebx
inc esi
cmp esi, 0x12cca12
jl 0x420830
call fcn.00420480
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x4a4780
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x67000]
push edi
or ebp, 0xffffffff
jmp 0x4a47a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a47a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a4798
mov eax, 1
add ebx, ebx
jne 0x4a47bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a47cc
jne 0x4a47dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a47dc
dec eax
add ebx, ebx
jne 0x4a47d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a47b0
xor ecx, ecx
sub eax, 3
jb 0x4a47f4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a4866
sar eax, 1
mov ebp, eax
jmp 0x4a47ff
add ebx, ebx
jne 0x4a47ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a480c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a4830
inc ecx
add ebx, ebx
jne 0x4a481c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a4811
jne 0x4a482d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a4811
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a4850
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a4841
jmp 0x4a479e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a4850
add edi, ecx
jmp 0x4a479e
pop esi
mov edi, esi
mov ecx, 0x19c3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a486e
cmp byte [edi], 0x12
jne 0x4a486e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4a4873
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a48eb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa4e74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa4f64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a48a0
mov ecx, edi
jns 0x4a48cf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa4f68]
or eax, eax
je 0x4a48e5
mov dword [ebx], eax
add ebx, 4
jmp 0x4a48bd
call dword [esi + 0xa4f6c]
popal
jmp 0x435aaa
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..3ean
mov ebx, 0x40915c
nop
mov ecx, 0x35b0075d
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..7LWLf
mov ebx, 0x42f3f8
nop
mov ecx, 0x6bf7e22
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10001040
Capabilities:
Encrypt data using rc4 via systemfunction033

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10005004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
push esi
jne 0x100011b1
push 0
push str.DLL_PROCESS_ATTACH
push str.DLL_PROCESS_ATTACH
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push str.360.breed
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100010ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileA_failed:__x_n
call fcn.10001010
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001794
mov esp, ebp
pop ebp
ret 0xc
push 0x4f588
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0
push 0
push 0x4f588
push eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
push esi
call fcn.100016c8
add esp, 0x28
test eax, eax
je 0x100010f7
push eax
push str.NtReadFile_failed:__x_n
call fcn.10001010
add esp, 8
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 0
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov eax, dword [ebp - 0x28]
movzx edi, byte [eax + 7]
movzx ecx, byte [eax + 6]
shl edi, 8
or edi, ecx
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 4]
shl edi, 8
or edi, ecx
shl edi, 8
or edi, eax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0x28]
mov esi, eax
push edi
add ecx, 8
push ecx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x28]
add esp, 0x10
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], esi
movzx ecx, byte [edi + edx + 0xb]
movzx eax, byte [edi + edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + edx + 8]
shl ecx, 8
or ecx, eax
lea eax, [edx + 0xc]
push str.SystemFunction033
add eax, edi
mov dword [ebp - 0x10], ecx
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
call eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 1]
push eax
push str.buf:__00x_n
call fcn.10001010
add esp, 8
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.10001794
mov esp, ebp
pop ebp
ret 0xc