joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102fd870
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10372b24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call fcn.101023c3
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x102fd9ec
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10101f18
test eax, eax
je 0x102fd9d9
cmp dword [ebp - 0x28], 0x10
jb 0x102fd9bd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10103fde
cmp dword [ebp - 0x1c], eax
jne 0x102fd9bd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.10103fde
cmp dword [ebp - 0x20], eax
je 0x102fd9bd
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x102fd944
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x1037956c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.10103fde
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x102fd942
jmp 0x102fd9d9
jmp 0x102fd99d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x102fd99d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1037956c]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.10103fde
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x102fd987
jmp 0x102fd9d9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.101002da
test eax, eax
jne 0x102fd8c3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10103fde
push edx
mov ecx, ebp
push eax
lea edx, [0x102fda18]
call fcn.10103552
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101026a7
add esp, 0x30
cmp ebp, esp
call fcn.10103fde
mov esp, ebp
pop ebp
ret
Function at 0x102fda30
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.102fd870
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x102fdafb
mov dword [ebp - 4], 0
jmp 0x102fda8c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x102fdafb
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10103fde
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x102fdaf9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.10103fde
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.102fd690
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10103fde
jmp 0x102fda83
pop esi
add esp, 8
cmp ebp, esp
call fcn.10103fde
mov esp, ebp
pop ebp
ret

Function at 0x102fdb10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x102fdbbb
mov dword [ebp - 4], 0
jmp 0x102fdb43
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x102fdb9e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10103fde
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x102fdb9c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.10103fde
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10103fde
jmp 0x102fdb3a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1037956c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.10103fde
pop esi
add esp, 8
cmp ebp, esp
call fcn.10103fde
mov esp, ebp
pop ebp
ret
Function at 0x102fdbd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10379a00]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x102fdc33
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10103fde
test eax, eax
jne 0x102fdc5e
mov eax, 0xa
jmp 0x102fdd60
cmp dword [ebp + 0xc], 0
je 0x102fdcaa
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x102fdca8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x102fdce6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x102fdcd1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1010578f
add esp, 0xc
jmp 0x102fdce6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1010578f
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10103fde
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.10103fde
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.10103fde
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x102fdd84]
call fcn.10103552
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.10103fde
mov esp, ebp
pop ebp
ret
Function at 0x102fe9e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x103799ec]
mov dword [ebp - 4], eax
jmp 0x102fea07
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x102fea20
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x102fea1e
mov eax, dword [ebp - 4]
jmp 0x102feaa4
jmp 0x102fe9ff
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.10103fde
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x102feaa1
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x102fea63
mov edx, dword [ebp - 4]
mov eax, dword [0x103799ec]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x103799ec], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.10103fde
mov esp, ebp
pop ebp
ret

Function at 0x102ff060
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x102ff0b0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x102ff0b0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x102ff0b0
xor eax, eax
jmp 0x102ff0f1
mov dword [ebp - 4], 1
jmp 0x102ff0c2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x102ff0ec
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x102ff0ea
xor eax, eax
jmp 0x102ff0f1
jmp 0x102ff0b9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1027b6a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102979b0]
jne 0x1027b6aa
repz ret
jmp fcn.1027c7ac

Function at 0x1027d93b
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.1027aac3
and dword [ebp - 4], 0
cmp dword [0x10299b7c], 0
mov ebx, eax
jne 0x1027d9ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1027da9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1027da9d
push eax
call fcn.1027aa51
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10299b7c], eax
call esi
push eax
call fcn.1027aa51
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10299b80], eax
call esi
push eax
call fcn.1027aa51
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10299b84], eax
call esi
push eax
call fcn.1027aa51
pop ecx
mov dword [0x10299b8c], eax
test eax, eax
je 0x1027d9ec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1027aa51
pop ecx
mov dword [0x10299b88], eax
mov eax, dword [0x10299b88]
cmp eax, ebx
je 0x1027da44
cmp dword [0x10299b8c], ebx
je 0x1027da44
push eax
call fcn.1027aacc
push dword [0x10299b8c]
mov esi, eax
call fcn.1027aacc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1027da44
test edi, edi
je 0x1027da44
call esi
test eax, eax
je 0x1027da3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1027da3b
test byte [ebp - 0xc], 1
jne 0x1027da44
or dword [ebp + 0x10], 0x200000
jmp 0x1027da7d
mov eax, dword [0x10299b80]
cmp eax, ebx
je 0x1027da7d
push eax
call fcn.1027aacc
pop ecx
test eax, eax
je 0x1027da7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1027da7d
mov eax, dword [0x10299b84]
cmp eax, ebx
je 0x1027da7d
push eax
call fcn.1027aacc
pop ecx
test eax, eax
je 0x1027da7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10299b7c]
call fcn.1027aacc
pop ecx
test eax, eax
je 0x1027da9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1027da9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1027e6ea
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1027e8b6
jmp 0x1027e777
mov al, byte [ebp - 0x19]
test al, 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
jne 0x1027e7f8
jmp 0x1027e80d
mov dword [0x102971f0], 0xe77
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jne 0x1027e82a
jmp 0x1027e7ca
mov dword [0x102971f4], 0x25ed
mov dword [0x102971f0], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x102971f0], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x102971f4], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x24], esi
jmp 0x1027e80d
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx]
mov dword [0x102971f0], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], eax
je 0x1027e80d
jmp 0x1027e837
mov dword [0x102971f4], 0xffffc994
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
jmp 0x1027e8b6
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
cmp eax, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
je 0x1027e8b6
jmp 0x1027e73b
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1027e8b6
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x44], eax
mov word [ebp - 0x46], dx
mov word [ebp - 0x48], di
jb 0x1027e86b
mov ax, word [ebp - 0x46]
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x19], bl
jne 0x1027e725
mov dword [0x102971f0], 0x667
mov eax, dword [ebp - 0x44]
add eax, 1
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
mov dword [ebp - 0x40], eax
jb 0x1027e837
jmp 0x1027e725
mov eax, dword [ebp - 0x18]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1027ecb6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102971fc], 0
mov byte [0x10297200], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x102971f0], 0x1f87
mov dword [0x102971f8], 0
mov dword [ebp - 0x1c], eax
jmp 0x1027ede5
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10297204], 0
mov dword [0x102971f0], 0x17de
mov edi, dword [0x102971fc]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10297204], esi
mov dword [0x102971f4], 0x51e
mov dword [0x102971f0], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x102971fc], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10297200], cl
mov dword [0x102971f0], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x102971f0]
add esi, 0x1ff7
mov dword [0x102971f4], esi
mov cl, byte [0x10297200]
mov esi, dword [0x102971fc]
mov byte [ebx + esi], cl
mov dword [0x102971f0], 0x5e6
mov esi, dword [0x102971f4]
add esi, 0xfffffd1a
mov dword [0x102971f4], esi
mov esi, dword [0x102971f8]
add esi, 1
mov dword [0x102971f8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1027ed00
jmp 0x1027ee29
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102971f8]
add eax, 1
mov dword [0x102971f8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1027ede5
xor eax, eax
mov dword [0x102971f0], 0xd51
mov dword [0x102971f8], 0
mov dword [ebp - 0x20], eax
jmp 0x1027ed00
mov dword [0x102971f0], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1027ee46
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102971f0], 0xeb4
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add esi, ebx
add esi, 0x44
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x1b3
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
jne 0x1027ee75
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x10281573]
mov dl, byte [eax + 0x10281544]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x1027eed6
lea eax, [ebp - 0x12c]
mov dword [0x102971f0], 0xf0b
mov dword [ebp - 0x144], eax
call fcn.1027fc5f
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.1027ea28
mov ecx, eax
mov dword [0x10297210], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x102971f4]
add edx, 0xffffd942
mov dword [0x102971f0], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, ecx
add esi, 1
mov edi, dword [ebp - 0x148]
add edi, eax
imul ebx, ecx, 0xb4
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
add eax, 0x44
imul ebx, ecx, 0xb4
mov dword [ebp - 0x158], eax
mov eax, edx
add eax, ebx
imul ecx, ecx, 0xb4
add edx, ecx
add edx, 0x48
mov ecx, dword [edx]
mov eax, dword [eax]
mov edx, dword [ebp - 0x158]
movzx ebx, word [edx]
xor ebx, ecx
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], esi
call fcn.1027f1c7
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x154]
add eax, ecx
mov edx, dword [ebp - 0x160]
cmp edx, 0x1b3
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], eax
jne 0x1027ef85
lea eax, [0x10281552]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x102971f4], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.1027ecb6
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.1027f779
xor eax, eax
mov dword [0x102971f0], 0x1e27
mov ecx, dword [ebp - 0x148]
add ecx, 0xff74a
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x113c00
mov ecx, dword [ebp - 0x148]
add ecx, 0x640ce
mov dword [edx + 8], ecx
mov ecx, dword [0x102971f0]
add ecx, 0xffffe53e
mov dword [0x102971f0], ecx
mov dword [edx + 0xc], 0x2000
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1027f253
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x102971f4], 0x26de
mov dword [ebp - 0x10], eax
call fcn.1027e8c1
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x102971f4], 0xe73
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1027f2a3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102971f0], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1027f3bf
jmp 0x1027f314
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], dl
mov eax, dword [ebp - 0x3c]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x3e]
mov ch, byte [ebp - 0x3d]
and dl, ch
and dl, cl
test dl, 1
mov dword [ebp - 0x44], eax
jne 0x1027f340
jmp 0x1027f36d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x58]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x3e], cl
jne 0x1027f2de
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x1027f39c
jmp 0x1027f376
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], eax
jb 0x1027f326
jmp 0x1027f3bf
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102971f0], 0x22a3
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret