Function at 0x414a00
Capabilities:
Get file version info

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x52be84]
xor eax, esp
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x1c4]
push ebx
push esi
push edi
mov dword [esp + 0x20], eax
call fcn.0041fc00
push eax
lea ecx, [esp + 0x2c]
call fcn.00431b90
push 0x51a9a8
lea ecx, [esp + 0x10]
call fcn.00403d30
push 0xc8
lea ecx, [esp + 0x100]
push ecx
call fcn.00433420
mov edx, dword [eax + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x100]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x414aca
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jne 0x414aa1
push str.nRefs___0
push ebx
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x414aa1
int3
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x414ab7
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ecx, [esp + 0x28]
call fcn.004334e0
mov eax, 1
jmp 0x414c63
push ebp
push esi
call fcn.0041fe30
add esp, 4
mov ebp, eax
push ebp
push esi
push ebx
lea eax, [esp + 0x10c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push str.VarFileInfoTranslation
push ebp
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_VerQueryValueA
xor esi, esi
test dword [esp + 0x14], 0xfffffffc
jbe 0x414beb
nop
push 0xc7
lea eax, [esp + 0x3d]
push ebx
push eax
mov byte [esp + 0x44], bl
call fcn.0045a690
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
push str.StringFileInfo_04x_04xFileVersion
mov ecx, 0xc8
lea edi, [esp + 0x50]
call fcn.004044a0
add esp, 0x18
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edx, edi
push edx
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00403d30
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00417450
lea ebx, [esp + 0x10]
call fcn.00415210
mov edx, ebx
push edx
call fcn.004152c0
mov edi, dword [esp + 0x1c]
add edi, 0xfffffff0
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jne 0x414bc3
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x414bc3
int3
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x414bd9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x14]
inc esi
shr ecx, 2
xor ebx, ebx
cmp esi, ecx
jb 0x414b10
mov eax, dword [esp + 0x10]
mov edx, 1
sub edx, dword [eax - 4]
pop ebp
or edx, dword [eax - 8]
jge 0x414c0b
push ebx
lea ecx, [esp + 0x10]
call fcn.00404140
mov eax, dword [esp + 0xc]
push eax
call fcn.0041f830
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add esi, 0xfffffff0
lea edi, [esi + 0xc]
mov dword [ecx], eax
cmp dword [edi], ebx
jne 0x414c42
push str.nRefs___0
push ebx
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x414c42
int3
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x414c58
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ecx, [esp + 0x28]
call fcn.004334e0
xor eax, eax
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004520a0
add esp, 0x1bc
ret 8