joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406c80
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425af0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x433074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov al, byte [ebp + 0x14]
mov byte [edi + 0xc], al
mov al, byte [ebp + 0x18]
mov byte [edi + 0xd], al
mov al, byte [ebp + 0x1c]
mov byte [edi + 0xe], al
mov eax, dword [ebp + 0x20]
mov dword [ebp - 4], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x20], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
mov byte [ebp - 4], 1
mov ecx, edi
mov byte [edi + 0x2c], 0
mov edx, 0x433cb8
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x406df6
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x406e00
mov dword [edi + 0x24], eax
lea eax, [edi + 0x20]
push eax
push 4
push edi
push 0x407160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x1c], 0
je 0x406e0b
mov eax, dword [edi + 0x1c]
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [ebp + 0x14]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x406de0
mov ebx, dword [ebp + 0x24]
cmp esi, ebx
je 0x406db4
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406daa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, ebx
jne 0x406d90
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x28]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x406dd6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e16
push ecx
push esi
call fcn.00414a89
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 0x80004005
call fcn.00402060
call fcn.00406e90
push eax
call fcn.00402060
call fcn.00406e90
push eax
call fcn.00402060
call fcn.0041821e
int3
Function at 0x408460
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425ca5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x433074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
push 0x3f2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [ebp - 4], 0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x40863c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x408632
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4084f4
push ebx
lea ecx, [ebp - 0x18]
call fcn.00405ea0
mov esi, dword [ebp - 0x18]
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x408516
test esi, esi
jne 0x40850a
xor eax, eax
jmp 0x40851e
push dword [esi - 8]
push esi
call fcn.00418486
add esp, 8
test eax, eax
js 0x408632
cmp eax, dword [esi - 8]
lea edi, [esi - 0x10]
jg 0x408632
xor ecx, ecx
mov dword [edi + 4], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402cb0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.004079a0
add esp, 4
xor esi, esi
push esi
push pe_nt_image_headers32
push 2
push esi
push 1
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x40857a
call fcn.00406e90
test eax, eax
jns 0x40857c
jmp 0x4085c6
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 2
push 0x4279a4
push esi
call ebx
test eax, eax
jne 0x40859f
call fcn.00406e90
test eax, eax
js 0x4085bb
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 0
push edx
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push esi
call ebx
test eax, eax
jne 0x4085bb
call fcn.00406e90
test esi, esi
je 0x4085c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4085e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4085fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x40861e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.00402060
push 0x80004005
call fcn.00402060
int3
Function at 0x409e50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425e80
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x433074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
or ebx, 0x2001f
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea edx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push edx
push ebx
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x21c]
test esi, esi
jne 0x409fde
xor esi, esi
test eax, eax
je 0x409ef4
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x224]
and ebx, 0x300
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
test esi, esi
jne 0x409fde
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call ebx
test eax, eax
jne 0x409f97
jmp 0x409f50
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00409e50
mov esi, eax
test esi, esi
jne 0x409fd8
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x409f50
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x409fae
push eax
call edi
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.00409540
mov ecx, dword [ebp - 0x21c]
mov esi, eax
test ecx, ecx
je 0x409fe5
push ecx
jmp 0x409fe3
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x409fe5
push eax
call edi
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 - 0x10]
xor ecx, ebp
call fcn.00414c7c
mov esp, ebp
pop ebp
ret 4
Function at 0x40a1b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x433074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x40a25c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x40a25c
call fcn.00406e90
mov edi, eax
jmp 0x40a37b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40a27f
call fcn.00406e90
jmp 0x40a36e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40a29d
call fcn.00406e90
jmp 0x40a36e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40a2be
mov edi, 0x8007000e
jmp 0x40a370
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x40a3b4
jb 0x40a2dc
cmp eax, 0xffffffff
ja 0x40a3b4
cmp eax, 0x400
jbe 0x40a2f1
push eax
lea ecx, [ebp - 0x418]
call fcn.004093b0
jmp 0x40a317
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40a317
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40a32e
mov edi, 0x8007000e
jmp 0x40a370
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40a34e
call fcn.00406e90
jmp 0x40a36e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040a010
mov edi, eax
test esi, esi
je 0x40a37b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40a394
lea ecx, [ebp - 0x418]
call fcn.00409710
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 - 0x14]
xor ecx, ebp
call fcn.00414c7c
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00402060
int3
Function at 0x40e320
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x40e39d
mov esi, dword [ebp + 8]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x40e357
push edi
mov ecx, esi
call fcn.00405ea0
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x40e37e
mov ecx, dword [esi]
test ecx, ecx
je 0x40e382
push dword [ecx - 8]
push ecx
call fcn.00418486
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x40e39d
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x40e39d
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00402060
int3
Function at 0x40fd60
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
test ebx, ebx
je 0x40fe14
cmp ebx, 0x103
ja 0x40fe14
mov edi, dword [ebp + 8]
lea esi, [esi + ebx*2]
test edi, edi
je 0x40fd9f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add ebx, eax
add ebx, 4
cmp ebx, 0x103
ja 0x40fe14
test edi, edi
je 0x40fdcf
movzx eax, word [edi]
test ax, ax
je 0x40fdcf
sub edi, esi
jmp 0x40fdc0
mov word [esi], ax
add esi, 2
movzx eax, word [edi + esi]
test ax, ax
jne 0x40fdc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx edi, ax
mov eax, edi
mov dword [ebp - 4], eax
lea ecx, [ecx]
movzx eax, di
push eax
push str._04X
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40fe1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x40fe14
inc edi
cmp di, word [ebp - 4]
jne 0x40fde0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x433074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x468], eax
jne 0x410b20
mov eax, 0x22
mov word [ebp - 0x460], ax
lea eax, [ebp - 0x45e]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.___S__UPDATE
lea eax, [ebp - 0x460]
push eax
call esi
jmp 0x410b32
push str._S__UPDATE
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0x18], 0
je 0x410b46
push str.__HIDEWND0
lea eax, [ebp - 0x460]
push eax
call esi
lea eax, [ebp - 0x464]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallTextify
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410b76
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x410b93
push str.__PORTABLE__D
lea eax, [ebp - 0x460]
push eax
call esi
push dword [ebp - 0x468]
lea eax, [ebp - 0x460]
push eax
call esi
cmp dword [ebp + 0x14], 0
je 0x410bd0
push 1
push 0
lea eax, [ebp - 0x460]
push eax
push edi
push str.runas
push dword [ebp - 0x46c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
pop edi
setg cl
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414c7c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x4c0]
mov dword [ebp - 0x4ac], 0
push eax
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4a8], 0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x460]
mov dword [ebp - 0x4a4], 0
push eax
push edi
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x4b0], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410cb6
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414c7c
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x4bc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c0]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00414c7c
mov esp, ebp
pop ebp
ret
Function at 0x412110
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426576
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x433074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x4121a4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00412350
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402060
int3
Function at 0x413a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426800
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x433074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], edi
push eax
push 0x101
push edi
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413b38
mov edi, dword [ebp - 0x94]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x98], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
push str.ProgId
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413b38
mov eax, dword [ebp - 0x9c]
cmp eax, 1
je 0x413b1d
cmp eax, 2
jne 0x413b38
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x413b62
test al, 1
jne 0x413b38
shr eax, 1
cmp word [ebp + eax*2 - 0x92], 0
je 0x413b6b
xor esi, esi
test edi, edi
je 0x413b45
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414c7c
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x90]
push str.ChromeHTML
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413caf
lea eax, [ebp - 0x90]
push str.ChromeBHTML
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413caf
lea eax, [ebp - 0x90]
push str.ChromeDHTML
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413caf
lea eax, [ebp - 0x90]
push str.MSEdgeHTM
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413ca5
lea eax, [ebp - 0x90]
push str.MSEdgeBHTML
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413ca5
lea eax, [ebp - 0x90]
push str.MSEdgeDHTML
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413ca5
lea eax, [ebp - 0x90]
push str.BraveHTML
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413c9b
lea eax, [ebp - 0x90]
push str.BraveBHTML
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413c9b
lea eax, [ebp - 0x90]
push str.BraveDHTML
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413c9b
lea eax, [ebp - 0x90]
push str.FirefoxURL
push eax
call fcn.00419dfa
add esp, 8
test eax, eax
je 0x413c91
push 0xb
lea eax, [ebp - 0x90]
push str.FirefoxURL_
push eax
call fcn.0041a967
add esp, 0xc
test eax, eax
jne 0x413b38
mov esi, 4
jmp 0x413b3a
mov esi, 3
jmp 0x413b3a
mov esi, 2
jmp 0x413b3a
mov esi, 1
jmp 0x413b3a
Function at 0x41f797
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
pop eax
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0041f535
cmp byte [ebp + 0x458d18b4], al
test al, 0x50
call fcn.0041f545
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0041f4fa
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x41f823
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0041f535
aaa
cli
wait
dec ebp
lea eax, [ebp - 0x40]
push eax
call fcn.0041f545
push eax
push esi
push dword [ebp + 8]
call fcn.0041f4fa
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0041f535
stosd dword es:[edi], eax
outsb dx, byte [esi]
jae 0x41f82a
inc ebp
call 0x512a562b
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
fcmovb st(0), st(6)
inc ebp
neg dl

Function at 0x41f8d4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.0041f545
push eax
push esi
push dword [ebp + 8]
call fcn.0041f4fa
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041f545
push eax
push esi
push dword [ebp + 8]
call fcn.0041f4fa
mov dword [ebp - 0xbc], eax