Function at 0x10003e90
Capabilities:
Get file version info

Disassembly:
sub esp, 0x90
mov eax, dword [0x1001703c]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x28]
push ecx
xor ebx, ebx
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
cmp ebp, ebx
ja 0x10003ee5
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.1000536e
add esp, 0x90
ret
push edi
push ebp
call fcn.100053f2
add esp, 4
mov edi, eax
push edi
push ebp
push ebx
push esi
mov dword [esp + 0x38], edi
call sub.VERSION.dll_GetFileVersionInfoW
push ebp
call fcn.100053f2
add esp, 4
mov esi, eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x24], esi
call sub.VERSION.dll_VerQueryValueA
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp ebp, 0x7fffffff
ja 0x10003f40
mov eax, 0x100153d0
mov edx, ebp
mov ecx, esi
call fcn.10001200
xor ecx, ecx
test dword [esp + 0x1c], 0xfffffffc
mov dword [esp + 0x10], ecx
jbe 0x100040ad
mov dword [esp + 0x18], ebx
jmp 0x10003f74
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
jmp 0x10003f74
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10017f90]
push eax
mov eax, dword [esp + 0x38]
movzx edx, word [eax + ecx*4 + 2]
movzx eax, word [eax + ecx*4]
push edx
push eax
push str.StringFileInfo_04x_04x_s
mov ecx, 0x64
lea edi, [esp + 0x48]
call fcn.10001100
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push edx
mov eax, edi
push eax
push ecx
call sub.VERSION.dll_VerQueryValueA
cmp dword [esp + 0x20], ebx
jbe 0x1000401e
cmp ebp, 0x7fffffff
ja 0x10004081
mov eax, ebp
mov ecx, esi
cmp byte [ecx], bl
je 0x10003fdd
inc ecx
sub eax, 1
jne 0x10003fd1
jmp 0x1000401e
cmp eax, ebx
je 0x1000401e
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ecx, ebp
sub ecx, eax
mov eax, ebp
sub eax, ecx
lea edx, [ecx + edx]
je 0x1000401b
mov edi, eax
sub edi, ebp
lea edi, [edi + ecx + 0x7fffffff]
cmp edi, ebx
je 0x10004017
mov cl, byte [esi]
cmp cl, bl
je 0x10004017
mov byte [edx], cl
dec eax
inc edx
inc esi
dec edi
cmp eax, ebx
jne 0x10004001
jmp 0x1000401b
cmp eax, ebx
jne 0x1000401c
dec edx
mov byte [edx], bl
mov esi, dword [esp + 0x14]
cmp ebp, 0x7fffffff
ja 0x10004081
mov eax, ebp
mov ecx, esi
mov edi, edi
cmp byte [ecx], bl
je 0x1000403c
inc ecx
sub eax, 1
jne 0x10004030
jmp 0x10004081
cmp eax, ebx
je 0x10004081
mov edx, ebp
sub edx, eax
mov ecx, ebp
sub ecx, edx
lea eax, [edx + esi]
je 0x1000407a
mov esi, ecx
sub esi, ebp
mov edi, 0x100153d0
lea esi, [esi + edx + 0x7fffffff]
sub edi, eax
nop
cmp esi, ebx
je 0x10004076
mov dl, byte [edi + eax]
cmp dl, bl
je 0x10004076
mov byte [eax], dl
dec ecx
inc eax
dec esi
cmp ecx, ebx
jne 0x10004060
jmp 0x1000407a
cmp ecx, ebx
jne 0x1000407b
dec eax
mov esi, dword [esp + 0x14]
mov byte [eax], bl
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
cmp eax, 0x30
jb 0x10003f70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc eax
shr ecx, 2
mov dword [esp + 0x10], eax
cmp eax, ecx
jb 0x10003f60
mov edi, dword [esp + 0x30]
push esi
push 0x10014e78
mov ecx, ebp
call fcn.10001100
push esi
call fcn.1000537d
mov edx, dword [esp + 0x34]
push edx
call fcn.1000537d
mov ecx, dword [esp + 0xac]
add esp, 0x10
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.1000536e
add esp, 0x90
ret