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

Disassembly:
push 0x10
mov eax, 0x465083
call fcn.00460210
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40a3ac
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
xor eax, eax
inc eax
call fcn.004602af
ret 4
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46aab4
push eax
call fcn.00404846
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edi, esp
mov dword [ebp - 0x18], esp
call fcn.00401f49
push ecx
mov esi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], esp
call fcn.004031a2
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0
call fcn.00401b0d
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 0x40a421
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, esi
jmp 0x40a3a4
lea esi, [ebp - 0x14]
call fcn.00403133
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401444
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
push dword [ebp - 0x10]
push dword [ebp + 8]
call ebx
mov esi, eax
jmp 0x40a407

Function at 0x40c53b
Capabilities:
Identify system language via api

Disassembly:
push 0xc
mov eax, 0x464ad9
call fcn.00460210
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x40c660
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, dword [0x48220c]
mov ecx, 0x48220c
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.0040d5cb
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040c7f1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x40c5ba
push ecx
lea edi, [eax - 0x10]
mov eax, edi
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015bb
add eax, 0x10
mov dword [ebx], eax
call fcn.0040c6b7
test eax, eax
je 0x40c5b8
mov eax, edi
jmp 0x40c65b
xor ebx, ebx
push 1
push dword [ebp - 0x14]
call fcn.0040d5cb
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040c7f1
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x40c5fb
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015bb
add eax, 0x10
mov dword [ebx], eax
call fcn.0040c6b7
test eax, eax
jne 0x40c5b1
mov edi, dword [ebp - 0x10]
xor ebx, ebx
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
cmp dword [esi + 0x14], ebx
je 0x40c613
push 0x46d7e8
push eax
call fcn.00404846
jmp 0x40c653
push 0x46d7f8
push eax
cmp dword [esi + 0x18], ebx
jne 0x40c60c
call fcn.00404846
call fcn.0040c6b7
cmp eax, ebx
jne 0x40c658
cmp dword [esi + 8], ebx
ja 0x40c63b
push 0x80070057
call fcn.00401759
mov eax, dword [esi + 4]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015bb
add eax, 0x10
mov dword [ebx], eax
call fcn.0040c6b7
lea eax, [edi - 0x10]
call fcn.0040178c
call fcn.004602af
ret
Function at 0x40ca72
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x464e99
call fcn.00460210
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00404846
and dword [ebp - 4], 0
push 0x5c
push 0x2f
lea eax, [ebp - 0x10]
call fcn.00403ddc
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46aab4
push eax
call fcn.00404846
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.004015bb
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.004015bb
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0
call fcn.00401b0d
add esp, 0x10
lea ebx, [esi + 0x28]
mov byte [ebp - 4], 3
mov edi, ebx
mov dword [ebp - 0x14], ebx
call fcn.00401444
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040178c
push dword [ebx]
push dword [ebp - 0x10]
push dword [0x4836d4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40cb65
push eax
push ebx
call fcn.0040159d
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x40cb50
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, ebx
call fcn.004602af
ret 8
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push ebx
push eax
call fcn.00418fe9
pop ecx
pop ecx
call fcn.00401a3e
pop ecx
mov edi, dword [ebp + 0xc]
mov eax, ebx
call fcn.00401444
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp + 0xc], esp
mov edi, esp
call fcn.004015bb
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp + 8]
push eax
call fcn.0040d304
jmp 0x40cb92
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
call fcn.004343bb
test eax, eax
jne 0x40cc17
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 [0x4836d0]
push dword [esi + 0x20]
call edi
cmp eax, 2
je 0x40cbea
cmp eax, 3
je 0x40cbea
cmp eax, 4
je 0x40cb8f
cmp eax, 5
jne 0x40cc17
push ebx
inc ebx
push ebx
push dword [0x4836cc]
push dword [esi + 0x20]
call edi
mov esi, dword [ebp - 0x14]
call fcn.004014c7
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jmp 0x40cbfe
push ebx
push 2
push dword [0x4836cc]
push dword [esi + 0x20]
call edi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x40cc0a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
jmp 0x40cb3b
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x40cc2a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
jmp 0x40cb38
Function at 0x40d25d
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x465ed5
call fcn.00460210
push 0x18
mov dword [ebp - 4], 1
call fcn.004472c5
mov edi, eax
pop ecx
test edi, edi
je 0x40d29b
mov ebx, 0x48220c
lea esi, [edi + 8]
mov ecx, ebx
call fcn.00401771
lea esi, [edi + 0x14]
mov ecx, ebx
call fcn.00401771
mov esi, edi
jmp 0x40d29d
xor esi, esi
lea edi, [ebp + 0xc]
call fcn.004023f7
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea edi, [esi + 8]
lea eax, [ebp + 0x10]
call fcn.00401444
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.00401444
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push edi
push esi
push 0x40d054
push edi
push edi
call fcn.00444182
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040178c
call fcn.004602af
ret

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

Disassembly:
push 0x10
mov eax, 0x463ee5
call fcn.00460210
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, 0x48220c
mov ecx, edi
call fcn.00401771
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
je 0x40d3f1
mov eax, dword [0x48220c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x48220c]
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..bak_d
push eax
call fcn.0040447f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040419e
add esp, 0x14
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401444
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040178c
mov ebx, dword [ebp - 0x18]
push ebx
call esi
push ebx
cmp eax, 0xffffffff
je 0x40d3c6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x64
jl 0x40d36a
jmp 0x40d3de
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40d3de
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.00401444
lea eax, [ebx - 0x10]
call fcn.0040178c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 8]
call fcn.004602af
ret 8
Function at 0x40d407
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x47f070]
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 0x40d434
mov eax, str.Admin
jmp 0x40d5be
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 0x40d46d
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 0x40d46d
mov eax, 0x46af74
jmp 0x40d5be
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 [0x483704], eax
cmp eax, ebx
jne 0x40d505
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 0x40d4f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40d4f9
push dword [ebp - 0x20]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40d4f9
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 0x40d4f9
mov dword [ebp - 0x28], 1
jmp 0x40d505
cmp dword [0x483704], ebx
je 0x40d5a3
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 + 0x481994]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40d594
mov eax, dword [0x483704]
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x40d546
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x24]
push ebx
call eax
jmp 0x40d57a
cmp dword [ebp - 0x28], ebx
je 0x40d58b
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp dword [eax], ebx
jbe 0x40d58b
mov esi, eax
add esi, 4
push dword [ebp - 0x24]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40d56f
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x10]
inc edi
add esi, 8
cmp edi, dword [eax]
jb 0x40d559
cmp dword [ebp - 0x1c], ebx
je 0x40d58b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x481998]
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 0x40d509
pop edi
pop esi
cmp dword [ebp - 0x10], ebx
je 0x40d5b2
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.00444072
leave
ret
Function at 0x40d606
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.004484f0
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 0x40db05
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x46688d
call fcn.00460210
xor ebx, ebx
push 0x50
mov dword [ebp - 4], ebx
call fcn.004472c5
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40db33
push eax
call fcn.0040d74b
mov edi, eax
jmp 0x40db35
xor edi, edi
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401444
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 0x40db64
mov ebx, dword [ebp + 0x1c]
lea esi, [edi + 0x10]
call fcn.00401087
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x40db75
push dword [ebp + 0x18]
lea eax, [edi + 0x10]
push eax
call fcn.0040159d
push 0x4837f0
mov dword [0x483708], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp + 0x20]
mov dword [edi + 0x44], eax
cmp ecx, ebx
je 0x40db92
mov dword [ecx], eax
lea eax, [edi + 0x4c]
push eax
push ebx
push edi
push 0x40d78e
push ebx
push ebx
call fcn.00444182
add esp, 0x18
mov dword [edi + 0x48], eax
cmp eax, ebx
jne 0x40dbc1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, ebx
call fcn.004602af
ret
xor ebx, ebx
inc ebx
jmp 0x40dbae
Function at 0x40e49b
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 0x40e4d3
mov dword [esi], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40e4c9
mov ecx, esi
call fcn.0040e5de
jmp 0x40e4cf
mov dword [esi], 0x63
xor eax, eax
jmp 0x40e510
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 0x40e4ef
mov dword [esi], 0xd
jmp 0x40e4b0
push edi
push 0x1000
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40e50d
mov dword [esi], 0xe
jmp 0x40e4b0
xor eax, eax
inc eax
leave
ret 4

Function at 0x40ea33
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 0x40ea4c
xor eax, eax
jmp 0x40eacf
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 0x40eaca
cmp dword [ebp - 4], edi
je 0x40ea88
cmp dword [ebp - 4], 7
je 0x40ea88
cmp dword [ebp - 4], 2
jne 0x40eaca
add eax, 2
push eax
push edi
call fcn.0044721b
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x40eaca
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 0x40eac1
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.0040159d
mov dword [ebp - 0x10], edi
push dword [ebp - 0xc]
call fcn.0044435d
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push 0xc
mov eax, 0x463ea2
call fcn.00460210
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [0x48220c]
mov ecx, 0x48220c
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.004015bb
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040eb46
add esp, 0x14
cmp eax, edi
jne 0x40efbb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
cmp dword [ebp - 0x10], edi
je 0x40ef9a
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.0040178c
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040178c
xor eax, eax
call fcn.004602af
ret
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x10], edi
je 0x40efe6
cmp ebx, edi
je 0x40efe6
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 0x40f01b
lea eax, [esi - 0x10]
call fcn.0040178c
cmp dword [ebp - 0x10], edi
je 0x40effc
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.0040178c
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, esi
jmp 0x40efb5
lea eax, [esi - 0x10]
call fcn.0040178c
cmp dword [ebp - 0x10], edi
je 0x40f031
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x40effe

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

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x41316c
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x41321e
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 + 0x46b6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b6e8]
inc ecx
sub edi, 8
dec esi
jne 0x413183
pop ebx
test edi, edi
je 0x413237
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46b6e8]
inc ecx
dec edi
jne 0x413222
pop esi
not eax
pop edi
ret
Function at 0x418646
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 0x418714
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.00418d45
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 0x4186d7
push ebx
push dword [esi + 0x38]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
push 0
jmp 0x4186e6
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 0x418714
sub eax, ecx
mov dword [esi + 0x60], eax
jns 0x418705
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 0x41887e
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.004187b1
mov ebx, eax
test ebx, ebx
jl 0x4188dd
push 1
mov eax, esi
call fcn.004189bf
test al, al
jne 0x4188ba
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.00418078
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [esi + 4]
jmp 0x418900
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 0x418906
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 0x418f22
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x464cd4
call fcn.00460210
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
jne 0x418fd8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 3
jne 0x418fc0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x418fd4
push 0x46aab8
lea eax, [ebp - 0x14]
push eax
call fcn.00404846
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.004041ef
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040178c
push dword [ebp - 0x10]
call esi
mov ebx, eax
call edi
mov dword [ebp - 0x14], eax
cmp ebx, 0xffffffff
je 0x418fb2
test bl, 0x10
jne 0x418fb2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040178c
xor eax, eax
inc eax
jmp 0x418fe3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp - 0x14]
cmp eax, 2
je 0x418fd4
cmp eax, 3
je 0x418fd4
cmp eax, 0x7b
je 0x418fd4
cmp eax, 0x35
jne 0x418fad
xor eax, eax
jmp 0x418fe3
not al
movzx eax, al
shr eax, 4
and eax, 1
call fcn.004602af
ret
Function at 0x420db5
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [eax + 0x2dc]
cmp dword [esi], 0
je 0x420dd7
push 1
push dword [eax + 0x294]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi]
pop esi
jmp fcn.0041a6e3
pop esi
ret