Function at 0x43e743
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x10c
mov eax, dword [0x4c3360]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
mov ebx, ecx
push 0x34
mov dword [ebp - 0x30], eax
xor edi, edi
lea eax, [ebx + 4]
push edi
push eax
call fcn.004501b0
add esp, 0xc
lea esi, [ebx + 0x40]
mov eax, dword [edi + 0x4a3f94]
mov ecx, esi
mov dword [esi - 4], eax
call fcn.00401537
add edi, 4
add esi, 0xc
cmp edi, 0x30
jb 0x43e777
lea ecx, [ebp - 0x98]
call fcn.004419bb
push dword [ebp - 0x30]
lea ecx, [ebp - 0x98]
call fcn.00441d95
test al, al
jne 0x43e7fd
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43e7dc
test byte [eax + 0x1c], 1
je 0x43e7dc
cmp byte [eax + 0x19], 2
jb 0x43e7dc
push 0x4a3f84
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
lea ecx, [ebp - 0x98]
call fcn.004418da
xor eax, eax
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fc8e
add ebp, 0x74
leave
ret 4
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x98]
call fcn.0044e85d
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x43e83d
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43e7dc
test byte [eax + 0x1c], 1
je 0x43e7dc
cmp byte [eax + 0x19], 2
jb 0x43e7dc
push 0x4a3f84
push 0xb
jmp 0x43e7ce
lea ecx, [ebp - 0x28]
call fcn.0043ea68
push edi
lea ecx, [ebp - 0x28]
call fcn.0043eaf1
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
jne 0x43e8a0
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43e884
test byte [eax + 0x1c], 1
je 0x43e884
cmp byte [eax + 0x19], 2
jb 0x43e884
push 0x4a3f84
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.0043eae6
lea ecx, [ebp - 0x98]
call fcn.004418da
mov eax, esi
jmp 0x43e7e9
and dword [ebp - 0x30], 0
push esi
push edi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x98]
call fcn.0044e85d
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43e8ee
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43ea3c
test byte [eax + 0x1c], 1
je 0x43ea3c
cmp byte [eax + 0x19], 2
jb 0x43ea3c
push 0x4a3f84
push 0xd
jmp 0x43ea2e
and dword [ebp - 0x2c], 0
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x4ac198
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43ea0f
cmp dword [ebp - 0x2c], 0x34
jne 0x43ea0f
mov esi, dword [ebp - 0x3c]
push 0xd
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x4a4038
push dword [ebp - 0x34]
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x2c], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43e973
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43ea3c
test byte [eax + 0x1c], 1
je 0x43ea3c
cmp byte [eax + 0x19], 2
jb 0x43ea3c
push 0x4a3f84
push 0xf
jmp 0x43ea2e
test dword [ebp - 0x2c], 0xfffffffc
jbe 0x43e9d9
push 0xc
lea esi, [ebx + 0x3c]
pop edi
lea eax, [esi + 4]
push eax
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax + 2]
push dword [esi]
movzx eax, word [eax]
push ecx
push eax
mov ecx, ebx
call fcn.0043e57c
test eax, eax
jne 0x43e9d1
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43e9d1
test byte [eax + 0x1c], 1
je 0x43e9d1
cmp byte [eax + 0x19], 4
jb 0x43e9d1
push dword [esi]
push 0x4a3f84
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042528a
add esp, 0x14
add esi, 0xc
dec edi
jne 0x43e982
jmp 0x43ea06
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43ea06
test byte [eax + 0x1c], 1
je 0x43ea06
cmp byte [eax + 0x19], 4
jb 0x43ea06
push 0x4a3f84
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
mov dword [ebp - 0x30], 1
jmp 0x43ea3c
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43ea3c
test byte [eax + 0x1c], 1
je 0x43ea3c
cmp byte [eax + 0x19], 2
jb 0x43ea3c
push 0x4a3f84
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
mov esi, dword [ebp - 0x30]
jmp 0x43e886