joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4548b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4548da
mov eax, esp
push eax
push 0x45487c
call sub.user32.dll_EnumWindows
jmp 0x4548ed
mov eax, esp
push eax
push 0x45485c
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x454978
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4549cc]
test si, 4
je 0x45498d
or bl, 1
test si, 8
je 0x454997
or bl, 4
test si, 1
je 0x4549a1
or bl, 8
test si, 2
je 0x4549ab
or bl, 0x10
test si, 0x10
je 0x4549b5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4549c4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4549d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x454a0c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4549ea
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4549f9
or bl, 4
test esi, 0x20000000
je 0x454a04
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ca78
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45ca8a
add esp, 0xfffffff0
call fcn.00403ef8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b138
mov eax, dword [0x48a3d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ce1c
mov eax, dword [0x48a3e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ce28
mov eax, ebx
call fcn.0045ce34
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4125ac]
call fcn.00403ba4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4125ac]
call fcn.00403ba4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4125ac]
call fcn.00403ba4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4125ac]
call fcn.00403ba4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4125ac]
call fcn.00403ba4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4582dc
push eax
push 0
push 0
mov eax, dword [0x48a534]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ed14]
call fcn.00420568
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ed14]
call fcn.00420568
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ed14]
call fcn.00420568
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d2ac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d17c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d17c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d17c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cbc7
call fcn.00403f50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45cf60
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 0x45d10b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d0ec
mov dl, 1
mov eax, dword [0x412b5c]
call fcn.00403ba4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a00
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d0db
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.0044e6d0
test al, al
je 0x45d0ce
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x45d11c
lea eax, [ebp - 0x254]
call fcn.004098ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x45d0ce
xor eax, eax
push ebp
push 0x45d0c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45d154
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x45d0b0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c70
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d0b0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d0ce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45cfd1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416fe4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d112
lea eax, [ebp - 0x260]
call fcn.00404a00
ret

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

