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

Disassembly:
push 0x10
mov eax, 0x4698d6
call fcn.00463f70
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40b741
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017b8
xor eax, eax
inc eax
call fcn.0046400f
ret 4
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46ecfc
push eax
call fcn.004021e4
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edi, esp
mov dword [ebp - 0x18], esp
call fcn.0041bb9e
push ecx
mov esi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], esp
call fcn.0040420b
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0
call fcn.00402880
add esp, 0x10
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp + 8]
call ebx
test eax, eax
je 0x40b7b6
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, esi
jmp 0x40b739
lea esi, [ebp - 0x14]
call fcn.0040419c
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401470
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017b8
push dword [ebp - 0x10]
push dword [ebp + 8]
call ebx
mov esi, eax
jmp 0x40b79c

Function at 0x40dccf
Capabilities:
Identify system language via api

Disassembly:
push 0xc
mov eax, 0x468ddc
call fcn.00463f70
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x40dde7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, dword [0x4872ec]
mov ecx, 0x4872ec
mov dword [ebp - 0x14], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
push edi
mov dword [ebp - 4], ebx
call fcn.0040efb9
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040df78
mov edi, dword [ebp - 0x10]
push edi
push str._SetLangFolderCommon___lang:_s
call fcn.00402517
pop ecx
pop ecx
cmp dword [edi - 0xc], ebx
je 0x40dd59
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015e7
add eax, 0x10
mov dword [ebx], eax
call fcn.0040de3e
test eax, eax
je 0x40dd59
mov eax, edi
jmp 0x40dde2
push 1
push dword [ebp - 0x14]
call fcn.0040efb9
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040df78
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], 0
je 0x40dd99
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015e7
add eax, 0x10
mov dword [ebx], eax
call fcn.0040de3e
test eax, eax
jne 0x40dd52
mov edi, dword [ebp - 0x10]
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push 0x471cec
push eax
call fcn.004021e4
call fcn.0040de3e
test eax, eax
jne 0x40dddf
cmp dword [esi + 8], eax
ja 0x40ddc2
push 0x80070057
call fcn.00401785
mov eax, dword [esi + 4]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015e7
add eax, 0x10
mov dword [ebx], eax
call fcn.0040de3e
lea eax, [edi - 0x10]
call fcn.004017b8
call fcn.0046400f
ret
Function at 0x40e1f6
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x468d86
call fcn.00463f70
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004021e4
and dword [ebp - 4], 0
push 0x5c
push 0x2f
lea eax, [ebp - 0x10]
call fcn.00404fee
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46ecfc
push eax
call fcn.004021e4
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.00402880
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.004017b8
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 0x40e2e9
push eax
push ebx
call fcn.004015c9
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x40e2d4
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, ebx
call fcn.0046400f
ret 8
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push ebx
push eax
call fcn.00402cc1
pop ecx
pop ecx
call fcn.004027b1
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.0040ea59
mov byte [ebp - 4], 4
jmp 0x40e31a
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
call fcn.00438216
test eax, eax
jne 0x40e39f
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 0x40e372
cmp eax, 3
je 0x40e372
cmp eax, 4
je 0x40e317
cmp eax, 5
jne 0x40e39f
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 0x40e386
push ebx
push 2
push dword [0x4887a4]
push dword [esi + 0x20]
call edi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x40e392
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017b8
jmp 0x40e2bf
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x40e3b2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017b8
jmp 0x40e2bc
Function at 0x40e9b2
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x467188
call fcn.00463f70
push 0x18
mov dword [ebp - 4], 1
call fcn.0044a8e5
mov edi, eax
pop ecx
test edi, edi
je 0x40e9f0
mov ebx, 0x4872ec
lea esi, [edi + 8]
mov ecx, ebx
call fcn.0040179d
lea esi, [edi + 0x14]
mov ecx, ebx
call fcn.0040179d
mov esi, edi
jmp 0x40e9f2
xor esi, esi
lea edi, [ebp + 0xc]
call fcn.00403408
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 0x40e7dc
push edi
push edi
call fcn.00447920
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004017b8
call fcn.0046400f
ret

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

Disassembly:
push 0x10
mov eax, 0x467b00
call fcn.00463f70
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, 0x4872ec
mov ecx, edi
call fcn.0040179d
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
je 0x40eb46
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.004024b6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040528f
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.004017b8
mov ebx, dword [ebp - 0x18]
push ebx
call esi
push ebx
cmp eax, 0xffffffff
je 0x40eb1b
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x64
jl 0x40eabf
jmp 0x40eb33
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40eb33
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.00401470
lea eax, [ebx - 0x10]
call fcn.004017b8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp + 8]
call fcn.0046400f
ret 8
Function at 0x40edf5
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 0x40ee22
mov eax, str.Admin
jmp 0x40efac
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 0x40ee5b
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 0x40ee5b
mov eax, 0x46f160
jmp 0x40efac
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 0x40eef3
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 0x40eee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40eee7
push dword [ebp - 0x20]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40eee7
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 0x40eee7
mov dword [ebp - 0x28], 1
jmp 0x40eef3
cmp dword [0x4887d8], ebx
je 0x40ef91
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 0x40ef82
mov eax, dword [0x4887d8]
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x40ef34
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x24]
push ebx
call eax
jmp 0x40ef68
cmp dword [ebp - 0x28], ebx
je 0x40ef79
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp dword [eax], ebx
jbe 0x40ef79
mov esi, eax
add esi, 4
push dword [ebp - 0x24]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40ef5d
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x10]
inc edi
add esi, 8
cmp edi, dword [eax]
jb 0x40ef47
cmp dword [ebp - 0x1c], ebx
je 0x40ef79
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 0x40eef7
pop edi
pop esi
cmp dword [ebp - 0x10], ebx
je 0x40efa0
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.00447810
leave
ret
Function at 0x40eff4
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.0044c280
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 0x40f2b2
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
push esi
push edi
push 0xc
call fcn.0044a8e5
mov edi, eax
xor ebp, ebp
pop ecx
cmp edi, ebp
je 0x40f2e4
push ebx
mov ebx, 0x4872ec
lea esi, [edi + 4]
mov ecx, ebx
call fcn.0040179d
lea esi, [edi + 8]
mov ecx, ebx
call fcn.0040179d
mov dword [edi], ebp
pop ebx
jmp 0x40f2e6
xor edi, edi
mov eax, dword [esp + 0x10]
push ebp
push ebp
push edi
push 0x4023e1
push ebp
push ebp
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, ebp
je 0x40f312
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 0x40fde2
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x4695c0
call fcn.00463f70
xor ebx, ebx
push 0x50
mov dword [ebp - 4], ebx
call fcn.0044a8e5
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40fe10
push eax
call fcn.0040fa28
mov edi, eax
jmp 0x40fe12
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 0x40fe41
mov ebx, dword [ebp + 0x1c]
lea esi, [edi + 0x10]
call fcn.00401087
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x40fe52
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 0x40fe6f
mov dword [ecx], eax
lea eax, [edi + 0x4c]
push eax
push ebx
push edi
push 0x40fa6b
push ebx
push ebx
call fcn.00447920
add esp, 0x18
mov dword [edi + 0x48], eax
cmp eax, ebx
jne 0x40fe9e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, ebx
call fcn.0046400f
ret
xor ebx, ebx
inc ebx
jmp 0x40fe8b
Function at 0x410a9f
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 0x410ad7
mov dword [esi], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x410acd
mov ecx, esi
call fcn.00410ca8
jmp 0x410ad3
mov dword [esi], 0x63
xor eax, eax
jmp 0x410b14
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 0x410af3
mov dword [esi], 0xd
jmp 0x410ab4
push edi
push 0x1000
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x410b11
mov dword [esi], 0xe
jmp 0x410ab4
xor eax, eax
inc eax
leave
ret 4

Function at 0x41105d
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 0x411076
xor eax, eax
jmp 0x4110f9
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 0x4110f4
cmp dword [ebp - 4], edi
je 0x4110b2
cmp dword [ebp - 4], 7
je 0x4110b2
cmp dword [ebp - 4], 2
jne 0x4110f4
add eax, 2
push eax
push edi
call fcn.00447b89
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x4110f4
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 0x4110eb
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.004015c9
mov dword [ebp - 0x10], edi
push dword [ebp - 0xc]
call fcn.00447afb
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41114d
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 0x41154a
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x467ce4
call fcn.00463f70
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.00411170
add esp, 0x14
cmp eax, edi
jne 0x4115e7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017b8
cmp dword [ebp - 0x10], edi
je 0x4115c6
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.004017b8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017b8
xor eax, eax
call fcn.0046400f
ret
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x10], edi
je 0x411612
cmp ebx, edi
je 0x411612
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 0x411647
lea eax, [esi - 0x10]
call fcn.004017b8
cmp dword [ebp - 0x10], edi
je 0x411628
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.004017b8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, esi
jmp 0x4115e1
lea eax, [esi - 0x10]
call fcn.004017b8
cmp dword [ebp - 0x10], edi
je 0x41165d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x41162a

Function at 0x41368a
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
test ebx, ebx
jl 0x41372a
cmp ebx, dword [ecx + 0x14]
jge 0x41372a
push esi
test edi, edi
jge 0x4136a9
xor esi, esi
jmp 0x4136ab
mov esi, edi
mov eax, dword [ecx + 0x10]
dec eax
cmp esi, eax
jge 0x4136bb
test edi, edi
jge 0x4136bd
xor edi, edi
jmp 0x4136bd
mov edi, eax
test edx, edx
jge 0x4136c5
xor esi, esi
jmp 0x4136c7
mov esi, edx
cmp esi, eax
jge 0x4136d3
test edx, edx
jge 0x4136d5
xor edx, edx
jmp 0x4136d5
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 0x413710
cmp ecx, 0x20
jne 0x41372a
cmp edi, edx
jg 0x41372a
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 0x4136fb
jmp 0x41372a
cmp edi, edx
jg 0x41372a
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 0x413717
pop edi
ret 4
Function at 0x415d36
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x415d41
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x415df3
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 + 0x46f8d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d0]
inc ecx
sub edi, 8
dec esi
jne 0x415d58
pop ebx
test edi, edi
je 0x415e0c
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46f8d0]
inc ecx
dec edi
jne 0x415df7
pop esi
not eax
pop edi
ret
Function at 0x41b30c
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 0x41b3da
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.0041b9d0
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 0x41b39d
push ebx
push dword [esi + 0x38]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
push 0
jmp 0x41b3ac
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 0x41b3da
sub eax, ecx
mov dword [esi + 0x60], eax
jns 0x41b3cb
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 0x41b544
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.0041b477
mov ebx, eax
test ebx, ebx
jl 0x41b5a3
push 1
mov eax, esi
call fcn.0041b685
test al, al
jne 0x41b580
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.0041ad6a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [esi + 4]
jmp 0x41b5c6
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 0x41b5cc
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 0x41bd3f
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x484060]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x468b83
call fcn.00463f70
and dword [ebp - 0x10], 0
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
jae 0x41bda8
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004021e4
and dword [ebp - 4], 0
push 0x46ecfc
push edi
mov ecx, eax
call fcn.004052e0
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004017b8
jmp 0x41bdb3
push 0x46f160
push edi
call fcn.004021e4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00447810
add ebp, 0x20c
leave
ret