joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4085e6
Capabilities:
Copy file
Create process on windows

Disassembly:
push 0x1c
mov eax, 0x469a45
call fcn.004640e0
lea esi, [ebp - 0x1c]
call fcn.00402cd6
and dword [ebp - 4], 0
mov eax, dword [0x4882ec]
mov esi, 0x4882ec
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4882ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], 0
push str.xinsttemp.exe
je 0x408657
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x4f8]
push eax
lea eax, [ebp - 0x14]
push str._s_d_s
push eax
call fcn.004024cb
add esp, 0x14
jmp 0x408683
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x4f8]
push eax
call fcn.00405117
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401470
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004017c3
lea esi, [ebp - 0x28]
call fcn.00403fbe
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004050c6
pop ecx
pop ecx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00401470
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004017c3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.004017c3
mov edi, dword [ebp - 0x18]
push 0
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x408711
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x2710
jl 0x40862f
xor esi, esi
lea eax, [edi - 0x10]
call fcn.004017c3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, esi
call fcn.0046417f
ret
lea eax, [ebx + 0x530]
lea esi, [ebp - 0x28]
call fcn.00407786
mov eax, dword [eax]
push 5
push 0
push eax
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.004017c3
cmp esi, 0x20
jle 0x4086e9
xor esi, esi
inc esi
jmp 0x4086eb
Function at 0x40b824
Capabilities:
Delete file
Move file

Disassembly:
push 0x10
mov eax, 0x4699c7
call fcn.004640e0
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40b857
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
xor eax, eax
inc eax
call fcn.0046417f
ret 4
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46ed0c
push eax
call fcn.004021f9
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edi, esp
mov dword [ebp - 0x18], esp
call fcn.0041c04f
push ecx
mov esi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], esp
call fcn.00403fbe
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0
call fcn.00402895
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 0x40b8cc
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, esi
jmp 0x40b84f
lea esi, [ebp - 0x14]
call fcn.00403f4f
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401470
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
push dword [ebp - 0x10]
push dword [ebp + 8]
call ebx
mov esi, eax
jmp 0x40b8b2

Function at 0x40ddd6
Capabilities:
Identify system language via api

Disassembly:
push 0xc
mov eax, 0x468ed7
call fcn.004640e0
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x40deee
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, dword [0x4882ec]
mov ecx, 0x4882ec
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.0040f0c0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040e07f
mov edi, dword [ebp - 0x10]
push edi
push str._SetLangFolderCommon___lang:_s
call fcn.0040252c
pop ecx
pop ecx
cmp dword [edi - 0xc], ebx
je 0x40de60
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.0040df45
test eax, eax
je 0x40de60
mov eax, edi
jmp 0x40dee9
push 1
push dword [ebp - 0x14]
call fcn.0040f0c0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040e07f
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], 0
je 0x40dea0
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.0040df45
test eax, eax
jne 0x40de59
mov edi, dword [ebp - 0x10]
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push 0x471de8
push eax
call fcn.004021f9
call fcn.0040df45
test eax, eax
jne 0x40dee6
cmp dword [esi + 8], eax
ja 0x40dec9
push 0x80070057
call fcn.00401790
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.0040df45
lea eax, [edi - 0x10]
call fcn.004017c3
call fcn.0046417f
ret
Function at 0x40e2fd
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x468e81
call fcn.004640e0
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004021f9
and dword [ebp - 4], 0
push 0x5c
push 0x2f
lea eax, [ebp - 0x10]
call fcn.00404e2a
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46ed0c
push eax
call fcn.004021f9
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.00402895
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 [0x4897ac]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40e3f0
push eax
push ebx
call fcn.004015c9
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x40e3db
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, ebx
call fcn.0046417f
ret 8
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push ebx
push eax
call fcn.0041bf87
pop ecx
pop ecx
call fcn.004027c6
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.0040eb60
mov byte [ebp - 4], 4
jmp 0x40e421
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
call fcn.00438626
test eax, eax
jne 0x40e4a6
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 [0x4897a8]
push dword [esi + 0x20]
call edi
cmp eax, 2
je 0x40e479
cmp eax, 3
je 0x40e479
cmp eax, 4
je 0x40e41e
cmp eax, 5
jne 0x40e4a6
push ebx
inc ebx
push ebx
push dword [0x4897a4]
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 0x40e48d
push ebx
push 2
push dword [0x4897a4]
push dword [esi + 0x20]
call edi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x40e499
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
jmp 0x40e3c6
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x40e4b9
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
jmp 0x40e3c3
Function at 0x40eab9
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x46a214
call fcn.004640e0
push 0x18
mov dword [ebp - 4], 1
call fcn.0044aa50
mov edi, eax
pop ecx
test edi, edi
je 0x40eaf7
mov ebx, 0x4882ec
lea esi, [edi + 8]
mov ecx, ebx
call fcn.004017a8
lea esi, [edi + 0x14]
mov ecx, ebx
call fcn.004017a8
mov esi, edi
jmp 0x40eaf9
xor esi, esi
lea edi, [ebp + 0xc]
call fcn.0040312f
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 0x40e8e3
push edi
push edi
call fcn.00447a8e
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.0046417f
ret

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

Disassembly:
push 0x10
mov eax, 0x467af3
call fcn.004640e0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, 0x4882ec
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 0x40ec4d
mov eax, dword [0x4882ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4882ec]
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.004024cb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.004050c6
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 0x40ec22
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x64
jl 0x40ebc6
jmp 0x40ec3a
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40ec3a
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.0046417f
ret 8
Function at 0x40eefc
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x485060]
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 0x40ef29
mov eax, str.Admin
jmp 0x40f0b3
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 0x40ef62
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 0x40ef62
mov eax, 0x46f164
jmp 0x40f0b3
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 [0x4897d8], eax
cmp eax, ebx
jne 0x40effa
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 0x40efee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40efee
push dword [ebp - 0x20]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40efee
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 0x40efee
mov dword [ebp - 0x28], 1
jmp 0x40effa
cmp dword [0x4897d8], ebx
je 0x40f098
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 + 0x487988]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40f089
mov eax, dword [0x4897d8]
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x40f03b
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x24]
push ebx
call eax
jmp 0x40f06f
cmp dword [ebp - 0x28], ebx
je 0x40f080
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp dword [eax], ebx
jbe 0x40f080
mov esi, eax
add esi, 4
push dword [ebp - 0x24]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40f064
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x10]
inc edi
add esi, 8
cmp edi, dword [eax]
jb 0x40f04e
cmp dword [ebp - 0x1c], ebx
je 0x40f080
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48798c]
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 0x40effe
pop edi
pop esi
cmp dword [ebp - 0x10], ebx
je 0x40f0a7
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.0044797e
leave
ret
Function at 0x40f0fb
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.0044c3e0
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 0x40f3b9
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
push esi
push edi
push 0xc
call fcn.0044aa50
mov edi, eax
xor ebp, ebp
pop ecx
cmp edi, ebp
je 0x40f3eb
push ebx
mov ebx, 0x4882ec
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 0x40f3ed
xor edi, edi
mov eax, dword [esp + 0x10]
push ebp
push ebp
push edi
push 0x4023f6
push ebp
push ebp
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, ebp
je 0x40f419
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 0x40fee5
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x466bd5
call fcn.004640e0
xor ebx, ebx
push 0x50
mov dword [ebp - 4], ebx
call fcn.0044aa50
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40ff13
push eax
call fcn.0040fb2b
mov edi, eax
jmp 0x40ff15
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 0x40ff44
mov ebx, dword [ebp + 0x1c]
lea esi, [edi + 0x10]
call fcn.00401087
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x40ff55
push dword [ebp + 0x18]
lea eax, [edi + 0x10]
push eax
call fcn.004015c9
push 0x489894
mov dword [0x4897e0], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp + 0x20]
mov dword [edi + 0x44], eax
cmp ecx, ebx
je 0x40ff72
mov dword [ecx], eax
lea eax, [edi + 0x4c]
push eax
push ebx
push edi
push 0x40fb6e
push ebx
push ebx
call fcn.00447a8e
add esp, 0x18
mov dword [edi + 0x48], eax
cmp eax, ebx
jne 0x40ffa1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, ebx
call fcn.0046417f
ret
xor ebx, ebx
inc ebx
jmp 0x40ff8e
Function at 0x410ba2
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 0x410bda
mov dword [esi], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x410bd0
mov ecx, esi
call fcn.00410dab
jmp 0x410bd6
mov dword [esi], 0x63
xor eax, eax
jmp 0x410c17
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 0x410bf6
mov dword [esi], 0xd
jmp 0x410bb7
push edi
push 0x1000
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x410c14
mov dword [esi], 0xe
jmp 0x410bb7
xor eax, eax
inc eax
leave
ret 4

Function at 0x411160
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 0x411179
xor eax, eax
jmp 0x4111fc
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 0x4111f7
cmp dword [ebp - 4], edi
je 0x4111b5
cmp dword [ebp - 4], 7
je 0x4111b5
cmp dword [ebp - 4], 2
jne 0x4111f7
add eax, 2
push eax
push edi
call fcn.00447cf7
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x4111f7
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 0x4111ee
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.004015c9
mov dword [ebp - 0x10], edi
push dword [ebp - 0xc]
call fcn.00447c69
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push 0xc
mov eax, 0x467d12
call fcn.004640e0
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [0x4882ec]
mov ecx, 0x4882ec
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.00411273
add esp, 0x14
cmp eax, edi
jne 0x4116e8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
cmp dword [ebp - 0x10], edi
je 0x4116c7
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.0046417f
ret
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x10], edi
je 0x411713
cmp ebx, edi
je 0x411713
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 0x411748
lea eax, [esi - 0x10]
call fcn.004017c3
cmp dword [ebp - 0x10], edi
je 0x411729
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 0x4116e2
lea eax, [esi - 0x10]
call fcn.004017c3
cmp dword [ebp - 0x10], edi
je 0x41175e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x41172b

Function at 0x4136eb
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
test ebx, ebx
jl 0x41378b
cmp ebx, dword [ecx + 0x14]
jge 0x41378b
push esi
test edi, edi
jge 0x41370a
xor esi, esi
jmp 0x41370c
mov esi, edi
mov eax, dword [ecx + 0x10]
dec eax
cmp esi, eax
jge 0x41371c
test edi, edi
jge 0x41371e
xor edi, edi
jmp 0x41371e
mov edi, eax
test edx, edx
jge 0x413726
xor esi, esi
jmp 0x413728
mov esi, edx
cmp esi, eax
jge 0x413734
test edx, edx
jge 0x413736
xor edx, edx
jmp 0x413736
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 0x413771
cmp ecx, 0x20
jne 0x41378b
cmp edi, edx
jg 0x41378b
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 0x41375c
jmp 0x41378b
cmp edi, edx
jg 0x41378b
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 0x413778
pop edi
ret 4
Function at 0x415d86
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x415d91
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x415e43
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 0x415da8
pop ebx
test edi, edi
je 0x415e5c
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46f8d8]
inc ecx
dec edi
jne 0x415e47
pop esi
not eax
pop edi
ret