joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea edx, [ebx - 2]
xor eax, eax
push edi
mov dword [ebp - 4], ecx
test edx, edx
jle 0x412c0a
dec edx
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
add esi, 4
inc edx
lea eax, [edx + edx*2]
mov edi, edi
movzx edi, word [esi - 4]
shr edi, 2
and edi, 0x3f
movzx edi, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx], di
movzx edi, word [esi - 2]
movzx ebx, word [esi - 4]
shr edi, 4
and edi, 0xf
and ebx, 3
shl ebx, 4
or edi, ebx
movzx edi, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx + 2], di
movzx edi, word [esi - 2]
movzx ebx, word [esi]
and edi, 0xf
add edi, edi
add edi, edi
shr ebx, 6
and ebx, 3
or edi, ebx
movzx edi, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx + 4], di
movzx edi, word [esi]
and edi, 0x3f
movzx edi, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx + 6], di
add ecx, 8
add esi, 6
dec edx
jne 0x412b90
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub ebx, eax
test bl, 2
je 0x412c7a
movzx edx, word [esi + eax*2]
shr edx, 2
and edx, 0x3f
mov dx, word [edx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx], dx
movzx edi, word [esi + eax*2 + 2]
lea edx, [esi + eax*2 + 2]
movzx eax, word [esi + eax*2]
and eax, 3
shr edi, 4
shl eax, 4
and edi, 0xf
or edi, eax
movzx eax, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx + 2], ax
movzx edx, word [edx]
and edx, 0xf
movzx eax, word [edx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx + 4], ax
mov edx, 0x3d
mov word [ecx + 6], dx
add ecx, 8
pop edi
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
test bl, 1
je 0x412cb3
movzx edx, word [esi + eax*2]
shr edx, 2
and edx, 0x3f
movzx edx, word [edx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx], dx
movzx eax, word [esi + eax*2]
and eax, 3
shl eax, 5
movzx edx, word [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx + 2], dx
mov dword [ecx + 4], 0x3d003d
add ecx, 8
pop edi
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415b20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494a38
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x4ba110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x54], 0
jne 0x415c13
mov eax, dword [ebp + 8]
push 0x40
push eax
push ecx
call fcn.004629b7
add esp, 0xc
test eax, eax
je 0x415c13
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea edx, [esi + 0x18]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov byte [esi + 0x50], 1
mov byte [esi + 0x4a], 0
lea edx, [esi + 0x28]
mov dword [esi + 0x30], edx
lea ecx, [esi + 0xc]
mov dword [esi + 0x14], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [ecx], 0
mov ecx, dword [esi + 0x24]
mov dword [ecx], 0
mov edx, dword [esi + 0x34]
mov dword [edx], 0
mov ecx, dword [esi + 0x10]
mov dword [ecx], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [esi + 0x54], eax
mov edx, dword [0x4bd64c]
lea edi, [ebp + 8]
mov eax, esi
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], 0
call fcn.00416420
push eax
mov dword [ebp - 4], 0
call fcn.00417380
add esp, 4
push eax
mov ecx, esi
call fcn.00415e10
mov ecx, edi
call fcn.0040ead0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x415cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494798
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ba110]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x415dec
cmp byte [edi + 0x4a], bl
je 0x415dec
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x415de0
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x415d40
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x415d58
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x415d81
dec eax
je 0x415d85
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x415ddb
jmp 0x415de7
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x415d95
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x415dbe
cmp ebx, 0x10
jae 0x415da4
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00477d6e
add esp, 0x10
cmp esi, eax
jne 0x415dd8
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x415de4
test esi, esi
jne 0x415d4c
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00414f90
jmp 0x415d46
lea ecx, [ebp - 0x2c]
call fcn.00412f60
xor al, al
jmp 0x415dee
lea ecx, [ebp - 0x2c]
call fcn.00412f60
mov al, 1
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.0047421a
mov esp, ebp
pop ebp
ret
Function at 0x416330
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4945fb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ba110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004628a8
push 4
mov dword [ebp - 4], 0
call fcn.004740ea
mov edi, eax
add esp, 4
test edi, edi
je 0x4163b0
call fcn.0045f2dd
mov dword [edi], eax
call fcn.0045f197
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00462869
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4163a6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00462891
jmp 0x4163b2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x417870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494948
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4ba110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esi], vtable.wiutil::CWIAutoThread.0
mov byte [esi + 8], bl
call fcn.00473f63
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
mov dword [esi + 0x10], vtable.misc::BI_ERROR.0
push ebx
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], ebx
xor eax, eax
push ebx
mov word [esi + 0x1c], ax
push ebx
mov dword [esi + 0x38], ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 4], eax
call edi
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x3c]
mov dword [esi], vtable.CDownloader.0
call fcn.00473f63
mov dword [esi + 0x3c], vtable.InetErr.0
mov byte [esi + 0x4c], bl
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x70], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c160
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4970d6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4ba110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.PlayFreeBrowserInstaller
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41c25b
mov eax, dword [0x4bb674]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push str.WARRINGN:_the_installation_of_the_browser_are_already_run._So_this_instance_of_installer_should_skip_installation_
push ecx
mov dword [ebp - 4], 0
call fcn.004011c0
add esp, 8
push 0x130
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CBrowserInstallerImp::IsAlreadyInstalling
call fcn.00401ef0
mov byte [ebp - 4], 1
mov ecx, dword [0x4bd588]
test ecx, ecx
jne 0x41c216
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x41c208
mov ebx, eax
call fcn.00401c10
jmp 0x41c20a
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x4bd588], ecx
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], 0
call fcn.00401d00
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41c248
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c248
push esi
call fcn.00473f58
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4bb674]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
push 0x4a9554
push eax
mov dword [ebp - 4], 3
call fcn.004011c0
add esp, 8
push 0x133
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CBrowserInstallerImp::IsAlreadyInstalling
call fcn.00401ef0
mov byte [ebp - 4], 4
mov ecx, dword [0x4bd588]
test ecx, ecx
jne 0x41c2cb
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x41c2bd
mov ebx, eax
call fcn.00401c10
jmp 0x41c2bf
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 4
mov dword [0x4bd588], ecx
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], 3
call fcn.00401d00
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41c2fd
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c2fd
push esi
call fcn.00473f58
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cc10
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x4ba110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4bb674]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push str.m_runOnStartup__FALSE_._do_not_add_to_autostart
xor ebx, ebx
push ecx
mov dword [ebp - 4], ebx
call fcn.004011c0
add esp, 8
push 0x177
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CBrowserInstallerImp::DeleteOnStartUpRun
call fcn.00401ef0
mov byte [ebp - 4], 1
mov ecx, dword [0x4bd588]
cmp ecx, ebx
jne 0x41cca6
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41cc98
mov ebx, eax
call fcn.00401c10
xor ebx, ebx
jmp 0x41cc9a
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x4bd588], ecx
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], bl
call fcn.00401d00
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41ccd7
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41ccd7
push esi
call fcn.00473f58
add esp, 4
push 0x20006
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0040e500
mov esi, dword [ebp - 0x24]
test eax, eax
jne 0x41cd0a
push str.BrowserUid
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, ebx
je 0x41cd15
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41da50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4ba110]
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, dword [ebp + 8]
lea esi, [ebp - 0x70]
mov dword [ebp - 0x84], eax
call fcn.004285d0
xor edi, edi
mov dword [ebp - 4], edi
push 0x24
mov dword [ebp - 0x78], edi
call fcn.004740ea
mov esi, eax
add esp, 4
cmp esi, edi
je 0x41dc20
mov dword [esi], esi
mov dword [ebp - 0x7c], esi
mov dword [esi + 4], esi
xor ecx, ecx
mov ebx, 1
mov byte [ebp - 4], bl
push 0x16
mov word [ebp - 0x2c], cx
push str.__do_not_launch_chrome
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.0040b930
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
push edx
push eax
push esi
lea ecx, [ebp - 0x7c]
call fcn.004166e0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x78], ebx
jb 0x41db0f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00473515
add esp, 4
push 0x1b
xor edx, edx
push str.__notify_run_from_installer
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.0040b930
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [ebp - 0x7c]
call fcn.004166e0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov esi, 8
mov dword [ecx], eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x78], 2
cmp dword [ebp - 0x18], esi
jb 0x41db6b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
mov eax, dword [ebp - 0x84]
push str.setup.exe
add eax, 0x10c
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040cb20
add esp, 0xc
push eax
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00428a00
cmp dword [ebp - 0x18], esi
jb 0x41dbaa
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00473515
add esp, 4
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [ebp - 0x80]
push edx
push edi
lea eax, [ebp - 0x70]
push eax
push 0x422c50
push edi
push edi
call fcn.00478f26
add esp, 0x18
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x41dbdf
mov ecx, dword [ebp - 0x64]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x7c]
call fcn.00416680
mov edx, dword [ebp - 0x7c]
push edx
call fcn.00473515
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.004286e0
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.0047421a
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], edi
call fcn.00473ffc
push 0x4b1784
lea ecx, [ebp - 0x90]
push ecx
mov dword [ebp - 0x90], vtable.std::bad_alloc.0
call fcn.0047416a
int3
Function at 0x41e070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4ba110]
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, dword [ebp + 8]
lea esi, [ebp - 0x70]
mov dword [ebp - 0x84], eax
call fcn.00428670
xor edi, edi
mov dword [ebp - 4], edi
push 0x24
mov dword [ebp - 0x78], edi
call fcn.004740ea
mov esi, eax
add esp, 4
cmp esi, edi
je 0x41e240
mov dword [esi], esi
mov dword [ebp - 0x7c], esi
mov dword [esi + 4], esi
xor ecx, ecx
mov ebx, 1
mov byte [ebp - 4], bl
push 7
mov word [ebp - 0x2c], cx
push str._silent
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.0040b930
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
push edx
push eax
push esi
lea ecx, [ebp - 0x7c]
call fcn.004166e0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x78], ebx
jb 0x41e12f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00473515
add esp, 4
push 8
xor edx, edx
push str._install
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.0040b930
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [ebp - 0x7c]
call fcn.004166e0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov esi, 8
mov dword [ecx], eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x78], 2
cmp dword [ebp - 0x18], esi
jb 0x41e18b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
mov eax, dword [ebp - 0x84]
push str.MPCBrowserUpdater.exe
add eax, 0x10c
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040cb20
add esp, 0xc
push eax
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00428a00
cmp dword [ebp - 0x18], esi
jb 0x41e1ca
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00473515
add esp, 4
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [ebp - 0x80]
push edx
push edi
lea eax, [ebp - 0x70]
push eax
push 0x422c50
push edi
push edi
call fcn.00478f26
add esp, 0x18
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x41e1ff
mov ecx, dword [ebp - 0x64]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x7c]
call fcn.00416680
mov edx, dword [ebp - 0x7c]
push edx
call fcn.00473515
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.004286e0
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.0047421a
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], edi
call fcn.00473ffc
push 0x4b1784
lea ecx, [ebp - 0x90]
push ecx
mov dword [ebp - 0x90], vtable.std::bad_alloc.0
call fcn.0047416a
int3
Function at 0x422d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0x422c50
push 0
push 0
call fcn.00478f26
mov dword [esi + 0x38], eax
add esp, 0x18
neg eax
sbb eax, eax
neg eax
dec eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x422d80
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
push eax
call edi
mov ecx, dword [esi + 0xc]
push ecx
call edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x422dce
mov edx, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x422dbd
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], 0
pop edi
pop esi
pop ebp
ret 8
Function at 0x4237e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496998
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4ba110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov edi, edx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], ecx
je 0x4238f2
mov edx, dword [esi + 0x18]
push edx
push eax
call fcn.00440ed0
mov eax, dword [esi + 0x18]
push eax
call fcn.0043fa90
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea ecx, [ebp - 0x410]
push 0x4ab3c8
push ecx
call fcn.00478fc6
add esp, 0xc
push 0x4ab3c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [0x4bb674]
mov dword [ebp - 0x414], edx
push edi
lea eax, [ebp - 0x414]
push str._REINIT___i_n
push eax
mov dword [ebp - 4], 0
call fcn.004011c0
add esp, 0xc
push 0x6d
push ecx
mov ecx, esp
mov dword [ebp - 0x41c], esp
push str.init
call fcn.00401ef0
mov byte [ebp - 4], 1
mov ecx, dword [0x4bd588]
test ecx, ecx
jne 0x4238e9
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0x420], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4238db
mov ebx, eax
call fcn.00401c10
jmp 0x4238dd
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x4bd588], ecx
mov byte [ebp - 4], 0
jmp 0x42399b
push 0x4b000
call fcn.00474716
push edi
lea edx, [ebp - 0x410]
push 0x4ab3fc
push edx
mov dword [esi], eax
call fcn.00478fc6
add esp, 0x10
push 0x4ab3fc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4bb674]
mov dword [ebp - 0x414], eax
push edi
lea ecx, [ebp - 0x414]
push str._INIT___i_n
push ecx
mov dword [ebp - 4], 3
call fcn.004011c0
add esp, 0xc
push 0x70
push ecx
mov ecx, esp
mov dword [ebp - 0x420], esp
push str.init
call fcn.00401ef0
mov byte [ebp - 4], 4
mov ecx, dword [0x4bd588]
test ecx, ecx
jne 0x423997
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0x41c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x423989
mov ebx, eax
call fcn.00401c10
jmp 0x42398b
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 4
mov dword [0x4bd588], ecx
mov byte [ebp - 4], 3
lea edx, [ebp - 0x414]
push edx
call fcn.00401d00
mov eax, dword [ebp - 0x414]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x4239cf
lea ebx, [eax - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4239cf
push ebx
call fcn.00473f58
add esp, 4
push edi
mov edi, dword [ebp - 0x424]
mov ebx, esi
call fcn.00423710
mov edx, dword [ebp - 0x428]
xor ebx, ebx
add esp, 4
mov edi, eax
mov byte [esi + 8], bl
mov word [esi + 9], 1
mov dword [esi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x418]
push edi
push eax
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x18], edi
call fcn.00440860
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047421a
mov esp, ebp
pop ebp
ret