Disassembly:
push ecx
mov eax, dword [0x48fc9c]
cmp byte [eax + 0xad], 0
jne 0x45daf5
cmp dword [0x48fcb8], 0
jne 0x45dab6
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45da40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48fcb8], eax
cmp dword [0x48fcb4], 0
jne 0x45dad1
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x48fcb4], eax
cmp dword [0x48fcbc], 0
jne 0x45daf5
push esp
push 0
push 0
push 0x45d9e4
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x48fcbc], eax
pop edx
ret
Function at 0x45dcf8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45dd0f
add esp, 0xfffffff0
call fcn.00403ef8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b138
mov eax, dword [0x48a51c]
cmp word [eax + 2], 0
jne 0x45dd37
mov eax, dword [0x48a51c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045fa40
mov eax, dword [0x48a5d0]
cmp word [eax + 2], 0
jne 0x45dd51
mov eax, dword [0x48a5d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045fc4c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4125ac]
call fcn.00403ba4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4125ac]
call fcn.00403ba4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4125ac]
call fcn.00403ba4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41f824]
call fcn.004271f0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45df08
mov eax, dword [0x48a440]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004275c4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x460320
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48a440]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA_1
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.0040d120
test eax, eax
je 0x45de58
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409250
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d154
test eax, eax
je 0x45de6c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c70
mov byte [ebx + 0xd4], 0
push ebx
push 0x45f4cc
call fcn.0041c2b4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48a334]
cmp byte [eax], 0
jne 0x45debd
mov eax, ebx
call fcn.0045e04c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00460534
mov eax, ebx
call fcn.00461098
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45defd
call fcn.00403f50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e2cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45e36b
cmp dword [ebx + 0x94], 0
jne 0x45e365
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e254
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e365
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 0x45e32b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e365
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414adc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e33a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e584
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x48fc9c]
cmp dword [eax + 0x30], 0
je 0x45e6e1
test bl, bl
jne 0x45e632
cmp dword [esi + 0x9c], 0
jne 0x45e627
mov eax, esi
call fcn.00460f14
push eax
push 0x45e4b0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45e5f8
mov eax, dword [0x48fc9c]
call fcn.004615f4
test al, al
je 0x45e5f8
mov eax, dword [0x48fcc0]
call fcn.00405b14
mov edi, eax
cmp edi, 0
jl 0x45e5f8
push 0
mov eax, dword [0x48fcc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45e5e2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45e627
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414adc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45e607
inc dword [esi + 0x9c]
jmp 0x45e6e1
cmp dword [esi + 0x9c], 0
jle 0x45e6e1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45e6e1
cmp dword [esi + 0x44], 0
je 0x45e68d
mov eax, dword [0x48fc9c]
call fcn.004615f4
test al, al
je 0x45e68d
mov eax, dword [0x48fcc0]
call fcn.00405b14
mov edi, eax
cmp edi, 0
jl 0x45e68d
push 5
mov eax, dword [0x48fcc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45e677
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45e6bc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414adc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45e69c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x48fcc0
mov ecx, 1
mov edx, dword [0x45e490]
call fcn.00405cc8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45f1c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45f232
mov eax, ebx
call fcn.004615f4
test al, al
jne 0x45f232
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404af0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45f21f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45f23f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a54
jmp 0x45f23f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a54
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x460718
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460786
mov eax, esi
call fcn.00449300
test al, al
je 0x460786
mov eax, dword [ebx + 0x84]
call fcn.00448f60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460786
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46077a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448f60
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00440ddc
jmp 0x460786
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00460554
pop esi
pop ebx
ret
Function at 0x4617e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
mov esi, dword [ebx*4 + str.cwko0]
mov ebx, edi
shr ebx, 0x18
movzx ebx, bl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4888b8]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
movzx ecx, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + str.cwko0]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
mov esi, dword [ebx*4 + str.cwko0]
mov ebx, edi
shr ebx, 0x18
movzx ebx, bl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x46182f
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x46f7d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov esi, edx
shr esi, 4
dec esi
test esi, esi
jb 0x46f866
inc esi
xor ebx, ebx
mov edi, ebx
shl edi, 4
mov eax, dword [ebp - 4]
add eax, edi
lea edx, [ebp - 0x24]
mov ecx, 0x10
call fcn.00403050
lea eax, [ebp - 0x14]
mov eax, dword [eax]
lea edx, [ebp - 0x24]
xor dword [edx], eax
lea eax, [ebp - 0x10]
mov eax, dword [eax]
lea edx, [ebp - 0x20]
xor dword [edx], eax
lea eax, [ebp - 0xc]
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
xor dword [edx], eax
lea eax, [ebp - 8]
mov eax, dword [eax]
lea edx, [ebp - 0x18]
xor dword [edx], eax
lea ecx, [ebp - 0x34]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
call fcn.00461988
mov eax, dword [ebp + 8]
lea edx, [eax + edi]
lea eax, [ebp - 0x34]
mov ecx, 0x10
call fcn.00403050
push esi
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
inc ebx
dec esi
jne 0x46f7f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46f870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov esi, edx
shr esi, 4
dec esi
test esi, esi
jb 0x46f902
inc esi
xor ebx, ebx
mov edi, ebx
shl edi, 4
mov eax, dword [ebp - 4]
add eax, edi
lea edx, [ebp - 0x24]
mov ecx, 0x10
call fcn.00403050
lea ecx, [ebp - 0x34]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
call fcn.00463530
lea eax, [ebp - 0x14]
mov eax, dword [eax]
lea edx, [ebp - 0x34]
xor dword [edx], eax
lea eax, [ebp - 0x10]
mov eax, dword [eax]
lea edx, [ebp - 0x30]
xor dword [edx], eax
lea eax, [ebp - 0xc]
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
xor dword [edx], eax
lea eax, [ebp - 8]
mov eax, dword [eax]
lea edx, [ebp - 0x28]
xor dword [edx], eax
mov eax, dword [ebp + 8]
lea edx, [eax + edi]
lea eax, [ebp - 0x34]
mov ecx, 0x10
call fcn.00403050
push esi
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
inc ebx
dec esi
jne 0x46f892
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46f90c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e80
xor eax, eax
push ebp
push 0x46fa5c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x90]
xor ecx, ecx
mov edx, 0x80
call fcn.00403510
lea eax, [ebp - 0x110]
xor ecx, ecx
mov edx, 0x80
call fcn.00403510
lea eax, [ebp - 4]
call fcn.00404ef0
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x46f970
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x90]
xchg edx, ecx
xchg ecx, eax
call fcn.00403050
lea eax, [ebp - 4]
call fcn.00404ef0
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x46f994
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x110]
xchg edx, ecx
xchg ecx, eax
call fcn.00403050
mov al, 0x80
lea edx, [ebp - 0x90]
xor byte [edx], 0x36
inc edx
dec al
jne 0x46f9aa
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46510c]
call fcn.0041b138
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x90]
mov ecx, 0x80
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov al, 0x80
lea edx, [ebp - 0x110]
xor byte [edx], 0x5c
inc edx
dec al
jne 0x46f9ff
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x110]
mov ecx, 0x80
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov ebx, dword [ebp + 8]
mov edx, ebx
mov ecx, 0x40
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
call fcn.00403bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fa63
lea eax, [ebp - 4]
call fcn.00404a00
ret
Function at 0x46fa9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e80
mov eax, dword [ebp - 8]
call fcn.00404e80
xor eax, eax
push ebp
push 0x46fbaa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404d18
mov eax, dword [0x4899b8]
mov dword [ebp - 0xd4], eax
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x46fafa
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x8e]
push eax
mov eax, dword [0x4899b8]
call fcn.00404e90
mov edx, eax
mov ecx, esi
mov eax, dword [ebp - 0xc]
call fcn.0046f90c
lea edx, [ebp - 0x4e]
lea eax, [ebp - 0x8e]
mov ecx, 0x40
call fcn.00403050
test bx, bx
jbe 0x46fb7c
mov word [ebp - 0xe], bx
lea eax, [ebp - 0xce]
push eax
lea edx, [ebp - 0x4e]
mov ecx, 0x40
mov eax, dword [ebp - 0xc]
call fcn.0046f90c
mov cl, 0x40
lea eax, [ebp - 0xce]
lea edx, [ebp - 0x8e]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cl
jne 0x46fb58
lea edx, [ebp - 0x4e]
lea eax, [ebp - 0xce]
mov ecx, 0x40
call fcn.00403050
dec word [ebp - 0xe]
jne 0x46fb33
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x8e]
mov ecx, 0x20
call fcn.00403050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fbb1
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a24
ret
Function at 0x473e84
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x473eb2
mov eax, ebx
call fcn.00474938
cmp dword [ebx + 0x40], 0
je 0x473eab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x473f23
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x473f15
cmp dword [ebx + 8], 0
je 0x473ed4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x473ee6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x473f15
cmp dword [ebx + 8], 0
je 0x473ec7
cmp eax, 3
je 0x473ef9
dec eax
jne 0x473ec7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x473ec7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x473ec7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x473f41
cmp dword [ebx + 0x14], 0xcc
je 0x473f41
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00473f4c
pop ebx
ret