joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b1ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.._._._..._._._.._._...
mov esi, 0x800
push esi
mov ebx, 0x10035020
push ebx
mov edi, 0x1000
call fcn.1000ad98
add esp, 0xc
xor eax, eax
xor byte [eax + 0x10035020], 0x8a
inc eax
cmp eax, esi
jl 0x1000b1f7
push esi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10006fff
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
movzx edi, ax
add esp, 0x10
test di, di
jle 0x1000b2c6
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
movzx esi, ax
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
movsx ebx, di
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [0x100417e8]
shl ebx, 3
lea edi, [ebx + eax]
movsx eax, si
dec eax
mov word [edi], si
je 0x1000b291
dec eax
je 0x1000b27b
dec eax
jne 0x1000b2a6
movsx eax, cx
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10007086
pop ecx
pop ecx
push eax
push dword [edi + 4]
call fcn.1001db30
add esp, 0xc
jmp 0x1000b2a6
lea eax, [ebp - 0x10]
push eax
call fcn.10007018
pop ecx
mov ecx, dword [0x100417e8]
mov dword [ebx + ecx + 4], eax
jmp 0x1000b2a6
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
pop ecx
mov ecx, dword [0x100417e8]
mov word [ebx + ecx + 4], ax
lea eax, [ebp - 0x10]
push eax
call fcn.1000705b
movzx edi, ax
pop ecx
test di, di
jg 0x1000b226
mov esi, 0x800
mov ebx, 0x10035020
push esi
push 0
push ebx
call fcn.1001ed20
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000b975
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx], 0
mov eax, 0x52964ee9
je 0x1000b996
push esi
movzx edx, word [ecx]
mov esi, eax
movzx edx, dx
ror esi, 8
add esi, edx
inc ecx
xor eax, esi
cmp byte [ecx], 0
jne 0x1000b980
pop esi
ret
Function at 0x1000b9cc
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0xc]
sub esp, 0x18
push ebx
push esi
add edx, 0xc
push edi
mov edi, dword [edx]
cmp edi, edx
je 0x1000bb63
mov eax, edi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + 0x3c]
mov esi, dword [eax + ecx + 0x78]
mov edi, dword [edi]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x1000b9e6
add esi, ecx
cmp dword [esi + 0x18], 0
je 0x1000b9e6
mov eax, dword [esi + 0xc]
add eax, ecx
mov ebx, dword [eax]
or ebx, 0x20202020
cmp ebx, 0x6c64746e
jne 0x1000b9e6
mov ebx, dword [eax + 4]
or ebx, 0x20202020
cmp ebx, 0x6c642e6c
jne 0x1000b9e6
mov ax, word [eax + 8]
or ax, 0x20
cmp ax, 0x6c
jne 0x1000b9e6
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x24]
and dword [ebp - 4], 0
push 0x1770
push 0
push dword [ebp + 8]
add eax, ecx
add edi, ecx
mov dword [ebp - 0x14], eax
add ebx, ecx
call fcn.1001ed20
mov esi, dword [esi + 0x18]
xor eax, eax
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], esi
test esi, esi
jbe 0x1000bb0b
mov esi, dword [ebp + 8]
add esi, 8
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
je 0x1000bafb
movzx eax, word [ecx]
mov edx, 0x694b
cmp ax, dx
jne 0x1000bac1
call fcn.1000b975
cmp eax, 0x8dcd4499
jne 0x1000babe
mov eax, dword [ebp - 8]
movzx eax, word [ebx + eax*2]
mov edx, dword [edi + eax*4]
add edx, dword [ebp - 0xc]
call fcn.1000b997
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx]
mov edx, 0x775a
cmp ax, dx
jne 0x1000bafb
call fcn.1000b975
mov dword [esi - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [ebx + eax*2]
lea eax, [edi + eax*4]
mov ecx, dword [eax]
mov eax, ecx
add eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov dword [esi - 4], ecx
mov dword [esi], eax
add esi, 0xc
cmp dword [ebp - 4], 0x1f4
je 0x1000bb0b
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x18]
jb 0x1000ba80
mov eax, dword [ebp - 4]
and dword [ebp - 8], 0
dec eax
mov dword [ebp - 0x18], eax
je 0x1000bb63
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 8]
dec ecx
je 0x1000bb58
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x10], ecx
mov edi, dword [eax]
lea ecx, [eax + 0xc]
cmp edi, dword [ecx]
jbe 0x1000bb51
mov ebx, dword [eax + 8]
mov edx, dword [eax - 4]
mov esi, dword [eax + 4]
mov dword [eax - 4], ebx
mov ebx, dword [ecx]
mov dword [eax], ebx
mov ebx, dword [eax + 0x10]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [ecx], edi
mov dword [eax + 0x10], esi
dec dword [ebp - 0x10]
mov eax, ecx
jne 0x1000bb2a
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jb 0x1000bb18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000c01a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1003e6b0], 0
je 0x1000c07a
mov ecx, dword [0x1003e6ac]
cmp ecx, 1
jne 0x1000c03b
mov eax, dword [0x1004177c]
test eax, eax
jne 0x1000c06f
cmp ecx, 2
jne 0x1000c07a
mov eax, dword [0x10041780]
test eax, eax
je 0x1000c07a
mov dword [0x1003e6a4], eax
mov eax, dword [0x10041784]
mov dword [0x1003e6a8], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.10016e7f
pop ecx
pop ecx
test eax, eax
jne 0x1000c07a
mov eax, dword [ebp - 4]
leave
ret
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 8]
call eax
jmp 0x1000c066
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
leave
ret

