Function at 0x403a83
Capabilities:
Get file size

Disassembly:
sub esp, 0x130
push ebx
push ebp
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x2000
mov edi, 0x48b000
add eax, 0x3e8
push edi
push ebx
mov dword [0x454d00], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 3
push 0x80000000
push edi
call fcn.00407343
mov ebp, eax
mov dword [0x40c010], ebp
cmp ebp, 0xffffffff
jne 0x403ad8
mov eax, str.Error_launching_installer
jmp 0x403dcb
push esi
push edi
mov esi, 0x483000
push esi
call fcn.00407533
push esi
call fcn.0040772a
push eax
push 0x48d000
call fcn.00407533
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [0x41614c], esi
test esi, esi
je 0x403c26
mov ebx, dword [esp + 0x144]
cmp dword [0x454d10], 0
mov eax, 0x8000
mov edi, 0x200
cmovne edi, eax
cmp esi, edi
cmovb edi, esi
push edi
push 0x41fd18
call fcn.0040351d
test eax, eax
je 0x403dbd
cmp dword [0x454d10], 0
jne 0x403be7
push 0x24
push 0x41fd18
lea eax, [esp + 0x20]
push eax
call fcn.0040706b
test dword [esp + 0x18], 0xfffffe00
jne 0x403bf4
cmp dword [esp + 0x1c], 0xdeadbeef
jne 0x403bf4
cmp dword [esp + 0x28], 0x74736e49
jne 0x403bf4
cmp dword [esp + 0x24], 0x74666f73
jne 0x403bf4
cmp dword [esp + 0x20], 0x6c6c754e
jne 0x403bf4
or ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, ebx
mov ecx, dword [0x416150]
and eax, 2
or dword [0x454de0], eax
mov dword [0x454d10], ecx
cmp edx, esi
ja 0x403dc5
mov eax, ebx
and al, 0xc
cmp al, 4
je 0x403c1d
inc dword [0x416148]
lea eax, [edx - 0x28]
push 0x24
pop edi
push edi
add eax, ecx
pop esi
mov dword [0x416150], eax
add eax, 0x20
push 0
push eax
call fcn.00403591
jmp 0x403bf4
test bl, 2
jne 0x403bf4
push 0
call fcn.00403a1f
pop ecx
cmp esi, dword [0x41614c]
jae 0x403c0f
push edi
push 0x41fd18
push dword [esp + 0x18]
call fcn.00407833
mov dword [esp + 0x10], eax
add dword [0x416150], edi
sub esi, edi
jne 0x403b16
mov ebx, dword [esp + 0x10]
mov edi, 0x48b000
test byte [esp + 0x18], 1
mov eax, dword [0x454d0c]
je 0x403c38
inc eax
mov dword [0x454d0c], eax
test byte [esp + 0x18], 0x80
mov ecx, dword [0x454d08]
je 0x403c4c
inc ecx
mov dword [0x454d08], ecx
test dword [esp + 0x18], 0x100
je 0x403c5c
inc dword [0x454d04]
test ecx, ecx
je 0x403cc0
test eax, eax
jne 0x403cc0
push edi
lea eax, [esp + 0x40]
push eax
call fcn.00407533
lea eax, [esp + 0x3c]
push eax
call fcn.004076eb
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00407533
lea eax, [esp + 0x3c]
push eax
push str._s.nsisbin
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x3c]
push 3
push 0x80000000
push eax
call fcn.00407343
mov dword [0x40c014], eax
cmp eax, 0xffffffff
jne 0x403cc0
cmp dword [0x454d04], 0
je 0x403dc5
push 1
call fcn.00403a1f
cmp dword [0x454d10], 0
pop ecx
je 0x403dc5
cmp dword [0x416148], 0
je 0x403d3b
mov eax, dword [0x416150]
add eax, 0xfffffffc
push 0
push eax
call fcn.00403591
push 4
lea eax, [esp + 0x18]
push eax
push dword [0x40c010]
call fcn.00407370
test eax, eax
je 0x403dc5
push 4
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00407833
mov esi, eax
lea eax, [esp + 0x10]
push 4
push eax
push dword [0x40c010]
call fcn.00407370
test eax, eax
je 0x403dc5
cmp esi, dword [esp + 0x10]
jne 0x403dc5
push dword [esp + 0x2c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x454d10]
mov esi, eax
add ecx, 0x24
push ecx
call fcn.004035a9
push dword [esp + 0x14]
push dword [esp + 0x30]
push esi
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.004035c0
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x2c]
cdq
cmp ecx, eax
jne 0x403dc5
cmp edi, edx
jne 0x403dc5
mov dword [0x454d18], esi
mov eax, dword [esi]
push 8
mov dword [0x454d14], eax
lea eax, [esi + 0x44]
pop ecx
lea eax, [eax - 8]
add dword [eax], esi
sub ecx, 1
jne 0x403d92
push 1
push ecx
push ecx
push ebp
call fcn.0040354b
mov dword [esi + 0x3c], eax
lea eax, [esi + 4]
push 0x40
push eax
push 0x454d20
call fcn.0040706b
xor eax, eax
jmp 0x403dca
push 1
call fcn.00403a1f
pop ecx
mov eax, str.Installer_integrity_check_has_failed._Common_causes_include_nincomplete_download_and_damaged_media._Contact_the_ninstallers_author_to_obtain_a_new_copy._n_nMore_information_at:_nhttp:__nsis.sf.net_NSIS_Error
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x130
ret 4