Function at 0x41e650
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b618
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.EbonBrowser_StartUpdate
call fcn.004084d0
mov eax, dword [0x45e020]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x45e020
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov eax, dword [0x46176c]
add eax, 0xfffffff0
push eax
call fcn.00403470
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
cmp dword [edi - 0xc], 0
jne 0x41e71b
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e6e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [ebp - 0x10]
call fcn.0041ca90
test eax, eax
jne 0x41e788
push str.Temp_path_creating_failed.
push 3
push 3
push 0xd5
push str.CInstallingStrategy::EbonBrowserUpdate
push str.InstallingStrategy.cpp
lea ecx, [ebp - 0x24]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x10
push esi
call fcn.0041f710
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e776
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x41e6ee
mov ebx, dword [ebp - 0x10]
push 0
push ebx
add esi, 0x54
mov eax, edi
call fcn.0041b360
mov esi, eax
test esi, esi
je 0x41e7da
push str.EbonBrowser_DownloadUpdateFailed
call fcn.004084d0
add esp, 4
push esi
push str.Self_update_downloading_error._Download_status:__u.
push 3
push 3
push 0xdf
push str.CInstallingStrategy::EbonBrowserUpdate
push str.InstallingStrategy.cpp
lea ecx, [ebp - 0x24]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x14
jmp 0x41e6c4
push str.EbonBrowser_DownloadUpdateSuccessful
call fcn.004084d0
add esp, 4
push 0x454084
lea ecx, [ebp - 0x14]
call fcn.00402c30
push 0x38
lea ecx, [ebp - 0x5c]
push 0
mov byte [ebp - 4], 2
push ecx
mov dword [ebp - 0x60], 0x3c
call fcn.004317a0
mov edx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], 0x40
mov dword [ebp - 0x4c], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x28]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push str.Ebon_Browser_Update_Finish._Download_path:__s.
push 1
push 3
push 0xf1
push str.CInstallingStrategy::EbonBrowserUpdate
push str.InstallingStrategy.cpp
lea ecx, [ebp - 0x24]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x14
push str.EbonBrowser_UpdateFinish
call fcn.004084d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8c0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e8e3
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret