Function at 0x415050
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x48d744]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 0
je 0x4150c7
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x14], 0
je 0x4150c7
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x48]
mov al, byte [edx]
mov byte [ebp - 0x4d], al
add dword [ebp - 0x48], 1
cmp byte [ebp - 0x4d], 0
jne 0x4150aa
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
jne 0x4150d0
mov dword [ebp - 0x20], 0
jmp 0x415108
lea ecx, [ebp - 0x38]
call fcn.004169e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.00416630
lea ecx, [ebp - 0x38]
call fcn.00402850
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00416a10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 8]
push eax
call fcn.004494ce
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 8]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
mov cx, word [eax]
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x10], 0
jne 0x41519d
mov edx, dword [ebp - 0x44]
cmp dword [edx + 4], 0
je 0x415196
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.0044ad2a
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [eax + 4], 0
xor eax, eax
jmp 0x4152f5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0x104
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x44]
add edx, 0x40
push edx
push 0x482b40
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4152f0
mov edx, dword [ebp - 0x44]
add edx, 0x44
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x64
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
push ecx
push 0x482b74
mov ecx, dword [ebp - 0x44]
call fcn.004158a0
mov edx, dword [ebp - 0x44]
add edx, 0x48
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x68
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x24
push ecx
push 0x482b80
mov ecx, dword [ebp - 0x44]
call fcn.004158a0
mov edx, dword [ebp - 0x44]
add edx, 0x4c
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x6c
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x28
push ecx
push 0x482b90
mov ecx, dword [ebp - 0x44]
call fcn.004158a0
mov edx, dword [ebp - 0x44]
add edx, 0x50
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x70
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x2c
push ecx
push 0x482b9c
mov ecx, dword [ebp - 0x44]
call fcn.004158a0
mov edx, dword [ebp - 0x44]
add edx, 0x54
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x74
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x30
push ecx
push 0x482bac
mov ecx, dword [ebp - 0x44]
call fcn.004158a0
mov edx, dword [ebp - 0x44]
add edx, 0x58
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x34
push ecx
push 0x482bbc
mov ecx, dword [ebp - 0x44]
call fcn.004158a0
mov edx, dword [ebp - 0x44]
add edx, 0x5c
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x7c
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x38
push ecx
push 0x482bd0
mov ecx, dword [ebp - 0x44]
call fcn.004158a0
mov edx, dword [ebp - 0x44]
add edx, 0x60
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x80
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x3c
push ecx
push 0x482bdc
mov ecx, dword [ebp - 0x44]
call fcn.004158a0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret