joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e107
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x468a96
call fcn.00463cb0
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0040227e
and dword [ebp - 4], 0
push 0x5c
push 0x2f
lea eax, [ebp - 0x10]
call fcn.00404f71
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46ecfc
push eax
call fcn.0040227e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x24]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0
call fcn.0040291a
add esp, 0x10
lea ebx, [esi + 0x28]
mov byte [ebp - 4], 3
mov edi, ebx
mov dword [ebp - 0x14], ebx
call fcn.00401470
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004017c3
push dword [ebx]
push dword [ebp - 0x10]
push dword [0x4887ac]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40e1fa
push eax
push ebx
call fcn.004015c9
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x40e1e5
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, ebx
call fcn.00463d4f
ret 8
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push ebx
push eax
call fcn.00402d9d
pop ecx
pop ecx
call fcn.0040284b
pop ecx
mov edi, dword [ebp + 0xc]
mov eax, ebx
call fcn.00401470
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp + 0xc], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp + 8]
push eax
call fcn.0040e96a
mov byte [ebp - 4], 4
jmp 0x40e22b
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
call fcn.004382de
test eax, eax
jne 0x40e2b0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push eax
push dword [0x4887a8]
push dword [esi + 0x20]
call edi
cmp eax, 2
je 0x40e283
cmp eax, 3
je 0x40e283
cmp eax, 4
je 0x40e228
cmp eax, 5
jne 0x40e2b0
push ebx
inc ebx
push ebx
push dword [0x4887a4]
push dword [esi + 0x20]
call edi
mov esi, dword [ebp - 0x14]
call fcn.004014f3
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jmp 0x40e297
push ebx
push 2
push dword [0x4887a4]
push dword [esi + 0x20]
call edi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x40e2a3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
jmp 0x40e1d0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x40e2c3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
jmp 0x40e1cd
Function at 0x40e8c3
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x466e50
call fcn.00463cb0
push 0x18
mov dword [ebp - 4], 1
call fcn.0044a629
mov edi, eax
pop ecx
test edi, edi
je 0x40e901
mov ebx, 0x4872ec
lea esi, [edi + 8]
mov ecx, ebx
call fcn.004017a8
lea esi, [edi + 0x14]
mov ecx, ebx
call fcn.004017a8
mov esi, edi
jmp 0x40e903
xor esi, esi
lea edi, [ebp + 0xc]
call fcn.0040341e
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea edi, [esi + 8]
lea eax, [ebp + 0x10]
call fcn.00401470
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x14]
lea eax, [ebp + 0xc]
call fcn.00401470
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push edi
push esi
push 0x40e6ed
push edi
push edi
call fcn.00447664
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004017c3
call fcn.00463d4f
ret

Function at 0x40e96a
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push 0x10
mov eax, 0x467757
call fcn.00463cb0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, 0x4872ec
mov ecx, edi
call fcn.004017a8
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
je 0x40ea57
mov eax, dword [0x4872ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4872ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 1
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str.._d.tmp
push eax
call fcn.00402550
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405212
add esp, 0x14
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401470
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004017c3
mov ebx, dword [ebp - 0x18]
push ebx
call esi
push ebx
cmp eax, 0xffffffff
je 0x40ea2c
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x64
jl 0x40e9d0
jmp 0x40ea44
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40ea44
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.00401470
lea eax, [ebx - 0x10]
call fcn.004017c3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp + 8]
call fcn.00463d4f
ret 8
Function at 0x40ed06
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x484060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x40ed33
mov eax, str.Admin
jmp 0x40eebd
lea eax, [ebp - 0x18]
push eax
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x40ed6c
lea eax, [ebp - 0x18]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40ed6c
mov eax, 0x46f164
jmp 0x40eebd
push esi
push str.CheckTokenMembership
push str.ADVAPI32
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4887d8], eax
cmp eax, ebx
jne 0x40ee04
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x40edf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40edf8
push dword [ebp - 0x20]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40edf8
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x40edf8
mov dword [ebp - 0x28], 1
jmp 0x40ee04
cmp dword [0x4887d8], ebx
je 0x40eea2
mov dword [ebp - 0x14], ebx
push edi
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [eax + 0x486988]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40ee93
mov eax, dword [0x4887d8]
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x40ee45
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x24]
push ebx
call eax
jmp 0x40ee79
cmp dword [ebp - 0x28], ebx
je 0x40ee8a
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp dword [eax], ebx
jbe 0x40ee8a
mov esi, eax
add esi, 4
push dword [ebp - 0x24]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40ee6e
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x10]
inc edi
add esi, 8
cmp edi, dword [eax]
jb 0x40ee58
cmp dword [ebp - 0x1c], ebx
je 0x40ee8a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48698c]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
add dword [ebp - 0x14], 8
cmp dword [ebp - 0x14], 0x20
jb 0x40ee08
pop edi
pop esi
cmp dword [ebp - 0x10], ebx
je 0x40eeb1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00447554
leave
ret
Function at 0x40ef05
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0044bfc0
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret

Function at 0x40f1c3
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
push esi
push edi
push 0xc
call fcn.0044a629
mov edi, eax
xor ebp, ebp
pop ecx
cmp edi, ebp
je 0x40f1f5
push ebx
mov ebx, 0x4872ec
lea esi, [edi + 4]
mov ecx, ebx
call fcn.004017a8
lea esi, [edi + 8]
mov ecx, ebx
call fcn.004017a8
mov dword [edi], ebp
pop ebx
jmp 0x40f1f7
xor edi, edi
mov eax, dword [esp + 0x10]
push ebp
push ebp
push edi
push 0x40247b
push ebp
push ebp
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, ebp
je 0x40f223
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40fcde
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x46adea
call fcn.00463cb0
xor ebx, ebx
push 0x50
mov dword [ebp - 4], ebx
call fcn.0044a629
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40fd0c
push eax
call fcn.0040f924
mov edi, eax
jmp 0x40fd0e
xor edi, edi
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401470
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp dword [ebp + 0x1c], ebx
je 0x40fd3d
mov ebx, dword [ebp + 0x1c]
lea esi, [edi + 0x10]
call fcn.00401087
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x40fd4e
push dword [ebp + 0x18]
lea eax, [edi + 0x10]
push eax
call fcn.004015c9
push 0x488894
mov dword [0x4887e0], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp + 0x20]
mov dword [edi + 0x44], eax
cmp ecx, ebx
je 0x40fd6b
mov dword [ecx], eax
lea eax, [edi + 0x4c]
push eax
push ebx
push edi
push 0x40f967
push ebx
push ebx
call fcn.00447664
add esp, 0x18
mov dword [edi + 0x48], eax
cmp eax, ebx
jne 0x40fd9a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, ebx
call fcn.00463d4f
ret
xor ebx, ebx
inc ebx
jmp 0x40fd87
Function at 0x41099b
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x4109d3
mov dword [esi], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x4109c9
mov ecx, esi
call fcn.00410ba4
jmp 0x4109cf
mov dword [esi], 0x63
xor eax, eax
jmp 0x410a10
push ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x4109ef
mov dword [esi], 0xd
jmp 0x4109b0
push edi
push 0x1000
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x410a0d
mov dword [esi], 0xe
jmp 0x4109b0
xor eax, eax
inc eax
leave
ret 4

Function at 0x410f59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x410f72
xor eax, eax
jmp 0x410ff5
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 0xc]
xor edi, edi
inc edi
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edi
call esi
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x410ff0
cmp dword [ebp - 4], edi
je 0x410fae
cmp dword [ebp - 4], 7
je 0x410fae
cmp dword [ebp - 4], 2
jne 0x410ff0
add eax, 2
push eax
push edi
call fcn.004478cd
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x410ff0
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push dword [eax]
call esi
test eax, eax
jne 0x410fe7
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.004015c9
mov dword [ebp - 0x10], edi
push dword [ebp - 0xc]
call fcn.0044783f
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x411049
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 0xc
Function at 0x411446
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x46797d
call fcn.00463cb0
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [0x4872ec]
mov ecx, 0x4872ec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
or esi, 0x2001f
push edi
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
call fcn.004015e7
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041106c
add esp, 0x14
cmp eax, edi
jne 0x4114e3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
cmp dword [ebp - 0x10], edi
je 0x4114c2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x10], edi
call fcn.004017c3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017c3
xor eax, eax
call fcn.00463d4f
ret
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x10], edi
je 0x41150e
cmp ebx, edi
je 0x41150e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
push 1
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x411543
lea eax, [esi - 0x10]
call fcn.004017c3
cmp dword [ebp - 0x10], edi
je 0x411524
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x10], edi
call fcn.004017c3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, esi
jmp 0x4114dd
lea eax, [esi - 0x10]
call fcn.004017c3
cmp dword [ebp - 0x10], edi
je 0x411559
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x411526

Function at 0x413586
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
test ebx, ebx
jl 0x413626
cmp ebx, dword [ecx + 0x14]
jge 0x413626
push esi
test edi, edi
jge 0x4135a5
xor esi, esi
jmp 0x4135a7
mov esi, edi
mov eax, dword [ecx + 0x10]
dec eax
cmp esi, eax
jge 0x4135b7
test edi, edi
jge 0x4135b9
xor edi, edi
jmp 0x4135b9
mov edi, eax
test edx, edx
jge 0x4135c1
xor esi, esi
jmp 0x4135c3
mov esi, edx
cmp esi, eax
jge 0x4135cf
test edx, edx
jge 0x4135d1
xor edx, edx
jmp 0x4135d1
mov edx, eax
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 8]
imul eax, edi
imul esi, ebx
add eax, esi
add eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x18]
pop esi
cmp ecx, 0x18
je 0x41360c
cmp ecx, 0x20
jne 0x413626
cmp edi, edx
jg 0x413626
sub edx, edi
inc edx
mov cl, byte [eax + 1]
xor byte [eax], 0x80
xor byte [eax + 2], 0x80
mov byte [eax + 1], cl
add eax, 4
dec edx
jne 0x4135f7
jmp 0x413626
cmp edi, edx
jg 0x413626
sub edx, edi
inc edx
mov cl, byte [eax + 1]
xor byte [eax], 0x80
xor byte [eax + 2], 0x80
mov byte [eax + 1], cl
add eax, 3
dec edx
jne 0x413613
pop edi
ret 4
Function at 0x415c32
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x415c3d
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x415cef
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
sub edi, 8
dec esi
jne 0x415c54
pop ebx
test edi, edi
je 0x415d08
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46f8d8]
inc ecx
dec edi
jne 0x415cf3
pop esi
not eax
pop edi
ret
Function at 0x41b185
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push edi
cmp dword [esi + 0x70], ebx
je 0x41b253
lea eax, [ebp - 0x10]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
call fcn.0041b849
mov eax, dword [esi + 0x70]
lea ecx, [eax - 1]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 2
cdq
idiv dword [esi + 0x64]
pop edi
push 1
push ecx
push ebx
push edi
push dword [esi + 0x38]
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_SetScrollRange]
push 1
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [esi + 0x70]
dec eax
cmp dword [esi + 0x68], eax
jle 0x41b216
push ebx
push dword [esi + 0x38]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
push 0
jmp 0x41b225
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x38]
call ebx
push 5
push dword [esi + 0x3c]
call ebx
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x70]
add edx, ecx
cmp edx, eax
jle 0x41b253
sub eax, ecx
mov dword [esi + 0x60], eax
jns 0x41b244
and dword [esi + 0x60], 0
push 1
push dword [esi + 0x60]
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetScrollPos]
pop edi
pop ebx
leave
ret

Function at 0x41b3bd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
movsx edi, ax
shr eax, 0x10
cwde
push eax
mov esi, ecx
push edi
mov dword [ebp - 4], eax
call fcn.0041b2f0
mov ebx, eax
test ebx, ebx
jl 0x41b41c
push 1
mov eax, esi
call fcn.0041b4fe
test al, al
jne 0x41b3f9
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x6c], ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x98]
call fcn.0041abe3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [esi + 4]
jmp 0x41b43f
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x41b445
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x41ba17
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x46903c
call fcn.00463cb0
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
jne 0x41bacd
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 3
jne 0x41bab5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x41bac9
push 0x46ed00
lea eax, [ebp - 0x14]
push eax
call fcn.0040227e
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.00405263
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004017c3
push dword [ebp - 0x10]
call esi
mov ebx, eax
call edi
mov dword [ebp - 0x14], eax
cmp ebx, 0xffffffff
je 0x41baa7
test bl, 0x10
jne 0x41baa7
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017c3
xor eax, eax
inc eax
jmp 0x41bad8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp - 0x14]
cmp eax, 2
je 0x41bac9
cmp eax, 3
je 0x41bac9
cmp eax, 0x7b
je 0x41bac9
cmp eax, 0x35
jne 0x41baa2
xor eax, eax
jmp 0x41bad8
not al
movzx eax, al
shr eax, 4
and eax, 1
call fcn.00463d4f
ret
Function at 0x422403
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [eax + 0x31c]
cmp dword [esi], 0
je 0x422425
push 1
push dword [eax + 0x2d4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi]
pop esi
jmp fcn.0041d0c7
pop esi
ret