joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42627c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x4262ad
je 0x426307
sub eax, 7
je 0x4262ce
dec eax
je 0x4262f8
sub eax, 0x17
je 0x426388
jmp 0x4263c6
add eax, 0xffffff00
sub eax, 9
jb 0x426374
add eax, 0xffffff09
sub eax, 0xb
jb 0x42635e
jmp 0x4263c6
mov eax, ebx
call fcn.004364fc
mov edi, eax
test edi, edi
je 0x426426
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42642f
jmp 0x426426
test byte [ebx + 0x44], 0x20
jne 0x42642f
jmp 0x426426
mov edx, esi
mov eax, ebx
call fcn.00423b20
cmp dword [esi + 0xc], 0xffffffff
jne 0x42642f
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004064f8
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.004225ac
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042612c
test eax, eax
je 0x42642f
mov dword [esi + 0xc], 1
jmp 0x42642f
mov edx, esi
mov eax, ebx
call fcn.004261f0
test al, al
jne 0x42642f
jmp 0x426426
mov eax, ebx
call fcn.0042318c
test al, al
jne 0x42642f
jmp 0x426426
mov eax, ebx
call fcn.004287a8
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x426426
cmp dword [0x443690], 0
je 0x426426
mov eax, dword [0x443690]
cmp ebx, dword [eax + 0x24]
jne 0x426426
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x443690]
call fcn.00423a3c
jmp 0x426426
mov eax, dword [0x444720]
cmp byte [eax + 0x20], 0
je 0x426426
mov eax, dword [0x444720]
cmp dword [eax + 0x1c], 0
je 0x426426
mov eax, dword [esi]
mov edx, dword [0x444720]
cmp eax, dword [edx + 0x1c]
jne 0x426426
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00436410
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00402de0
jmp 0x42642f
mov edx, esi
mov eax, ebx
call fcn.00423b20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4268c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x4268dc
cmp dword [esi + 4], 0
je 0x426909
test byte [ebx + 0x45], 1
jne 0x4268fb
mov eax, ebx
call fcn.00425930
test eax, eax
jne 0x4268fb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x426a19
mov edx, esi
mov eax, ebx
call fcn.00426538
jmp 0x426a19
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x426a12
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004287a8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00423a3c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004268c0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004287a8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426a19
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ff54
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004037a4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42ffb5
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x42ffb5
cmp byte [ebp - 0x102], 0
je 0x42ffb5
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004039d0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4361e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4447d4
cmp dword [edi], 0
jne 0x43625c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4447d0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44381c
mov ecx, 2
call fcn.00402798
mov edx, 0x4361b8
lea eax, [esi + 5]
call fcn.004361d8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004361d8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x436231
mov dword [0x4447d0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x436380
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4363d0]
test si, 4
je 0x436394
or bl, 1
test si, 8
je 0x43639e
or bl, 4
test si, 1
je 0x4363a8
or bl, 8
test si, 2
je 0x4363b2
or bl, 0x10
test si, 0x10
je 0x4363bc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4363cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4363d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43640c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4363ed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4363fc
or bl, 4
test esi, 0x20000000
je 0x436407
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43c8f4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ca99
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40b898]
call fcn.00402bdc
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004037a4
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43ca6f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042ccd4
test al, al
je 0x43ca62
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x43caa8
lea eax, [ebp - 0x254]
call fcn.00407f90
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43ca62
xor eax, eax
push ebp
push 0x43ca5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x43cae0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43ca44
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004039d0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x43ca44
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004039d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ca62
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43c965
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040e728
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43caa0
lea eax, [ebp - 0x260]
call fcn.004037a4
ret

Function at 0x43d1fc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4447a4]
cmp byte [eax + 0x8d], 0
jne 0x43d26d
cmp dword [0x4447e0], 0
jne 0x43d22e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43d1b8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4447e0], eax
cmp dword [0x4447dc], 0
jne 0x43d249
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4447dc], eax
cmp dword [0x4447e4], 0
jne 0x43d26d
push esp
push 0
push 0
push 0x43d15c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4447e4], eax
pop edx
ret
Function at 0x43d364
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43d37b
add esp, 0xfffffff0
call fcn.00402ef0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411504
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40b598]
call fcn.00402bdc
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40b598]
call fcn.00402bdc
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x413290]
call fcn.0041a1b0
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x43d4ec
mov eax, dword [0x443b34]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041a554
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43ee00
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x443b34]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00409234
test eax, eax
je 0x43d46b
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407918
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040925c
test eax, eax
je 0x43d47f
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004039d0
mov eax, dword [0x443a38]
cmp byte [eax], 0
jne 0x43d4b0
mov eax, ebx
call fcn.0043d5d8
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43d4e2
call fcn.00402f48
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d834
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4447a4]
cmp dword [eax + 0x24], 0
je 0x43d8c4
cmp dword [ebx + 0x7c], 0
jne 0x43d8c1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43d7c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x43d8c1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x43d890
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43d8c1
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040cbbc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43d89c
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x43e214
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x43e249
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403888
jmp 0x43e253
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.0040383c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43f130
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x43f168
mov eax, esi
call fcn.00428b88
test al, al
je 0x43f168
mov eax, dword [ebx + 0x6c]
call fcn.004287a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f168
push 0
mov eax, dword [ebx + 0x6c]
call fcn.004287a8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4022fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x439bc0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402366
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b4a
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00403a65
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40237e
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402e72
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40232e
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406114
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402e72
jmp 0x402368

Function at 0x403ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ecx
push esi
push edi
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 [0x43aaf0], eax
push 0x27
push 0x439628
push 0x547
mov esi, 0x439650
push esi
call fcn.0040239c
push 0x8aafdc01
push dword [0x43aaf0]
call fcn.004022fd
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x403f40
call fcn.00403de5
xor eax, eax
pop ecx
ret 0x10
Function at 0x10001000
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x1001a050]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
push ebx
xor edx, edx
push esi
push edi
mov dword [esp + 0xc], ecx
cmp ecx, edx
jne 0x10001039
lea eax, [edx + 2]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], edx
mov ecx, 8
mov esi, 0x100186d8
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea ebx, [esp + 0x18]
call fcn.100010a0
mov esi, ebx
call fcn.100015a0
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
mov eax, ebx
push eax
push ecx
call fcn.10013090
mov ecx, dword [esp + 0x90]
add esp, 0x14
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
Function at 0x10001750
Capabilities:
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x1001a050]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0xe8], eax
test ebx, ebx
jne 0x10001785
lea eax, [ebx + 2]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
push 0xd8
lea ecx, [ebp - 0xe4]
push 0
push ecx
call fcn.10012fe0
mov eax, dword [ebp + 0xc]
mov ecx, 0x10
mov esi, 0x100187f8
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xe8]
add esp, 0xc
lea esi, [ebp - 0xe4]
call fcn.100017f0
mov eax, esi
call fcn.10001eb0
mov edx, dword [ebp + 0x10]
push edx
mov eax, esi
push eax
push ebx
call fcn.10013090
mov ecx, dword [ebp - 8]
add esp, 0xc
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
Function at 0x100036a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x1001a050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x454], ecx
test eax, eax
je 0x10003852
test ebx, ebx
je 0x10003852
test edi, edi
je 0x10003852
push 0
lea edx, [ebp - 0x444]
mov ecx, edi
call fcn.10002a60
mov eax, dword [edi]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, 8
mov ecx, esi
add esp, 4
and ecx, 0xf
mov dword [ebp - 0x448], eax
mov eax, 0x10
je 0x1000371f
sub eax, ecx
mov ecx, dword [ebp - 0x454]
lea edi, [eax + esi]
cmp dword [ecx], edi
jae 0x1000374b
shr esi, 4
inc esi
shl esi, 4
pop edi
mov dword [ecx], esi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
push edi
push eax
push ebx
mov dword [ecx], edi
call fcn.10012fe0
mov edx, dword [ebp - 0x44c]
push esi
push edx
push ebx
call fcn.10013090
mov eax, dword [ebp + 0xc]
add esp, 0x18
dec eax
je 0x10003815
dec eax
je 0x10003789
pop edi
pop esi
mov eax, 0x1101
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x450]
xor eax, eax
add ecx, 0x24
cmp byte [ecx + eax], 0
jne 0x100037a0
inc eax
cmp eax, 0x10
jb 0x10003794
test edi, edi
je 0x1000383f
mov esi, ebx
lea ebx, [edi - 1]
shr ebx, 4
inc ebx
lea eax, [esi + 1]
inc ecx
mov edi, 4
lea ebx, [ebx]
movzx edx, byte [ecx - 1]
xor byte [eax - 1], dl
movzx edx, byte [ecx]
xor byte [eax], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx + 2]
xor byte [eax + 2], dl
add ecx, 4
add eax, 4
dec edi
jne 0x100037c0
mov ecx, dword [ebp - 0x448]
lea eax, [ebp - 0x444]
push eax
mov edx, esi
call fcn.10003a90
mov ecx, esi
add esp, 4
add esi, 0x10
dec ebx
jne 0x100037b1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
xor esi, esi
test edi, edi
je 0x1000383f
jmp 0x10003820
lea ecx, [ebp - 0x444]
push ecx
mov ecx, dword [ebp - 0x448]
lea edx, [ebx + esi]
call fcn.10003a90
add esi, 0x10
add esp, 4
cmp esi, edi
jb 0x10003820
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 2
pop ebx
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
Function at 0x10003870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x1001a050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, edx
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x454], 0
test edi, edi
je 0x10003a6e
test eax, eax
je 0x10003a6e
test ebx, ebx
je 0x10003a6e
push 1
lea edx, [ebp - 0x444]
mov ecx, edi
call fcn.10002a60
mov eax, dword [edi]
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp - 0x44c]
sar eax, 2
add eax, 8
add esp, 4
mov dword [ebp - 0x45c], eax
cmp dword [edx], esi
jae 0x10003905
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x448]
push esi
push eax
push ebx
call fcn.10013090
mov eax, dword [ebp + 8]
add esp, 0xc
dec eax
je 0x100039d3
dec eax
jne 0x10003a58
add edi, 0x24
mov dword [ebp - 0x458], edi
test esi, esi
je 0x100039ff
mov eax, dword [ebp - 0x448]
sub eax, ebx
mov dword [ebp - 0x460], eax
lea eax, [esi - 1]
shr eax, 4
inc eax
mov edi, ebx
mov dword [ebp - 0x450], eax
jmp 0x10003960
lea ecx, [ebp - 0x444]
push ecx
mov ecx, dword [ebp - 0x45c]
mov edx, edi
call fcn.10003a90
mov ecx, dword [ebp - 0x458]
add esp, 4
lea eax, [edi + 1]
inc ecx
mov dword [ebp - 0x448], 4
jmp 0x10003990
movzx edx, byte [ecx - 1]
xor byte [eax - 1], dl
movzx edx, byte [ecx]
xor byte [eax], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx + 2]
xor byte [eax + 2], dl
add ecx, 4
add eax, 4
dec dword [ebp - 0x448]
jne 0x10003990
mov eax, dword [ebp - 0x460]
add eax, edi
add edi, 0x10
dec dword [ebp - 0x450]
mov dword [ebp - 0x458], eax
jne 0x10003960
jmp 0x100039ff
xor edi, edi
test esi, esi
je 0x100039ff
lea esp, [esp]
lea ecx, [ebp - 0x444]
push ecx
mov ecx, dword [ebp - 0x45c]
lea edx, [ebx + edi]
call fcn.10003a90
add edi, 0x10
add esp, 4
cmp edi, esi
jb 0x100039e0
mov al, byte [ebx + esi - 1]
cmp al, 0x10
ja 0x10003a44
cmp al, 1
jb 0x10003a44
mov byte [ebp - 0x454], al
mov edi, dword [ebp - 0x454]
push edi
sub ebx, edi
push 0
add ebx, esi
push ebx
call fcn.10012fe0
mov edx, dword [ebp - 0x44c]
add esp, 0xc
sub esi, edi
pop edi
mov dword [edx], esi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax]
push ecx
push 0
push ebx
call fcn.10012fe0
add esp, 0xc
pop edi
pop esi
mov eax, 0x1102
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 2
pop ebx
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
Function at 0x10004d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1001a050]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x40
push ecx
push eax
lea ebx, [ebp - 0x4c]
mov esi, edx
call fcn.10001750
mov ecx, ebx
lea edi, [ebp - 0x4b]
lea edx, [ebp - 0x4a]
sub ecx, esi
sub edi, esi
sub edx, esi
lea ebx, [ebp - 0x49]
add esp, 0xc
sub ebx, esi
mov eax, esi
mov dword [ebp - 0x50], ebx
mov esi, 0x10
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 2], bl
mov ebx, dword [ebp - 0x50]
movzx ebx, byte [ebx + eax]
xor byte [eax + 3], bl
add eax, 4
dec esi
jne 0x10004d84
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret