Function at 0x41a780
Capabilities:
Get file version info

Disassembly:
sub esp, 0x21c
mov eax, dword [esp + 0x228]
mov ecx, dword [esp + 0x224]
push ebx
xor ebx, ebx
push ebp
mov dword [eax], ebx
mov eax, dword [esp + 0x228]
push edi
sub edi, edi
sub eax, ebx
mov dword [esp + 0x10], edi
mov dword [ecx], ebx
je 0x41a7c6
dec eax
je 0x41a7bf
dec eax
jne 0x41a992
mov ebp, str.aol.bla
jmp 0x41a7cb
mov ebp, str.netscape.bla
jmp 0x41a7cb
mov ebp, str.iexplore.bla
cmp ebp, ebx
je 0x41a992
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea edx, [esp + 0x12c]
push 0x429304
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x13c]
push str.Path
push ecx
push 0x80000002
mov dword [esp + 0x30], ebx
call fcn.0040adb0
add esp, 0x24
or eax, eax
je 0x41a992
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x41a992
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
call esi
cmp eax, 2
jle 0x41a978
mov edx, dword [esp + 0x10]
push edx
call esi
mov edi, dword [esp + 0x10]
cmp byte [eax + edi - 1], 0x3b
jne 0x41a851
mov byte [eax + edi - 1], bl
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
push ecx
pop eax
push edi
pop esi
push edx
pop edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
sub eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x23], 0x5c
je 0x41a8b5
mov edi, 0x42b380
or ecx, 0xffffffff
sub eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edi
pop esi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
push ebp
pop ecx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebp
pop ecx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x41a974
push esi
call fcn.0041b345
push eax
pop edi
add esp, 4
cmp edi, ebx
je 0x41a974
mov edx, dword [esp + 0x20]
push edi
push esi
lea eax, [esp + 0x2c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x42b380
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueA
or eax, eax
je 0x41a96b
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41a96b
cmp dword [esp + 0x18], 0x34
jne 0x41a96b
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x234]
shr ecx, 0x10
mov dword [edx], ecx
mov edx, dword [esp + 0x238]
xor ecx, ecx
mov dword [esp + 0x14], 1
mov cx, word [eax + 8]
mov dword [edx], ecx
push edi
call fcn.0041b272
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push eax
call fcn.0041b272
add esp, 4
push edi
pop eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x21c
ret
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x21c
ret