Function at 0x438c20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x898
push esi
push edi
lea edi, [ebp - 0x898]
mov ecx, 0x226
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x438c57
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x438c5e
xor eax, eax
jmp 0x438ff9
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov word [ebp - 0x220], 0
push 0x208
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.00472c50
add esp, 0xc
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x250], 0
mov word [ebp - 0x464], 0
push 0x208
push 0
lea eax, [ebp - 0x462]
push eax
call fcn.00472c50
add esp, 0xc
mov word [ebp - 0x678], 0
push 0x208
push 0
lea ecx, [ebp - 0x676]
push ecx
call fcn.00472c50
add esp, 0xc
mov word [ebp - 0x88c], 0
push 0x208
push 0
lea edx, [ebp - 0x88a]
push edx
call fcn.00472c50
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x438d32
xor eax, eax
jmp 0x438ff9
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00471171
add esp, 4
mov dword [ebp - 0x894], eax
mov edx, dword [ebp - 0x894]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x438d5d
jmp 0x438fd1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x438d7e
jmp 0x438fd1
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x250]
push ecx
push 0x4a1b08
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x438da8
jmp 0x438fd1
push 0x20a
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00472c50
add esp, 0xc
mov ecx, dword [ebp - 0x250]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x250]
movzx ecx, word [eax]
push ecx
push 0x4a1b40
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.00475487
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x438e39
cmp dword [ebp - 0x238], 0
jbe 0x438e39
mov esi, esp
push 0x104
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp esi, esp
call fcn.00492e6b
push 0x20a
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00472c50
add esp, 0xc
mov ecx, dword [ebp - 0x250]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x250]
movzx ecx, word [eax]
push ecx
push 0x4a1b98
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.00475487
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x438eca
cmp dword [ebp - 0x238], 0
jbe 0x438eca
mov esi, esp
push 0x104
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x678]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp esi, esp
call fcn.00492e6b
push 0x20a
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00472c50
add esp, 0xc
mov ecx, dword [ebp - 0x250]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x250]
movzx ecx, word [eax]
push ecx
push 0x4a1be8
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.00475487
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x438f5b
cmp dword [ebp - 0x238], 0
jbe 0x438f5b
mov esi, esp
push 0x104
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x88c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp esi, esp
call fcn.00492e6b
cmp dword [ebp + 0xc], 0
je 0x438f80
mov esi, esp
push 0x104
lea eax, [ebp - 0x464]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp esi, esp
call fcn.00492e6b
cmp dword [ebp + 0x10], 0
je 0x438fa5
mov esi, esp
push 0x104
lea edx, [ebp - 0x678]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp esi, esp
call fcn.00492e6b
cmp dword [ebp + 0x14], 0
je 0x438fca
mov esi, esp
push 0x104
lea ecx, [ebp - 0x88c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 8], 1
cmp dword [ebp - 0xc], 0
je 0x438fef
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x898], eax
mov ecx, dword [ebp - 0x898]
push ecx
call fcn.0047271f
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x439028]
call fcn.00492e8e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472710
add esp, 0x898
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret