Function at 0x429570
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45360c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], edi
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00442420
add esp, 0xc
mov edx, esi
lea ecx, [ebp - 0x218]
call fcn.00429520
push edi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
cmp esi, edi
jne 0x4297bd
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], edi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.0042c230
mov eax, dword [ebp - 0x228]
cmp eax, edi
je 0x429626
xor edx, edx
mov word [eax], dx
add eax, 2
lea ecx, [ebp - 0x21c]
cmp ecx, eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x21c], edi
jae 0x42967e
lea edx, [ebp - 0x21c]
cmp ecx, edx
ja 0x42967e
mov esi, edx
sub esi, ecx
sar esi, 1
cmp eax, dword [ebp - 0x224]
jne 0x429674
lea eax, [ebp - 0x22c]
call fcn.0042c230
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
cmp eax, edi
je 0x4296a6
mov dx, word [ecx + esi*2]
jmp 0x4296a3
cmp eax, dword [ebp - 0x224]
jne 0x42969d
lea eax, [ebp - 0x22c]
call fcn.0042c230
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
cmp eax, edi
je 0x4296a6
xor edx, edx
mov word [eax], dx
add eax, 2
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x21c], edi
cmp edx, eax
jae 0x4296f2
cmp ecx, edx
ja 0x4296f2
mov esi, edx
sub esi, ecx
sar esi, 1
cmp eax, dword [ebp - 0x224]
jne 0x4296e8
lea eax, [ebp - 0x22c]
call fcn.0042c230
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
cmp eax, edi
je 0x42971a
mov dx, word [ecx + esi*2]
jmp 0x429717
cmp eax, dword [ebp - 0x224]
jne 0x429711
lea eax, [ebp - 0x22c]
call fcn.0042c230
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
cmp eax, edi
je 0x42971a
xor edx, edx
mov word [eax], dx
add eax, 2
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x21c], edi
cmp edx, eax
jae 0x429766
cmp ecx, edx
ja 0x429766
mov esi, edx
sub esi, ecx
sar esi, 1
cmp eax, dword [ebp - 0x224]
jne 0x42975c
lea eax, [ebp - 0x22c]
call fcn.0042c230
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
cmp eax, edi
je 0x42978e
mov dx, word [ecx + esi*2]
jmp 0x42978b
cmp eax, dword [ebp - 0x224]
jne 0x429785
lea eax, [ebp - 0x22c]
call fcn.0042c230
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
cmp eax, edi
je 0x42978e
xor edx, edx
mov word [eax], dx
lea edx, [ebp - 0x22c]
add eax, 2
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
cmp ebx, edx
je 0x4297b6
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x224]
mov dword [ebx], ecx
mov dword [ebx + 8], eax
jmp 0x42999a
cmp ecx, edi
jmp 0x42998f
push esi
call fcn.0043e1b9
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x230], edi
call fcn.00442420
add esp, 0x10
push edi
push esi
xor esi, esi
push esi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
cmp eax, esi
jne 0x42988e
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x21c]
lea edi, [ebp - 0x22c]
mov dword [ebp - 0x21c], esi
call fcn.0042be60
xor esi, esi
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], esi
call fcn.0042be60
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], esi
call fcn.0042be60
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], esi
call fcn.0042be60
mov eax, dword [ebp - 0x22c]
mov edx, edi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
cmp ebx, edx
je 0x429880
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x224]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
jmp 0x42999a
cmp eax, esi
je 0x42999a
push eax
jmp 0x429992
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x244]
push ecx
push 0x45b4a4
push edi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x248], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, esi
jne 0x4298d3
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 3
jmp 0x429807
mov esi, dword [ebp - 0x244]
mov ecx, 0xd
lea edi, [ebp - 0x27c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x274]
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
lea edi, [ebp - 0x240]
call fcn.0042be60
movzx ecx, si
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], ecx
call fcn.0042be60
mov esi, dword [ebp - 0x270]
mov edx, esi
shr edx, 0x10
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], edx
call fcn.0042be60
movzx eax, si
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
call fcn.0042be60
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.0043f601
xor eax, eax
mov edx, edi
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
cmp ebx, edx
je 0x429987
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x238]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
jmp 0x42999a
mov ecx, dword [ebp - 0x240]
cmp ecx, eax
je 0x42999a
push ecx
call fcn.0043e7d7
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret