Function at 0x420610
Capabilities:
Copy file

Disassembly:
push ebp
sub esp, 0x6c
push 0x48
mov eax, 0x4be2e9
call fcn.00494508
push str.Specifies_an_HTML_file_or_folder_under_development._This_override_can_specify_the_full_path_to_a_local_copy_of_a_single_HTML_file_under_development.__t_tThe_HTML_file_must_reside_in_a_sub_folder_that_matches_the_bottom_sub_folder_of_stubs__temp__rninst1ui_datapages__t_tfolder_structure._Example:_n_n____c:_tempgtbindex.html_n_nWhen_stub_goes_to_display__temp__rninst1ui_datapagesgtbindex.html__t_tit_will_notice_that_the_override_matches_and_copy_the_dev_file_over_the_original_in_the__temp__folder._n_nThis_override_can__t_talso_specify_the_full_path_to_a_local_folder_containing_an_HTML_file_and_support_files__.JS__.css_etc.___t_tthat_are_under_development._Again__these_files_must_reside_in_a_sub_folder_that_matches_the_bottom_of_stubs__t_t_temp__rninst1ui_datapages_folder_structure._Example:_n_n____c:_tempmynewpagesprogress_n_nWhen_stub_references_any_HTML__t_tfile_in__temp__rninst1ui_datapagesprogress_it_will_notice_that_it_matches_the_reg_override_and_copy_all_the_files_in_c:_tempmynewpagesprogress__t_tover_the_originals_in_the__temp__folder.
lea ecx, [ebp + 8]
call fcn.00472760
and dword [ebp - 4], 0
push str.Specifies_an_HTML_file_or_folder_under_development
lea ecx, [ebp]
call fcn.00472760
mov esi, str.LocalHTMLOverride
push esi
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 1
call fcn.00472760
lea eax, [ebp + 8]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00420576
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 4
call fcn.00472740
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.00472740
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00472740
push esi
lea ecx, [ebp + 0x60]
call fcn.00472760
lea eax, [ebp + 0x60]
mov edi, 0x4fc174
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0041f83c
mov ecx, eax
call fcn.0041e239
lea ecx, [ebp + 0x60]
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.00472740
test ebx, ebx
je 0x4209b6
push esi
lea ecx, [ebp + 0x10]
call fcn.00472760
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0041f83c
mov ecx, eax
call fcn.0041e285
push eax
lea ecx, [ebp + 0x68]
call fcn.00472760
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xa
call fcn.00472740
lea ecx, [ebp + 0x50]
call fcn.004724b0
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.004724b0
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xc
call fcn.004724b0
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xd
call fcn.004724b0
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xe
call fcn.004724b0
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xf
call fcn.004724b0
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0x10
call fcn.004724b0
mov esi, dword [ebp + 0x78]
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x58]
push eax
push esi
mov byte [ebp - 4], 0x11
call fcn.0040fb00
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0040fb00
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.0040fb00
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0040fb00
add esp, 0x30
lea ecx, [ebp + 0x50]
call fcn.0040d513
test al, al
jne 0x42089e
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x50]
push eax
call fcn.0040d554
pop ecx
pop ecx
test al, al
je 0x42089e
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.0040d554
pop ecx
pop ecx
test al, al
je 0x42089e
cmp byte [esi + 7], 0xff
jne 0x4207db
mov esi, dword [esi]
cmp byte [ebp + 0x6f], 0xff
lea eax, [ebp + 0x68]
jne 0x4207e7
mov eax, dword [ebp + 0x68]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x14]
push str.overriding_page_from
push eax
call fcn.00473090
push eax
mov byte [ebp - 4], 0x12
call fcn.00411cd0
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00472740
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0x10
call fcn.00472740
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xf
call fcn.00472740
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xe
call fcn.00472740
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xd
call fcn.00472740
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xc
call fcn.00472740
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.00472740
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0xa
call fcn.00472740
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 6
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0041e464
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret
lea ecx, [ebp - 0x1c]
call fcn.004724b0
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x13
call fcn.004724b0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x14
call fcn.004724b0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.004724b0
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x58]
push eax
mov byte [ebp - 4], 0x16
call fcn.0040fb00
add esp, 0xc
lea ecx, [ebp + 0x28]
call fcn.0040d513
test al, al
jne 0x420910
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.0040d554
pop ecx
pop ecx
test al, al
je 0x420910
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0041080a
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.00472740
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x14
call fcn.00472740
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x13
call fcn.00472740
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00472740
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0x10
call fcn.00472740
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xf
call fcn.00472740
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xe
call fcn.00472740
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xd
call fcn.00472740
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xc
call fcn.00472740
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.00472740
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0xa
call fcn.00472740
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 6
call fcn.00472740
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0041e464
mov eax, esi
jmp 0x42088b
xor esi, esi
jmp 0x4209a3