Function at 0x432820
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645e81
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp + 8]
jne 0x432874
cmp dword [0x769604], 0
jne 0x432874
test ebx, ebx
je 0x432b6b
test dword [0x7693e0], ebx
je 0x432b6b
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4328b0
push str.GetModuleFileNameW_NULL__szFullPath___countof_szFullPath__
push 0x3ae
push str.MFCOutput.cpp
push 1
call fcn.00409b10
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x432b6b
push 0
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x4328e2
push str.GetFileVersionInfoSizeW_szFullPath__NULL_
push 0x3b4
push str.MFCOutput.cpp
push 1
call fcn.00409b10
add esp, 0x10
jmp 0x432b6b
push edi
call fcn.00452737
add esp, 4
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x432b6b
push eax
push edi
push 0
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x432928
push str.GetFileVersionInfoW__szFullPath__NULL__dwVerInfoSize___void_pbData_
push 0x3c1
push str.MFCOutput.cpp
push 1
call fcn.00409b10
add esp, 0x10
mov esi, eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x268], 0
test esi, esi
js 0x43297f
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x26c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43297d
push str.VerQueryValueW__pbData__L_VarFileInfoTranslation____LPVOID_lpTranslate__cbTranslate_
push 0x3d2
push str.MFCOutput.cpp
push 1
call fcn.00409b10
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x432b5d
cmp dword [ebp - 0x264], 0
je 0x432b5d
xor edi, edi
test dword [ebp - 0x268], 0xfffffffc
mov dword [ebp - 0x270], edi
jbe 0x432b5d
lea ebx, [ebx]
mov eax, dword [ebp - 0x264]
lea ecx, [eax + edi*4]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x260]
push str.StringFileInfo_04x_04x_
push eax
call fcn.00450d60
add esp, 0x10
mov edi, dword [ebp - 0x26c]
mov esi, 0x82dd
mov dword [ebp - 4], 0
jmp 0x4329f0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x278], 0
push esi
push eax
mov dword [ebp - 0x274], 0
call fcn.00451180
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0042f910
add esp, 0x14
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x432a80
push str.VerQueryValueW___void_pbData__szQueryString.c_str_____void_lpszVer__cchVer_
push 0x3ed
push str.MFCOutput.cpp
push 1
call fcn.00409b10
add esp, 0x10
test eax, eax
jne 0x432ac6
cmp dword [ebp - 0x278], 0
je 0x432ac6
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x432ac6
cmp dword [ebp - 0x234], 8
push eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
sub esp, 0x18
mov ecx, esp
push str._ws:__ws_n
call fcn.00402ad0
push 1
push dword [ebp + 0xc]
push ebx
call fcn.00430460
add esp, 0x2c
cmp dword [ebp - 0x21c], 8
jb 0x432add
push dword [ebp - 0x230]
call fcn.00452732
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], al
jb 0x432b14
push dword [ebp - 0x248]
call fcn.00452732
add esp, 4
inc esi
cmp esi, 0x82e5
jle 0x4329f0
cmp dword [ebp - 0x24c], 8
mov edi, dword [ebp - 0x270]
mov dword [ebp - 4], 0xffffffff
jb 0x432b45
push dword [ebp - 0x260]
call fcn.00452732
add esp, 4
mov eax, dword [ebp - 0x268]
inc edi
shr eax, 2
mov dword [ebp - 0x270], edi
cmp edi, eax
jb 0x4329b0
push dword [ebp - 0x26c]
call fcn.00452740
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret