Function at 0x403447
Capabilities:
Check for time delay via gettickcount
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x144
mov dword [ebp - 0x144], 0
mov edi, dword [ebp + 8]
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
push 0x400
mov dword [ebp - 0x148], eax
push 0x42ec00
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x150], 0
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 3
push 0x80000000
push 0x42ec00
call fcn.00405d72
mov edx, 0x40916e
mov ebx, eax
mov dword [0x408014], eax
cmp eax, 0xffffffff
je 0x4037a7
push 0x42ec00
push 0x42dc00
call fcn.00405f27
push 0x42dc00
call fcn.00405fa1
push eax
push 0x42f000
call fcn.00405f27
push 0
push ebx
call sub.KERNEL32.dll_GetFileSize
mov dword [0x414cf0], eax
mov ebx, eax
test eax, eax
jle 0x40367f
mov eax, dword [0x424d10]
test eax, eax
je 0x403509
cmp ebx, 0x7fff
jle 0x403511
jmp 0x403515
cmp ebx, 0x1ff
jg 0x40351e
mov esi, ebx
jmp 0x403523
mov esi, 0x8000
test eax, eax
jne 0x403523
mov esi, 0x200
push esi
push 0x40ccb0
call fcn.004030de
test eax, eax
jne 0x40354f
cmp dword [ebp - 0x144], 0
je 0x40375e
push dword [ebp - 0x144]
call sub.USER32.dll_DestroyWindow
jmp 0x40375e
cmp dword [0x424d10], 0
jne 0x4035f6
lea eax, [ebp - 0x2c]
push 0x1c
push 0x40ccb0
push eax
call fcn.00405c83
mov edx, dword [ebp - 0x2c]
test edx, 0xfffffff0
jne 0x40363c
cmp dword [ebp - 0x28], 0xdeadbeef
jne 0x40363c
cmp dword [ebp - 0x1c], 0x74736e49
jne 0x40363c
cmp dword [ebp - 0x20], 0x74666f73
jne 0x40363c
cmp dword [ebp - 0x24], 0x6c6c754e
jne 0x40363c
mov eax, dword [0x414d00]
or edi, edx
mov dword [0x424d10], eax
mov eax, edi
and eax, 2
or dword [0x424c60], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jg 0x40375e
test edi, 8
jne 0x4035e5
test edi, 4
jne 0x40366b
lea ebx, [eax - 4]
inc dword [ebp - 0x150]
cmp esi, ebx
jbe 0x40363c
mov esi, ebx
jmp 0x40363c
test edi, 2
jne 0x40363c
cmp dword [ebp - 0x144], 0
je 0x403610
push 0
call fcn.00406706
jmp 0x40363c
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [ebp - 0x148]
jbe 0x40363c
push str.verifying_installer:__d__
push 0x403000
push 0
push 0x6f
push dword [0x424d30]
call sub.USER32.dll_CreateDialogParamA
mov dword [ebp - 0x144], eax
cmp ebx, dword [0x414cf0]
jge 0x40365b
push esi
push 0x40ccb0
push dword [ebp - 0x14c]
call fcn.00406740
mov dword [ebp - 0x14c], eax
sub ebx, esi
add dword [0x414d00], esi
test ebx, ebx
jg 0x4034f6
cmp dword [ebp - 0x144], 0
je 0x40367f
push dword [ebp - 0x144]
call sub.USER32.dll_DestroyWindow
mov edx, str.The_installer_you_are_trying_to_use_is_corrupted_or_incomplete._nThis_could_be_the_result_of_a_damaged_disk__a_failed_download_or_a_virus._n_nYou_may_want_to_contact_the_author_of_this_installer_to_obtain_a_new_copy._n_nIt_may_be_possible_to_skip_this_check_using_the__NCRC_command_line_switch_n_NOT_RECOMMENDED_.
cmp dword [0x424d10], 0
je 0x4037a7
cmp dword [ebp - 0x150], 0
je 0x4036cd
push dword [0x414d00]
call fcn.004030c5
lea eax, [ebp - 0x140]
push 4
push eax
call fcn.004030de
test eax, eax
je 0x40375e
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x140]
jne 0x40375e
push dword [ebp - 0x18]
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
lea ebx, [ebp - 0x13c]
mov ecx, 0x414d10
mov esi, eax
call fcn.004067c0
push 0x42e400
push ebx
call fcn.00405da0
push 0
push 0x4000100
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.KERNEL32.dll_CreateFileA
mov edx, 0x4092d6
mov dword [0x408010], eax
inc eax
je 0x4037a7
mov eax, dword [0x424d10]
add eax, 0x1c
push eax
call fcn.004030c5
mov dword [0x414cd0], eax
add eax, dword [ebp - 0x14]
test byte [ebp - 0x2c], 4
lea edx, [eax - 0x1c]
jne 0x40373f
lea edx, [eax - 0x20]
push dword [ebp - 0x18]
mov dword [0x414ce0], edx
push esi
push 0
push 0xffffffffffffffff
call fcn.00403316
mov edx, str.The_installer_you_are_trying_to_use_is_corrupted_or_incomplete._nThis_could_be_the_result_of_a_damaged_disk__a_failed_download_or_a_virus._n_nYou_may_want_to_contact_the_author_of_this_installer_to_obtain_a_new_copy._n_nIt_may_be_possible_to_skip_this_check_using_the__NCRC_command_line_switch_n_NOT_RECOMMENDED_.
cmp eax, dword [ebp - 0x18]
jne 0x4037a7
jmp 0x403765
mov edx, str.The_installer_you_are_trying_to_use_is_corrupted_or_incomplete._nThis_could_be_the_result_of_a_damaged_disk__a_failed_download_or_a_virus._n_nYou_may_want_to_contact_the_author_of_this_installer_to_obtain_a_new_copy._n_nIt_may_be_possible_to_skip_this_check_using_the__NCRC_command_line_switch_n_NOT_RECOMMENDED_.
jmp 0x4037a7
mov dword [0x424ca0], esi
test byte [ebp - 0x2c], 1
mov eax, dword [esi]
mov dword [0x424cf0], eax
je 0x40377e
inc dword [0x424d00]
mov ebx, 7
add dword [esi + ebx*8 + 4], esi
dec ebx
cmp ebx, 0xffffffff
jne 0x403783
mov eax, dword [0x414cc0]
mov dword [esi + 0x3c], eax
lea eax, [esi + 4]
push 0x40
push eax
push 0x424cb0
call fcn.00405c83
xor edx, edx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 4