Function at 0x447910
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e890
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov edi, ecx
cmp dword [edi + 0x14], 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, edi
mov dword [ebp - 0x18], 0
jb 0x447963
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x447a25
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0044e680
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x447996
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4cf1e0
call fcn.0040bda0
add esp, 4
mov edx, 0x4b9c38
mov ecx, eax
call fcn.0040ab10
mov edx, str.:.
mov ecx, eax
call fcn.0040ab10
push 0x18
mov ecx, eax
call fcn.00407be0
mov edx, str.:_Error_calling_GetFileVersionInfoSize:
mov ecx, eax
call fcn.0040ab10
push esi
mov ecx, eax
call fcn.004167c0
push eax
call fcn.0040ae80
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x447a1e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447a14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447c1c
push edx
push ecx
call fcn.0045d989
add esp, 8
xor al, al
jmp 0x447c00
push ecx
lea eax, [ebp - 0x39]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
mov byte [ebp - 0x39], 0
push ebx
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.00449ea0
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x447a55
mov edi, dword [edi]
mov esi, dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x18]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x447b16
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0044e680
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x447a8b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4cf1e0
call fcn.0040bda0
add esp, 4
mov edx, 0x4b9c38
mov ecx, eax
call fcn.0040ab10
mov edx, str.:.
mov ecx, eax
call fcn.0040ab10
push 0x21
mov ecx, eax
call fcn.00407be0
mov edx, str.:_Error_calling_GetFileVersionInfo:
mov ecx, eax
call fcn.0040ab10
push edi
mov ecx, eax
call fcn.004167c0
push eax
call fcn.0040ae80
mov edx, dword [ebp - 0x50]
add esp, 4
cmp edx, 8
jb 0x447ba0
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447b96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447c21
jmp 0x447b96
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
push eax
push 0x4b6a74
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x447ba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0044e680
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x447b5b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4cf1e0
call fcn.0040bda0
add esp, 4
mov edx, 0x4b9c38
mov ecx, eax
call fcn.0040ab10
mov edx, str.:.
mov ecx, eax
call fcn.0040ab10
push 0x2b
mov ecx, eax
call fcn.00407be0
mov edx, str.:_Error_calling_VerQueryValue:
jmp 0x447ac1
push edx
push ecx
call fcn.0045d989
add esp, 8
xor bl, bl
jmp 0x447bd1
mov ecx, dword [ebp - 0x38]
mov bl, 1
mov edx, dword [ebp - 0x40]
movzx eax, word [ecx + 0xa]
mov word [edx], ax
movzx eax, word [ecx + 8]
mov edx, dword [ebp - 0x44]
mov word [edx], ax
movzx eax, word [ecx + 0xe]
mov edx, dword [ebp - 0x48]
mov word [edx], ax
movzx eax, word [ecx + 0xc]
mov ecx, dword [ebp - 0x4c]
mov word [ecx], ax
test esi, esi
je 0x447bfe
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x447bf4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447c21
push ecx
push esi
call fcn.0045d989
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret
call fcn.004786bc
call fcn.004786bc
int3