joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ed26
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0xf0
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push 0x54
mov eax, 0x46b2bb
call fcn.00450ec5
mov ebx, dword [ebp + 0x100]
push 0x479594
push dword [ebp + 0xfc]
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0xd], 1
call fcn.0044da07
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x40eda3
test edi, edi
je 0x40ed9c
lea ecx, [ebp - 0x60]
call fcn.0040f5a3
and dword [ebp - 4], 0
push 0xffffffffffffffff
push edi
xor ebx, ebx
call fcn.00401df6
push ebx
push 1
lea esi, [ebp - 0x60]
call fcn.00401e7e
xor al, al
jmp 0x40eea7
test ebx, ebx
je 0x40edae
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
jmp 0x40edb2
and dword [ebp - 0x1c], 0
xor eax, eax
push 9
mov word [ebp + 0xc8], ax
pop ecx
lea edi, [ebp + 0xca]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x14]
xor edi, edi
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40ee34
cmp dword [esi + 0x18], 8
lea ebx, [esi + 4]
jb 0x40ede1
mov eax, dword [ebx]
jmp 0x40ede3
mov eax, ebx
push 0
push 0
call fcn.0040f26c
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.0044b6ce
add esp, 0xc
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x20], eax
jb 0x40ee05
mov ebx, dword [ebx]
push edi
push eax
mov eax, ebx
call fcn.0040f26c
push dword [ebp - 0x14]
push 1
push edi
push dword [ebp - 0x20]
call fcn.0044e2e2
push dword [ebp - 0x20]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 0xd], al
call fcn.0044c11c
mov ebx, dword [ebp - 0x18]
add esp, 0x1c
push edi
lea eax, [ebp + 0xc8]
push eax
push dword [ebp - 0x24]
lea eax, [ebp]
push str._d_wide_chars_to__s_d_bytes
push eax
call fcn.0044dff5
mov esi, dword [ebp - 0x28]
add esp, 0x14
test esi, esi
je 0x40ee61
lea eax, [ebp]
push eax
push esi
call fcn.00403f75
cmp byte [ebp - 0xd], 0
jne 0x40ee92
test esi, esi
je 0x40ee92
lea ecx, [ebp - 0x44]
call fcn.0040f5a3
push 0xffffffffffffffff
push esi
xor ebx, ebx
mov dword [ebp - 4], 1
call fcn.00401df6
push ebx
push 1
lea esi, [ebp - 0x44]
call fcn.00401e7e
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0044e104
pop ecx
test ebx, ebx
je 0x40eea4
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf0]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0xf4
leave
ret
Function at 0x412e4c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
jne 0x412e64
push 3
pop eax
jmp 0x412efd
push dword [ebp + 8]
xor edi, edi
inc edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x80
push edi
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x412ef2
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jl 0x412ede
mov esi, dword [ebp + 0xc]
jg 0x412e9f
cmp esi, ebx
jbe 0x412ede
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x412ee0
cmp eax, esi
jne 0x412ee0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jne 0x412ee0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
inc edi
jmp 0x412ee0
xor edi, edi
cmp dword [ebp - 8], ebx
je 0x412eee
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x412efb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x412f02
Capabilities:
Terminate thread

Disassembly:
push edi
xor edi, edi
inc edi
test esi, esi
je 0x412f2b
cmp esi, 0xffffffff
je 0x412f2b
push dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x412f2b
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, edi
pop edi
ret
Function at 0x4164ba
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0xc
mov eax, 0x46bbaa
call fcn.00450ec5
mov ebx, ecx
xor edi, edi
push 0x478d30
lea ecx, [ebp]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
call fcn.00401685
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push edi
mov dword [ebp - 4], edi
push 2
mov dword [ebp - 0x14], edi
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
push dword [ebp - 0x14]
call fcn.0044ce6f
pop ecx
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push 2
push 2
mov dword [ebp - 0x10], esi
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
je 0x416536
push esi
jmp 0x41658e
cmp dword [esi + 0x34], 6
jae 0x41653c
mov esi, dword [esi + 8]
cmp esi, edi
jne 0x41652d
jmp 0x41658b
mov ebx, 0x100
push ebx
lea eax, [ebp + 0x1c]
push edi
push eax
call fcn.00450fd0
movzx eax, byte [esi + 0x31]
push eax
movzx eax, byte [esi + 0x30]
push eax
movzx eax, byte [esi + 0x2f]
push eax
movzx eax, byte [esi + 0x2e]
push eax
movzx eax, byte [esi + 0x2d]
push eax
movzx eax, byte [esi + 0x2c]
push eax
push str._02X_02X_02X_02X_02X_02X
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.0044c7f3
add esp, 0x30
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00401662
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0044cf39
pop ecx
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.004011f6
push edi
push 1
lea ecx, [ebp]
call fcn.0040150f
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0x120
leave
ret

Function at 0x4165cf
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
sub esp, 0x2a0
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x2a0], eax
push 4
mov eax, 0x46bb7a
call fcn.00450ec5
push 0x104
lea eax, [ebp + 0x9c]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.004015d4
push 3
lea eax, [ebp + 0x9c]
push eax
lea ecx, [ebp]
call fcn.004015f0
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 0x10
mov ecx, dword [ebp + 4]
mov dword [ebp - 0x10], ebx
jae 0x41663d
lea ecx, [ebp + 4]
mov eax, 0x80
push eax
lea edx, [ebp + 0x1a0]
push edx
push ebx
push ebx
lea edx, [ebp - 0x10]
push edx
push eax
lea eax, [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x7f
lea eax, [ebp + 0x221]
push ebx
push eax
mov byte [ebp + 0x220], bl
call fcn.00450fd0
push dword [ebp - 0x10]
lea eax, [ebp + 0x220]
push str._08X
push eax
call fcn.0044c776
add esp, 0x18
lea eax, [ebp + 0x220]
push eax
mov ecx, esi
call fcn.00401685
push ebx
push 1
lea ecx, [ebp]
call fcn.0040150f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a0]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0x2a4
leave
ret
Function at 0x416c81
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x46b1ae
call fcn.00450f2e
xor ebx, ebx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
mov esi, edi
mov dword [ebp - 4], 1
call fcn.00401bbc
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x21c], 1
call fcn.00450fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x2e
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x416d29
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.00403f75
mov esi, 0x478d68
push esi
push edi
call fcn.00403f08
cmp dword [ebp + 0x1c], ebx
je 0x416d17
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x416d14
lea eax, [ebp + 0xc]
push eax
jmp 0x416d1c
push 0x4794b8
push edi
call fcn.00403f08
push esi
push edi
call fcn.00403f08
cmp dword [edi + 0x18], 8
jb 0x416d34
mov eax, dword [edi + 4]
jmp 0x416d37
lea eax, [edi + 4]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
push 1
lea esi, [ebp + 8]
call fcn.00401e7e
mov eax, edi
call fcn.00450fb1
ret

Function at 0x416dfb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xe4
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0xe4], eax
push 0x34
mov eax, 0x46b48d
call fcn.00450ec5
mov eax, dword [ebp + 0xf0]
mov dword [ebp - 0x14], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x10], edi
push 0xc6
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push edi
push eax
call fcn.00450fd0
add esp, 0xc
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x24], edi
xor esi, esi
call fcn.00416dc2
test eax, eax
je 0x416e5f
mov esi, 0x200
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
or esi, 0x20019
push esi
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x416eb0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push str.Version
push dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp]
call fcn.004070e1
mov dword [ebp - 4], edi
cmp dword [ebp + 0x14], edi
jne 0x416ed9
push 0x479a58
lea esi, [ebp - 0x40]
call fcn.004070e1
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], ebx
jmp 0x416edc
lea eax, [ebp]
mov esi, dword [ebp - 0x14]
push eax
call fcn.00401bcf
or dword [ebp - 0x10], 2
test byte [ebp - 0x10], bl
je 0x416ef8
push edi
push ebx
lea esi, [ebp - 0x40]
call fcn.00401e7e
push edi
push ebx
lea esi, [ebp]
call fcn.00401e7e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xe4]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0xe8
leave
ret
Function at 0x417455
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x94], eax
push edi
push 0x114
xor edi, edi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00450fd0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4174a1
cmp dword [ebp - 0x7c], 6
jb 0x4174a1
inc edi
mov ecx, dword [ebp + 0x94]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0044bafb
add ebp, 0x98
leave
ret

Function at 0x417b3c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, eax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x417b5a
xor eax, eax
jmp 0x417bc8
cmp dword [ebp - 0x14], 0x10000
je 0x417b56
push edi
mov edi, dword [ebp - 0x20]
push 0x104
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x417bc5
mov eax, dword [edi + 0x3c]
sub esi, dword [ebp - 0x20]
and dword [ebp - 4], 0
add eax, edi
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx eax, word [eax + 6]
xor edx, edx
mov dword [ebp - 8], eax
cmp dx, ax
jae 0x417bc5
mov edx, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
cmp edx, edi
ja 0x417bab
mov edx, edi
cmp esi, eax
jb 0x417bb5
add edx, eax
cmp esi, edx
jbe 0x417bcb
inc dword [ebp - 4]
mov ax, word [ebp - 4]
add ecx, 0x28
cmp ax, word [ebp - 8]
jb 0x417b9c
xor eax, eax
pop edi
pop esi
leave
ret
sub esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov byte [ebx + 8], 0
inc eax
jmp 0x417bc7
Function at 0x418b7f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
and dword [esp + 4], 0
and dword [esp], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x5c8]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x5b4]
push esi
push edi
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x5c8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x5b4]
lea edi, [esp + 0x18]
lea esi, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.0041c9b2
test al, al
je 0x418d91
mov esi, edi
call fcn.0041c958
mov eax, dword [eax + 0x1b4]
cmp eax, dword [ebp + 0xc]
jne 0x418d83
inc dword [esp + 0x10]
call fcn.0041c958
cmp dword [eax + 0xe0], 3
jne 0x418d6d
call fcn.0041c958
cmp dword [eax + 0x1a8], 0
jne 0x418d6d
push 0
call fcn.0044c094
pop ecx
mov edi, eax
mov ebx, edx
call fcn.0041c958
mov dword [eax + 0x198], edi
mov dword [eax + 0x19c], ebx
call fcn.0041c958
mov dword [eax + 0x1a8], 1
call fcn.0041c958
add eax, 0x15c
cmp dword [eax + 0x18], 8
jb 0x418c55
mov ebx, dword [eax + 4]
jmp 0x418c58
lea ebx, [eax + 4]
lea esi, [esp + 0x18]
call fcn.0041c958
add eax, 0x124
cmp dword [eax + 0x18], 8
jb 0x418c71
mov edi, dword [eax + 4]
jmp 0x418c74
lea edi, [eax + 4]
lea esi, [esp + 0x18]
call fcn.0041c958
push ebx
mov ecx, edi
mov esi, eax
call fcn.00404711
push 0
mov dword [esi + 0x1ac], eax
call fcn.0044c094
pop ecx
pop ecx
lea esi, [esp + 0x18]
mov edi, eax
mov ebx, edx
call fcn.0041c958
mov dword [eax + 0x1a0], edi
mov dword [eax + 0x1a4], ebx
call fcn.0041c958
mov eax, dword [eax + 0x1ac]
mov dword [esp + 0x14], eax
call fcn.0041c958
cmp dword [eax + 0x1ac], 0
jne 0x418cdd
call fcn.0041c958
mov dword [eax + 0x1a8], 3
jmp 0x418d48
call fcn.0041c958
cmp dword [eax], 0x2694
jne 0x418d12
lea esi, [esp + 0x18]
call fcn.0041c958
cmp dword [eax + 0xe8], 1
jle 0x418d12
call fcn.0041c958
and dword [esp + 0x14], 0
mov dword [eax + 0x1a8], 3
jmp 0x418d25
lea esi, [esp + 0x18]
call fcn.0041c958
mov dword [eax + 0x1a8], 2
lea esi, [esp + 0x18]
call fcn.0041c958
add eax, 0x124
cmp dword [eax + 0x18], 8
jb 0x418d3e
mov eax, dword [eax + 4]
jmp 0x418d41
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp + 8]
push dword [esp + 0x14]
add ebx, 0x5d4
mov eax, dword [ebx]
mov edi, dword [eax]
lea esi, [esp + 0x1c]
add edi, 8
call fcn.0041c958
mov ecx, dword [ebx]
push eax
call dword [edi]
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x18]
call fcn.0041c958
cmp dword [eax + 0x1a8], 3
jne 0x418d83
inc dword [esp + 0xc]
lea esi, [esp + 0x18]
call fcn.0041c983
jmp 0x418bad
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp dword [esp + 0x10], ecx
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41afd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebx + 0x250]
cmp dword [eax + 0x18], 8
push esi
push edi
jb 0x41afe9
mov eax, dword [eax + 4]
jmp 0x41afec
add eax, 4
push eax
call fcn.0044c0fb
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x5c8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x5b4]
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x5c8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x5b4]
lea edi, [ebp - 0xc]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.0041c9b2
test al, al
je 0x41b0ca
mov esi, edi
call fcn.0041c958
mov ecx, dword [ebp - 4]
cmp dword [eax], ecx
je 0x41b044
call fcn.0041c983
jmp 0x41b00a
call fcn.0041c958
add eax, 0x140
cmp dword [eax + 0x18], 8
jb 0x41b059
mov edi, dword [eax + 4]
jmp 0x41b05c
lea edi, [eax + 4]
lea esi, [ebp - 0xc]
call fcn.0041c958
add eax, 0x178
cmp dword [eax + 0x18], 8
jb 0x41b074
mov eax, dword [eax + 4]
jmp 0x41b077
add eax, 4
push 1
push edi
xor esi, esi
push esi
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
mov edi, eax
call fcn.0044c094
pop ecx
push edx
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 4], esp
push str.prodstarttime
call fcn.004070e1
call fcn.00413e1d
push edi
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 4], esp
push str.prodstartcode
call fcn.004070e1
call fcn.00413d35
xor eax, eax
cmp edi, 0x20
setg al
jmp 0x41b0cc
xor al, al
pop edi
pop esi
leave
ret
Function at 0x41b42c
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x46c036
call fcn.00450f2e
mov ebx, ecx
lea eax, [ebx + 0x250]
cmp dword [eax + 0x18], 8
jb 0x41b44b
mov eax, dword [eax + 4]
jmp 0x41b44e
add eax, 4
push eax
call fcn.0044c0fb
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x5c8]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x5b4]
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x5c8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x5b4]
lea edi, [ebp - 0x34]
lea esi, [ebp - 0x40]
mov dword [ebp - 0x40], eax
call fcn.0041c9b2
test al, al
je 0x41b565
mov esi, edi
call fcn.0041c958
mov ecx, dword [ebp - 0x38]
cmp dword [eax], ecx
je 0x41b4a6
call fcn.0041c983
jmp 0x41b46c
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x38], esp
push str.retry
call fcn.004070e1
sub esp, 0x1c
xor edi, edi
mov dword [ebp - 4], edi
mov esi, esp
mov dword [ebp - 0x3c], esp
push str.cbs_down
call fcn.004070e1
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0041c958
sub esp, 0x1c
add eax, 4
mov esi, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.00401bcf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00418202
add esp, 0x54
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41b50e
lea eax, [ebp - 0x28]
push 1
push edi
push edi
push eax
push 0x47a998
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x30], esp
push 0x479c8c
mov ebx, eax
call fcn.004070e1
sub esp, 0x1c
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x3c], esp
push str.browserdown
call fcn.004070e1
mov byte [ebp - 4], 2
call fcn.00413cd2
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.00401e7e
cmp ebx, 0x20
setge al
jmp 0x41b567
mov al, 1
call fcn.00450fb1
ret

Function at 0x41d38a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
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
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, 1
jne 0x41d3fc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
dec eax
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.0044bafb
leave
ret
Function at 0x41dcea
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xc08
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0xc08], eax
push 0x2c
mov eax, 0x46b99a
call fcn.00450ec5
mov edi, ecx
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x24]
push str.Software_
xor esi, esi
push eax
lea ecx, [ebp + 0xc18]
mov dword [ebp - 4], esi
call fcn.0040b28f
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push 9
push esi
push dword [ebp - 0x24]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call edi
test eax, eax
je 0x41dd83
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004026f8
mov eax, dword [ebp + 0xc18]
add eax, 0xfffffff0
call fcn.004026f8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc08]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0xc0c
leave
ret
xor eax, eax
push 0x206
mov word [ebp + 0xa00], ax
lea eax, [ebp + 0xa02]
push esi
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], esi
call fcn.00450fd0
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xa00]
push eax
push esi
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41ded9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xa00]
push eax
push dword [ebp - 0x24]
lea eax, [ebp]
push str._ls_ls
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
push 9
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x38]
call edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x47ac50
push dword [ebp - 0x30]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
call ebx
test eax, eax
jne 0x41de44
cmp dword [ebp - 0x10], 4
jne 0x41de44
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0xc14]
jne 0x41de44
mov dword [ebp - 0x2c], 1
xor eax, eax
push 0x1fc
mov word [ebp + 0x800], ax
lea eax, [ebp + 0x802]
push esi
push eax
call fcn.00450fd0
add esp, 0xc
mov dword [ebp - 0x18], 0x1fe
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x2c], esi
je 0x41de9e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x800]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.InstallInfo
push dword [ebp - 0x30]
call ebx
test eax, eax
jne 0x41de9e
inc eax
cmp dword [ebp - 0x10], eax
jne 0x41de9e
cmp word [ebp + 0x800], si
jne 0x41ded6
push esi
push esi
xor eax, eax
inc dword [ebp - 0x14]
push esi
push esi
mov word [ebp + 0xa00], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xa00]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0x104
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41ddd5
jmp 0x41ded9
mov dword [ebp - 0x34], eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x34]
jmp 0x41dd45
Function at 0x41df36
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x1e0], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
xor esi, esi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x26]
push esi
push eax
xor ebx, ebx
call fcn.00450fd0
mov eax, dword [ebp + 0x1ec]
lea ecx, [ebp - 0x28]
add esp, 0xc
sub ecx, eax
movzx edx, word [eax]
mov word [ecx + eax], dx
inc eax
inc eax
cmp dx, si
jne 0x41df7b
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00450fd0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
mov dword [ebp - 0x80], edi
push 0x8000000
xor edi, edi
inc edi
push edi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
mov dword [ebp - 0x54], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41e029
push 0x4e20
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41dff3
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41e00f
cmp dword [ebp - 0x2c], esi
jne 0x41e00f
mov ebx, edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], esi
je 0x41e01f
push dword [ebp - 0x38]
call edi
cmp dword [ebp - 0x3c], esi
je 0x41e029
push dword [ebp - 0x3c]
call edi
mov eax, dword [ebp + 0x1ec]
add eax, 0xfffffff0
call fcn.004026f8
mov ecx, dword [ebp + 0x1e0]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0044bafb
add ebp, 0x1e4
leave
ret