joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b7d3
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], ebx
jne 0x44b805
mov eax, dword [0x513b1c]
cmp eax, ebx
je 0x44b7f3
mov esi, dword [eax + 4]
jmp 0x44b7f5
xor esi, esi
cmp esi, ebx
jne 0x44b805
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebx
je 0x44b82a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x44b82a
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44b82a
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov eax, edi
mov dword [edi + 0x330], ebx
call fcn.0044c8f4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x44b850
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x44b959
mov edx, eax
call fcn.0040d96c
mov dword [esp + 0x20], eax
lea ebp, [edi + 4]
push ebp
mov eax, esi
call fcn.0040d81f
cmp dword [edi + 0x320], ebx
je 0x44b903
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebx
push ebx
push ebx
push 0x2001
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
je 0x44b8c4
push 1
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
je 0x44b8e4
push ebx
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x44b903
push ebx
push ebx
push 0xf
push dword [ebp]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, edi
call fcn.0044c87a
push 0x97
push ebx
push ebp
mov dword [edi + 0x330], ebx
call fcn.0040d802
cmp dword [esp + 0x1c], ebx
je 0x44b941
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebx
je 0x44b941
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x44b941
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040d96c
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x334]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x44bad2
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], ebx
jne 0x44bb04
mov eax, dword [0x513b1c]
cmp eax, ebx
je 0x44baf2
mov esi, dword [eax + 4]
jmp 0x44baf4
xor esi, esi
cmp esi, ebx
jne 0x44bb04
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebx
je 0x44bb29
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x44bb29
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44bb29
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov eax, edi
mov dword [edi + 0x330], ebx
call fcn.0044ca0f
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x44bb4f
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x44bc58
mov edx, eax
call fcn.0040d96c
mov dword [esp + 0x20], eax
lea ebp, [edi + 4]
push ebp
mov eax, esi
call fcn.0040d81f
cmp dword [edi + 0x320], ebx
je 0x44bc02
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebx
push ebx
push ebx
push 0x2001
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
je 0x44bbc3
push 1
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
je 0x44bbe3
push ebx
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x44bc02
push ebx
push ebx
push 0xf
push dword [ebp]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, edi
call fcn.0044c87a
push 0x97
push ebx
push ebp
mov dword [edi + 0x330], ebx
call fcn.0040d802
cmp dword [esp + 0x1c], ebx
je 0x44bc40
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebx
je 0x44bc40
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x44bc40
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040d96c
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x334]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x44cf42
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x44cf8e
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0xfc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x44cf8e
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1d0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2c0], 0
je 0x44d006
lea ebx, [esi + 0x2cc]
cmp dword [ebx], 0
je 0x44cfab
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2c0], edi
jne 0x44cfff
push edi
call fcn.004231a4
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.004233e7
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2c0], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x44d2ba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x2cc]
cmp dword [edi], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
je 0x44d2e8
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x44d32c
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0xfc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x44d32c
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1d0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
mov eax, dword [esi + 0x2bc]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x44d488
push eax
call fcn.004231a4
mov edi, eax
test edi, edi
pop ecx
je 0x44d407
mov eax, dword [edi + 0x10]
push 2
mov dword [ebp - 4], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x44d373
push 1
push edi
push esi
call fcn.0044bd74
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.004233e7
cmp dword [esi + 0x2bc], ebx
jne 0x44d3c7
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x44d3b9
cmp word [ecx], ax
je 0x44d3b9
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44d407
cmp dword [edi + 0x10], eax
je 0x44d407
mov dword [ebp - 8], 1
jmp 0x44d407
mov eax, dword [edi]
xor ebx, ebx
inc ebx
push ebx
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x44d3e7
push ebx
push edi
push esi
call fcn.0044bd74
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.004233e7
mov dword [ebp - 0xc], ebx
xor eax, eax
cmp dword [ebp - 8], eax
mov dword [esi + 0x2bc], eax
je 0x44d449
mov eax, dword [esi + 4]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x1c], 1
call dword [eax + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44d488
cmp dword [ebp - 0xc], eax
je 0x44d488
mov ecx, dword [ebp - 4]
cmp ecx, eax
je 0x44d488
mov eax, dword [esi + 4]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0x2b8]
cmp ecx, dword [eax]
jne 0x44d488
and dword [eax], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x450639
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
xor edi, edi
mov esi, ecx
mov ecx, dword [eax + 8]
inc edi
cmp ecx, edi
jne 0x4506d9
mov eax, dword [eax + 0xc]
cmp eax, 0x4b0
jne 0x45068b
cmp dword [esi + 0x3c4], edi
jne 0x450676
push esi
call fcn.00450c19
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x450687
push 0xc
call fcn.00450ea7
push 8
mov eax, esi
pop ecx
call fcn.0044758b
mov eax, edi
jmp 0x4506e2
cmp eax, 0x191
jne 0x450699
call fcn.00450d3e
jmp 0x450687
cmp eax, 0x192
jne 0x4506ba
push 0xb
call fcn.00450ea7
call fcn.0040588d
test eax, eax
mov eax, esi
je 0x4506b6
mov ecx, edi
jmp 0x450682
push 2
jmp 0x450681
cmp eax, 0x12f
jne 0x4506d9
call fcn.0040588d
test eax, eax
je 0x4506d0
mov ecx, edi
mov eax, esi
jmp 0x450682
and dword [esi + 0x3c4], 0
jmp 0x450692
and dword [esi + 0x3c0], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45371d
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0
je 0x453734
xor eax, eax
inc eax
pop esi
leave
ret 4
mov eax, dword [0x512bd4]
push ebx
push edi
mov edi, 0x512bd4
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x512bd4]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov edi, 0x514c98
push edi
mov dword [ebp - 8], eax
call fcn.00488c9a
pop ecx
mov ebx, eax
push edi
lea eax, [ebp - 8]
call fcn.00413bce
lea eax, [ebp - 8]
lea edi, [ebp - 4]
call fcn.004234ea
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x4537f2
push 0x104
push 0x10e
mov esi, edi
call fcn.004010cd
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x4537be
push dword [ebp - 4]
call fcn.00488c9a
pop ecx
lea edx, [ebp - 4]
call fcn.004010ac
push 0x5c
lea esi, [ebp - 4]
call fcn.0040701d
mov ecx, eax
inc ecx
lea edx, [ebp - 8]
mov eax, esi
call fcn.004139e2
mov edi, esi
call fcn.004234ea
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov esi, dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov ebx, 0x4f7d88
push ebx
lea eax, [ebp - 4]
lea ecx, [ebp + 8]
call fcn.00413c3b
mov edi, dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
pop ecx
push dword [eax]
call edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401023
cmp dword [esi + 4], 0
jne 0x453835
push ebx
call edi
test eax, eax
mov dword [esi + 4], eax
je 0x45388c
push str.KVipGetClassObject
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x45388c
lea edi, [esi + 8]
and dword [edi], 0
push edi
push 0x4f7e8c
call eax
test eax, eax
jl 0x45388c
mov edi, dword [edi]
test edi, edi
je 0x45388c
push dword [0x514c94]
mov eax, dword [edi]
push dword [0x514c90]
push edi
call dword [eax + 0xc]
test eax, eax
jl 0x45388c
xor esi, esi
inc esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
pop edi
mov eax, esi
pop ebx
jmp 0x45372f
call fcn.00453895
xor esi, esi
jmp 0x453878
Function at 0x4538c2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x258
mov eax, dword [0x512bd4]
push ebx
push esi
mov ecx, 0x512bd4
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call fcn.00413ba8
push 3
pop ecx
lea edx, [esp + 0xc]
lea eax, [esp + 8]
call fcn.004139e2
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
mov eax, dword [esp + 0xc]
setne bl
add eax, 0xfffffff0
call fcn.00401023
test bl, bl
je 0x453933
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.00401023
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x45391f
test byte [esp + 0x10], 0x10
je 0x45395f
xor esi, esi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.00401023
mov eax, esi
jmp 0x45392d
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor esi, esi
inc esi
jmp 0x45394f

Function at 0x45396b
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00489500
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.004539cd
push dword [ebp + 8]
mov eax, esi
call fcn.00453a63
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x455b10
Capabilities:
Terminate process

Disassembly:
push ebx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x455b24
push ebx
call fcn.0045e677
test eax, eax
pop ecx
jne 0x455b66
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x455b38
push edi
call fcn.0045e677
test eax, eax
pop ecx
jne 0x455b65
mov eax, ebx
call fcn.0045e65c
mov eax, edi
call fcn.0045e65c
lea eax, [esi + 0xc]
cmp dword [eax], 0
mov byte [esi + 0x10], 0
je 0x455b56
xor eax, eax
jmp 0x455b65
push esi
push 0x455ae6
push eax
call fcn.0045e5da
add esp, 0xc
pop edi
pop ebx
ret
Function at 0x45983e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
je 0x45984a
xor eax, eax
pop ebp
ret
lea eax, [esi + 0x30]
push eax
call fcn.0045e6d2
test eax, eax
pop ecx
je 0x45985d
push 0xc
pop eax
pop ebp
ret
push edi
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.0045e677
test eax, eax
pop ecx
jne 0x4598d1
lea eax, [esi + 0x18]
push eax
call fcn.0045e677
test eax, eax
pop ecx
jne 0x4598d1
lea eax, [esi + 0x1c]
push eax
call fcn.0045e677
test eax, eax
pop ecx
jne 0x4598d1
push dword [ebp + 0x10]
lea eax, [esi + 0x20]
push dword [ebp + 0x10]
push eax
call fcn.0045e688
add esp, 0xc
test eax, eax
jne 0x4598d1
push dword [ebp + 0x10]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.0045e688
add esp, 0xc
test eax, eax
jne 0x4598d1
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push dword [ebp + 8]
mov dword [esi + 4], edi
push eax
call fcn.0045e5da
add esp, 0xc
test eax, eax
je 0x4598d6
push 0xc
pop eax
jmp 0x4598da
mov dword [esi], edi
xor eax, eax
pop edi
pop ebp
ret

Function at 0x45bf30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, 0x100
push edi
mov ebx, eax
or esi, eax
shl dword [ebp + 0x10], 1
mov eax, esi
shr eax, 7
and eax, 1
push eax
mov eax, ebx
and eax, dword [ebp + 0x10]
mov ecx, esi
add eax, ebx
shr ecx, 8
add ecx, eax
mov eax, dword [ebp + 0xc]
lea edi, [eax + ecx*2]
mov eax, dword [ebp + 8]
call fcn.0045beaa
add esi, esi
mov eax, esi
xor eax, dword [ebp + 0x10]
pop ecx
not eax
and ebx, eax
cmp esi, 0x10000
jb 0x45bf41
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x45bf82
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
or ecx, 0x100
push esi
mov esi, dword [esp + 8]
mov edx, ecx
shr edx, 8
movzx edx, word [esi + edx*2]
mov esi, ecx
shr esi, 7
and esi, 1
neg esi
sar esi, 4
and esi, 0x7f
shr edx, 4
xor edx, esi
mov esi, dword [esp + 0xc]
add eax, dword [esi + edx*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x45bf8b
pop esi
ret

Function at 0x45bfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x100
push esi
xor eax, eax
or edx, ecx
push edi
shl dword [ebp + 0xc], 1
mov esi, ecx
and esi, dword [ebp + 0xc]
mov edi, edx
add esi, ecx
shr edi, 8
add edi, esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + edi*2]
mov edi, edx
shr edi, 7
and edi, 1
neg edi
shr esi, 4
sar edi, 4
and edi, 0x7f
xor esi, edi
mov edi, dword [ebp + 0x10]
add eax, dword [edi + esi*4]
add edx, edx
mov esi, edx
xor esi, dword [ebp + 0xc]
not esi
and ecx, esi
cmp edx, 0x10000
jb 0x45bfce
pop edi
pop esi
pop ebp
ret

Function at 0x45c0c6
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push esi
mov esi, eax
xor eax, eax
inc edx
test esi, esi
je 0x45c106
push ebx
push edi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx edi, word [edi + edx*2]
shr dword [esp + 0x14], 1
and ecx, 1
mov ebx, ecx
neg ebx
sar ebx, 4
and ebx, 0x7f
shr edi, 4
xor edi, ebx
mov ebx, dword [esp + 0x18]
add eax, dword [ebx + edi*4]
add edx, edx
or edx, ecx
dec esi
jne 0x45c0d4
pop edi
pop ebx
pop esi
ret
Function at 0x45da4e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor edx, edx
lea ecx, [esi + 0x19c]
mov dword [esi + 0x3bcd4], edx
mov dword [esi + 0x3bcd0], edx
push ebx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x2c], 0x20
mov dword [ecx + 0x54], 1
mov dword [ecx + 0x48], 4
mov dword [ecx + 0x58], edx
mov dword [ebp - 4], edx
lea eax, [ecx + 0x70]
push edi
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 8
mov ebx, edi
and ebx, 1
dec ebx
not ebx
and ebx, 0xedb88320
shr edi, 1
xor edi, ebx
dec dword [ebp - 8]
jne 0x45da9b
inc dword [ebp - 4]
mov dword [eax], edi
add eax, 4
cmp dword [ebp - 4], 0x100
jb 0x45da91
mov dword [esi + 0x118], edx
lea eax, [esi + 0x148]
mov dword [eax], edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], edx
lea eax, [ebp - 0x38]
mov dword [esi + 0x198], ecx
call fcn.0045bba0
mov ebx, esi
call fcn.0045bca3
push 2
pop edi
mov byte [esi + 0x306a0], 0
mov byte [esi + 0x306a1], 1
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
xor ebx, ebx
sar ecx, 1
dec ecx
inc ebx
shl ebx, cl
test ebx, ebx
jbe 0x45db52
push ebx
push dword [ebp - 4]
lea eax, [edi + esi + 0x306a0]
push eax
call fcn.00489500
add esp, 0xc
add edi, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x16
jl 0x45db2d
push 8
pop edi
mov edx, 0x10000
push 4
mov eax, edi
xor ecx, ecx
pop ebx
imul eax, eax
add ecx, ecx
jmp 0x45db74
shr eax, 1
inc ecx
cmp eax, edx
jae 0x45db71
dec ebx
jne 0x45db6a
mov eax, 0xa1
sub eax, ecx
mov ecx, edi
shr ecx, 4
add edi, 0x10
cmp edi, 0x800
mov dword [esi + ecx*4 + 0x30ea0], eax
jb 0x45db63
and dword [esi + 0x325ac], ebx
and dword [esi + 0x3bd14], ebx
pop edi
pop ebx
leave
ret

Function at 0x45e5da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.0048e9c5
mov ecx, dword [ebp + 8]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
je 0x45e603
xor eax, eax
leave
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x45e60e
inc eax
leave
ret
Function at 0x46cd0d
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, eax
xor edi, edi
lea eax, [ebp + 8]
mov dword [ebp - 8], edi
call fcn.0042241f
mov esi, dword [ebp + 8]
push esi
push ebx
call fcn.0046ce88
test eax, eax
jne 0x46ce6c
push edi
push esi
call fcn.00489e54
test eax, eax
pop ecx
pop ecx
jne 0x46ce73
mov eax, dword [0x512bd4]
mov ecx, 0x512bd4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push esi
push str._s_d__x
lea eax, [ebp - 4]
call fcn.00421c33
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push dword [ebp - 4]
push esi
call fcn.0048e2f3
test eax, eax
pop ecx
pop ecx
je 0x46cdfa
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
mov esi, 0x514ad4
call fcn.00443ae2
mov esi, 0x4f0b6c
push esi
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00413c3b
add esp, 0xc
push dword [eax]
push ebx
call fcn.0046ce88
mov edi, eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
test edi, edi
je 0x46cded
push esi
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00413c3b
pop ecx
push 5
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
jmp 0x46ce56
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
jmp 0x46ce73
push 4
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.DLL_MoveFileExW]
call edi
push dword [ebp + 8]
push ebx
call fcn.0046ce88
test eax, eax
jne 0x46ce61
mov esi, 0x4f0b6c
push esi
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00413c3b
pop ecx
push dword [eax]
push ebx
call fcn.0046ce88
mov ebx, eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
test ebx, ebx
je 0x46cded
push esi
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00413c3b
pop ecx
push 5
push dword [ebp + 8]
push dword [eax]
call edi
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4