joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404262
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 4]
push ecx
push eax
push 0
push 0
push 0x4040ec
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
leave
ret

Function at 0x404f1e
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x18c]
push ebx
sub esp, 0x6a4
mov edi, dword [ebp + 8]
push 0xfa
push 0
push esi
call sub.msvcrt.dll_memset
push 0xfa
lea eax, [ebp - 0x28c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x410340
push esi
call sub.msvcrt.dll_strcat
pop eax
pop edx
push 0x40ea2f
push esi
call sub.msvcrt.dll_strcat
pop ecx
pop ebx
lea ebx, [ebp - 0x69c]
push ebx
call fcn.0040330e
mov dword [esp], ebx
push esi
call sub.msvcrt.dll_strcat
pop eax
pop edx
push 0x40ea34
push esi
call sub.msvcrt.dll_strcat
pop ecx
pop ebx
push 0x40ea3d
push esi
call sub.msvcrt.dll_strcat
pop eax
pop edx
call fcn.004032e4
push eax
push esi
call sub.msvcrt.dll_strcat
pop ecx
pop ebx
push 0x40ea43
push esi
call sub.msvcrt.dll_strcat
pop eax
pop edx
call fcn.00403256
push eax
push esi
call sub.msvcrt.dll_strcat
pop ecx
lea eax, [ebp - 0x28c]
pop ebx
push 0x40ea49
push eax
call sub.msvcrt.dll_strcat
pop eax
lea eax, [ebp - 0x28c]
pop edx
push esi
push eax
call sub.msvcrt.dll_strcat
pop esi
pop eax
lea eax, [ebp - 0x28c]
push 0x40ea4e
push eax
call sub.msvcrt.dll_strcat
pop ecx
lea eax, [ebp - 0x28c]
pop ebx
push edi
push eax
call sub.msvcrt.dll_strcat
pop eax
lea eax, [ebp - 0x28c]
pop edx
push 0x40ea60
push eax
call sub.msvcrt.dll_strcat
pop esi
pop eax
jmp 0x40502d
push 0x7530
call sub.KERNEL32.DLL_Sleep
call fcn.00403032
test eax, eax
je 0x405023
push 0x50
push edi
call fcn.00403424
pop ecx
xor edx, edx
cmp eax, 0xffffffff
mov esi, eax
pop ebx
je 0x405155
jmp 0x405061
lea ebx, [ebx + ebp - 0x688]
mov dword [ebp - 0x6b0], ebx
jmp 0x4050ed
push 0
xor eax, eax
or ecx, 0xffffffff
cld
lea edi, [ebp - 0x28c]
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebp - 0x28c]
dec ecx
push ecx
push eax
push esi
call sub.WS2_32.DLL_send
jmp 0x405093
mov byte [ebx + ebp - 0x68c], 0
inc ebx
je 0x405153
push 0
lea eax, [ebp - 0x68c]
push 0x400
push eax
push esi
call sub.WS2_32.DLL_recv
test eax, eax
mov ebx, eax
jne 0x405084
cmp byte [ebp - 0x68c], 0
je 0x4050ed
cmp byte [ebx + ebp - 0x68c], 0xd
jne 0x4050e2
cmp byte [ebx + ebp - 0x68b], 0xa
jne 0x4050e2
cmp byte [ebx + ebp - 0x68a], 0xd
jne 0x4050e2
cmp byte [ebx + ebp - 0x689], 0xa
je 0x40504f
inc ebx
cmp byte [ebx + ebp - 0x68c], 0
jmp 0x4050b4
push 0x40ea65
mov ebx, 1
push dword [ebp - 0x6b0]
call sub.msvcrt.dll_strtok
mov dword [ebp - 0x8c], eax
pop eax
pop edx
push 0x40ea65
push 0
call sub.msvcrt.dll_strtok
pop ecx
mov dword [ebp + ebx*4 - 0x8c], eax
inc ebx
cmp ebx, 0x1f
pop edi
jle 0x40510a
push esi
lea ebx, [ebp - 0x6ac]
call sub.WS2_32.DLL_closesocket
push 0x40eb08
push ebx
call fcn.00402d66
pop eax
pop edx
push ebx
push dword [ebp - 0x8c]
call sub.KERNEL32.DLL_lstrcmpA
test eax, eax
mov edx, 1
je 0x405155
xor edx, edx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4052d2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x12c]
push esi
lea esi, [ebp - 0x11c]
push ebx
sub esp, 0x224
lea ebx, [ebp - 0x1c]
push 0x64
push 0
push 0x410340
call sub.msvcrt.dll_memset
push 0xfa
push 0
push esi
call sub.msvcrt.dll_memset
cld
xor eax, eax
mov ecx, 0xa
rep stosb byte es:[edi], al
push 0xfa
lea edi, [ebp - 0x22c]
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0x24
call fcn.00402e48
push 0x40eb12
push ebx
mov dword [0x40a274], eax
call fcn.00402d66
pop ecx
pop eax
push 0x40eb15
push 0x410340
call fcn.00402d66
pop eax
pop edx
push 0x410340
push ebx
call fcn.00402d90
pop ecx
pop eax
push 0x40eb31
push esi
call fcn.00402d66
pop eax
pop edx
push esi
push ebx
call fcn.00402d90
pop ecx
pop ebx
push esi
push edi
call sub.msvcrt.dll_strcpy
pop eax
lea eax, [ebp - 0x12c]
pop edx
push 0x40eb39
push eax
call fcn.00402d66
pop esi
lea eax, [ebp - 0x12c]
lea ebx, [ebp - 0x22c]
pop edi
push 5
push eax
push ebx
call fcn.00405160
add esp, 0xc
test al, al
je 0x4053cc
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0x4046d6
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
imul eax, dword [0x40a274], 0xea60
push eax
call sub.KERNEL32.DLL_Sleep
push 0xfa
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push ebx
call sub.msvcrt.dll_strcpy
jmp 0x40538d
Function at 0x408450
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x414490]
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
je 0x408490
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.00409560
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret

Function at 0x408840
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x414490]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40891c
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x408931
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x4088f0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x408888
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x408898
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x4088e3
test edx, edx
jne 0x4088d6
test ecx, ecx
je 0x408880
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x408940
cmp eax, 8
je 0x408880
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x408872
call fcn.004081e0
mov eax, dword [0x414490]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x408864
call fcn.004084b0
mov eax, dword [0x414490]
jmp 0x408864
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.004087b0
cmp eax, 7
jne 0x4088db
mov eax, dword [0x414490]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x408993
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x4089be
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x40899f
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.004081e0
mov eax, dword [0x414490]
jmp 0x408971
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x408982
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x408982
call fcn.004084b0
mov eax, dword [0x414490]
jmp 0x408978
Function at 0x408c20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x414490]
mov edi, dword [ebp + 8]
test eax, eax
je 0x408cb4
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x408cd0
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x408cf0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x408ca8
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004087b0
cmp eax, 7
jne 0x408d6f
mov eax, dword [0x414490]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x408d46
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x408d60
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x408d20
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004089d0
jmp 0x408c65
call fcn.004081e0
mov eax, dword [0x414490]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x408c40
lea esi, [esi]
call fcn.004084b0
mov eax, dword [0x414490]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x408c4b
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x408c4e
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x408c97
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x408c97
call fcn.004081e0
mov eax, dword [0x414490]
mov edx, dword [eax + 0x2c]
test edx, edx
jns 0x408c89
nop
lea esi, [esi]
call fcn.004084b0
mov eax, dword [0x414490]
jmp 0x408c89
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x408d80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x408e12
mov eax, dword [0x414490]
test eax, eax
je 0x408e06
mov ebx, dword [eax + 0x2c]
test ebx, ebx
js 0x408e81
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x408e27
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.004089d0
cmp eax, 7
jne 0x408e9f
mov eax, dword [0x414490]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x408e72
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x408e90
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x408e53
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.004081e0
mov eax, dword [0x414490]
jmp 0x408da2
mov dword [esp], edi
call fcn.00408840
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x408db7
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x408df5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x408df5
call fcn.004081e0
mov eax, dword [0x414490]
jmp 0x408de0
call fcn.004084b0
mov eax, dword [0x414490]
jmp 0x408dad
call fcn.004084b0
mov eax, dword [0x414490]
jmp 0x408deb
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x409050
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x409080
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00409560
leave
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
leave
ret
Function at 0x40686f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x4068ad
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406883
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x40687e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4068da
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4068bb
not eax
pop ebp
ret 0xc

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401326
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x10]
mov edi, dword [ebp]
mov ebx, edi
xor ebx, 0x14d
mov dword [esp + 0x18], ebp
cmp dword [esi + 0x14], 0x10
jb 0x401349
mov esi, dword [esi]
shr edi, 2
push esi
push edi
push str._x_and__p
mov dword [esp + 0x20], edi
call fcn.00401026
add esp, 0xc
test edi, edi
je 0x4013a6
mov ebp, esi
push 4
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004078d0
imul ecx, dword [esp + 0x1c], 0x5bd1e991
add esp, 0xc
imul ebx, ebx, 0x5bd1e991
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov dword [esp + 0x10], eax
sub edi, 1
jne 0x401365
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x4013cf
sub eax, 1
je 0x4013c5
sub eax, 1
jne 0x4013dd
movsx ecx, byte [esi + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0xc
ret
Function at 0x40688d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40689b
call 0x8566815
mov al, byte [0x8b640041]
cmp eax, 0x30
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x446630], eax
sub eax, eax
je 0x4068c0
call 0xa8d050d9
invalid
call 0x401154
call 0x406650
pop edi
xor eax, eax
pop esi
ret

Function at 0x407515
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407554
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407554
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407554
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407554
cmp dword [ecx + 0x74], 0xe
jbe 0x407554
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d5eb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2c8
push 0x41c2c0
push str.FlsAlloc
push 0x1e
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d61f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
jmp 0x40d625
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d669
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2d8
push 0x41c2d0
push str.FlsGetValue
push 0x20
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d6a0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x1002e90
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
je 0x1002eba
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x100a1a0]
inc ecx
dec edx
jne 0x1002ea2
pop edi
pop esi
ret 0xc
Function at 0x100377b
Capabilities:
Shutdown system

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x2c4
mov eax, dword [0x100a028]
push ebx
push esi
push 0x1002468
xor ebx, ebx
push ebx
push 0x100000
mov dword [ebp + 0x60], eax
mov dword [ebp - 0x250], 0x10
mov dword [ebp - 0x248], ebx
call dword [0x1002098]
push 0x1002440
mov esi, eax
call fcn.010032d8
cmp esi, ebx
je 0x10037d8
push 0xea60
push esi
call dword [0x1002094]
push esi
call dword [0x1002120]
jmp 0x10037ef
cmp dword [ebp + 0x74], ebx
je 0x10037e4
push 0xea60
jmp 0x10037e9
push 0x2710
call dword [0x1002068]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x260]
push eax
push ebx
push 0x13
call fcn.0100334b
test eax, eax
jne 0x100381a
push 0x100241c
call fcn.010032d8
xor eax, eax
jmp 0x10039bb
push 0x100240c
call dword [fcn.01002124]
cmp eax, ebx
mov dword [ebp - 0x24c], eax
je 0x1003841
push 0x10023f0
push eax
call dword [0x1002128]
mov dword [ebp - 0x248], eax
push ebx
push dword [0x100ac04]
call dword [0x1002094]
test eax, eax
jne 0x100385a
xor esi, esi
inc esi
jmp 0x100398b
push edi
mov edi, dword [0x100213c]
cmp dword [ebp - 0x248], ebx
je 0x100387f
push dword [ebp + 0x7c]
push dword [ebp + 0x6c]
push dword [ebp + 0x70]
push ebx
push dword [ebp + 0x78]
push ebx
call dword [ebp - 0x248]
jmp 0x100388e
push dword [ebp + 0x6c]
push dword [ebp + 0x70]
push ebx
push ebx
push ebx
call dword [0x1002008]
mov esi, eax
cmp esi, ebx
jne 0x100398a
call edi
cmp eax, 0x45b
je 0x10038c2
cmp eax, 0x4f7
je 0x10038ad
cmp eax, 0x15
jne 0x10038ca
push 0xbb8
push dword [0x100ac04]
call dword [0x1002094]
test eax, eax
jne 0x1003861
xor esi, esi
inc esi
jmp 0x100398a
call edi
push eax
push 0x10023bc
lea eax, [ebp - 0x244]
push 0x103
push eax
call fcn.010035b2
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
call fcn.010032d8
mov edi, dword [0x1002154]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x94
call edi
cmp dword [ebp - 0x38], 4
jbe 0x100398a
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x9c
call edi
test byte [ebp + 0x5c], 0x40
je 0x100398a
push 0x104
lea eax, [ebp - 0x140]
push eax
call dword [fcn.0100211c]
test eax, eax
je 0x100398a
lea eax, [ebp - 0x140]
push 0x5c
push eax
call dword [0x1002190]
pop ecx
pop ecx
push ebx
push 0x2000000
push 3
push ebx
push 7
mov byte [eax + 1], bl
push 0xc0000000
lea eax, [ebp - 0x140]
push eax
call dword [fcn.0100203c]
mov edi, eax
cmp edi, 0xffffffff
je 0x100398a
push edi
call dword [0x1002090]
push edi
mov esi, eax
call dword [0x1002120]
cmp esi, ebx
je 0x100398a
push 1
call dword [0x10021b8]
mov esi, eax
pop edi
cmp dword [ebp - 0x24c], ebx
je 0x100399f
push dword [ebp - 0x24c]
call dword [fcn.0100212c]
lea eax, [ebp - 0x260]
push eax
call fcn.010033db
cmp esi, ebx
jge 0x10039b9
push 0x10023a4
call fcn.010032d8
mov eax, esi
mov ecx, dword [ebp + 0x60]
pop esi
pop ebx
call fcn.01005e64
add ebp, 0x64
leave
ret 0x14
Function at 0x1003ac5
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100a028]
push edi
push dword [ebp + 8]
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x220
push 0x20
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
call dword [0x100200c]
test eax, eax
je 0x1003b25
lea eax, [ebp - 0x10]
push eax
push 0x28
call dword [fcn.0100209c]
push eax
call dword [entry0]
test eax, eax
jne 0x1003b2c
xor eax, eax
jmp 0x1003be2
push ebx
mov ebx, dword [0x100202c]
lea eax, [ebp + 8]
push eax
push 0x10000
push 0x100b0c0
push 4
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x1003be1
push esi
push dword [0x100b0c0]
call dword [0x1002004]
mov esi, eax
push esi
call fcn.010039cc
cmp eax, edi
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
je 0x1003bbe
mov ecx, esi
mov esi, dword [0x100b0c0]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 8]
push eax
push 0x10000
push 0x100b0c0
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x1003be0
push dword [0x100b0c0]
call dword [0x1002004]
mov esi, eax
push esi
call fcn.010039cc
test eax, eax
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x1003bc5
push 8
call fcn.010036a7
mov ecx, esi
mov esi, dword [0x100b0c0]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
inc eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.01005e64
leave
ret 0xc