Function at 0x402930
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460956
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4770c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x24], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x4c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push eax
mov dword [ebp - 0x28], 1
movlpd qword [ebp - 0x48], xmm0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x402d7e
push eax
call fcn.00443116
mov edi, eax
add esp, 4
test edi, edi
je 0x402d7e
push edi
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x24]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x402a15
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4720a4
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x402a15
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x402a15
mov eax, dword [ecx + 8]
xor edx, edx
or edx, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
jmp 0x402a21
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
push edi
call fcn.004423b9
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
jne 0x402a3a
cmp dword [ebp - 0x24], eax
jbe 0x402d7e
mov edx, eax
lea ecx, [ebp - 0x40]
shr edx, 0x10
call fcn.004014d0
mov edi, eax
cmp esi, edi
je 0x402ab2
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x402a80
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x402a76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d9b
mov eax, edx
push ecx
push eax
call fcn.0043a5cf
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x402ae6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402adc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d9b
push ecx
push edx
call fcn.0043a5cf
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x402b0c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x402b04
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x402b1f
push 1
push 0x472190
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040b060
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
movzx edx, ax
call fcn.004014d0
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x402b41
mov ecx, dword [ecx]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0x1c], edx
cmp edi, eax
ja 0x402b81
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x402b66
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043b9d0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x402b8e
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040b060
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x402bc6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402bbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402da0
push ecx
push edx
call fcn.0043a5cf
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x402bec
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x402be4
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x402bff
push 1
push 0x472190
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040b060
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
shr edx, 0x10
call fcn.004014d0
mov ecx, eax
mov dword [ebp - 4], 2
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x402c21
mov ecx, dword [ecx]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0x1c], edx
cmp edi, eax
ja 0x402c61
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x402c46
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043b9d0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x402c6e
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040b060
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x402ca6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402c9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402da5
push ecx
push edx
call fcn.0043a5cf
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x402ccc
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x402cc4
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x402cdf
push 1
push 0x472190
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040b060
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
movzx edx, ax
call fcn.004014d0
mov ecx, eax
mov dword [ebp - 4], 3
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x402d01
mov ecx, dword [ecx]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0x1c], edx
cmp edi, eax
ja 0x402d41
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x402d26
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043b9d0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x402d4e
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040b060
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x402d7e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402daa
push ecx
push edx
call fcn.0043a5cf
add esp, 8
mov eax, esi
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.0043a25b
mov esp, ebp
pop ebp
ret
call fcn.004430c5
call fcn.004430c5
call fcn.004430c5
call fcn.004430c5
int3