joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e2f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e28f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x66f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea eax, [ebp - 0x10]
push eax
push 0
push 3
mov dword [ebp - 0x10], 0
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x47e3c1
push eax
lea ecx, [ebp - 0x1c]
call fcn.0048c250
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x1c]
push eax
push edi
push 3
call ebx
test eax, eax
je 0x47e3ad
mov eax, dword [ebp - 0x10]
mov ebx, dword [esi + 0x14]
lea ecx, [edi + eax*2]
cmp ebx, 8
jb 0x47e36e
mov edx, dword [esi]
jmp 0x47e370
mov edx, esi
mov eax, dword [esi + 0x10]
lea eax, [edx + eax*2]
cmp ebx, 8
jb 0x47e37f
mov edx, dword [esi]
jmp 0x47e381
mov edx, esi
push ecx
push edi
push eax
push edx
mov ecx, esi
call fcn.0048d270
test edi, edi
je 0x47e399
push edi
call fcn.0049a336
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47e3c1
push edi
call fcn.0049a336
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x10]
push eax
push 0
mov dword [ebp - 0x10], 0
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x47e421
push eax
lea ecx, [ebp - 0x1c]
call fcn.0048c250
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x1c]
push eax
push edi
call ebx
test eax, eax
je 0x47e414
mov eax, dword [ebp - 0x10]
mov ebx, dword [esi + 0x14]
lea ecx, [edi + eax*2]
cmp ebx, 8
jb 0x47e36e
mov edx, dword [esi]
jmp 0x47e370
test edi, edi
je 0x47e421
push edi
call fcn.0049a336
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e440
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e28f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x66f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.Secur32.dll_GetUserNameExW]
lea eax, [ebp - 0x10]
push eax
push 0
push 3
mov dword [ebp - 0x10], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x47e519
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0048c250
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x1c]
push eax
push edi
push 3
call ebx
test al, al
je 0x47e505
mov eax, dword [ebp - 0x10]
mov ebx, dword [esi + 0x14]
lea ecx, [edi + eax*2]
cmp ebx, 8
jb 0x47e4c6
mov edx, dword [esi]
jmp 0x47e4c8
mov edx, esi
mov eax, dword [esi + 0x10]
lea eax, [edx + eax*2]
cmp ebx, 8
jb 0x47e4d7
mov edx, dword [esi]
jmp 0x47e4d9
mov edx, esi
push ecx
push edi
push eax
push edx
mov ecx, esi
call fcn.0048d270
test edi, edi
je 0x47e4f1
push edi
call fcn.0049a336
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47e519
push edi
call fcn.0049a336
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x10]
push eax
push 0
mov dword [ebp - 0x10], 0
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x47e549
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x1c]
call fcn.0048c250
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x1c]
push eax
push edi
call ebx
test eax, eax
je 0x47e5a8
mov eax, dword [ebp - 0x10]
mov ebx, dword [esi + 0x14]
lea ecx, [edi + eax*2]
cmp ebx, 8
jb 0x47e579
mov edx, dword [esi]
jmp 0x47e57b
mov edx, esi
mov eax, dword [esi + 0x10]
lea eax, [edx + eax*2]
cmp ebx, 8
jb 0x47e597
mov edx, dword [esi]
push ecx
push edi
push eax
push edx
mov ecx, esi
call fcn.0048d270
mov bl, 1
jmp 0x47e5aa
push ecx
push edi
mov edx, esi
mov ecx, esi
push eax
push edx
call fcn.0048d270
mov bl, 1
jmp 0x47e5aa
xor bl, bl
test edi, edi
je 0x47e5b7
push edi
call fcn.0049a336
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e5d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
movdqa xmm0, xmmword [0x64e420]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], ecx
push eax
mov dword [ebp - 0x14], 0x61766441
mov dword [ebp - 0x10], 0x32336970
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x6953676e
mov word [ebp - 0x18], 0x5764
mov byte [ebp - 0x16], 0
call fcn.00401240
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x47e677
lea eax, [ebp - 0x30]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x47e677
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0
push 0
push 1
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x47e687
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x47e687
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 0x34]
call fcn.005c09f2
mov esi, eax
add esp, 4
test esi, esi
je 0x47e6b9
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
push esi
push 1
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x47e6d3
push esi
call fcn.005c0934
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x38]
push dword [esi]
call dword [ebp - 0x3c]
push esi
test eax, eax
je 0x47e6b1
call fcn.005c0934
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x47e710
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, edx
push 0x3fe
push eax
mov word [ebp - 0x4a0], ax
mov esi, ecx
lea eax, [ebp - 0x49e]
xor edi, edi
push eax
call fcn.005c7c50
xor eax, eax
mov dword [ebp - 0xa0], 0x53005c
push esi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x4a0]
push 0x200
push eax
mov dword [ebp - 0x9c], 0x46004f
mov dword [ebp - 0x98], 0x570054
mov dword [ebp - 0x94], 0x520041
mov dword [ebp - 0x90], 0x5c0045
mov dword [ebp - 0x8c], 0x69004d
mov dword [ebp - 0x88], 0x720063
mov dword [ebp - 0x84], 0x73006f
mov dword [ebp - 0x80], 0x66006f
mov dword [ebp - 0x7c], 0x5c0074
mov dword [ebp - 0x78], 0x690057
mov dword [ebp - 0x74], 0x64006e
mov dword [ebp - 0x70], 0x77006f
mov dword [ebp - 0x6c], 0x5c0073
mov dword [ebp - 0x68], 0x750043
mov dword [ebp - 0x64], 0x720072
mov dword [ebp - 0x60], 0x6e0065
mov dword [ebp - 0x5c], 0x560074
mov dword [ebp - 0x58], 0x720065
mov dword [ebp - 0x54], 0x690073
mov dword [ebp - 0x50], 0x6e006f
mov dword [ebp - 0x4c], 0x49005c
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x65006e
mov dword [ebp - 0x3c], 0x200074
mov dword [ebp - 0x38], 0x650053
mov dword [ebp - 0x34], 0x740074
mov dword [ebp - 0x30], 0x6e0069
mov dword [ebp - 0x2c], 0x730067
call fcn.005c149e
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4a0]
push 0x200
push eax
call fcn.005c149e
add esp, 0x24
mov dword [ebp - 0x24], 0x650053
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x20], 0x750063
mov dword [ebp - 0x1c], 0x650072
mov dword [ebp - 0x18], 0x720050
push eax
push 0x2001f
push edi
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x14], 0x74006f
push eax
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x10], 0x63006f
mov dword [ebp - 0xc], 0x6c006f
mov dword [ebp - 8], 0x73
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x4ac], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47e8ff
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4a4]
push eax
push edi
push edi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x4a8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47e912
push dword [ebp - 0x4a8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x4ac]
mov esi, 1
mov ecx, ebx
mov eax, esi
shl eax, cl
or dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x4a4]
push eax
push 4
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x4a8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x4a8]
test eax, eax
cmove edi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x47e970
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x3fe
push eax
mov word [ebp - 0x4a0], ax
lea eax, [ebp - 0x49e]
push eax
call fcn.005c7c50
xor eax, eax
mov dword [ebp - 0xa0], 0x53005c
push esi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x4a0]
push 0x200
push eax
mov dword [ebp - 0x9c], 0x46004f
mov dword [ebp - 0x98], 0x570054
mov dword [ebp - 0x94], 0x520041
mov dword [ebp - 0x90], 0x5c0045
mov dword [ebp - 0x8c], 0x69004d
mov dword [ebp - 0x88], 0x720063
mov dword [ebp - 0x84], 0x73006f
mov dword [ebp - 0x80], 0x66006f
mov dword [ebp - 0x7c], 0x5c0074
mov dword [ebp - 0x78], 0x690057
mov dword [ebp - 0x74], 0x64006e
mov dword [ebp - 0x70], 0x77006f
mov dword [ebp - 0x6c], 0x5c0073
mov dword [ebp - 0x68], 0x750043
mov dword [ebp - 0x64], 0x720072
mov dword [ebp - 0x60], 0x6e0065
mov dword [ebp - 0x5c], 0x560074
mov dword [ebp - 0x58], 0x720065
mov dword [ebp - 0x54], 0x690073
mov dword [ebp - 0x50], 0x6e006f
mov dword [ebp - 0x4c], 0x49005c
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x65006e
mov dword [ebp - 0x3c], 0x200074
mov dword [ebp - 0x38], 0x650053
mov dword [ebp - 0x34], 0x740074
mov dword [ebp - 0x30], 0x6e0069
mov dword [ebp - 0x2c], 0x730067
call fcn.005c149e
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4a0]
push 0x200
push eax
call fcn.005c149e
add esp, 0x24
mov dword [ebp - 0x24], 0x650053
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x20], 0x750063
mov dword [ebp - 0x1c], 0x650072
mov dword [ebp - 0x18], 0x720050
push eax
push 0x20019
push 0
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x14], 0x74006f
push eax
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x10], 0x63006f
mov dword [ebp - 0xc], 0x6c006f
mov dword [ebp - 8], 0x73
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4ac], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x47eb65
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4a8]
push eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x4a4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x4a4]
test eax, eax
je 0x47eb75
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x4a8]
mov ecx, dword [ebp - 4]
shr eax, 0xb
xor ecx, ebp
and eax, 1
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x47eba0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x364], 0x200
xor esi, esi
mov dword [ebp - 0x5c], 0x4f0053
test edx, edx
mov dword [ebp - 0x58], 0x540046
mov ecx, 0x20119
mov dword [ebp - 0x54], 0x410057
mov eax, 0x20019
mov dword [ebp - 0x50], 0x450052
cmovne eax, ecx
mov dword [ebp - 0x4c], 0x4d005c
lea ecx, [ebp - 0x360]
mov dword [ebp - 0x48], 0x630069
push ecx
push eax
push esi
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x44], 0x6f0072
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], 0x6f0073
mov dword [ebp - 0x3c], 0x740066
mov dword [ebp - 0x38], 0x43005c
mov dword [ebp - 0x34], 0x790072
mov dword [ebp - 0x30], 0x740070
mov dword [ebp - 0x2c], 0x67006f
mov dword [ebp - 0x28], 0x610072
mov dword [ebp - 0x24], 0x680070
mov dword [ebp - 0x20], 0x79
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47ed1d
lea eax, [ebp - 0x364]
mov dword [ebp - 0x1c], 0x61004d
push eax
lea eax, [ebp - 0x35c]
mov dword [ebp - 0x18], 0x680063
push eax
push esi
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0x6e0069
push eax
push dword [ebp - 0x360]
mov dword [ebp - 0x10], 0x470065
mov dword [ebp - 0xc], 0x690075
mov dword [ebp - 8], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47ed11
push 0xff
push eax
mov byte [ebp - 0x15c], al
lea eax, [ebp - 0x15b]
push eax
call fcn.005c7c50
add esp, 0xc
lea eax, [ebp - 0x15c]
push esi
push esi
push 0x100
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x35c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x15c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47ecf4
sub eax, edx
mov ecx, edi
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00460200
mov esi, 1
push dword [ebp - 0x360]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x489b10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, ecx
push 0
push dword [0x680da4]
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x280], eax
call edi
test eax, eax
je 0x489d36
push 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 0x114], 0
push 0
push eax
call fcn.005c7c50
push 0x140
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.005c7c50
push esi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.005c485c
push str..
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.005c6231
add esp, 0x30
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x489d36
mov ecx, dword [0x680db0]
mov eax, 0x92492493
sub ecx, dword [0x680dac]
xorps xmm0, xmm0
imul ecx
movdqu xmmword [ebp - 0x130], xmm0
movq qword [ebp - 0x120], xmm0
push 0
push dword [0x680da4]
add edx, ecx
mov dword [ebp - 0x118], 0
sar edx, 4
mov eax, edx
mov dword [ebp - 0x284], 0
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x27c], eax
call edi
test eax, eax
je 0x489d2f
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ebx, [ebx]
cmp byte [ebp - 0x248], 0x2e
je 0x489d09
test byte [ebp - 0x274], 0x10
jne 0x489d09
lea eax, [ebp - 0x248]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x489c53
sub eax, esi
cmp eax, 0x14
jae 0x489d09
mov edi, dword [ebp - 0x258]
xor esi, esi
or esi, dword [ebp - 0x254]
add esi, 0xfffffffc
adc edi, 0xffffffff
jne 0x489d47
cmp esi, 0xa00000
ja 0x489d47
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x248]
call fcn.00489a70
add esp, 0xc
test eax, eax
je 0x489ccd
test edi, edi
jb 0x489ccd
ja 0x489cbc
cmp esi, dword [eax + 0x18]
jbe 0x489ccd
mov edi, dword [ebp - 0x280]
cmp dword [edi], 0
jne 0x489ccd
mov dword [edi], 1
lea eax, [ebp - 0x248]
mov dword [ebp - 0x118], esi
push eax
lea eax, [ebp - 0x12c]
push 0x14
push eax
call fcn.005c485c
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x130]
add esp, 0xc
push eax
call fcn.0048be30
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x274]
push eax
push ebx
call edx
test eax, eax
je 0x489d2f
push 0
push dword [0x680da4]
call edi
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x489c30
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c02df
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x274]
push eax
push ebx
call edx
test eax, eax
je 0x489d2f
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x489d17
Function at 0x48b3b0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 0
push 0x464970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.0048bff0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push eax
push 0x28
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x48], 0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x48b45d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x78
sete cl
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x28], 0x650053
mov word [ebp - 8], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x650044
push eax
push 0
mov dword [ebp - 0x20], 0x750062
mov dword [ebp - 0x1c], 0x500067
mov dword [ebp - 0x18], 0x690072
mov dword [ebp - 0x14], 0x690076
mov dword [ebp - 0x10], 0x65006c
mov dword [ebp - 0xc], 0x650067
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x48b4c9
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x38], 1
push eax
push 0x10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], 2
push eax
push 0
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x4c]
test eax, eax
je 0x48b4b2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x48b780
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [0x680684], 0
push eax
push 0x10
mov word [ebp - 8], ax
lea eax, [ebp - 0x1c]
push 0x8000
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xffffffff
push eax
mov dword [ebp - 0x1c], 0x5c002e
mov dword [ebp - 0x18], 0x650054
mov dword [ebp - 0x14], 0x740078
mov dword [ebp - 0x10], 0x70002e
mov dword [ebp - 0xc], 0x6b0061
call fcn.005c2d57
mov esi, eax
add esp, 0x14
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x48b7f6
push eax
call fcn.005c2d75
add esp, 4
cmp esi, 2
je 0x48b81f
mov eax, dword [0x680684]
cmp esi, 0xd
mov ecx, 1
cmove eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x680684], eax
pop esi
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push 0x10
push str.Error
push 0x64cfd4
push dword [0x680c00]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.005c33c5
int3