Function at 0x1000c085
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1003e6b0], esi
je 0x1000c122
mov eax, dword [0x1003e6ac]
cmp eax, 1
jne 0x1000c0aa
cmp dword [0x10041788], esi
jne 0x1000c0b7
cmp eax, 2
jne 0x1000c122
cmp dword [0x1004178c], esi
je 0x1000c122
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x1000c0c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [0x1003e6ac], 1
push esi
push esi
push esi
push esi
push 1
push ebx
push dword [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push 0x1fffff
push eax
jne 0x1000c0ea
call dword [0x10041788]
jmp 0x1000c10a
mov ecx, dword [0x1004178c]
mov dword [0x1003e6a4], ecx
mov ecx, dword [0x10041790]
mov dword [0x1003e6a8], ecx
call fcn.10016e8e
add esp, 0x2c
cmp eax, esi
jne 0x1000c122
test byte [ebp + 0x10], 4
jne 0x1000c11d
push dword [ebp - 4]
call fcn.1000c01a
pop ecx
mov eax, dword [ebp - 4]
jmp 0x1000c142
push esi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push esi
push esi
cmp dword [ebp + 8], esi
jne 0x1000c139
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1000c142
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop esi
leave
ret

Function at 0x1000c690
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0x37
pop ecx
call fcn.1000ae16
push 0x27
pop ecx
movzx esi, ax
call fcn.1000ae16
xor ebx, ebx
inc ebx
push ebx
push 0
movzx edi, ax
call fcn.10001a64
pop ecx
pop ecx
call fcn.1000d356
cmp esi, ebx
jne 0x1000c6d8
cmp edi, ebx
jne 0x1000c6d0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000c6c3
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
cmp edi, ebx
jne 0x1000c6fd
push 0xffffffffffffffff
push 0
push dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ebx, ebx
push 0
call fcn.1000c085
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebx
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000caaa
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
call fcn.1000c760
push 0x1003e6bc
push 3
push 9
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
test eax, eax
jne 0x1000cae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x18
call fcn.10002439
pop ecx
jmp 0x1000cbd6
push dword [0x1003e6bc]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1000cb03
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x19
jmp 0x1000cadd
push 0x800
call fcn.10006f84
pop ecx
mov esi, 0x200
push esi
push eax
mov dword [0x1003e6cc], eax
call fcn.10007086
push esi
push dword [0x1003e6cc]
mov dword [0x1003e6c0], eax
call fcn.10007086
mov ebx, 0x400
push ebx
push dword [0x1003e6cc]
mov dword [0x1003e6c4], eax
call fcn.10007086
mov edi, 0x100
push edi
push dword [0x1003e6c4]
mov dword [0x1003e6c8], eax
push dword [ebp + 0xc]
call fcn.10002ec0
add esp, 0x24
push edi
push dword [0x1003e6c0]
push dword [ebp + 8]
call fcn.10002ec0
add esp, 0xc
push esi
push dword [0x1003e6c8]
push dword [ebp + 0x10]
call fcn.10002ec0
add esp, 0xc
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [0x1003e6d0], 1
call fcn.10001683
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push 0x1002f5c4
push eax
call fcn.10001726
add esp, 0x18
push 0x23
lea eax, [ebp - 0x14]
call fcn.10001788
push eax
lea eax, [ebp - 0x14]
call fcn.10001785
push eax
call fcn.100012d0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call fcn.10001765
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000cc7a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1000ccd8
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1000cccf
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x1000d530
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push 0
push 1
lea eax, [esi + edi]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1000d568
add esi, eax
cmp esi, 2
jb 0x1000d560
cmp byte [esi + edi - 1], 0xa
jne 0x1000d560
cmp byte [esi + edi - 2], 0xd
je 0x1000d56e
cmp esi, 0x800
jb 0x1000d536
or eax, 0xffffffff
pop esi
pop ebp
ret
mov byte [esi + edi - 2], 0
mov eax, esi
jmp 0x1000d56b
Function at 0x1000d5db
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
call fcn.10002b5b
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000d601
push eax
call sub.WS2_32.dll_closesocket
jmp 0x1000d654
push 2
pop eax
push dword [ebp + 8]
mov word [ebp - 0x10], ax
call sub.WS2_32.dll_htons
mov word [ebp - 0xe], ax
push 0x10
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0xc], 0x100007f
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1000d630
push esi
jmp 0x1000d5fa
push 0x78
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1000d62d
push dword [ebp + 0xc]
push esi
call fcn.1000d497
push 0x1000d577
call fcn.1000c657
add esp, 0xc
pop esi
leave
ret

Function at 0x1000d834
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
xor edx, edx
push 3
lea eax, [edi + 2]
pop ebx
div ebx
mov ecx, dword [ebp + 0x10]
shl eax, 2
inc eax
cmp dword [ecx], eax
jae 0x1000d85e
push 6
mov dword [ecx], eax
pop eax
jmp 0x1000d940
xor edx, edx
push 3
mov eax, edi
pop ebx
div ebx
mov ecx, dword [ebp + 0xc]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x1000d8dd
dec eax
push ebx
pop edi
div edi
mov edi, eax
inc edi
mov edx, edi
imul edx, edx, 3
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
shr eax, 4
shl ebx, 4
add eax, ebx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
movzx ebx, byte [esi + 1]
shr eax, 6
lea eax, [eax + ebx*4]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
dec edi
jne 0x1000d880
mov edi, dword [ebp + 8]
cmp edx, edi
jae 0x1000d933
movzx eax, byte [esi]
inc edx
cmp edx, edi
jae 0x1000d8ef
movzx esi, byte [esi + 1]
jmp 0x1000d8f1
xor esi, esi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
shl eax, 4
mov ebx, esi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, edi
jae 0x1000d929
and esi, 0xf
movsx eax, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x1000d92c
push 0x3d
pop eax
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
sub ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000f1b5
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret

Function at 0x1000f3fa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x1003a478]
mov ebx, eax
push edi
mov eax, esi
call fcn.100101ae
test eax, eax
jne 0x1000f4fc
mov ecx, dword [0x1003a47c]
cmp ecx, 1
jl 0x1000f4f9
cmp ecx, 0x80
jg 0x1000f4f9
mov eax, dword [ebp + 0xc]
xor edx, edx
div ecx
test edx, edx
jne 0x1000f4f9
test cl, 3
jne 0x1000f4f9
mov edx, esi
imul edx, edx, 0x60
mov edx, dword [edx + 0x1003e728]
test edx, edx
je 0x1000f472
push 0x1003a500
push 0x1003a480
push eax
push ebx
push dword [ebp + 8]
call edx
add esp, 0x14
jmp 0x1000f4fc
cmp dword [ebp + 0xc], 0
je 0x1000f4f5
mov edi, 0x1003a480
jmp 0x1000f485
mov esi, dword [0x1003a478]
xor edx, edx
test ecx, ecx
jle 0x1000f4ac
mov ecx, dword [ebp + 8]
sub ecx, edi
lea eax, [edx + 0x1003a480]
mov esi, dword [ecx + eax]
xor dword [eax], esi
add edx, 4
cmp edx, dword [0x1003a47c]
jl 0x1000f490
mov esi, dword [0x1003a478]
imul esi, esi, 0x60
push 0x1003a500
push ebx
push edi
call dword [esi + 0x1003e70c]
add esp, 0xc
test eax, eax
jne 0x1000f4fc
mov ecx, dword [0x1003a47c]
xor edx, edx
test ecx, ecx
jle 0x1000f4eb
mov esi, ebx
sub esi, edi
lea eax, [edx + 0x1003a480]
mov ecx, dword [esi + eax]
mov dword [eax], ecx
mov ecx, dword [0x1003a47c]
add edx, 4
cmp edx, ecx
jl 0x1000f4d3
add dword [ebp + 8], ecx
add ebx, ecx
sub dword [ebp + 0xc], ecx
jne 0x1000f47f
xor eax, eax
jmp 0x1000f4fc
push 0x10
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000f83b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10033628]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1003b5a0]
push edi
mov ebx, ecx
mov edi, edx
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
call fcn.100101ae
test eax, eax
jne 0x1000f948
mov ecx, dword [0x1003b5a4]
cmp ecx, 1
jl 0x1000f945
cmp ecx, 0x80
jg 0x1000f945
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
test edx, edx
jne 0x1000f945
test cl, 3
jne 0x1000f945
mov ecx, esi
imul ecx, ecx, 0x60
mov ecx, dword [ecx + 0x1003e72c]
test ecx, ecx
je 0x1000f8c6
push 0x1003b628
push 0x1003b5a8
push eax
push edi
push ebx
call ecx
add esp, 0x14
jmp 0x1000f948
cmp dword [ebp + 8], 0
je 0x1000f941
jmp 0x1000f8d4
mov esi, dword [0x1003b5a0]
imul esi, esi, 0x60
push 0x1003b628
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [esi + 0x1003e710]
add esp, 0xc
test eax, eax
jne 0x1000f948
mov eax, dword [0x1003b5a4]
xor edi, edi
test eax, eax
jle 0x1000f931
mov ecx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov eax, 0x1003b5a8
sub esi, ebx
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [edi + 0x1003b5a8]
lea edx, [ebx + eax]
mov ecx, dword [esi + edx]
xor ecx, dword [eax]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [edx + eax], ecx
mov eax, dword [0x1003b5a4]
add edi, 4
cmp edi, eax
jl 0x1000f90d
mov ebx, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add ebx, eax
sub dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
jne 0x1000f8ce
xor eax, eax
jmp 0x1000f948
push 0x10
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001eb2e
leave
ret
Function at 0x10010895
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebx + 0x70]
mov eax, esi
call fcn.10010785
test eax, eax
jne 0x100109d5
imul esi, esi, 0x68
push edi
mov edi, dword [esi + 0x1003f7f8]
push dword [esi + 0x1003f7fc]
mov dword [ebp - 8], edi
call fcn.10017001
push edi
mov dword [ebp - 4], eax
call fcn.10017001
cmp dword [ebp - 4], 0
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0xc], edi
je 0x100109c6
test edi, edi
je 0x100109bd
push edi
push ebx
call dword [esi + 0x1003f84c]
mov edi, eax
xor eax, eax
pop ecx
pop ecx
cmp edi, eax
jne 0x1001099b
cmp dword [esi + 0x1003f7fc], eax
jbe 0x10010921
mov ecx, dword [ebx + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 4]
xor cl, 0x5c
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x1003f7fc]
jb 0x10010906
push ebx
call dword [esi + 0x1003f844]
mov edi, eax
pop ecx
test edi, edi
jne 0x1001099b
push dword [esi + 0x1003f7fc]
push dword [ebp - 4]
push ebx
call dword [esi + 0x1003f848]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1001099b
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [esi + 0x1003f848]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1001099b
push dword [ebp - 4]
push ebx
call dword [esi + 0x1003f84c]
pop ecx
pop ecx
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jne 0x1001099b
cmp dword [ebp - 8], ecx
jbe 0x10010994
mov esi, dword [ebp - 4]
sub esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax]
jae 0x10010994
mov eax, dword [ebp + 8]
add eax, ecx
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
cmp ecx, dword [ebp - 8]
jb 0x1001097d
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor edi, edi
push dword [ebx + 0xe8]
call fcn.10016f24
push dword [ebp - 0xc]
call fcn.10016f24
push dword [ebp - 4]
call fcn.10016f24
add esp, 0xc
mov eax, edi
jmp 0x100109d4
push dword [ebp - 4]
call fcn.10016f24
pop ecx
test edi, edi
je 0x100109d1
push edi
call fcn.10016f24
pop ecx
push 0xd
pop eax
pop edi
pop esi
leave
ret
Function at 0x100109d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
call fcn.10010785
test eax, eax
jne 0x10010a13
push esi
mov esi, ebx
imul esi, esi, 0x68
mov dword [edi + 0x70], ebx
mov eax, dword [esi + 0x1003f7f8]
push dword [esi + 0x1003f7fc]
mov dword [ebp - 4], eax
call fcn.10017001
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x10010a16
push 0xd
pop eax
pop esi
pop ebx
leave
ret
push dword [esi + 0x1003f7fc]
call fcn.10017001
pop ecx
mov dword [edi + 0xe8], eax
test eax, eax
jne 0x10010a3c
push 0xd
pop ebx
push dword [ebp - 8]
call fcn.10016f24
pop ecx
mov eax, ebx
jmp 0x10010a12
mov ecx, dword [esi + 0x1003f7fc]
cmp ecx, 0x10
jae 0x10010a84
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x10
push 0x1003d780
mov eax, ebx
call fcn.1000fa9b
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x10010b04
mov eax, dword [esi + 0x1003f7fc]
cmp dword [ebp - 4], eax
jae 0x10010ab4
sub eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0xe8]
add eax, dword [ebp - 4]
jmp 0x10010aac
push 0x10
push 0x1003d780
push eax
call fcn.1001db30
mov eax, dword [esi + 0x1003f7fc]
add esp, 0xc
cmp eax, 0x10
jbe 0x10010ab4
add eax, 0xfffffff0
push eax
mov eax, dword [edi + 0xe8]
add eax, 0x10
push eax
call fcn.10010752
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0x1003f7fc], eax
jbe 0x10010ad9
mov ecx, dword [edi + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 8]
xor cl, 0x36
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x1003f7fc]
jb 0x10010abe
push edi
call dword [esi + 0x1003f844]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x10010b04
push dword [esi + 0x1003f7fc]
push dword [ebp - 8]
push edi
call dword [esi + 0x1003f848]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10010a2f
push dword [edi + 0xe8]
call fcn.10016f24
pop ecx
jmp 0x10010a2f
Function at 0x1001eb2e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10033628]
jne 0x1001eb38
repz ret
jmp fcn.100228f2

Function at 0x100209a5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1001bd49
and dword [ebp - 4], 0
cmp dword [0x1003a01c], 0
mov ebx, eax
jne 0x10020a56
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10020b07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10020b07
push eax
call fcn.1001bcd7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003a01c], eax
call esi
push eax
call fcn.1001bcd7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1003a020], eax
call esi
push eax
call fcn.1001bcd7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1003a024], eax
call esi
push eax
call fcn.1001bcd7
pop ecx
mov dword [0x1003a02c], eax
test eax, eax
je 0x10020a56
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001bcd7
pop ecx
mov dword [0x1003a028], eax
mov eax, dword [0x1003a028]
cmp eax, ebx
je 0x10020aae
cmp dword [0x1003a02c], ebx
je 0x10020aae
push eax
call fcn.1001bd52
push dword [0x1003a02c]
mov esi, eax
call fcn.1001bd52
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10020aae
test edi, edi
je 0x10020aae
call esi
test eax, eax
je 0x10020aa5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10020aa5
test byte [ebp - 0xc], 1
jne 0x10020aae
or dword [ebp + 0x10], 0x200000
jmp 0x10020ae7
mov eax, dword [0x1003a020]
cmp eax, ebx
je 0x10020ae7
push eax
call fcn.1001bd52
pop ecx
test eax, eax
je 0x10020ae7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10020ae7
mov eax, dword [0x1003a024]
cmp eax, ebx
je 0x10020ae7
push eax
call fcn.1001bd52
pop ecx
test eax, eax
je 0x10020ae7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003a01c]
call fcn.1001bd52
pop ecx
test eax, eax
je 0x10020b07
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10020b09
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret