Function at 0x421e7d
Capabilities:
Copy file

Disassembly:
push ebp
sub esp, 0x6c
push 0x48
mov eax, 0x4bc506
call fcn.00492516
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.00470680
and dword [ebp - 4], 0
push str.Specifies_an_HTML_file_or_folder_under_development
lea ecx, [ebp]
call fcn.00470680
mov esi, str.LocalHTMLOverride
push esi
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 1
call fcn.00470680
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.0041a75e
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 4
call fcn.00470660
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00470660
push esi
lea ecx, [ebp + 0x60]
call fcn.00470680
lea eax, [ebp + 0x60]
mov edi, 0x4ff29c
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0041a122
mov ecx, eax
call fcn.00419b7a
lea ecx, [ebp + 0x60]
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.00470660
test ebx, ebx
je 0x422223
push esi
lea ecx, [ebp + 0x10]
call fcn.00470680
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0041a122
mov ecx, eax
call fcn.0041f9c9
push eax
lea ecx, [ebp + 0x68]
call fcn.00470680
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xa
call fcn.00470660
lea ecx, [ebp + 0x50]
call fcn.004703d0
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.004703d0
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xc
call fcn.004703d0
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xd
call fcn.004703d0
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xe
call fcn.004703d0
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xf
call fcn.004703d0
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0x10
call fcn.004703d0
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.0040fba0
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0040fba0
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.0040fba0
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0040fba0
add esp, 0x30
lea ecx, [ebp + 0x50]
call fcn.0040d4fd
test al, al
jne 0x42210b
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x50]
push eax
call fcn.0040d53e
pop ecx
pop ecx
test al, al
je 0x42210b
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.0040d53e
pop ecx
pop ecx
test al, al
je 0x42210b
cmp byte [esi + 7], 0xff
jne 0x422048
mov esi, dword [esi]
cmp byte [ebp + 0x6f], 0xff
lea eax, [ebp + 0x68]
jne 0x422054
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.00470fb0
push eax
mov byte [ebp - 4], 0x12
call fcn.004126e0
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00470660
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0x10
call fcn.00470660
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xf
call fcn.00470660
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xe
call fcn.00470660
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xd
call fcn.00470660
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xc
call fcn.00470660
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.00470660
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0xa
call fcn.00470660
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 6
call fcn.00470660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00419c15
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.004703d0
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x13
call fcn.004703d0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x14
call fcn.004703d0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.004703d0
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.0040fba0
add esp, 0xc
lea ecx, [ebp + 0x28]
call fcn.0040d4fd
test al, al
jne 0x42217d
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.0040d53e
pop ecx
pop ecx
test al, al
je 0x42217d
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.00411021
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.00470660
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x14
call fcn.00470660
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x13
call fcn.00470660
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00470660
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0x10
call fcn.00470660
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xf
call fcn.00470660
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xe
call fcn.00470660
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xd
call fcn.00470660
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xc
call fcn.00470660
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.00470660
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0xa
call fcn.00470660
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 6
call fcn.00470660
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00419c15
mov eax, esi
jmp 0x4220f8
xor esi, esi
jmp 0x422210