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

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x417d2d
push dword [esp + 0x10]
push 0x417c57
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x4b81f4]
test esi, esi
je 0x417d86
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x417d25
cmp byte [esi + 0x10], 0
je 0x417d25
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x417d01
jmp 0x417d86
mov esi, dword [0x4b81f4]
test esi, esi
je 0x417d86
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x417d7f
cmp byte [esi + 0x11], 0
je 0x417d5b
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x417d72
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push ebp
push 0x4b81f4
call fcn.004288ff
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x417d3a
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x41f04b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 0x41f0c5
push 9
call esi
test al, al
jns 0x41f0c5
push 0x11
call esi
test al, al
js 0x41f0c5
push 0x10
call esi
test al, al
js 0x41f0c5
push 0x12
call esi
test al, al
js 0x41f0c5
push 5
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.USER32.DLL_GetClassNameA]
push 4
lea eax, [ebp - 0xc]
push str.Rich
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x41f0c5
push eax
push eax
push 0x44e
push ebx
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, 0x800
jne 0x41f0c5
xor eax, eax
jmp 0x41f146
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41f0ed
push 0x11
call esi
test al, al
js 0x41f0e5
push 0x10
call esi
test al, al
js 0x41f0e5
push 0x12
call esi
test al, al
jns 0x41f0ed
push 1
push edi
call fcn.0041f14e
mov esi, dword [sym.imp.USER32.DLL_GetPropA]
test ebx, ebx
je 0x41f103
push str.PB_Hotkey
push ebx
call esi
test eax, eax
jne 0x41f143
push str.PB_WindowID
push edi
call esi
mov esi, eax
test esi, esi
je 0x41f143
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x41f143
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x41f143
lea eax, [esi - 1]
push eax
push dword [0x4b8c38]
call fcn.00428195
test eax, eax
je 0x41f143
mov eax, dword [eax + 8]
jmp 0x41f145
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f4a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x41f511
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0
push eax
call sub.MSVCRT.dll_strlen
lea ecx, [ebp - 0x108]
add esp, 0x10
add eax, ecx
jmp 0x41f4f3
mov cl, byte [eax - 1]
cmp cl, 0x20
je 0x41f4f2
cmp cl, 0x5c
je 0x41f4f2
cmp cl, 0x2f
jne 0x41f4fd
dec eax
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x41f4e0
mov byte [eax], 0
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x41f513
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x41f5fd
Capabilities:
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x248
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x41f687
cmp byte [eax], 0
je 0x41f687
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0
push eax
call sub.MSVCRT.dll_strlen
mov ecx, eax
add esp, 0x10
lea eax, [ebp + ecx - 0x109]
cmp ecx, 2
je 0x41f651
cmp ecx, 3
jne 0x41f693
cmp byte [ebp - 0x107], 0x3a
jne 0x41f693
cmp ecx, 2
jne 0x41f672
lea eax, [ebp - 0x108]
push 0x468814
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
jbe 0x41f687
push 0xfffffffffffffffe
pop edi
mov eax, edi
mov edx, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov cl, byte [eax]
cmp cl, 0x5c
je 0x41f69f
cmp cl, 0x2f
jne 0x41f6a5
mov byte [eax], 0
dec eax
jmp 0x41f693
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, esi
je 0x41f6e2
test byte [ebp - 0x248], 0x10
je 0x41f6cb
push 0xfffffffffffffffe
pop edi
jmp 0x41f6d9
mov esi, dword [ebp - 0x22c]
xor edi, edi
or edi, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41f687
mov cl, byte [ebp - 0x108]
mov al, byte [ebp - 0x107]
cmp cl, 0x5c
jne 0x41f6f7
cmp al, 0x5c
je 0x41f700
cmp cl, 0x2e
jne 0x41f687
cmp al, cl
jne 0x41f687
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, esi
je 0x41f672
test al, 0x10
je 0x41f687
jmp 0x41f684

Function at 0x41f7a0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x41f7dc
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x41fcd0
Capabilities:
Read file on windows

Disassembly:
push ecx
push dword [esp + 8]
mov byte [esp + 7], 0
push dword [0x4b8c4c]
call fcn.00428195
test eax, eax
je 0x41fd1b
cmp dword [eax + 4], 0
je 0x41fd05
push 1
lea ecx, [esp + 7]
push ecx
push eax
call fcn.00420050
movzx eax, byte [esp + 3]
pop ecx
ret 4
push 0
lea ecx, [esp + 0xc]
push ecx
push 1
lea ecx, [esp + 0xf]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, byte [esp + 3]
pop ecx
ret 4

Function at 0x41fd30
Capabilities:
Read file on windows

Disassembly:
push ecx
push dword [esp + 8]
mov dword [esp + 4], 0
push dword [0x4b8c4c]
call fcn.00428195
test eax, eax
je 0x41fd7c
cmp dword [eax + 4], 0
je 0x41fd66
push 4
lea ecx, [esp + 4]
push ecx
push eax
call fcn.00420050
mov eax, dword [esp]
pop ecx
ret 4
push 0
lea ecx, [esp + 0xc]
push ecx
push 4
lea ecx, [esp + 0xc]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 4

Function at 0x41fd90
Capabilities:
Read file on windows

Disassembly:
push ecx
push dword [esp + 8]
mov byte [esp + 7], 0
push dword [0x4b8c4c]
call fcn.00428195
test eax, eax
je 0x41fddb
cmp dword [eax + 4], 0
je 0x41fdc5
push 1
lea ecx, [esp + 7]
push ecx
push eax
call fcn.00420050
movsx eax, byte [esp + 3]
pop ecx
ret 4
push 0
lea ecx, [esp + 0xc]
push ecx
push 1
lea ecx, [esp + 0xf]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
movsx eax, byte [esp + 3]
pop ecx
ret 4
Function at 0x420050
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp dword [esi + 0x14], 0
jne 0x420071
push esi
call fcn.0041f7a0
mov dword [esi + 0x14], 1
mov dword [esi + 0xc], 0
mov ebx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
cmp ebx, edi
jl 0x4200e5
add eax, dword [esi + 4]
mov ecx, edi
sub eax, ebx
dec ecx
je 0x4200d2
dec ecx
je 0x4200bd
sub ecx, 2
je 0x4200aa
push edi
push eax
push dword [esp + 0x1c]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov cx, word [eax]
mov eax, dword [esp + 0x14]
mov word [eax], cx
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esp + 0x14]
mov dl, byte [eax]
mov eax, edi
mov byte [ecx], dl
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
push ebp
mov ebp, dword [esp + 0x18]
sub eax, ebx
add eax, dword [esi + 4]
push ebx
push eax
push ebp
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
sub edi, ebx
add ebp, ebx
push 0
cmp edi, eax
jl 0x42012a
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi + 0xc], 0
add eax, ebx
pop esi
pop ebx
ret 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp edi, eax
jle 0x42014b
mov edi, eax
push edi
push dword [esi + 4]
push ebp
call sub.MSVCRT.dll_memcpy
sub dword [esi + 0xc], edi
lea eax, [ebx + edi]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x420170
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [esp + 8], 0
cmp dword [esi + 0x14], 1
jne 0x4201b2
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push 1
neg eax
cdq
push ecx
push eax
push dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x20]
cmp eax, edi
jle 0x420213
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
sub ecx, eax
mov eax, edi
dec eax
je 0x4201fe
dec eax
je 0x4201e7
sub eax, 2
jne 0x420248
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
mov word [ecx], ax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov al, byte [eax]
mov byte [ecx], al
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
push esi
call fcn.0041f7a0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x420240
push 0
lea eax, [esp + 0xc]
push eax
push edi
push dword [esp + 0x28]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
add ecx, eax
push edi
push dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x4208a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [edi + 4], 0
je 0x4208c7
push 1
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00420050
mov dword [esp + 4], eax
jmp 0x4208e1
push 0
lea eax, [esp + 8]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
cmp eax, 1
je 0x4208ed
xor eax, eax
pop edi
pop ecx
ret 8
mov cl, byte [esp + 0xc]
test cl, cl
js 0x420909
mov eax, dword [esp + 0x10]
pop edi
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, 1
pop ecx
ret 8
mov al, cl
and al, 0xe0
push esi
cmp al, 0xc0
jne 0x420919
mov esi, 2
jmp 0x420935
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x420928
mov esi, 3
jmp 0x420935
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x420992
mov esi, 4
mov edx, dword [esp + 0x14]
mov byte [edx], cl
cmp dword [edi + 4], 0
je 0x420964
lea eax, [esi - 1]
push eax
lea eax, [edx + 1]
push eax
push edi
call fcn.00420050
mov edx, eax
lea ecx, [esi - 1]
xor eax, eax
cmp edx, ecx
setne al
dec eax
and eax, esi
pop esi
pop edi
pop ecx
ret 8
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esi - 1]
push eax
lea eax, [edx + 1]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 8]
lea ecx, [esi - 1]
xor eax, eax
cmp edx, ecx
setne al
dec eax
and eax, esi
pop esi
pop edi
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop esi
pop edi
mov word [eax], 0x3f
mov eax, 1
pop ecx
ret 8
Function at 0x422c41
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x10c
push 8
push dword [0x4b788c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x4b8c78]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x4b8c7c], 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], 0x421d20
mov dword [esi + 4], 0x421d40
mov dword [esi + 8], 0x422a3f
mov dword [esi + 0xc], 0x421dd8
mov dword [esi + 0x10], 0x4222d3
mov dword [esi + 0x14], 0x422265
mov dword [esi + 0x18], 0x4222a3
mov dword [esi + 0x1c], 0x4222bb
mov dword [esi + 0x20], fcn.0042232f
mov dword [esi + 0x24], 0x422136
mov dword [esi + 0x28], fcn.00421f8b
mov dword [esi + 0x2c], 0x421ea2
mov dword [esi + 0x30], 0x4221fb
mov dword [esi + 0x34], 0x422152
mov dword [esi + 0x38], 0x4223ac
mov dword [esi + 0x3c], 0x4224b2
mov dword [esi + 0x40], 0x422556
mov dword [esi + 0x44], 0x4225ed
mov dword [esi + 0x48], 0x4226e0
mov dword [esi + 0x4c], 0x4228c1
mov dword [esi + 0x50], 0x422731
mov dword [esi + 0x54], 0x422983
mov dword [esi + 0x58], 0x422a7e
mov dword [esi + 0x5c], 0x422b39
mov dword [esi + 0x60], 0x422bb1
mov dword [esi + 0x64], 0x422bf6
pop esi
ret

Function at 0x4249a8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4b878c], eax
test eax, eax
je 0x4249d8
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b8788], eax
lea eax, [ebp - 0x1c]
mov dword [0x4b8790], 1
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x424a28
cmp dword [ebp - 0xc], 1
jne 0x424a06
and dword [0x4b8790], 0
jmp 0x424a40
cmp dword [ebp - 0xc], 2
jne 0x424a28
cmp dword [ebp - 0x18], 5
jb 0x4249fd
jne 0x424a28
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [0x4b8790]
mov dword [0x4b8790], eax
jmp 0x424a2d
mov eax, dword [0x4b8790]
test eax, eax
je 0x424a40
call fcn.00424316
neg eax
sbb eax, eax
and dword [0x4b8790], eax
lea esp, [ebp + 0x78]
pop ebp
ret

Function at 0x425ab0
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 0x425ae2
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 0x425add
cmp dword [esp + 0xc], esi
je 0x425af9
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 0x43f7b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x43f845
mov ecx, dword [esi]
xor eax, eax
push ebx
push ebp
push edi
mov byte [ecx + 0x16], al
xor edi, edi
mov ecx, dword [esi]
mov byte [ecx + 0x17], al
mov ecx, dword [esi]
mov byte [ecx + 0x18], al
mov ecx, dword [esi]
mov byte [ecx + 0x19], al
mov ebx, dword [esi + 4]
test ebx, ebx
jle 0x43f7fb
mov ebp, dword [esi]
movzx edx, byte [edi + ebp]
mov ecx, eax
shr ecx, 0x18
inc edi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x468bf0]
cmp edi, ebx
jl 0x43f7e1
mov ebx, dword [esi + 0xc]
xor edi, edi
test ebx, ebx
jle 0x43f821
mov ebp, dword [esi + 8]
movzx edx, byte [edi + ebp]
mov ecx, eax
shr ecx, 0x18
inc edi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x468bf0]
cmp edi, ebx
jl 0x43f807
mov ecx, dword [esi]
mov edx, eax
shr edx, 8
pop edi
pop ebp
mov byte [ecx + 0x16], al
mov ecx, dword [esi]
pop ebx
mov byte [ecx + 0x17], dl
mov edx, eax
mov ecx, dword [esi]
shr edx, 0x10
shr eax, 0x18
mov byte [ecx + 0x18], dl
mov ecx, dword [esi]
mov byte [ecx + 0x19], al
pop esi
ret

Function at 0x448250
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x448270
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x448270
mov eax, dword [eax + 0x44]
test eax, eax
je 0x448270
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x458b96
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x184
push 8
push dword [0x4b788c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x4b8c78]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x4b8c7c], esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
push esi
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 0x3f
call fcn.0045b8d0
mov dword [esi + 0x58], 0x45990c
mov eax, esi
mov dword [esi + 0x5c], 0x459958
mov dword [esi + 0x10], fcn.00459346
mov dword [esi + 0x30], 0x45923a
mov dword [esi + 0x64], 0x4599e1
mov dword [esi + 0x60], 0x45999a
mov dword [esi + 0x34], 0x458eec
mov dword [esi + 0x24], 0x458ec3
mov dword [esi + 0x28], 0x458e98
mov dword [esi + 0x2c], 0x458dea
mov dword [esi + 0x44], 0x4595ab
pop esi
ret 4
Function at 0x45eb64
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov edx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xd4]
mov dword [esp + 4], eax
test edx, edx
je 0x45ec1a
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
neg eax
add ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push ebp
push edi
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xcc]
mov ebp, edi
imul ecx, ebx
add ecx, dword [esi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x45ebfa
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 4]
xor byte [ecx], al
add ecx, esi
dec edx
jne 0x45ebd5
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec edx
inc ebx
cmp dword [esi + 0xe8], 0
mov dword [esp + 0x3c], edx
jne 0x45ec0f
add edi, dword [esp + 0x14]
jmp 0x45ec13
add edi, dword [esp + 0x24]
test edx, edx
jne 0x45ebb3
pop edi
pop ebp
pop ebx
pop esi
pop ecx
pop ecx
ret 0x24

Function at 0x45ef25
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], edx
test ebx, ebx
je 0x45efff
imul eax, dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
neg ecx
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
imul eax, dword [esp + 0x30]
push edi
imul edi, dword [esp + 0x30], 3
mov dword [esp + 0x10], ecx
add eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov esi, dword [eax + 0xcc]
imul esi, ebp
mov dword [esp + 0x34], edi
add esi, dword [eax + 0xc8]
add esi, dword [esp + 0x28]
test edx, edx
jle 0x45efd5
mov ebp, dword [esp + 0x34]
mov ebx, 0xff
sub ebx, dword [esp + 0x40]
mov edi, edx
movzx eax, byte [esi]
movzx ecx, byte [ebp]
imul ecx, dword [esp + 0x40]
imul eax, ebx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
inc ebp
mov byte [esi], al
inc esi
dec edi
jne 0x45ef9d
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec ebx
inc ebp
cmp dword [eax + 0xe8], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebp
jne 0x45efec
add edi, ecx
jmp 0x45eff0
add edi, dword [esp + 0x24]
mov dword [esp + 0x38], edi
test ebx, ebx
jne 0x45ef73
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x45f61f
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xd4]
mov dword [esp + 8], eax
test esi, esi
je 0x45f6d4
imul eax, dword [esp + 0x20]
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xcc]
mov ebp, edx
imul ecx, ebx
add ecx, dword [edi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x45f6b5
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 3]
xor byte [ecx], al
add ecx, edi
dec esi
jne 0x45f690
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec esi
inc ebx
cmp dword [edi + 0xe8], 0
mov dword [esp + 0x3c], esi
jne 0x45f6ca
add edx, dword [esp + 0x14]
jmp 0x45f6ce
add edx, dword [esp + 0x24]
test esi, esi
jne 0x45f66e
pop ebp
pop ebx
pop edi
pop esi
pop ecx
pop ecx
ret 0x24
Function at 0x461ee0
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x463516
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x463516
cmp dword [ecx + 0xc], 0
je 0x463516
cmp dword [ecx], 0
jne 0x461f18
cmp dword [ecx + 4], 0
jne 0x463516
cmp dword [edi], 0xb
jne 0x461f23
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja 0x462895
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
jmp 0x461f70
jmp dword [eax*4 + 0x463520]
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret