joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0770
Capabilities:
Encode data using base64

Disassembly:
mov edx, dword [esp + 4]
push ebp
test edx, edx
je 0x4a08c2
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a08c2
mov ebp, dword [esp + 0xc]
test ebp, ebp
jl 0x4a08c2
xor eax, eax
test ebp, ebp
jle 0x4a08c4
push ebx
push esi
push edi
cmp ebp, 3
jl 0x4a0825
mov bl, byte [edx]
inc edx
mov byte [esp + 0x14], bl
mov esi, dword [esp + 0x14]
mov bl, byte [edx]
and esi, 0xff
inc edx
mov edi, esi
mov byte [esp + 0x1c], bl
mov bl, byte [edx]
and esi, 3
shr edi, 2
mov byte [esp + 0x18], bl
inc edx
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov byte [ecx], bl
mov ebx, edi
inc ecx
shr ebx, 4
shl esi, 4
or ebx, esi
mov esi, dword [esp + 0x18]
and esi, 0xff
and edi, 0xf
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
mov ebx, esi
shr ebx, 6
shl edi, 2
or ebx, edi
inc ecx
inc ecx
and esi, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], bl
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
jmp 0x4a08ae
mov bl, byte [edx]
cmp ebp, 2
mov byte [esp + 0x14], bl
jne 0x4a0880
mov esi, dword [esp + 0x14]
mov bl, byte [edx + 1]
and esi, 0xff
inc edx
mov edi, esi
mov byte [esp + 0x1c], bl
shr edi, 2
and esi, 3
inc ecx
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov byte [ecx - 1], bl
mov ebx, edi
shr ebx, 4
shl esi, 4
or ebx, esi
inc ecx
and edi, 0xf
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], bl
mov bl, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
jmp 0x4a08aa
mov esi, dword [esp + 0x14]
and esi, 0xff
mov edi, esi
and esi, 3
shr edi, 2
shl esi, 4
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], bl
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
sub ebp, 3
inc ecx
add eax, 4
test ebp, ebp
jg 0x4a07a2
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4a08d0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
je 0x4a098e
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4a098e
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x4a098e
mov edx, eax
and edx, reloc.WS2_32.dll_closesocket
jns 0x4a0904
dec edx
or edx, 0xfffffffc
inc edx
jne 0x4a098e
push edi
xor edi, edi
test eax, eax
jle 0x4a0989
add eax, 3
push ebx
shr eax, 2
push ebp
mov dword [esp + 0x14], eax
movsx ebp, byte [ecx]
movsx eax, byte [ecx + 1]
inc ecx
mov edx, dword [ebp*4 + 0x4d13f4]
mov eax, dword [eax*4 + 0x4d13f4]
inc ecx
mov ebx, eax
shl dl, 2
shr ebx, 4
or dl, bl
mov byte [esi], dl
inc esi
movsx edx, byte [ecx]
inc edi
inc ecx
cmp edx, 0x3d
je 0x4a097b
mov edx, dword [edx*4 + 0x4d13f4]
mov ebx, edx
shr ebx, 2
shl al, 4
or bl, al
mov byte [esi], bl
inc esi
movsx ebp, byte [ecx]
inc edi
inc ecx
cmp ebp, 0x3d
je 0x4a097c
mov eax, dword [ebp*4 + 0x4d13f4]
shl dl, 6
or al, dl
mov byte [esi], al
inc esi
inc edi
jmp 0x4a097c
inc ecx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4a091d
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4a0cf0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c10
call fcn.004a2ae0
mov eax, dword [esp + 0x2c14]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x4a0e5a
mov esi, dword [esp + 0x2c20]
cmp esi, ebx
je 0x4a0e5a
push ebp
push edi
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
push edi
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.004a1000
add esp, 0x10
lea ecx, [esp + 0x28]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4a0e3d
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x510]
mov dword [esp + 0x18], edx
push ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x518]
mov dword [esp + 0x28], edx
push 0x2710
push ecx
lea edx, [esp + 0x28]
push 0xc
push edx
push 0x2d1400
push ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4a0e25
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x128]
lea edx, [esp + 0x510]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x528]
lea eax, [esp + 0x128]
push eax
push 1
push ecx
push edx
call fcn.004a1d40
add esp, 0x10
cmp esi, 0x7fffffff
ja 0x4a0e25
mov eax, dword [esp + 0x2c24]
lea edx, [esp + 0x128]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x4a0e0d
mov byte [eax], cl
inc eax
dec esi
jne 0x4a0dfe
jmp 0x4a0e11
cmp esi, ebx
jne 0x4a0e17
dec eax
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
jne 0x4a0e25
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebx
jne 0x4a0e4b
mov esi, dword [esp + 0x2c28]
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x4a0d28
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x2c10
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x2c10
ret
Function at 0x4a1070
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2e8
test eax, eax
push esi
push edi
je 0x4a125c
mov esi, dword [esp + 0x2f8]
test esi, esi
je 0x4a125c
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4a11f6
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x14], eax
mov ebx, 0x104
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push 0
lea edx, [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4a11e2
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 1
push eax
lea eax, [esp + 0xfc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4a11d9
lea edx, [esp + 0x1c]
lea eax, [esp + 0x1f4]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], ebx
call ebp
test eax, eax
jne 0x4a11ce
mov ecx, 0x19
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push 0x64
lea ecx, [esp + 0x1f8]
push eax
push ecx
call fcn.004a1270
add esp, 0xc
test eax, eax
je 0x4a11ce
mov al, byte [esp + 0x28]
test al, al
je 0x4a11a1
lea edx, [esp + 0x28]
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4a11ce
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x28]
mov esi, 0x64
lea eax, [esp + 0x28]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x4a11c6
mov byte [eax], cl
inc eax
dec esi
jne 0x4a11b7
jmp 0x4a11ca
test esi, esi
jne 0x4a11cb
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x14]
jmp 0x4a10d2
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x300]
pop ebp
pop ebx
mov al, byte [esp + 0x20]
test al, al
je 0x4a125c
cmp esi, 0x7fffffff
jbe 0x4a121d
mov eax, 0x80070057
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
pop esi
add esp, 0x2e8
ret
mov eax, dword [esp + 0x2f4]
lea edx, [esp + 0x20]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x4a123b
mov byte [eax], cl
inc eax
dec esi
jne 0x4a122c
jmp 0x4a123f
test esi, esi
jne 0x4a1245
dec eax
mov edi, 0x8007007a
mov byte [eax], 0
mov eax, edi
xor ecx, ecx
pop edi
test eax, eax
setge cl
mov eax, ecx
pop esi
add esp, 0x2e8
ret
pop edi
xor eax, eax
pop esi
add esp, 0x2e8
ret
Function at 0x4a1790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x4d349c]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0xd0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd1]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ebx
push ecx
stosb byte es:[edi], al
call fcn.004a1f20
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x4c82d8
push 0x104
push eax
call fcn.004a1000
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.004a1f80
lea eax, [esp + 0x84]
push eax
call fcn.004a29c0
lea ecx, [esp + 0x88]
push ecx
call fcn.004a29c0
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x39], ax
mov ecx, 0xf
lea edi, [esp + 0x4d]
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0xe4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [sym.imp.MSVCRT.dll_strncat]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xf0]
mov ecx, 0x10
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x24], edx
mov byte [esp + 0x10], bl
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + esi + 0x18]
lea eax, [esp + 0x10]
push edx
push str._02x
mov dword [esp + 0x18], ecx
push 8
push eax
mov dword [esp + 0x24], ecx
call fcn.004a1000
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x40
sub edx, ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x4a18dd
mov ecx, edx
jmp 0x4a18eb
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
inc esi
cmp esi, 0x10
jl 0x4a188f
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x4a1943
mov edx, dword [esp + 0x1e0]
xor eax, eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push 0x4c82d8
push edx
push esi
call fcn.004a1000
push esi
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
Function at 0x4a1980
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
push ebp
mov ebp, dword [esp + 0x514]
push esi
test ebp, ebp
push edi
je 0x4a1b39
mov ebx, dword [esp + 0x520]
cmp ebx, 0x20
jb 0x4a1b39
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
push 0x4d18b4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4a1b39
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x4a1b39
lea edx, [esp + 0x118]
lea ecx, [esp + 0x18]
mov esi, 0x80
lea eax, [esp + 0x18]
sub edx, ecx
lea ecx, [esi - 0x60]
test ecx, ecx
je 0x4a1a3c
mov cl, byte [edx + eax]
test cl, cl
je 0x4a1a3c
mov byte [eax], cl
inc eax
dec esi
jne 0x4a1a26
jmp 0x4a1a40
test esi, esi
jne 0x4a1a41
dec eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x98]
mov byte [eax], 0
mov esi, 0x80
lea eax, [esp + 0x98]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x4a1a6f
mov byte [eax], cl
inc eax
dec esi
jne 0x4a1a60
jmp 0x4a1a73
test esi, esi
jne 0x4a1a74
dec eax
mov byte [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x118]
push 0x400
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004a1790
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4a1b39
cmp ebx, 0x7fffffff
jbe 0x4a1adc
mov eax, 0x80070057
xor ecx, ecx
test eax, eax
pop edi
pop esi
sete cl
pop ebp
mov eax, ecx
pop ebx
add esp, 0x508
ret
xor edi, edi
mov edx, ebx
test ebx, ebx
mov eax, ebp
jne 0x4a1b01
mov edi, 0x80070057
xor ecx, ecx
mov eax, edi
pop edi
test eax, eax
sete cl
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x508
ret
lea esi, [esp + 0x18]
sub esi, ebp
mov cl, byte [esi + eax]
test cl, cl
je 0x4a1b16
mov byte [eax], cl
inc eax
dec edx
jne 0x4a1b07
jmp 0x4a1b1a
test edx, edx
jne 0x4a1b20
dec eax
mov edi, 0x8007007a
mov byte [eax], 0
mov eax, edi
xor ecx, ecx
pop edi
test eax, eax
sete cl
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret
Function at 0x4a1b50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov ecx, 0x20
xor eax, eax
push esi
mov esi, dword [esp + 0x190]
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x80
push eax
push esi
call fcn.004a1790
mov edx, esi
lea ecx, [esp + 0x98]
add esp, 0xc
mov edi, 0x104
lea eax, [esp + 0x8c]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x4a1ba5
mov byte [eax], cl
inc eax
dec edi
jne 0x4a1b96
jmp 0x4a1ba9
test edi, edi
jne 0x4a1baa
dec eax
mov byte [eax], 0
mov ecx, 0x104
lea eax, [esp + 0x8c]
cmp byte [eax], 0
je 0x4a1bc4
inc eax
dec ecx
jne 0x4a1bb9
jmp 0x4a1c0a
test ecx, ecx
je 0x4a1c0a
lea edx, [esp + 8]
test edx, edx
je 0x4a1bd9
mov eax, 0x104
sub eax, ecx
jmp 0x4a1bdd
mov eax, dword [esp + 8]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x8c]
je 0x4a1c0a
lea esi, [esp + 0xc]
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x4a1c02
mov byte [eax], cl
inc eax
dec edx
jne 0x4a1bf3
jmp 0x4a1c06
test edx, edx
jne 0x4a1c07
dec eax
mov byte [eax], 0
lea edi, [esp + 0x8c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x8c]
push ecx
push eax
push 1
push 0x4d18b4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
pop esi
add esp, 0x188
ret
Function at 0x4a7580
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x40cab0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.0040c60e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040c649
mov ch, byte [ebx + eax*8]
mov byte es:[ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040c649
out dx, al
pop eax
sub byte [ebp - 0x837b], cl
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x10093920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012b9e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.10120475
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10094f30
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10093974
jmp dword [ecx*4 + 0x10093adc]
mov al, byte [esi]
test al, al
je 0x100939a2
cmp al, 0x20
je 0x1009398e
cmp al, 0xa1
jne 0x100939a2
cmp byte [esi + 1], al
jne 0x100939a2
test al, 0x80
je 0x1009399a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100939a2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10093981
test ecx, ecx
je case.default.0x10093974
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10093974
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100939e8
cmp dl, 0xa1
jne 0x100939dc
cmp byte [eax + 1], 0xa1
jne 0x100939dc
test ecx, ecx
jne 0x100939d4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x100939fc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10093a16
jmp 0x100939fc
cmp dl, 0x20
jne 0x100939fa
test ecx, ecx
jne 0x100939f3
mov edi, eax
mov ecx, 1
jmp 0x100939fc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100939bc
cmp ecx, 1
jne case.default.0x10093974
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10093974
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10093974
mov al, byte [esi]
test al, al
je 0x10093a6e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10093a54
mov cl, byte [esi + 1]
test cl, cl
je 0x10093a6e
cmp al, 0xa1
jne 0x10093a44
cmp cl, al
je 0x10093a51
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10095200
inc esi
jmp 0x10093a66
cmp al, 0x20
je 0x10093a66
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10095240
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10093a2d
push 0
lea ecx, [esp + 0x14]
call fcn.10095240
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100a3780
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10093aa1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10157f40
call fcn.10095130
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10120407
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1009b600
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1012c11b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.1012017c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1009b682
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1011daf7
mov eax, dword [eax]
push 0x10172cf4
push eax
call fcn.101101c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10120407
test bl, bl
je 0x1009b682
push 0x10172cf4
lea ecx, [esp + 0xc]
call fcn.10120797
push 0x10172d00
lea ecx, [esp + 0xc]
call fcn.10120797
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1009b6be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10120407
jmp 0x1009b789
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x1009b742
lea edx, [esp + 0x7c]
push 0x10172cfc
push edx
call fcn.101101c4
add esp, 8
test eax, eax
je 0x1009b742
lea eax, [esp + 0x7c]
push 0x10172cf8
push eax
call fcn.101101c4
add esp, 8
test eax, eax
je 0x1009b742
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1009b6d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.10120407
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x1009bf90
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1009bff2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x1009c000
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1012c19b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1017d6c8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x1009c138
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1009c066
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10120407
xor eax, eax
jmp 0x1009c1af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10120544
push esi
lea ecx, [esp + 0xc]
call fcn.101207d3
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1009c18d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1009bf90
test eax, eax
jne 0x1009c18d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.1009bf90
test eax, eax
jne 0x1009c18d
lea eax, [esp + 0x14]
push 0x10172d10
push eax
call fcn.10111240
mov esi, eax
add esp, 8
test esi, esi
jne 0x1009c16c
lea ecx, [esp + 0x14]
push 0x10172d0c
push ecx
call fcn.101111c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1009c16c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1009c16f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.101204f4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1009c07e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10120407
xor eax, eax
jmp 0x1009c1af
mov byte [esi], 0
push 0x10172d08
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.10120407
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4