Function at 0x48f320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004ad10d

Function at 0x48ff30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x659268
push 0x5c85d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x66f040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], edx
mov ebx, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push dword [ebp - 0x1c]
push ebx
call fcn.005c96b0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x48ffa7
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x492f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov ebx, ecx
test edi, edi
je 0x492f86
cmp edi, 0x18
jbe 0x492f8b
mov edi, 0x18
mov edx, 0xd0
call fcn.00494090
cmp esi, edi
jae 0x492fad
lea ecx, [esi + 0x60]
lea ecx, [ebx + ecx*4]
nop
mov al, byte [ecx]
lea ecx, [ecx + 4]
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x492fa0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x492fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
test esi, esi
je 0x492fd4
cmp esi, 0x18
jbe 0x492fd9
mov esi, 0x18
cmp edx, esi
jae 0x492ff0
lea ecx, [edx + 0x60]
lea ecx, [ebx + ecx*4]
mov al, byte [ecx]
lea ecx, [ecx + 4]
xor byte [edx + ebx], al
inc edx
cmp edx, esi
jb 0x492fe3
mov edx, 0xcf
xor esi, esi
mov edi, ebx
lea esp, [esp]
cmp edx, esi
je 0x493016
mov al, byte [edi]
inc esi
mov cl, byte [edx + ebx]
mov byte [edx + ebx], al
dec edx
mov byte [edi], cl
inc edi
cmp esi, 0x68
jl 0x493000
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x493020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x130], edx
mov edx, 7
mov dword [ebp - 0x12c], ecx
mov ecx, ebx
push 0
mov dword [ebp - 0x134], ebx
call fcn.00492f70
xorps xmm0, xmm0
mov byte [ebp - 0x18], 0
add ebx, 8
movq qword [ebp - 0x17], xmm0
push 0x10
mov edx, ebx
mov dword [ebp - 0xf], 0
lea ecx, [ebp - 0x18]
mov word [ebp - 0xb], 0
mov byte [ebp - 9], 0
call fcn.0048ffc0
add esp, 8
mov edx, 0xf
mov edi, ecx
xor esi, esi
cmp edx, esi
je 0x4930a9
mov al, byte [edi]
inc esi
mov cl, byte [ebp + edx - 0x18]
mov byte [ebp + edx - 0x18], al
dec edx
mov byte [edi], cl
inc edi
cmp esi, 8
jl 0x493091
lea eax, [ebp - 0x124]
mov byte [ebp - 0x125], 0
push eax
push 0x80
push ebx
call fcn.00455380
movzx ebx, byte [ebp - 0x125]
mov ecx, 1
test eax, eax
push 0
cmovs ebx, ecx
lea edx, [ecx + 6]
mov ecx, dword [ebp - 0x134]
call fcn.00492fc0
add esp, 0x10
test bl, bl
je 0x4930fd
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x130]
mov esi, edi
mov ebx, dword [ebp - 0x12c]
and esi, 0xf
jle 0x493126
mov eax, ebx
lea edx, [edi - 0x10]
sub eax, esi
lea ecx, [ebp - 0x28]
push 0x10
add edx, eax
call fcn.0048ffc0
add esp, 4
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, edi
sub eax, esi
push eax
push ebx
push ebx
call fcn.00454a70
add esp, 0x18
xor ecx, ecx
test esi, esi
jle 0x49315c
sub ebx, esi
add edi, ebx
lea esp, [esp]
mov dl, byte [ebp + ecx - 0x28]
xor byte [edi + ecx], dl
inc ecx
cmp ecx, esi
jl 0x493150
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c02df
mov esp, ebp
pop ebp
ret