Function at 0x4038dd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x41b2e4]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push str.win_mediaget.com
lea ecx, [esp + 0xe4]
call fcn.00401be6
push str.luminati_net_updater_win_mediaget_com
lea ecx, [esp + 0x11c]
call fcn.00401be6
push str.lum_ver
lea ecx, [esp + 0x90]
call fcn.00401be6
mov esi, str.SoftwareMedia_Get_LLCMediaGet2_application
push esi
lea ecx, [esp + 0xac]
call fcn.00401be6
lea eax, [esp + 0x8c]
push 7
push eax
lea ecx, [esp + 0xb0]
call fcn.00401843
pop ecx
pop ecx
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.0040284a
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0040284a
push str.lum_id
lea ecx, [esp + 0x90]
call fcn.00401be6
push esi
lea ecx, [esp + 0xac]
call fcn.00401be6
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb0]
call fcn.004018d6
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.0040284a
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0040284a
push str.lum_sn
lea ecx, [esp + 0x90]
call fcn.00401be6
push esi
lea ecx, [esp + 0xac]
call fcn.00401be6
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb0]
call fcn.004018d6
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.0040284a
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0040284a
call dword [sym.imp.lum_sdk32.dll_int___stdcall_lum_sdk_is_supported_void_]
test eax, eax
jne 0x403ac9
push str.lum_choice
lea ecx, [esp + 0x90]
call fcn.00401be6
push esi
lea ecx, [esp + 0xac]
call fcn.00401be6
push 0x63
pop esi
lea eax, [esp + 0x8c]
push esi
push eax
lea ecx, [esp + 0xb0]
call fcn.00401843
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.0040284a
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0040284a
push ebx
push 1
lea ecx, [esp + 0x120]
call fcn.0040284a
push ebx
push 1
lea ecx, [esp + 0xe8]
call fcn.0040284a
mov ecx, dword [esp + 0x134]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00404944
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0xfc]
push edi
push eax
call fcn.00401781
lea eax, [esp + 0x104]
push eax
lea edi, [esp + 0x2c]
call fcn.0040198b
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
add esp, 0xc
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [esp + 0x18], ebx
cmp eax, ebx
jbe 0x403b86
mov dword [esp + 0x10], ebx
cmp ebx, eax
jb 0x403b12
call fcn.00404f49
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
lea edi, [eax + ecx]
mov eax, str.switch_on
mov edx, edi
call fcn.004035f9
test al, al
jne 0x403bcf
mov eax, str.switch_off
mov edx, edi
call fcn.004035f9
test al, al
jne 0x403cd9
mov eax, str.is_switch_on
mov edx, edi
call fcn.004035f9
test al, al
jne 0x403b86
mov eax, str.install
mov edx, edi
call fcn.004035f9
test al, al
jne 0x403d8c
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [esp + 0x18]
add dword [esp + 0x10], 0x1c
cmp dword [esp + 0x18], eax
jb 0x403b12
call dword [sym.imp.lum_sdk32.dll_int___stdcall_lum_sdk_get_choice_void_]
mov esi, eax
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_uninit_void_]
cmp esi, 1
sete al
movzx eax, al
push eax
call fcn.00403838
pop ecx
lea esi, [esp + 0x20]
mov edi, eax
call fcn.00402a13
push dword [esp + 0x20]
call fcn.00404ae2
pop ecx
push ebx
push 1
lea ecx, [esp + 0x104]
call fcn.0040284a
mov esi, edi
jmp 0x403a92
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_clear_choice_void_]
push str.https:__mediaget.com_installer_binaries_mg_icon_400.png
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_set_logo_link_char__]
push str.https:__mediaget.com_license
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_set_tos_link_char__]
push ebx
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_set_peer_txt_enum_peer_txt_t_]
push ebx
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_set_not_peer_txt_enum_not_peer_txt_t_]
push str.MediaGet
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_set_app_name_char__]
push str.MediaGet__Ad_free_
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_set_benefit_txt_char__]
push 1
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_set_dlg_pos_type_enum_dlg_pos_type_t_]
push 0x4037b4
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_set_choice_change_cb_void____stdcall___void__]
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x403c3a
lea eax, [esp + 0xe4]
push eax
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_init_ui_char__]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0xbb8
jmp 0x403c57
dec edi
cmp edi, ebx
jle 0x403c5f
push 0x64
call esi
cmp byte [0x41d474], bl
je 0x403c4e
push 0x64
call esi
call dword [sym.imp.lum_sdk32.dll_int___stdcall_lum_sdk_get_choice_void_]
mov edi, eax
cmp edi, 1
sete al
movzx eax, al
push eax
call fcn.00403838
pop ecx
cmp edi, 1
jne 0x403ccd
lea eax, [esp + 0x18]
lea edi, [esp + 0x118]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00401720
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], 0x14
jmp 0x403cb7
dec dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x403cc2
push 0x1f4
call esi
push edi
call fcn.004037c6
pop ecx
test al, al
je 0x403ca6
cmp edi, ebx
je 0x403ccd
push edi
call fcn.00404c8d
pop ecx
push 0x3e8
call esi
jmp 0x403b86
call dword [sym.imp.lum_sdk32.dll_void___stdcall_lum_sdk_clear_choice_void_]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.lum_sdk32.dll_int___stdcall_lum_sdk_get_choice_void_]
cmp eax, 1
je 0x403d7c
lea eax, [esp + 0x18]
lea edi, [esp + 0x118]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00401720
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [esp + 0x10], 0x14
push 1
push ebx
push ebx
mov byte [esp + 0x23], bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, ebx
je 0x403d6c
push 0x80
push dword [esp + 0x1c]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp eax, ebx
je 0x403d4c
push eax
mov byte [esp + 0x1b], 1
call edi
push esi
call edi
cmp byte [esp + 0x17], bl
je 0x403d6c
dec dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x403d6c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403d1c
cmp dword [esp + 0x18], ebx
je 0x403d7c
push dword [esp + 0x18]
call fcn.00404c8d
pop ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403b86
push str.net_updater32.exe
call fcn.00401ae4
push eax
lea eax, [esp + 0x94]
push eax
call fcn.004033bd
add esp, 0xc
lea edi, [esp + 0x8c]
call fcn.004017ed
push ebx
test al, al
jne 0x403df0
push 1
lea ecx, [esp + 0x94]
call fcn.0040284a
lea esi, [esp + 0x20]
call fcn.00402a13
push dword [esp + 0x20]
call fcn.00404ae2
pop ecx
push ebx
push 1
lea ecx, [esp + 0x104]
call fcn.0040284a
push 0x62
pop esi
jmp 0x403a92
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], 0xf
call fcn.0040282e
push str.MediaGet__Ad_free_
lea ecx, [esp + 0xc8]
call fcn.00402785
push str.____dlg_logo_link__https:__mediaget.com_installer_binaries_mg_icon_400.png____dlg_not_peer_txt_ads___dlg_peer_txt_remove_ads
lea eax, [esp + 0xc8]
push eax
push str.___dlg_app_name_MediaGet___dlg_tos_link__https:__mediaget.com_license____dlg_benefit_txt__
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00403403
pop ecx
pop ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004033bd
add esp, 0xc
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00403372
add esp, 0xc
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.004033bd
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x5c]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0x78]
call fcn.0040284a
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x90]
call fcn.00401a38
pop ecx
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x403ed2
push ebx
push edi
lea ecx, [esp + 0xb0]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0xcc]
call fcn.0040284a
push ebx
push edi
jmp 0x403dba
push 0x36ee80
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push str.lum_choice
cmp dword [esp + 0x14], edi
jne 0x403f8e
lea ecx, [esp + 0x58]
call fcn.00401be6
push esi
lea ecx, [esp + 0x3c]
call fcn.00401be6
lea eax, [esp + 0x54]
push 0x65
push eax
lea ecx, [esp + 0x40]
call fcn.00401843
pop ecx
pop ecx
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0x5c]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0xb0]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0xcc]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0x94]
call fcn.0040284a
lea esi, [esp + 0x20]
call fcn.00402a13
push dword [esp + 0x20]
call fcn.00404ae2
pop ecx
push ebx
push 1
lea ecx, [esp + 0x104]
call fcn.0040284a
push 0x65
jmp 0x403dea
lea ecx, [esp + 0x3c]
call fcn.00401be6
push esi
lea ecx, [esp + 0x58]
call fcn.00401be6
lea eax, [esp + 0x38]
push 0x64
push eax
lea ecx, [esp + 0x5c]
call fcn.00401843
pop ecx
pop ecx
push ebx
push edi
lea ecx, [esp + 0x5c]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0xb0]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0xcc]
call fcn.0040284a
push ebx
push edi
lea ecx, [esp + 0x94]
call fcn.0040284a
lea esi, [esp + 0x20]
call fcn.00402a13
push dword [esp + 0x20]
call fcn.00404ae2
pop ecx
push ebx
push 1
lea ecx, [esp + 0x104]
call fcn.0040284a
push 0x64
jmp 0x403dea