Function at 0x10009950
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100384db
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10045ca0]
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
lea eax, [ebp - 0x5c]
mov edi, ecx
push eax
xor ebx, ebx
push edi
mov dword [ebp - 0x5c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x100099b1
push esi
call fcn.1000ebf0
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x100099b8
push ebx
call fcn.100103f6
add esp, 4
xor al, al
jmp 0x10009be2
push eax
push esi
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x100099d8
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.100103f6
add esp, 4
xor al, al
jmp 0x10009be2
mov edi, dword [ebp - 0x4c]
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x54]
push eax
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x50], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x10009a05
push edi
call fcn.100103f6
add esp, 4
xor al, al
jmp 0x10009be2
push 1
push 2
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x50], ebx
call fcn.10008b20
push ebx
lea ecx, [ebp - 0x70]
push 4
push ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], ebx
call fcn.1000fcf1
add esp, 0xc
push eax
lea edx, [ebp - 0x108]
push str.StringFileInfo_
push edx
call fcn.10007690
add esp, 8
push eax
call fcn.10004760
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
add esp, 8
mov byte [eax + esi + 0x40], 0x30
mov ecx, dword [ebp - 0x54]
movzx edx, word [ecx + 2]
push 0x1003ac54
push 0x1003ac50
push edx
push 0x10003f70
push ebx
lea eax, [ebp - 0x3c]
push 4
push eax
call fcn.1000fcf1
mov ecx, dword [ebp - 0x54]
movzx edx, word [ecx]
add esp, 0xc
push eax
push edx
push 0x10003f70
mov ecx, esi
call fcn.100042e0
mov ecx, eax
call fcn.10007be0
push eax
call fcn.10004760
add esp, 8
mov ecx, eax
call fcn.100042e0
mov ecx, eax
call fcn.10007be0
push eax
call fcn.10007690
add esp, 8
push eax
call fcn.10007690
add esp, 8
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x108]
call fcn.100098e0
cmp dword [eax + 0x14], 0x10
jb 0x10009ad8
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x58]
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
lea ecx, [ebp - 0x48]
sete bl
call fcn.10001e30
test bl, bl
jne 0x10009ba1
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10007ba0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
cmp ebx, 0x10
jae 0x10009b40
lea edi, [ebp - 0x2c]
mov esi, edi
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x2c]
call fcn.10006240
mov edx, dword [eax]
cmp esi, edx
je 0x10009b60
mov ecx, esi
sub edi, esi
mov edi, edi
mov al, byte [ecx]
lea ebx, [eax - 0x41]
cmp bl, 0x19
ja 0x10009b45
add al, 0xd
cmp al, 0x5a
jmp 0x10009b51
mov esi, dword [ebp - 0x2c]
jmp 0x10009b18
lea ebx, [eax - 0x61]
cmp bl, 0x19
ja 0x10009b55
add al, 0xd
cmp al, 0x7a
jbe 0x10009b55
add al, 0xe6
mov byte [edi + ecx], al
inc ecx
cmp ecx, edx
jne 0x10009b30
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp ebx, 0x10
jae 0x10009b6b
lea eax, [ebp - 0x2c]
mov ecx, str.Serrmr.pbz_Vafgnyyngvba_Hgvyvgl
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10009b90
test dl, dl
je 0x10009b8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10009b90
add eax, 2
add ecx, 2
test dl, dl
jne 0x10009b70
xor eax, eax
jmp 0x10009b95
sbb eax, eax
sbb eax, 0xffffffff
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x10009bc0
call fcn.10001e30
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0
call fcn.10006d70
mov eax, dword [ebp - 0x4c]
push eax
call fcn.100103f6
add esp, 4
xor al, al
jmp 0x10009be2
call fcn.10001e30
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0
call fcn.10006d70
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.100103f6
add esp, 4
mov al, 1
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.1001105b
mov esp, ebp
pop ebp
ret