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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov ebx, eax
test ebx, ebx
je 0x43f16a
push 9
call esi
test al, al
jns 0x43f16a
push 0x11
call esi
test al, al
js 0x43f16a
push 0x10
call esi
test al, al
js 0x43f16a
push 0x12
call esi
test al, al
js 0x43f16a
push 5
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.USER32.DLL_GetClassNameW]
push 4
lea eax, [ebp - 0x10]
push str.Rich
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x43f16a
push eax
push eax
push 0x44e
push ebx
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, 0x800
jne 0x43f16a
xor eax, eax
jmp 0x43f1eb
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43f192
push 0x11
call esi
test al, al
js 0x43f18a
push 0x10
call esi
test al, al
js 0x43f18a
push 0x12
call esi
test al, al
jns 0x43f192
push 1
push edi
call fcn.0043f1f3
mov esi, dword [sym.imp.USER32.DLL_GetPropW]
test ebx, ebx
je 0x43f1a8
push str.PB_Hotkey
push ebx
call esi
test eax, eax
jne 0x43f1e8
push str.PB_WindowID
push edi
call esi
mov esi, eax
test esi, esi
je 0x43f1e8
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x43f1e8
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x43f1e8
lea eax, [esi - 1]
push eax
push dword [0x700924]
call fcn.00450f07
test eax, eax
je 0x43f1e8
mov eax, dword [eax + 8]
jmp 0x43f1ea
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4409ba
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.DLL_OpenClipboard]
test eax, eax
je 0x440a2f
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4409d8
mov esi, 0x4d0068
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
lea ebp, [eax*2 + 2]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x440a26
call dword [sym.imp.USER32.DLL_EmptyClipboard]
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x440a26
push ebp
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.DLL_SetClipboardData]
mov edi, eax
call dword [sym.imp.USER32.DLL_CloseClipboard]
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
ret 4
Function at 0x440a35
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, esi
push esi
mov ebx, esi
call dword [sym.imp.USER32.DLL_OpenClipboard]
test eax, eax
je 0x440a76
push 0xd
call dword [sym.imp.USER32.DLL_GetClipboardData]
mov edi, eax
test edi, edi
je 0x440a6e
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov esi, eax
test esi, esi
je 0x440a6e
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
mov ebx, eax
call dword [sym.imp.USER32.DLL_CloseClipboard]
jmp 0x440a79
mov edi, dword [ebp + 8]
push dword [ebp + 8]
push ebx
call fcn.00451b20
test esi, esi
je 0x440aa1
lea ecx, [ebx*2 + 2]
push ecx
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x440aa6
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x440c3d
Capabilities:
Hash data using sha384

Disassembly:
mov eax, dword [esp + 4]
push 0x40
push 0x4d12e0
and dword [eax + 0x80], 0
and dword [eax + 0x84], 0
mov dword [eax + 0xc8], 0x30
add eax, 0x88
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
ret

Function at 0x440d43
Capabilities:
Hash data using sha512

Disassembly:
mov eax, dword [esp + 4]
push 0x40
pop ecx
push ecx
and dword [eax + 0x80], 0
and dword [eax + 0x84], 0
mov dword [eax + 0xc8], ecx
add eax, 0x88
push 0x4d12a0
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
ret
Function at 0x4443ff
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
push 0x20
pop ecx
push ecx
and dword [eax + 0x40], 0
and dword [eax + 0x44], 0
mov dword [eax + 0x68], ecx
add eax, 0x48
push 0x4d1420
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
ret
Function at 0x445c3f
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
mov eax, ebx
push ebp
or eax, edx
push esi
mov esi, dword [esp + 0x18]
or eax, esi
push edi
mov edi, dword [esp + 0x20]
or eax, edi
test al, 3
jne 0x445ca6
lea ecx, [esi + edi]
mov eax, ecx
lea edi, [ebx + edx]
sub eax, esi
xor ebx, ebx
add eax, 3
shr eax, 2
cmp ecx, esi
sbb ebp, ebp
not ebp
and ebp, eax
jbe 0x445cbe
sub edi, esi
mov ecx, dword [esi]
mov edx, ecx
shr edx, 8
mov eax, ecx
shl eax, 8
xor edx, eax
shl ecx, 8
and edx, 0xff00ff
xor edx, ecx
rol edx, 0x10
inc ebx
mov dword [edi + esi], edx
lea esi, [esi + 4]
cmp ebx, ebp
jb 0x445c7d
jmp 0x445cbe
add edi, edx
cmp edx, edi
jae 0x445cbe
sub esi, edx
mov al, byte [esi + edx]
mov ecx, edx
xor ecx, 3
inc edx
mov byte [ecx + ebx], al
cmp edx, edi
jb 0x445cae
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x445cc3
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
mov eax, ebx
push ebp
or eax, edx
push esi
mov esi, dword [esp + 0x18]
or eax, esi
push edi
mov edi, dword [esp + 0x20]
or eax, edi
test al, 7
jne 0x445d1e
lea ecx, [esi + edi]
mov eax, ecx
lea edi, [ebx + edx]
sub eax, esi
xor ebx, ebx
add eax, 7
shr eax, 3
cmp ecx, esi
sbb ebp, ebp
not ebp
and ebp, eax
jbe 0x445d36
sub edi, esi
push dword [esi + 4]
push dword [esi]
call fcn.00445bff
inc ebx
mov dword [edi + esi], eax
mov dword [edi + esi + 4], edx
lea esi, [esi + 8]
pop ecx
pop ecx
cmp ebx, ebp
jb 0x445d01
jmp 0x445d36
add edi, edx
cmp edx, edi
jae 0x445d36
sub esi, edx
mov al, byte [esi + edx]
mov ecx, edx
xor ecx, 7
inc edx
mov byte [ecx + ebx], al
cmp edx, edi
jb 0x445d26
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x445eb8
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x5c], eax
ret
Function at 0x447417
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x447cb9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
jne 0x447cca
mov eax, dword [esp + 0xc]
jmp 0x447da6
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x447d87
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
dec edi
jne 0x447cea
pop edi
test esi, esi
je 0x447da0
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4d1468]
inc edx
dec esi
jne 0x447d8b
not ecx
pop esi
mov eax, ecx
pop ebx
ret 0xc

Function at 0x4487b2
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, ebx
test esi, esi
je 0x44880f
mov eax, dword [esi + 0x80]
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x84]
push esi
mov dword [esi + 0x98], eax
call dword [esi + 0x58]
mov edi, eax
test edi, edi
jne 0x44880f
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4487ee
push ebx
push esi
call eax
push esi
push ebx
push dword [0x6fe384]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push ebx
push dword [0x700994]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov dword [0x700998], ebx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x4488b5
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x700994]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov edx, eax
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x4488ee
mov ecx, dword [edx + 0x90]
add ecx, dword [ebp + 0x10]
push 0xff
push ecx
mov ecx, dword [edx + 0x8c]
add ecx, dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
push edx
call eax
jmp 0x448909
mov eax, dword [edx + 0x90]
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [edx + 0x8c]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push edx
call dword [edx + 0x24]
pop ebp
ret 0xc
Function at 0x44996a
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x10c
push 8
push dword [0x6fe384]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
push esi
push dword [0x700994]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov dword [0x700998], esi
mov eax, esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 7
mov dword [esi], 0x448a45
mov dword [esi + 4], 0x448a65
mov dword [esi + 8], 0x449766
mov dword [esi + 0xc], 0x448afd
mov dword [esi + 0x10], 0x448ffa
mov dword [esi + 0x14], 0x448f8c
mov dword [esi + 0x18], 0x448fca
mov dword [esi + 0x1c], 0x448fe2
mov dword [esi + 0x20], fcn.00449056
mov dword [esi + 0x24], 0x448e5b
mov dword [esi + 0x28], fcn.00448cb0
mov dword [esi + 0x2c], 0x448bc7
mov dword [esi + 0x30], 0x448f22
mov dword [esi + 0x34], 0x448e77
mov dword [esi + 0x38], 0x4490d3
mov dword [esi + 0x3c], 0x4491d9
mov dword [esi + 0x40], 0x44927d
mov dword [esi + 0x44], 0x449314
mov dword [esi + 0x48], 0x449407
mov dword [esi + 0x4c], 0x4495e8
mov dword [esi + 0x50], 0x449458
mov dword [esi + 0x54], 0x4496aa
mov dword [esi + 0x58], 0x4497a5
mov dword [esi + 0x5c], 0x449860
mov dword [esi + 0x60], 0x4498d8
mov dword [esi + 0x64], 0x44991e
pop esi
ret

Function at 0x44bc39
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push 0x4d1898
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [0x700624], eax
test eax, eax
je 0x44bc67
push 0x4d18b0
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x700620], eax
lea eax, [ebp - 0x114]
mov dword [0x700628], 1
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x44bcc9
cmp dword [ebp - 0x104], 1
jne 0x44bc9e
and dword [0x700628], 0
jmp 0x44bce1
cmp dword [ebp - 0x104], 2
jne 0x44bcc9
cmp dword [ebp - 0x110], 5
jb 0x44bc95
jne 0x44bcc9
mov eax, dword [ebp - 0x10c]
neg eax
sbb eax, eax
and eax, dword [0x700628]
mov dword [0x700628], eax
jmp 0x44bcce
mov eax, dword [0x700628]
test eax, eax
je 0x44bce1
call fcn.0044b43f
neg eax
sbb eax, eax
and dword [0x700628], eax
mov esp, ebp
pop ebp
ret

Function at 0x44cd50
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x44cd82
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x44cd7d
cmp dword [esp + 0xc], esi
je 0x44cd99
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
push esi
push dword [esp + 0x14]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [edi + 8], esi
pop edi
mov eax, 1
pop esi
ret
Function at 0x450d68
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push dword [0x7006c8]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x450dc9
push esi
push dword [0x7006c4]
push 8
push dword [0x6fe384]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
push edi
push dword [0x7006c8]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov esi, dword [0x7006c0]
jmp 0x450db9
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x450db7
mov eax, dword [esi + 8]
add eax, edi
push eax
call ecx
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x450da7
push edi
push 0x450d06
call fcn.004c4ca2
pop esi
mov eax, dword [esp + 8]
add eax, edi
pop edi
ret 4

Function at 0x450dd3
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ecx, esi
push edi
and ecx, 3
je 0x450de9
push 4
pop eax
sub eax, ecx
add esi, eax
mov eax, dword [0x7006c4]
mov ebx, dword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
jne 0x450e20
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
push esi
push 8
push dword [0x6fe384]
mov dword [0x7006c8], eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push eax
push dword [0x7006c8]
call ebx
mov eax, dword [0x7006c4]
mov edi, eax
add eax, esi
push eax
push dword [0x7006c8]
mov dword [0x7006c4], eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
push eax
push 8
push dword [0x6fe384]
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov ebp, eax
push ebp
push dword [0x7006c8]
call ebx
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test esi, esi
jne 0x450e60
test ebx, ebx
je 0x450e81
push 0x14
push 0x7006c0
call fcn.004516e6
pop ecx
pop ecx
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
test esi, esi
je 0x450e81
lea ecx, [edi + ebp]
push ecx
call esi
pop ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x451800
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6fa354]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x451846
mov ecx, dword [ebp - 4]
add ecx, 0xa
push ecx
push 0
mov edx, dword [0x700aac]
push edx
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x451867
mov edx, dword [ebp - 4]
add edx, 0xa
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x700aac]
push edx
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
shr edx, 1
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00451df0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x451990
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6fa354]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
add edx, 2
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret

Function at 0x4519c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6fa354]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
add eax, dword [edx + 8]
mov esp, ebp
pop ebp
ret

Function at 0x451b20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6fa354]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x451b44
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
lea eax, [ecx + edx*2]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
sub edx, 4
cmp dword [ebp - 8], edx
jl 0x451b92
mov eax, dword [ebp - 8]
add eax, 0x4000
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, 0xa
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x700aac]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x451bc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6fa354]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
shl ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
sub eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x451d40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6fa354]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x451d7e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x451d7e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x451d80
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x451e40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6fa354]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x452440
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6fa354]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x4526b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
xor ebp, ebp
lea eax, [ecx + 0x32350]
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
jmp 0x4526d0
xor ebx, ebx
mov edi, ebp
lea eax, [ebx + 1]
lea ebp, [ebx + 4]
lea ebx, [ebx]
movzx edx, word [ecx + eax*2 + 0x329f4]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [esp + 0x1c]
add ebx, dword [ecx + edx*4 + 0x30ca0]
dec ebp
jne 0x4526e0
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
inc ebp
mov dword [esp + 0x10], ebp
mov dword [edx], ebx
add edx, 4
mov dword [esp + 0x14], edx
cmp ebp, 0x10
jb 0x4526d0
pop edi
pop esi
pop ebp
mov dword [ecx + 0x32390], 0
pop ebx
add esp, 8
ret
Function at 0x452740
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
mov ebx, 4
push edi
mov edi, dword [esp + 0x228]
mov dword [esp + 0x10], ebx
lea ebx, [ebx]
movzx eax, byte [edi + ebx + 0x304a0]
mov ebp, eax
mov dword [esp + 0x20], eax
mov edx, eax
shr ebp, 1
and edx, 1
dec ebp
or edx, 2
mov ecx, ebp
shl edx, cl
mov eax, ebx
sub eax, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], eax
lea esi, [eax + 1]
test ebp, ebp
je 0x4527e2
mov ebx, dword [esp + 0x1c]
lea ebx, [ebx]
mov eax, esi
mov edx, ebx
sub eax, dword [esp + 0x20]
and edx, 1
add eax, dword [esp + 0x18]
add esi, esi
shr ebx, 1
or esi, edx
movzx ecx, word [edi + eax*2 + 0x3290e]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esp + 0x14]
add eax, dword [edi + ecx*4 + 0x30ca0]
mov dword [esp + 0x14], eax
dec ebp
jne 0x4527a0
mov ebx, dword [esp + 0x10]
mov dword [esp + ebx*4 + 0x24], eax
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, 0x80
jb 0x452760
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 4
sub eax, edi
lea ebp, [edi + 0x31750]
lea esi, [edi + 0x32710]
mov dword [esp + 0x18], ebp
lea edx, [edi + 0x31b58]
mov dword [esp + 0x10], esi
sub eax, 0x31b50
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
lea esp, [esp]
xor ebx, ebx
cmp dword [edi + 0x32394], ebx
jbe 0x452890
lea ebx, [ebx]
mov eax, ebx
xor esi, esi
or eax, 0x40
cmp eax, 1
je 0x45287b
mov ebp, dword [esp + 0x10]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebp + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30ca0]
cmp eax, 1
jne 0x452850
mov ebp, dword [esp + 0x18]
mov dword [ebp + ebx*4], esi
inc ebx
cmp ebx, dword [edi + 0x32394]
jb 0x452840
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, 0xe
cmp dword [edi + 0x32394], ecx
jbe 0x4528b7
lea ecx, [ecx]
mov eax, ecx
shr eax, 1
sub eax, 5
shl eax, 4
add dword [ebp + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x32394]
jb 0x4528a0
mov eax, dword [ebp]
mov ecx, 4
mov ebx, dword [esp + 0x20]
mov dword [edx - 8], eax
mov eax, dword [ebp + 4]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
add edx, 8
lea ebx, [ebx]
movzx eax, byte [edi + ecx + 0x304a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [ebp + eax*4]
add eax, dword [ebx + edx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x4528e0
mov edx, dword [esp + 0x14]
sub esi, 0xffffff80
add ebp, 0x100
mov dword [esp + 0x10], esi
add edx, 0x200
mov dword [esp + 0x18], ebp
sub ebx, 0x200
mov dword [esp + 0x14], edx
dec dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
jne 0x452830
mov dword [edi + 0x3baf8], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret