Function at 0x422f90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d00e
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x620514]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, dword [ebp + 8]
call fcn.00423ac0
mov ecx, esi
call fcn.0043e040
test al, al
je 0x423950
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x422ff2
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov dword [ebp - 0x17c], edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x423950
push 0x625d40
push edi
call fcn.0055f498
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x423950
cmp dword [esi + 0x14], 8
jb 0x423038
mov esi, dword [esi]
push eax
push edi
push dword [ebp - 0x40]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x42305b
push dword [ebp - 0x16c]
call fcn.0055f493
add esp, 4
jmp 0x423950
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x164]
push eax
push 0x5cff40
mov esi, dword [ebp - 0x16c]
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4230a9
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x4230a9
cmp dword [ebp - 0x18], 0x34
jne 0x4230a9
push 0x34
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x24], edx
xor edi, edi
mov dword [ebp - 0x20], edi
xor eax, eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x168]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x423940
cmp dword [ebp - 0x168], edi
je 0x423940
xor esi, esi
test dword [ebp - 0x18], 0xfffffffc
jbe 0x4231c5
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x168]
lea eax, [eax + esi*4]
cmp ecx, edi
je 0x42313a
mov eax, dword [eax]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x20], edi
jmp 0x423159
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00423ec0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x178], ecx
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x168]
cmp word [eax + esi*4], 0
jne 0x4231b4
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x170], eax
mov eax, 0x409
mov word [ebp - 0x170], ax
cmp ecx, edi
je 0x42318f
mov eax, dword [ebp - 0x170]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x20], edi
jmp 0x4231b4
lea eax, [ebp - 0x170]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00423ec0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x178], ecx
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x174], edx
inc esi
mov eax, dword [ebp - 0x18]
shr eax, 2
cmp esi, eax
jb 0x423121
jmp 0x4231c7
xor edx, edx
mov ecx, edx
mov dword [ebp - 0x170], edx
cmp ecx, edi
je 0x4238d3
nop word [eax + eax]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
xor eax, eax
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 3
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_
lea eax, [ebp - 0x3c]
push eax
call fcn.0044c220
push 0x5d0334
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x160]
call fcn.0041ad30
add esp, 0x14
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0x44], 0
jne 0x42329f
lea eax, [ebp - 0x160]
cmp dword [ebp - 0x14c], 8
cmovae eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42329f
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x42329f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423280
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x34]
call fcn.00404900
mov esi, dword [ebp - 0x16c]
push 0x5d034c
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x148]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebx + 0x5c], 0
jne 0x423319
lea eax, [ebp - 0x148]
cmp dword [ebp - 0x134], 8
cmovae eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x423319
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x423319
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423300
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x4c]
call fcn.00404900
push 0x5d036c
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x130]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0x74], 0
jne 0x42339f
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 8
cmovae eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42339f
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x42339f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423380
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x64]
call fcn.00404900
mov esi, dword [ebp - 0x16c]
push 0x5d0384
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x118]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebx + 0x8c], 0
jne 0x423419
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x104], 8
cmovae eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x423419
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x423419
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423400
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x7c]
call fcn.00404900
push 0x5d03a0
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x100]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0xa4], 0
jne 0x4234a2
lea eax, [ebp - 0x100]
cmp dword [ebp - 0xec], 8
cmovae eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4234a2
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x4234a2
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423480
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x94]
call fcn.00404900
mov esi, dword [ebp - 0x16c]
push str.OriginalFileName
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xe8]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebx + 0xbc], 0
jne 0x42351c
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 8
cmovae eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42351c
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x42351c
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423500
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xac]
call fcn.00404900
push 0x5d03e4
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xd0]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0xd4], 0
jne 0x4235a2
lea eax, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 8
cmovae eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4235a2
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x4235a2
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423580
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xc4]
call fcn.00404900
mov esi, dword [ebp - 0x16c]
push 0x5d03fc
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xb8]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebx + 0xec], 0
jne 0x42361c
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
cmovae eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42361c
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x42361c
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423600
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xdc]
call fcn.00404900
push 0x5d041c
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xa0]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0x104], 0
jne 0x4236a2
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4236a2
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x4236a2
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423680
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xf4]
call fcn.00404900
mov esi, dword [ebp - 0x16c]
push str.LegalTrademarks
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x88]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebx + 0x11c], 0
jne 0x42371c
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42371c
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x42371c
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423700
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x10c]
call fcn.00404900
push str.PrivateBuild
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x70]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0x134], 0
jne 0x423795
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x423795
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x423795
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423773
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x124]
call fcn.00404900
mov esi, dword [ebp - 0x16c]
push str.SpecialBuild
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x58]
call fcn.0041ad30
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [ebx + 0x14c], 0
jne 0x423802
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x423802
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x423802
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4237e6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x13c]
call fcn.00404900
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.00404840
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.00404840
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.00404840
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.00404840
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00404840
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.00404840
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
call fcn.00404840
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
call fcn.00404840
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x118]
call fcn.00404840
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x130]
call fcn.00404840
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x148]
call fcn.00404840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
call fcn.00404840
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00404840
mov ecx, dword [ebp - 0x170]
add ecx, 4
mov dword [ebp - 0x170], ecx
cmp ecx, edi
jne 0x4231e0
push dword [ebp - 0x16c]
call fcn.0055f493
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x174]
test edx, edx
je 0x42393c
mov ecx, dword [ebp - 0x178]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x42391d
add ecx, 0x23
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42391d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0055e874
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov al, 1
jmp 0x423952
push esi
call fcn.0055f493
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055e833
mov esp, ebp
pop ebp
ret 4