joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x34000]
push edi
or ebp, 0xffffffff
jmp 0x440532
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440528
mov eax, 1
add ebx, ebx
jne 0x44054b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440540
jne 0x44055c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440540
xor ecx, ecx
sub eax, 3
jb 0x440570
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4405e2
mov ebp, eax
add ebx, ebx
jne 0x44057b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x440588
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4405ac
inc ecx
add ebx, ebx
jne 0x440598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44058d
jne 0x4405a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44058d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4405cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4405bd
jmp 0x44052e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4405cc
add edi, ecx
jmp 0x44052e
pop esi
mov edi, esi
mov ecx, 0xf4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4405ea
cmp byte [edi], 4
jne 0x4405ea
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 0x4405ef
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440667
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x406c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x40704]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44061c
mov ecx, edi
jns 0x44064b
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 + 0x40708]
or eax, eax
je 0x440661
mov dword [ebx], eax
add ebx, 4
jmp 0x440639
call dword [esi + 0x4070c]
popal
jmp 0x401c00
Function at 0x5fec1040
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [esi + 4]
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x5fec1060
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 4], edi
mov eax, dword [esi]
cmp eax, edi
je 0x5fec106f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x5fec1080
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edi
push 4
push edi
push 0xffffffffffffffff
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
cmp eax, edi
jne 0x5fec10bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x5fec1188
and eax, 0xffff
or eax, 0x80070000
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
jne 0x5fec10d3
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [esi]
push edx
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
cmp eax, edi
jne 0x5fec1110
call ebx
cmp eax, edi
jle 0x5fec10fb
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [esi]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x5ff49ac4]
mov edx, dword [str.locker_]
mov ecx, dword [0x5ff49ac8]
push 0x7f0
mov dword [ebp - 0x800], eax
mov dword [ebp - 0x804], edx
mov edx, dword [0x5ff49acc]
lea eax, [ebp - 0x7f4]
push edi
push eax
mov dword [ebp - 0x7fc], ecx
mov dword [ebp - 0x7f8], edx
call fcn.5feebe40
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
lea edx, [ebp - 0x804]
push 0x400
push edx
call fcn.5fef0dcf
add esp, 0x1c
lea eax, [ebp - 0x804]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
mov dword [esi + 8], 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x5fec1660
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x5ff49af4
push str.CLogController::Init
mov esi, ecx
call fcn.5fec2ac0
add esp, 8
lea edi, [esi + 8]
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 5], 0
jne 0x5fec16a1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 0x810d0009
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 6], 0
je 0x5fec16bb
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 0x810d0004
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 4], 0
je 0x5fec16d5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 0x810d0005
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x138], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ebx, [esi + 0x13c]
mov dword [esi + 0x170], eax
call fcn.5fec1190
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x5fec1785
cmp word [ebx], 0
je 0x5fec1785
push 0xffffffffffffffff
push str.SoftwareBaiduBDLOG_
lea edi, [esi + 0xac]
push 0x40
push edi
call fcn.5feeedc2
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5fec1727
sub eax, edx
sar eax, 1
push 0xffffffffffffffff
mov ecx, 0x40
push ebx
sub ecx, eax
push ecx
lea edx, [esi + eax*2 + 0xac]
push edx
call fcn.5feeedc2
add esp, 0x10
push 0
lea ebx, [esi + 0x12c]
push ebx
push 0
push 0x11
push 0
push 0
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebx], 0
jne 0x5fec1782
push 0x5ff49bd0
call fcn.5fec2bb0
add esp, 4
mov edi, dword [ebp - 4]
push edi
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5fec1980
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x5ff49af4
push str.CLogController::MonitorConfigChange
mov esi, ecx
call fcn.5fec2ac0
add esp, 8
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 5], 0
jne 0x5fec19be
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 0x810d0009
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 6], 0
je 0x5fec19d6
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 0x810d0004
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 4], 0
jne 0x5fec19ee
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 0x810d0003
pop esi
mov esp, ebp
pop ebp
ret
cmp word [esi + 0xac], 0
je 0x5fec1a8e
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x5fec1a8e
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0
push str.monitor_config_change
push eax
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5fec1a44
cmp dword [ebp - 8], eax
jne 0x5fec1a44
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x5fec26b0
push 0
push 0
mov dword [esi + 0x20], eax
call fcn.5fef0ab2
add esp, 0x18
mov dword [esi + 0x24], eax
test eax, eax
jne 0x5fec1a7f
push 0x5ff49cbc
call fcn.5fec2bb0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 0x810d000a
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5fec2300
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ff076b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 8]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x64], ebx
cmp byte [edi + 5], bl
jne 0x5fec2360
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x810d0009
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 6], bl
je 0x5fec2385
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x810d0004
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 4], bl
jne 0x5fec23aa
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x810d0003
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [edi + 0x13c]
lea esi, [esp + 0x18]
call fcn.5fec1250
mov eax, dword [edi + 0x130]
mov ecx, dword [edi + 0x134]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [edi + 0x138]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x170]
push eax
mov dword [esp + 0x50], edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [edi + 0x174]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
cmp dword [edi + 0xa8], ebx
jbe 0x5fec2479
lea esi, [edi + 0x28]
mov eax, dword [esi]
cmp byte [eax + 0x184c], 0
je 0x5fec246d
cmp dword [eax + 0x1850], 0
je 0x5fec245d
mov ecx, dword [eax + 0x1850]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
call eax
test al, al
je 0x5fec246d
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x28]
push eax
call edx
inc ebx
add esi, 4
cmp ebx, dword [edi + 0xa8]
jb 0x5fec2434
add dword [edi + 0x130], 1
mov eax, dword [esp + 0x10]
push eax
adc dword [edi + 0x134], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5fec2610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
sub esp, 0x204
mov word [esi], ax
cmp dword [edi + 0x12c], eax
je 0x5fec2699
mov ecx, dword [0x5ff49d1c]
mov edx, dword [0x5ff49d20]
push 0x1f8
push eax
lea eax, [ebp - 0x1fc]
push eax
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x200], edx
call fcn.5feebe40
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
lea edx, [ebp - 0x204]
push 0x100
push edx
call fcn.5fef0dcf
mov edx, dword [edi + 0x12c]
add esp, 0x1c
lea eax, [ebp + 8]
push eax
push esi
push 0
push 0
lea ecx, [ebp - 0x204]
push ecx
push edx
mov dword [ebp + 8], 0x7fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 8]
shr eax, 1
xor ecx, ecx
mov word [esi + eax*2], cx
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x5fec2ac0
Capabilities:
Print debug messages
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5ff50dc0]
sub esp, 0x840
test eax, eax
je 0x5fec2ba0
cmp eax, 0xffffffff
jne 0x5fec2b06
push 0x20
lea eax, [ebp - 0x40]
push eax
push str.BDLOGENV
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x40]
push ecx
call fcn.5fef09e2
add esp, 4
and eax, 1
mov dword [0x5ff50dc0], eax
je 0x5fec2ba0
mov edx, dword [str.BDLOG:]
mov eax, dword [0x5ff49ec4]
mov ecx, dword [0x5ff49ec8]
push 0x7f2
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x840], edx
mov dx, word [0x5ff49ecc]
lea eax, [ebp - 0x832]
push 0
push eax
mov dword [ebp - 0x838], ecx
mov word [ebp - 0x834], dx
call fcn.5feebe40
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
lea edx, [ebp - 0x840]
push 0x400
push edx
call fcn.5fef0dcf
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x840]
push 0x400
push ecx
call fcn.5fef0dcf
push 0xffffffffffffffff
push 0x5ff49ed0
lea edx, [ebp - 0x840]
push 0x400
push edx
call fcn.5fef0dcf
add esp, 0x3c
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret
Function at 0x5fec3cb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax]
push 0x5ff49af4
mov esi, ecx
push str.path
mov ecx, edi
call edx
push 0xffffffffffffffff
push eax
lea ebx, [esi + 8]
push 0x104
push ebx
call fcn.5feeedc2
mov eax, dword [edi]
mov edx, dword [eax + 8]
add esp, 0x10
push 1
push str.share_read
mov ecx, edi
call edx
xor ecx, ecx
test al, al
setne cl
mov edx, ebx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x20c]
call fcn.5fec2d60
push 0x104
push ebx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [ebp - 4]
push 0
push 0x80
push 4
push 0
push eax
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x214], eax
cmp eax, 0xffffffff
jne 0x5fec3d68
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x5fec3de5
pop edi
and eax, 0xffff
pop esi
or eax, 0x80070000
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 0xf4240
push str.buffer_size
mov ecx, edi
call eax
xor ebx, ebx
mov dword [esi + 0x21c], eax
mov dword [esi + 0x220], ebx
cmp eax, ebx
jbe 0x5fec3d9c
push eax
call fcn.5feed722
add esp, 4
mov dword [esi + 0x218], eax
mov edx, dword [edi]
mov eax, dword [edx + 8]
push ebx
push str.async
mov ecx, edi
call eax
push 2
lea edx, [ebp + 8]
push edx
test al, al
mov eax, dword [esi + 0x214]
push ebx
sete cl
push eax
mov byte [esi + 0x210], cl
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
jne 0x5fec3de3
cmp dword [ebp + 8], ebx
jne 0x5fec3de3
lea edi, [eax + 2]
mov ebx, 0x5ff4a0d8
call fcn.5fec4120
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5fec4120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x220]
add eax, edi
sub esp, 8
cmp eax, dword [esi + 0x21c]
jb 0x5fec4149
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov dword [esi + 0x220], 0
cmp edi, dword [esi + 0x21c]
jb 0x5fec41be
cmp byte [esi + 0x210], 0
mov eax, dword [esi + 0x214]
je 0x5fec418e
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5fec41b0
push 0x5ff4a084
call fcn.5fec2bb0
add esp, 4
mov dword [esi + 0x220], 0
mov esp, ebp
pop ebp
ret
push 0x5fec3ba0
push 0x5ff52304
push edi
or ecx, 0xffffffff
push ebx
push eax
mov dword [0x5ff5230c], ecx
mov dword [0x5ff52310], ecx
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
mov dword [esi + 0x220], 0
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x218]
add edx, dword [esi + 0x220]
push edi
push ebx
push edx
call fcn.5feee550
add esp, 0xc
add dword [esi + 0x220], edi
mov esp, ebp
pop ebp
ret
Function at 0x5fec9dbe
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push dword [ebp + 8]
xor esi, esi
push dword [edi]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.5fec8fcd
mov ebx, eax
cmp ebx, esi
je 0x5fec9e04
lea ecx, [ebp - 0x10]
call fcn.5fec8f4a
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x5fec9e1f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.5fec9dbe
cmp eax, esi
jne 0x5fec9e54
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 4], 0x100
call ebx
test eax, eax
je 0x5fec9e0c
lea ecx, [ebp - 0x10]
call fcn.5fec8f4a
push dword [ebp + 8]
mov ecx, edi
call fcn.5fec8eda
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.5fec8f4a
mov eax, esi
jmp 0x5fec9dfd

Function at 0x5fec9e62
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
push ebx
mov ebx, dword [0x5ff51520]
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x418]
push eax
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x5fec9e98
call fcn.5fec8c5c
jmp 0x5fec9fbc
cmp eax, edi
jne 0x5fec9ea6
mov eax, 0x8007007a
jmp 0x5fec9fbc
test ebx, ebx
je 0x5fec9ebe
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp ebx, eax
je 0x5fec9ebe
lea ecx, [ebp - 0x418]
jmp 0x5fec9f13
push 0x22
pop eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20e]
push 0x105
push eax
call fcn.5feeed5f
push eax
call fcn.5fec4b1e
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push 0x22
pop ecx
mov word [ebp + eax - 0x210], cx
xor ecx, ecx
mov word [ebp + eax - 0x20e], cx
lea ecx, [ebp - 0x210]
mov eax, dword [esi]
push ecx
push str.Module
push esi
call dword [eax + 0xc]
test eax, eax
js 0x5fec9fbc
mov eax, dword [esi]
lea ecx, [ebp - 0x418]
push ecx
push str.Module_Raw
push esi
call dword [eax + 0xc]
test eax, eax
js 0x5fec9fbc
lea eax, [ebp - 4]
push eax
push 0x5ff50fec
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x5fec9fbc
push dword [ebp - 4]
mov eax, dword [esi]
push str.MODULEGUID
push esi
call dword [eax + 0xc]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jns 0x5fec9f71
mov eax, edi
jmp 0x5fec9fbc
push 0x2000
push 0x2b4
lea eax, [ebp - 0x6cc]
push eax
push 0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
mov eax, dword [esi]
jne 0x5fec9f9e
push str.InprocServer32
jmp 0x5fec9fa3
push str.LocalServer32
push str.MODULETYPE
push esi
call dword [eax + 0xc]
test eax, eax
js 0x5fec9fbc
mov ecx, dword [0x5ff50fe8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5fedd8cd
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
jne 0x5fedd8f8
call fcn.5fec8c5c
jmp 0x5fedd96d
push esi
xor esi, esi
inc esi
mov byte [ebp - 1], 0
cmp dword [ebp - 8], esi
jle 0x5fedd963
cmp byte [ebp - 1], 0
mov eax, dword [ebx + esi*4]
jne 0x5fedd955
cmp word [eax], 0x2d
jne 0x5fedd955
cmp word [eax + 2], 0x2d
jne 0x5fedd955
lea edx, [eax + 4]
mov eax, edx
jmp 0x5fedd92b
cmp cx, 0x3d
je 0x5fedd933
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x5fedd922
cmp eax, edx
jne 0x5fedd93d
mov byte [ebp - 1], 1
jmp 0x5fedd95d
cmp word [eax], 0
je 0x5fedd949
lea ecx, [eax + 2]
push ecx
jmp 0x5fedd94a
push eax
push eax
push edx
mov ecx, edi
call fcn.5fedd884
jmp 0x5fedd95d
push eax
mov ecx, edi
call fcn.5fedd85a
inc esi
cmp esi, dword [ebp - 8]
jl 0x5fedd905
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret

Function at 0x5fede76e
Capabilities:
Hash data using djb2

Disassembly:
mov ecx, dword [ecx]
mov eax, 0x1505
jmp 0x5fede782
imul eax, eax, 0x21
movzx edx, dx
add eax, edx
add ecx, 2
movzx edx, word [ecx]
test dx, dx
jne 0x5fede777
ret

Function at 0x5fee0904
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x28], ebx
jne 0x5fee0a0f
push 4
call fcn.5feed722
pop ecx
mov dword [esi + 0x28], eax
mov dword [eax], ebx
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.Software_baiduSpark
push 0x80000001
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5fee0a0f
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xfe0]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x5ff42000
push dword [ebp - 8]
xor edi, edi
inc edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0xfd0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x5fee098c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5fee0a0e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], edi
jne 0x5fee0a0e
lea eax, [ebp - 0xfe0]
push eax
lea ecx, [ebp - 4]
call fcn.5fec7697
lea ecx, [ebp - 4]
call fcn.5fedb23a
mov ecx, eax
call fcn.5fedab56
push 0x5ff41ffc
lea ecx, [ebp - 4]
call fcn.5fec503f
test eax, eax
jne 0x5fee09cd
mov eax, dword [esi + 0x28]
mov dword [eax], edi
jmp 0x5fee0a03
push 0x5ff41ff8
lea ecx, [ebp - 4]
call fcn.5fec503f
test eax, eax
jne 0x5fee09e9
mov eax, dword [esi + 0x28]
mov dword [eax], 2
jmp 0x5fee0a03
push 0x5ff41ff4
lea ecx, [ebp - 4]
call fcn.5fec503f
test eax, eax
jne 0x5fee0a03
mov eax, dword [esi + 0x28]
mov dword [eax], 3
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.5fec4d0d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5fee3612
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.Software_baiduSpark
push 0x80000001
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5fee372a
cmp dword [ebp - 4], edi
je 0x5fee372a
push ebx
push esi
mov esi, 0x800
push esi
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.5feebe40
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 8]
xor ebx, ebx
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc ebx
mov dword [ebp - 0x10], ebx
call esi
cmp eax, edi
je 0x5fee370d
cmp eax, 0xea
jne 0x5fee3702
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.5feeb461
pop ecx
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
test eax, eax
je 0x5fee36df
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
je 0x5fee3728
push ebx
call fcn.5feee3b3
pop ecx
jmp 0x5fee3728
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.5fec6139
cmp ebx, edi
je 0x5fee36f9
push ebx
call fcn.5feee3b3
pop ecx
mov dword [ebp - 8], 1
jmp 0x5fee3728
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5fee3728
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x810]
push eax
call fcn.5fec6139
mov dword [ebp - 8], ebx
pop esi
pop ebx
mov eax, dword [ebp - 8]
pop edi
leave
ret

Function at 0x5fee3d6e
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
and dword [ebx + 0xa0], 0
push str.NoName
lea ecx, [ebp - 4]
call fcn.5fec7697
mov edi, dword [ebp + 8]
test edi, edi
je 0x5fee3da4
mov eax, dword [edi + 4]
test eax, eax
je 0x5fee3da4
push eax
lea ecx, [ebp - 4]
call fcn.5fec6139
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0xc]
push eax
call esi
test edi, edi
je 0x5fee3dc2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
lea eax, [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
mov dword [ebx + 0xa0], 1
call fcn.5fec4d0d
pop edi
pop esi
pop ebx
leave
ret 4