Function at 0x41a0c0
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
xor edi, edi
sub eax, ebx
mov dword [esp + 0x10], edi
mov dword [ecx], ebx
je 0x41a106
dec eax
je 0x41a0ff
dec eax
jne 0x41a2d2
mov ebp, str.aol.exe
jmp 0x41a10b
mov ebp, str.netscape.exe
jmp 0x41a10b
mov ebp, str.iexplore.exe
cmp ebp, ebx
je 0x41a2d2
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea edx, [esp + 0x12c]
push 0x429308
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 reloc.WSOCK32.dll_bind
mov dword [esp + 0x30], ebx
call fcn.0040a980
add esp, 0x24
test eax, eax
je 0x41a2d2
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x41a2d2
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
cmp eax, 2
jle 0x41a2b8
mov edx, dword [esp + 0x10]
push edx
call esi
mov edi, dword [esp + 0x10]
cmp byte [eax + edi - 1], 0x3b
jne 0x41a191
mov byte [eax + edi - 1], bl
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor 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 0x41a1f5
mov edi, 0x42b398
or ecx, 0xffffffff
xor 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
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
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 0x41a2b4
push esi
call fcn.0041a915
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41a2b4
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 0x42b398
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41a2ab
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41a2ab
cmp dword [esp + 0x18], 0x34
jne 0x41a2ab
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.0041a842
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push eax
call fcn.0041a842
add esp, 4
mov eax, edi
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