joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3006a8b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x3006a8e3
xor eax, eax
jmp 0x3006a90b
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x3006a900
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0x10

Function at 0x3006a910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 4

Function at 0x3006a92a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x300222cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x3006a992
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x3006a989
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.30069776
leave
ret
Function at 0x3006adce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x300222cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x464]
push esi
push eax
mov dword [ebp - 0x468], 0x44
call sub.MSVCR80.dll_memset
mov dword [ebp - 0x424], esi
xor eax, eax
lea edi, [ebp - 0x420]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push ebx
stosd dword es:[edi], eax
call fcn.30059f43
cmp eax, 0x104
jg 0x3006ae85
push dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push 0x6b
push ebx
push 0x3002275c
push 0x208
push eax
call dword [sym.imp.MSVCR80.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push esi
push esi
push 0x4000020
push esi
push esi
push esi
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x3006ae85
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
jmp 0x3006ae90
push esi
push 0x30303030
call fcn.300435b4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30069776
leave
ret 8

Function at 0x3006b647
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.3006b4aa
test eax, eax
je 0x3006b6b8
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x3006b6b8
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push 0x3002285c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x3006b6ae
cmp dword [ebp - 0x10], 1
je 0x3006b6ae
and word [esi], ax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 0xc
Function at 0x300707ec
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x300222cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x30070850
cmp dword [ebp - 0x90], 2
jne 0x30070850
cmp dword [ebp - 0x9c], 6
ja 0x30070837
cmp dword [ebp - 0x9c], 6
jne 0x30070850
cmp dword [ebp - 0x94], 0x155e
jb 0x30070850
push 0x3002309c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x30070852
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30069776
mov esp, ebp
pop ebp
ret

Function at 0x30078025
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 1
jne 0x30078127
push 0x30023efc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x6c], 0
jne 0x30078087
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x30078072
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.3006d2c3
mov dword [ebp - 8], eax
jmp 0x30078079
mov dword [ebp - 8], 0x80004005
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x68], ecx
jmp 0x30078127
push 0x300096cc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x70], eax
push 0x30009690
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x74], eax
push 0x300096e4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x78], eax
push 0x300096a8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x7c], eax
push 0x300096bc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], eax
push 0x30009680
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov esp, ebp
pop ebp
ret
Function at 0x300789e0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x30088a88
push 0x3006a08f
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x300222cc]
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], 0
cmp dword [ebp + 8], 0
je 0x30078ad3
cmp dword [ebp + 8], 0xffffffff
je 0x30078ad3
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x30078ab3
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0x4550
jne 0x30078a79
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x30078a82
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x18]
cmp edx, 0x20b
je 0x30078a82
mov dword [ebp - 0x1c], 0
jmp 0x30078ab3
cmp dword [ebp + 0xc], 0
je 0x30078ab3
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
jne 0x30078aa6
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.300787d8
jmp 0x30078ab3
mov ecx, 0x42
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0xfffffffe
jmp 0x30078ad3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x30078aea
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x30078b15
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x30078b4d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x30078b42
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x30078b42
mov eax, dword [ebp - 4]
jmp 0x30078b4f
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x30078b0c
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3007920d
Capabilities:
Create thread
Suspend thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x30088ac8
push 0x3006a08f
mov eax, dword fs:[0]
push eax
add esp, 0xfffffa40
mov eax, dword [0x300222cc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x30079206
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x30079287
xor eax, eax
jmp 0x300793c4
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0x1f03ff
mov edx, dword [ebp + 8]
push edx
call fcn.30079151
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x300792b3
mov dword [ebp - 0x300], 0
jmp 0x3007937c
mov dword [ebp - 0x300], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0xffffffff
jne 0x300792e9
mov dword [ebp - 0x300], 0
jmp 0x30079359
mov dword [ebp - 0x5d0], 0x10007
lea ecx, [ebp - 0x5d0]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x30079315
jmp 0x30079359
mov dword [ebp - 0x2f8], 0x10007
lea eax, [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x30079341
jmp 0x30079359
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0x240]
je 0x30079359
mov dword [ebp - 0x300], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x3007937c
cmp dword [ebp - 0x2fc], 0
jle 0x3007938f
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xdead
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [ebp - 0x20], 0
je 0x300793ae
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x300793be
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.30069776
mov esp, ebp
pop ebp
ret 4
Function at 0x3007de3b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x3007de7a
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x3007de55
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x3007de96
dec edi
je 0x3007de8f
dec edi
jne 0x3007de9b
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc

Function at 0x3007f2b2
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
xor edi, edi
cmp byte [ebp + 0x24], 0
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov word [ebx + 0xc], di
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edi
mov esi, 0x8000
jne 0x3007f302
push esi
push eax
add eax, esi
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov word [ebx + 0x2c], di
mov dword [ebx + 0x30], edi
call fcn.3007ed0c
mov eax, dword [ebx + 0x14]
and dword [ebx + 0x20], edi
push 2
mov word [ebx + 0x3c], si
mov dword [ebx + 0x34], esi
add eax, esi
pop ecx
movzx edi, byte [eax]
mov edx, dword [ebx + 0x20]
shl edx, 5
xor edx, edi
and edx, 0x7fff
inc eax
dec ecx
mov dword [ebx + 0x20], edx
jne 0x3007f320
cmp byte [ebp + 0x24], cl
je 0x3007f346
mov edi, ebx
call fcn.3007eb69
jmp 0x3007f357
xor eax, eax
mov ecx, esi
mov edx, dword [ebx + 0x18]
and word [eax + edx], 0
inc eax
inc eax
dec ecx
jne 0x3007f34a
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.3007dfaf
push 0x4b
pop edx
call fcn.3007dfaf
call fcn.3007f038
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
je 0x3007f395
mov eax, dword [ebx + 0x14]
push esi
lea ecx, [eax + 0x8000]
push ecx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x28]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24
Function at 0x3008174b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x300222cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc88], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0xc8c], eax
mov eax, dword [esi + 0x870]
add eax, 0x20
mov ecx, eax
shl ecx, 3
cmp ecx, 0x320
mov dword [ebp - 0xc9c], ecx
jb 0x30081798
xor eax, eax
jmp 0x30081974
push edi
mov edi, eax
shl edi, 4
push edi
lea eax, [ebp - 0xc84]
push 0
push eax
call sub.MSVCR80.dll_memset
push edi
lea eax, [ebp - 0x644]
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 0x18]
add esp, 0x18
test ecx, ecx
jbe 0x300818f8
mov eax, dword [ebp + 0x14]
mov edi, dword [esi + 0x30]
shl eax, 2
mov dword [ebp - 0xc90], eax
mov eax, dword [ebp + 0x10]
shl eax, 2
push ebx
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0xc94], eax
mov dword [ebp - 0xc98], ecx
jmp 0x300817f7
mov eax, dword [ebp - 0xc94]
mov ecx, dword [ebp - 0xc88]
and ecx, 7
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc88]
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x30081821
mov eax, dword [ebp - 0xc88]
movzx eax, byte [edi + eax]
jmp 0x30081865
mov ecx, dword [ebp - 0xc88]
cmp byte [edi + ecx], 7
mov ecx, dword [esi + 0x2c]
push dword [eax + ecx]
push esi
jae 0x3008184f
call fcn.3007fab5
mov ecx, dword [ebp - 0xc88]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x3008185e
call fcn.3007fab5
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc94], 4
inc dword [ebp - 0xc88]
lea eax, [ebp + eax*2 - 0xc84]
inc word [eax]
mov eax, dword [ebp - 0xc8c]
xor edx, edx
mov ecx, eax
and ecx, 7
inc edx
shl edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x30081897
movzx eax, byte [edi + eax]
jmp 0x300818db
cmp byte [edi + eax], 7
mov ecx, dword [ebp - 0xc90]
mov eax, dword [esi + 0x2c]
push dword [eax + ecx]
push esi
jae 0x300818c5
call fcn.3007fab5
mov ecx, dword [ebp - 0xc8c]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x300818d4
call fcn.3007fab5
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc90], 4
inc dword [ebp - 0xc8c]
lea eax, [ebp + eax*2 - 0x644]
inc word [eax]
dec dword [ebp - 0xc98]
jne 0x300817f1
pop ebx
xor esi, esi
xor edi, edi
cmp dword [ebp - 0xc9c], esi
jbe 0x30081971
movzx eax, word [ebp + esi*2 - 0xc84]
cmp ax, 0x100
movzx eax, ax
jae 0x3008191e
movzx eax, byte [eax + 0x30024780]
jmp 0x3008192b
shr eax, 8
movzx eax, byte [eax + 0x30024780]
add eax, 8
movzx ecx, word [ebp + esi*2 - 0x644]
cmp cx, 0x100
movzx ecx, cx
jae 0x30081946
movzx ecx, byte [ecx + 0x30024780]
jmp 0x30081953
shr ecx, 8
movzx ecx, byte [ecx + 0x30024780]
add ecx, 8
mov eax, dword [eax*4 + 0x30024738]
sub eax, dword [ecx*4 + 0x30024738]
cdq
xor eax, edx
sub eax, edx
add edi, eax
inc esi
cmp esi, dword [ebp - 0xc9c]
jb 0x30081904
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.30069776
leave
ret 0x14
Function at 0x7ea9b8
Capabilities:
Encode data using xor

Disassembly:
or byte [edx - 0x4a1a3172], 0xe
loopne 0x7eaa33
jge 0x7ea95a
cmp al, 0x49
retf

Function at 0x7f07b8
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0x24
cmp edx, dword [edx]
stosb byte es:[edi], al
sbb bl, byte [esi]
fucomp st(5)
xor dword [edi - reloc.SETUPAPI.DLL_SetupDiDestroyDeviceInfoList], eax
dec ecx
mov ebx, 0x5bc86a5b
mov esp, dword [ebp - reloc.SETUPAPI.DLL_SetupDiDestroyDeviceInfoList]
pop ss
pushfd
sbb byte [edi], ch
out 0xc, al
shr dword [reloc.SETUPAPI.DLL_SetupDiDestroyDeviceInfoList], 1
or esi, edx
movsb byte es:[edi], byte [esi]
push ebp
pop ebp
mov word [eax - 0x453e81dd], gs
add ebx, esi
mov bl, 0x3f
jle 0x7f07bd
push 0x6d5ca483
cmp al, ch
push esi
invalid

Function at 0x8a50b0
Capabilities:
Encode data using xor

Disassembly:
mov dword [edx + 0x64], eax
pushfd
out 0xf3, al
inc eax
outsd dx, dword ss:[esi]
scasb al, byte es:[edi]
inc esp
int3
mov ebx, 0x85c66f81
push edi
outsb dx, byte [esi]
jo 0x8a50b2
outsd dx, dword [esi]
mov byte [ebp + 0x13706e57], 0xe2
div dword [edi - 0x80]
loop 0x8a5098
ja 0x8a5023
daa
sub eax, 0xcab27b9e
call [eax + ebx]
sub eax, 0xbd7b829c
invalid
sal dword [ebp - 1], cl
mov ebp, 0x3cff75d3
xchg esp, eax
jne 0x8a50b3
invalid
cmp al, 0x94
pop ecx
dec edx
daa
xor eax, 0x19f03743
cmp al, 0x3d
adc al, byte [ebx]
sbb ch, byte [ebp - 0x21d56de7]
not dword [eax + reloc.SETUPAPI.DLL_SetupDiDestroyDeviceInfoList]
mov ecx, dword [ebp + 0x33]
cmp al, 0x5f
push ds
sbb al, 0xc1
les ecx, [eax - 0x471b6112]
fmul dword [edi + 0x4f]
subps xmm0, xmmword [esi + 0x672555e4]
and cl, byte [ebx]
mov ch, 0x46
cld
jle 0x8a50a9
loop 0x8a5096
pop edi
adc eax, 0x318e54d8
ret 0x85e7

Function at 0xd637b3
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi

Function at 0xe1e682
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0xe13fe5
call 0xe1e004
jmp 0xe1e6d6
mov dword [esp + 0x24], edi
lea esp, [esp + 0x24]
jmp 0xe1e6b2
push word [esp + 1]
pushfd
mov word [esp + 4], ax
lea esp, [esp + 2]
jmp 0xe1e66c
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0xe1dfff
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xe1e693
pop eax
sub eax, 0xa1e004
push eax
jmp 0xe13ff2
Function at 0x40245e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x4024f1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40249f
mov eax, 0x47a2d5
push eax
push 1
mov ebx, 0x25c
call fcn.00456740
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.00456750
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x4024fb
mov eax, 0
jmp 0x4024fb
mov esp, ebp
pop ebp
ret 4

Function at 0x402533
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.00456770
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x4025af
cmp dword [ebp - 4], 0
je 0x4025aa
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
jmp 0x4025b7
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
mov eax, 0
setne al
jmp 0x4025c8
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4025ce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40260b
mov eax, 0x47a2d5
push eax
push 3
mov ebx, 0x270
call fcn.00456850
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40274e
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.00456930
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40265c
mov eax, 0x47a2d5
push eax
push 1
mov ebx, 0x244
call fcn.00456540
add esp, 0x10
call fcn.0040177b
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40268c
mov eax, 0x47a2d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4026a0
mov eax, 0x47a2d5
push eax
push 2
mov ebx, 0x23c
call fcn.00456550
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4026c3
push ebx
call fcn.00451854
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402739
push ebx
call fcn.00451854
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402749
push ebx
call fcn.00451854
add esp, 4
jmp 0x40283e
push dword [ebp + 8]
call fcn.0040245e
and eax, 1
xor eax, 1
test eax, eax
je 0x4027b8
call fcn.0040177b
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402781
mov eax, 0x47a2d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402795
mov eax, 0x47a2d5
push eax
push 2
mov ebx, 0x23c
call fcn.00456550
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4027b8
push ebx
call fcn.00451854
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40282e
push ebx
call fcn.00451854
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40283e
push ebx
call fcn.00451854
add esp, 4
push 0x630242
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4