Function at 0x83b548
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x83b550
push ebx
push esi
push edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
mov edx, dword [0x83adcc]
call fcn.0040a114
xor eax, eax
push ebp
push 0x83bc44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
mov dl, 1
call fcn.0042269c
test al, al
jne 0x83b599
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x4c], 0xa
jmp 0x83bc03
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
call fcn.004096e8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x83b5c3
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x4c], 0xb
jmp 0x83bc03
mov eax, ebx
call fcn.00423500
mov dword [ebp - 0x4c], eax
xor edx, edx
push ebp
push 0x83bbed
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x4c]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
call fcn.004096e8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x83b60b
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x4c], 0xc
call fcn.00407e80
jmp 0x83bc03
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x83bc54
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x50], bl
test bl, bl
je 0x83b67f
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x44]
mov esi, eax
lea edi, [edx + 0xc]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x14]
shr eax, 0x10
mov edx, dword [ebp - 0x44]
mov word [edx + 0x40], ax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov edx, dword [ebp - 0x44]
mov word [edx + 0x42], ax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x18]
shr eax, 0x10
mov edx, dword [ebp - 0x44]
mov word [edx + 0x44], ax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x18]
mov edx, dword [ebp - 0x44]
mov word [edx + 0x46], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x83bc58
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x83b6ad
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x4c], 0xd
call fcn.00407e80
jmp 0x83bc03
cmp dword [ebp - 0x54], 0
jne 0x83b6c7
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x4c], 0xe
call fcn.00407e80
jmp 0x83bc03
mov eax, dword [ebp - 0x54]
and eax, 3
test eax, eax
je 0x83b6e5
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x4c], 0xf
call fcn.00407e80
jmp 0x83bc03
mov eax, dword [ebp - 0x54]
shr eax, 2
test eax, eax
jle 0x83bbd7
mov dword [ebp - 0x60], eax
mov eax, 4
call fcn.00404e98
mov dword [ebp - 0x58], eax
xor edx, edx
push ebp
push 0x83bbc7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
call fcn.004050e4
lea eax, [ebp - 0x40]
call fcn.0083c0fc
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 2]
mov word [ebp - 0x3e], ax
lea edx, [ebp - 0x70]
movzx eax, word [ebp - 0x40]
call fcn.0083abd8
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x38]
call fcn.00408b70
lea edx, [ebp - 0x74]
movzx eax, word [ebp - 0x3e]
call fcn.00421d30
push dword [ebp - 0x74]
push 0x83bc98
lea edx, [ebp - 0x78]
movzx eax, word [ebp - 0x3e]
call fcn.0083ac2c
push dword [ebp - 0x78]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004099dc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 2]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
lea edx, [ebp - 0x88]
mov ecx, 1
mov eax, 0x83bcac
call fcn.004236bc
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83bcd0
push dword [ebp - 4]
push 0x83bd00
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0x8c]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83b806
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83bd28
push dword [ebp - 4]
push 0x83bd58
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0x90]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83b84f
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83bd84
push dword [ebp - 4]
push 0x83bdb4
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0x94]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83b898
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83bddc
push dword [ebp - 4]
push 0x83be0c
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0x98]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83b8e1
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83be3c
push dword [ebp - 4]
push 0x83be6c
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0x9c]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83b92a
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83be9c
push dword [ebp - 4]
push 0x83becc
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0xa0]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83b973
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83bef4
push dword [ebp - 4]
push 0x83bf24
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0xa4]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83b9bc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83bf4c
push dword [ebp - 4]
push 0x83bf7c
lea eax, [ebp - 0xa8]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0xa8]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83ba05
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83bfa8
push dword [ebp - 4]
push 0x83bfd8
lea eax, [ebp - 0xac]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0xac]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83ba4e
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83c008
push dword [ebp - 4]
push 0x83c038
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0xb0]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83ba97
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83c060
push dword [ebp - 4]
push 0x83c090
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0xb4]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83bae0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x83c0b8
push dword [ebp - 4]
push 0x83c0e8
lea eax, [ebp - 0xb8]
mov edx, 3
call fcn.004099dc
mov eax, dword [ebp - 0xb8]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x83bb29
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x5c]
call fcn.00409750
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x83bb3e
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x44]
add eax, 0x54
mov ecx, 1
mov edx, dword [0x83b3c0]
call fcn.0040ae4c
add esp, 4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x83bb6e
sub ebx, 4
mov ebx, dword [ebx]
mov eax, ebx
shl eax, 4
sub eax, ebx
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x54]
lea eax, [edx + eax*4 - 0x3c]
lea edx, [ebp - 0x40]
mov ecx, dword [0x83adcc]
call fcn.0040a480
cmp word [ebp - 0x40], 0x409
jne 0x83bbb1
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x83bbaa
sub eax, 4
mov eax, dword [eax]
dec eax
mov edx, dword [ebp - 0x44]
mov dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x83bbce
mov eax, dword [ebp - 0x58]
call fcn.00404eb4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x83bbf4
mov eax, dword [ebp - 0x4c]
call fcn.00423540
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x83bc4b
lea eax, [ebp - 0xb8]
mov edx, 0xc
call fcn.004087a8
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.004087a8
lea eax, [ebp - 0x40]
mov edx, dword [0x83adcc]
call fcn.0040a1ec
lea eax, [ebp - 4]
call fcn.00408748
ret